How many DS18B20 can be connected to an ESP01 ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
bennybubble
Normal user
Posts: 44
Joined: 31 Jan 2016, 21:05

How many DS18B20 can be connected to an ESP01 ?

#1 Post by bennybubble » 04 Mar 2016, 15:38

Hi,

Can anyone tell me how many DS18B20's in parallel can/will be supported using only 1 pin on an ESP01 ?
In other words : how many will the software detect ?

-ben

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: How many DS18B20 can be connected to an ESP01 ?

#2 Post by tozett » 04 Mar 2016, 18:06

may the SEARCH will be with you... ;)

asked before here:
http://www.esp8266.nu/forum/viewtopic.p ... wire#p4175

bennybubble
Normal user
Posts: 44
Joined: 31 Jan 2016, 21:05

Re: How many DS18B20 can be connected to an ESP01 ?

#3 Post by bennybubble » 04 Mar 2016, 20:27

Hi,

I did search before asking and you suggestion still did not answer the question :D

The question is not about how many sensors can be connected to one bus but how many does the software (ESPEASY) recognize and can be used ?

-ben

User avatar
costo
Normal user
Posts: 500
Joined: 21 Nov 2015, 15:03
Location: NL, zw-NB

Re: How many DS18B20 can be connected to an ESP01 ?

#4 Post by costo » 04 Mar 2016, 21:22

bennybubble wrote:Hi,

Can anyone tell me how many DS18B20's in parallel can/will be supported using only 1 pin on an ESP01 ?
In other words : how many will the software detect ?

-ben
Looking into the sourcecode of the Dallas plugin I see: byte devCount
so the number of Dallas devices is counted with a byte and because of that it is theoretically limited to 255 Dallas devices on one pin.

But (because of memory limitation ?) ESPEasy has reserved place for 12 devices only , so practically ESPEasy can support maximum 12 Dallas temperature sensors.

There is also the load_limitation of a ESP input and the load of the other devices on each other. This load consists of a resistive part and a capacitive part, which depends heavily on the length of the wires. Long wires means high capacitive load, means less devices.
Maybe if you use a line/bus driver I.C. you can overcome the load limitations of the hardware.

This all means you have to try it yourself, every situation is different because of the connecting wires to the sensors and the value of the resistor.

I hope this helps you a little bit.

bennybubble
Normal user
Posts: 44
Joined: 31 Jan 2016, 21:05

Re: How many DS18B20 can be connected to an ESP01 ?

#5 Post by bennybubble » 06 Mar 2016, 19:21

Hi,

Thanks for the info, that is were I was looking for!

-ben

chunter1
Normal user
Posts: 82
Joined: 22 Jan 2016, 22:40

Re: How many DS18B20 can be connected to an ESP01 ?

#6 Post by chunter1 » 06 Mar 2016, 19:57

Got 8 Sensors running on a 4m cable configured as 2-wire bus (just GND and Data, no Vcc wire used)

andreo
New user
Posts: 8
Joined: 22 Sep 2015, 23:56

Re: How many DS18B20 can be connected to an ESP01 ?

#7 Post by andreo » 07 Mar 2016, 01:06

chunter1 wrote:Got 8 Sensors running on a 4m cable configured as 2-wire bus (just GND and Data, no Vcc wire used)
How did you connect the sensors on the wires? Any schematic available?

bennybubble
Normal user
Posts: 44
Joined: 31 Jan 2016, 21:05

Re: How many DS18B20 can be connected to an ESP01 ?

#8 Post by bennybubble » 07 Mar 2016, 09:09

andreo wrote:
chunter1 wrote:Got 8 Sensors running on a 4m cable configured as 2-wire bus (just GND and Data, no Vcc wire used)
How did you connect the sensors on the wires? Any schematic available?
See http://www.tweaking4all.com/wp-content/ ... -power.jpg

-ben

Post Reply

Who is online

Users browsing this forum: No registered users and 51 guests