Hi,
I'm trying to setup a DS18B20 thermometer and use the 1Wire library from here
https://github.com/espressif/esp-idf/tr ... mt/onewire
My hardware setup is with a pull-up 4k7 like it suggests and I assume it's ok. I can't read the thermometer, I get the errors
E (77649) 1-wire.device: onewire_device_iter_get_next(76): read rom_bit_complement error
E (78649) 1-wire.rmt: onewire_bus_rmt_read_bit(486): 1-wire bit receive timeout
as shown in the picture and the second picture shows the logic analyzer output. I have setup the correct GPIO pin since I get the reset pulse out. Any ideas?
1-Wire example problem
-
- Posts: 1725
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: 1-Wire example problem
There doesn't seem to be a response to the reset ("presence pulse") from the DS18B20. Check the wiring and power supply of the sensor.
Re: 1-Wire example problem
Yeap, stupid mistake I had mistakenly soldered a 100nF in Data line instead of 33pF
Who is online
Users browsing this forum: Majestic-12 [Bot] and 319 guests