-->
Page 1 of 6

MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Fri Jul 17, 2015 2:29 pm
by WStan
I have 7 DS18B20 sensors in different parts of the house.
Using Arduino I used a 2.2 k pull up resistor.
The sensors were in parasite mode allowing communication with the use of only two wires.
I would like to replace Arduino for ESP8266.
But there is a problem. Using 1k resistor I can connect only 2 sensors.
Any idea?

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Fri Jul 17, 2015 4:04 pm
by martinayotte
Personnally, I've never used the DS18B20 in parasite mode.
Are you using also a MOSFET as a StrongPullUp along your 2K2 as the spec suggest ?
Image

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Fri Jul 17, 2015 4:17 pm
by WStan
No.
See here:
https://www.strangeparty.com/2010/12/13/arduino-1-wire-temperature-sensors/ and with Arduino (5V) it works fine with 7 sensors and long distance wires (I think total abut 30 m)

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Fri Jul 17, 2015 4:23 pm
by martinayotte
You can try with 1K resistor.
If it works, you will be lucky.
(But still, this is not following the specs.)