1-Wire® Temperature Monitoring
Background
The Dallas Semiconductor
DS18S20
1-Wire Digital Thermometer is a small digital temperature sensor that can be attached to a 1-Wire network.
Using a
Universal
1-Wire COM Port Adapter, it can be connected to a PC serial port.
Dallas Semiconductor DS18S20
The DS18S20 Digital thermometer provides 9-bit centigrade temperature measurements and has an alarm function with
nonvolatile user-programmable upper and lower trigger points.
Installing the Software
Brian Lane's
Digitemp software was used for this project. To use it you will
need to generate a configuration file. The automatically generated one (-a) worked fine for me. Here is an example:
.digitemprc
TTY /dev/ttyS0
READ_TIME 1000
LOG_TYPE 1
LOG_FORMAT "%b %d %H:%M:%S Sensor %s C: %.2C F: %.2F"
CNT_FORMAT "%b %d %H:%M:%S Sensor %s #%n %C"
SENSORS 2
ROM 0 0x10 0x14 0xEB 0x2E 0x00 0x08 0x00 0xC5
ROM 1 0x10 0x3B 0xFA 0x2E 0x00 0x08 0x00 0xE6
Adding Sensors
Weatherproofing
Trend/Graph Output
Here is the current daily (5 minute average) graph of the indoor and outdoor temperature:
Warning and Disclaimer: The information found on this site has many omissions and contains much that is
apocryphal, or at least wildly inaccurate. It is provided without warranty of any kind,
expressed or implied. In no event shall the Lab be liable for any damages whatsoever regarding content on
this site or linked to from this site. If your computer explodes and/or your shoot your eye out,
don't blame us.