| Introduction: |
The DS1721 is an
inexpensive (~$3.00 in singles), 8-pin digital IC. It is
capable of reporting a temperature in the -10°C to
+85°C range with ±1.0°C accuracy. Outside this range,
the device can provide accuracy of ±2.0°C from -55°C
to +125°C. The temperature is reported in a 9-12 bit
word, yielding increments as low as 0.0625°C. The DS1721
can be used as a thermostat as well, with the user able
to set high and low temperature limits and the device
reporting when either of these limits has been reached. In
this application note, we will connect a DS1721 to the OOPic's
I2C Port and write a program to show the temperature.
|