Manually entered address for 1-Wire device (DS18B20)

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Vilda
Normal user
Posts: 8
Joined: 16 Jun 2019, 22:12

Manually entered address for 1-Wire device (DS18B20)

#1 Post by Vilda » 16 Jun 2019, 22:22

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.

User avatar
grovkillen
Core team member
Posts: 3302
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

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

#2 Post by grovkillen » 17 Jun 2019, 06:44

Please add a feature request on our GitHub issue tracker: https://github.com/letscontrolit/ESPEasy
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

User avatar
ThomasB
Normal user
Posts: 425
Joined: 17 Jun 2018, 20:41
Location: USA

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

#3 Post by ThomasB » 18 Jun 2019, 03:06

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

kimot
Normal user
Posts: 167
Joined: 12 Oct 2017, 20:46

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

#4 Post by kimot » 23 Jun 2019, 16:01

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.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 21 guests