Questions tagged [1wire]
31 questions
0
votes
0 answers
Is it possible to have timing issue with a DS18B20 1-wire temp sensor on ESP32 with arduino?
i have and ESP32 module that i have a DS18B20 sensor connected to with a 4.7k pullup resistor. the problem is that i get very inconsistent reading a lot of -127 readings in my current program. With WiFi running, Asynch mqtt, websocket etc running on…

Martin Chicoine
- 41
- 5
0
votes
0 answers
DS18B20, W1ThermSensor, Raspberry pi Zero W, and Python3.9 - Does not consistently read sensor
Before I start, I have browsed the "similar questions" section before writing this and could not see one that matched a situation like mine. If one is found, please let me know and I will mark it as "answered" if it is in fact similar. I am a .net…

Kelby Criswell
- 161
- 1
- 11
0
votes
2 answers
LibOpenCM3 1-Wire over UART DMA STM32F1
I just began to understand the embedded world (after Arduino, RPi, etc) with the STM32F103 and FreeRTOS + Libopencm3. My first challenge is to interface a DS18B20, temperature sensor with my microprocessor. The 1-Wire bus is quite easy to understand…

NicolasColsoul
- 31
- 1
- 5
0
votes
2 answers
write 1-wire rom addres to variable
From a bunch of 1-wire devices I want to write the devices rom addresses to an array.
I have tried many options, but obviously I don't have a clue how to do this right.
In the code below, in the device search loop I get the adress printed on the…

kopke
- 67
- 5
0
votes
3 answers
Using DS2408 with Raspberry Pi GPIO 4 1wire linux driver
I have a Raspberry Pi B+ with the latest raspbian.
I activated 1wire support through interface options in raspi-config command and I connected my DS2408 chip on to the GPIO 4.
When I try to check for the list of devices, they all show up
ls -la…

akrv
- 55
- 11
0
votes
2 answers
I can't get data by I2C bus in Android Things
I can't get data by I2C bus in Android Things on Raspberry Pi 3.
I connect Android Things on RPi and DS18B20(Temperature Sensor).
Connect to RPi
and run the I2C address scan App (https://github.com/dennisg/i2c-address-scanner), but can't find…
0
votes
1 answer
owfs- read all sensors simultaneously
OWFS lets us read 1-wire devices via other interfaces, I2C (DS2484) in my case. I can successfully read one temperature (DS18B20s) at a time via the owhttpd interface at http://localhost:4305/28.2F3915060000. I can also read them using the python…

ericksonla
- 1,247
- 3
- 18
- 34
0
votes
1 answer
one-wire over bit banging vs. one wire over usart
I want to use a sensor with one-wire protocol, the matter is which way of using this protocol is optimized and more rational? over usart or using bit banging?
if it is important I'm using am2305 and stm32fxx microcontrollers.

Sadra
- 2,480
- 2
- 20
- 32
0
votes
1 answer
ds18b20 One wire address format translate from arduino to debian
I recorded all the addresses of most of my ds18b20's with arduino, and they look different when plugged into Beaglebone Black running debian. Is there a way I can translate them to how they look on debian? I can't test them all since most are…

ihavequestions
- 48
- 8
0
votes
1 answer
Owfs.js doesn't see fake device
I’m trying to run owfs on my local with fake devices (from owfs.conf) , but have troubles with it. This is my code, which prints empty array
var OwfsClient = require('owfs').Client;
var owfs = new OwfsClient('127.0.0.1',…

Pavel Demidyuk
- 305
- 2
- 11
0
votes
2 answers
How to get temperature from DS18B20 sensor and display it on an Adafruit LEDbackpack (4x 7segments) using an Arduino Yun
I'm currently trying (for a few hours) to display the temperature got from a DS18B20 on my Adafruit LEDBackpack. But hen I try to init the display in the setup (matrix.begin(0x070)), the temperature returned by the sensor is always -127.
Could you…

QGerome
- 391
- 1
- 10
0
votes
1 answer
BGS5T RS232 communication with 1-wire sensor
I have Gemalto BGS5T java module and 1-wire temperature sensor. I have java midlet which uses RS232 port to communicate with temperature sensor. But the problem is that, I get no response from the sensor no matter what I send. Sensor has the right…

Jure
- 799
- 6
- 25
0
votes
1 answer
Sum of CRC8 OneWire
Trying to understand crc8. This is my calculations:
poly 100110001 # OneWire
bin 00000001 # 1
1. 000000010 << 1 = 000000100
2. 000000100 << 1 = 000001000
3. 000001000 << 1 = 000010000
4. 000010000 << 1 = 000100000
5. 000100000 << 1 =…

cask
- 747
- 1
- 8
- 13
0
votes
2 answers
How does 1-wire decide what address to use?
I've been following this simple tutorial to get a temperature reading from a raspberrypi,
http://blog.vokiel.com/raspberry-pi-odczyt-temperatury-przez-nodejs/?lang=en
Under w1/devices, what I'm calling the address is the file where the value of the…

pedalpete
- 21,076
- 45
- 128
- 239
0
votes
2 answers
1wire problem in detail
I have defined these functions below, and when I ask Device_ID function for example of
the family code, I only get FF (should be 28), acctually I get both the family code, 48-bit serial, and the crc 8 bit to be all "ones". It seems like the detect…

Christian
- 1,548
- 2
- 15
- 26