Chat freely about anything...

User avatar
By WStan
#23842
wififofum wrote:Where in that code did you replace sensors.requestTemperatures with sensors.requestTemperaturesByAddress ?

Sorry, I used sensors.requestTemperatures(); from DallasTemperature example: Tester
But the results are interesting, right?
TEST was performed using 5 DS18B20 sensors on a single line. All sensors were detected.

I'll find or write new code with: sensors.requestTemperaturesByAddress
User avatar
By WStan
#23865
WStan wrote:I'll find or write new code with: sensors.requestTemperaturesByAddress


DallasTemperature::requestTemperaturesByAddress doesn't work in parasite power mode #11https://github.com/milesburton/Arduino-Temperature-Control-Library/issues/11 and
with requestTemperaturesByAddress fixed to work in parasite power mode #30 https://github.com/milesburton/Arduino-Temperature-Control-Library/pull/30 it still not working. Unfortunately.
User avatar
By WStan
#23894
wififofum wrote:Yes probably not implemented correctly but once you fix that it will work with many sensors.

Right :)
With https://github.com/pezinek/Arduino-Temperature-Control-Library/tree/45b1236c9e8227e0c95961b1a5fe6e8b5953bd7e it works
Now I try to apply requestTemperaturesByAddress to test multiple (5) DS18B20 sensors in parasite power mode on one wire according to Your sugestion