Home Code Examples Simple Temperature Control
Simple Temperature Control PDF Print E-mail
Written by Administrator   
Wednesday, 28 January 2009 15:49

Many temperature sensors are available that will work with the EAUduino ranging all the way from simple thermistors arranged as part of a voltage divider to expensive chips that communicate using the Dallas 1-wire protocol. All will work if you know how to use them.

In the following software I use the EAUduino to control three heaters based upon input from two temperature sensors. The temperature sensors are Analog Devices TMP36GT9Z-ND. You can find the datasheet for these devices here.

I didn't do anything fancy in this code. Before writing it, I just set up one of the devices and calibrated it, and then wrote the code around the raw data. This keeps temperatures from going too low in my chicken coop and keeps the chickens' water from freezing. The outputs drive relays that switch on appropriate heating elements.

-----------------------

TempControl.txt

 

Last Updated on Friday, 30 January 2009 10:37
 
Copyright © 2010 Eauduino!. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.