Re: Thermostat
Posted: Wed Jan 13, 2016 9:54 am
Hi Zopper,
The only way I have found to identify the different ds18b20 sensors is to selectively heat or cool them one at a time to see which one shows a change.
A good thing to use is canned air or computer dust off, etc. and turn the can upside down and then gently squeeze the trigger and aim the spay at a given sensor. You will quickly reach below zero on that sensor.
in your code you simply identify the sensors by 0, 1, 2 etc.
like this...
see the code in this thread...
http://www.esp8266.com/viewtopic.php?f=41&t=7319&p=37380&hilit=dwight#p37380
hope that helps
dwight
The only way I have found to identify the different ds18b20 sensors is to selectively heat or cool them one at a time to see which one shows a change.
A good thing to use is canned air or computer dust off, etc. and turn the can upside down and then gently squeeze the trigger and aim the spay at a given sensor. You will quickly reach below zero on that sensor.
in your code you simply identify the sensors by 0, 1, 2 etc.
like this...
Code: Select all
temp 0 var0
temp 1 var1
temp 2 var2
print var0
print var1
print var2
see the code in this thread...
http://www.esp8266.com/viewtopic.php?f=41&t=7319&p=37380&hilit=dwight#p37380
hope that helps
dwight