-->
Page 5 of 6

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Tue Jul 21, 2015 11:56 am
by WStan
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

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Tue Jul 21, 2015 4:18 pm
by WStan
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.

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Tue Jul 21, 2015 8:10 pm
by wififofum
Yes probably not implemented correctly but once you fix that it will work with many sensors.

Re: MULTIPLE DS18B20 SENSORS in Parasite Mode on ESP8266

PostPosted: Wed Jul 22, 2015 3:29 am
by WStan
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