1-Wire example problem
Posted: Sun Mar 10, 2024 12:06 pm
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?
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?