Questions tagged [1wire]

31 questions
9
votes
3 answers

How do I use owfs to read an iButton temperature logger?

I've installed owfs and am trying to read the data off a iButton temperature logger. owfs lets me mount the iButton as a fuse filesystem and I can see all the data. I'm having trouble figuring out what is the best way to access the data though. I…
Tom
  • 42,844
  • 35
  • 95
  • 101
7
votes
5 answers

Is there any working and complete 1-Wire .NET library out there?

I have a 1-Wire USB adapter (that bluish one) and wanted to use it from a small Linux box to monitor temperatures. The Linux box is out of order right now, so in the meantime I wanted to use my .NET-based monitoring software on my Windows desktop to…
ygoe
  • 18,655
  • 23
  • 113
  • 210
4
votes
2 answers

One Wire Problem

I need your qualified help! I'm programing in C++, using a PIC 18F87J50 and trying to connect DS18B20 at my H0 Port! I think my underlying programing is correct so.... the problem I have (think I have), is when performing a ROM Command, I'm…
Christian
  • 1,548
  • 2
  • 15
  • 26
2
votes
0 answers

How to speed up a 1-wire script

I am using the following script on a raspberryPi, because the pi is slow it requires quite a large delay compared to using it on my mac. I was wondering if anyone can help improve any of the functions to help speed it up a bit. import serial import…
bob_the_bob
  • 345
  • 1
  • 13
1
vote
0 answers

Install onewire error with 1 exitcode on RPi4

how what it wrong with this, help! I got a problem with installing OneWire lib on my RPi4. Here is full log of installing and error: Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting onewire Using cached…
9ghtX
  • 21
  • 3
1
vote
1 answer

solved: Perl: XML::LibXML does not parse this XML document

I (newbie alert) have problems to parse information from a XML document. I have a device (called OW-SERVER) that reads sensor values from a 1wire sensor network and provides the readings in a XML document. The XML typically looks as follows:
1
vote
2 answers

OWFS with Raspbian Buster

Installation of OWFS (one-wire-file-system) on Raspbian Buster does not succeed. The component owserver expires the default restartSec value of 100ms on Raspberry Pi 1 and installation fails with error code 1. Job for owserver.service failed because…
1
vote
0 answers

Network booted RPi3 can't find 1wire devices

Currently trying to implement a net-booted RPi3b+ network and there is an auxiliary board to these pi's I've had printed. The auxiliary board has a classic DS18B20 among other things to monitor the temperature of the box the rpi and aux board are…
1
vote
0 answers

Prevent Linux from switching to another task during execution of a certain function

I made an implementation of 1-wire protocol for the Raspberry Pi adapted from this book. It uses bit banging to implement the communication protocol. The function bcm2835_delayMicroseconds() from the BCM2835 library is used to produced required…
Andrey Pro
  • 501
  • 1
  • 10
  • 22
1
vote
2 answers

VHDL wrapper for 1-wire core for DS18B20 temperature sensor

currently I am trying to write a VHDL wrapper for this Opencore Verilog module (1-wire master) so that I can send/receive from this temperature sensor (DS18B20). However I am struggling to understand the usage. Namely the read/write enable vs. the…
Cottty
  • 13
  • 1
  • 3
1
vote
1 answer

powertop shows 40 wakeups/second for owfs, sensor sampling is only every 10 seconds

I am running owfs (1-wire file system) and some other process samples the temperature data only every 10 seconds. Now powertop on that linux box shows 40 to 50 wakeup events per seconds for the owfs process. I assume that owfs goes out frequently to…
Harald
  • 4,575
  • 5
  • 33
  • 72
1
vote
1 answer

How to make a microsecond-precise timer on the STM32L-Discovery ARM board?

I'm trying to implement the Dallas OneWire protocol, but I'm having trouble generating a microsecond delay on the STM32l-Discovery. How do I implement a timer accurate enough to delay the program for x microseconds?
Jeff Huijsmans
  • 1,388
  • 1
  • 14
  • 35
1
vote
2 answers

STM32 Different results while debugging

I'm trying to program a digital thermometer DS18B20 on 1-Wire using UART and I have weird problems. When I'm debugging this program that runs without breakpoints (or just running program without debugging) I have readings about 100°C. When I put…
Dziat
  • 11
  • 2
0
votes
1 answer

What to do when a linux one-wire master determines one of it's slaves is no longer present?

I'm writing a linux driver for a DS2484 I2C one wire master, and an accompanying one-wire slave driver for a DS28E84 "DeepCover Radiation-Resistant, High-Capacity, 1-Wire Authenticator". The slaves in our system are hot-pluggable but only slave one…
Robert McLean
  • 196
  • 1
  • 8
0
votes
1 answer

OWFS in docker ERROR Segmentation fault (core dumped)

I try to run owfs inside a docker container to parse 1-wire temperature values. When running owfs -C -uall -m /mnt/1wire --allow_other inside the container I receive this error Segmentation fault (core dumped) On the host system, I can run the same…
nopact
  • 195
  • 2
  • 12
1
2 3