Page 1 of 1

Manually entered address for 1-Wire device (DS18B20)

Posted: 16 Jun 2019, 22:22
by Vilda
I need to connect 8 DS18B20 sensors to ESP Easy. Apparently there is some problem with the address discovery - ESP Easy does not find any device, dedicated sketch founds 4 devices, each listed twice. Nevertheless when I write a sketch with hardcoded addresses then it works. Would it be possible to allow manual input into the address field in DS18B20 setup?
Thank you.

Re: Manually entered address for 1-Wire device (DS18B20)

Posted: 17 Jun 2019, 06:44
by grovkillen
Please add a feature request on our GitHub issue tracker: https://github.com/letscontrolit/ESPEasy

Re: Manually entered address for 1-Wire device (DS18B20)

Posted: 18 Jun 2019, 03:06
by ThomasB
I need to connect 8 DS18B20 sensors to ESP Easy. Apparently there is some problem with the address discovery ...
Before giving up on auto discovery:

(1) Use 3-wire configuration (Gnd, Data, Vcc). Do not use "One wire" (Gnd, Data).
(2) Use very short wiring during your discovery debugging. Once things are working you can extend the wiring and then retest discovery.
(3) Use one 4.7K ohm pullup resistor on the data line.
(4) If using DS18B20 breakout modules with data line pullup resistors on each board, then remove the resistors from all boards. Install one resistor, typically at the DS18B20 furthest from the ESP module.
(5) Re-review the recommendations in the wiki: https://www.letscontrolit.com/wiki/inde ... as_DS18b20

- Thomas

Re: Manually entered address for 1-Wire device (DS18B20)

Posted: 23 Jun 2019, 16:01
by kimot
Connect one sensorr on the bus and set its address in device tab.
Then connect other and again set this device.
After that, put all of them on the bus together.