junkfix / esp32-ds18b20

Arduino Library for ESP32 DS18B20 Non Blocking Onewire RMT protocol, no dependencies, minimal
MIT License
15 stars 4 forks source link

Long distance (not so long) issue? #7

Closed skillsfactory closed 4 months ago

skillsfactory commented 5 months ago

Hello,

I've tested your library on a breadboard with 4 sensors and 3 BUS because I've different distances. In my real environment I can find the two closest sensors but not the two farthest (about 20 m on a single BUS). I used an alarm BUS cable for the connections and with the original library I can reach them without particular problems, problems that I find instead on the two closest sensors, so I decided to try this other library... Do you know the maximum distance that can be reached with this library? Thanks Luca

htmltiger commented 5 months ago

you may need stronger pullup, 4.7k is standard so if you try 2.2k or less to check if it works with longer distance

skillsfactory commented 5 months ago

I'll try Thank you