Temperature to RS232 Converter
Code for PIC16F84 (Old Version of temp sensor)
Temperature to RS232 Converter (Old Version)
Once a minute the microcontroller tells the 8 bit A/D to
read the temperature. The temperature sensor provides 10mV/degree
F which is scaled so the 8 bits cover 0-128 degrees F in 0.5 degree increments.
The microcontroller then converts the binary number to ASCII and sends
it to a serial port at 1200 baud. This device is moved around to
log temperatures where necessary.
Temperature to RS232 Converter (New Version)
About 10 times a minute the controller poles each of the three I2C temperature sensors (DS1721) for it's current temperature. The sensors are the eight pin SMT IC's on the back of the boards. There is one on the main circuit board. There are two more sensors on the smaller boards. One of the smaller boards is screwed into the incoming air vent and the other is screwed into the vent on a backup AC unit. This gives us the room temperature, the temperature of the air being blown into the room, and the temperature of the air coming from our backup AC unit. The temperature information is converted to ASCII and sent to a serial port on a computer. We receive email if the temperatures get too hot. This device is currently being used to monitor the temperature of the Keck computer lab.
Code for PIC16F84 (New Version of temp sensor)