I have both types of sensors being measured now and have had it running in a loop for some hours without grief.
I'm still exploring options for controlling the heaters. If I skip the PWM idea there is a version of the temp sensor with two general purpose IO lines which could be used to drive a mosfet power switch - DS28EA00 and a few other options which might keep the circuits at the heater simple but still support fine control.
I've attached the current version of the code and one loop of output.
2-wire Temp = 20C
Humidity = 78%
Dew Point = 16C
1-wire DS18B20 Temp Sensor #1 = 20C
1-wire DS18B20 Temp Sensor #2 = 20C
1-wire DS18B20 Temp Sensor #3 = 20C
1-wire DS18B20 Temp Sensor #4 = 20C
|