How many DS18B20 can be connected to an ESP01 ?
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 44
- Joined: 31 Jan 2016, 21:05
How many DS18B20 can be connected to an ESP01 ?
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
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
Re: How many DS18B20 can be connected to an ESP01 ?
may the SEARCH will be with you...
asked before here:
http://www.esp8266.nu/forum/viewtopic.p ... wire#p4175
asked before here:
http://www.esp8266.nu/forum/viewtopic.p ... wire#p4175
-
- Normal user
- Posts: 44
- Joined: 31 Jan 2016, 21:05
Re: How many DS18B20 can be connected to an ESP01 ?
Hi,
I did search before asking and you suggestion still did not answer the question
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
I did search before asking and you suggestion still did not answer the question
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
Re: How many DS18B20 can be connected to an ESP01 ?
Looking into the sourcecode of the Dallas plugin I see: byte devCountbennybubble 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
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.
-
- Normal user
- Posts: 44
- Joined: 31 Jan 2016, 21:05
Re: How many DS18B20 can be connected to an ESP01 ?
Hi,
Thanks for the info, that is were I was looking for!
-ben
Thanks for the info, that is were I was looking for!
-ben
Re: How many DS18B20 can be connected to an ESP01 ?
Got 8 Sensors running on a 4m cable configured as 2-wire bus (just GND and Data, no Vcc wire used)
Re: How many DS18B20 can be connected to an ESP01 ?
How did you connect the sensors on the wires? Any schematic available?chunter1 wrote:Got 8 Sensors running on a 4m cable configured as 2-wire bus (just GND and Data, no Vcc wire used)
-
- Normal user
- Posts: 44
- Joined: 31 Jan 2016, 21:05
Re: How many DS18B20 can be connected to an ESP01 ?
See http://www.tweaking4all.com/wp-content/ ... -power.jpgandreo wrote:How did you connect the sensors on the wires? Any schematic available?chunter1 wrote:Got 8 Sensors running on a 4m cable configured as 2-wire bus (just GND and Data, no Vcc wire used)
-ben
Who is online
Users browsing this forum: No registered users and 29 guests