The goal of the Lizard Climate Control (LCC) software is to control the climate of my lizard’s enclosure using the Arduino and other hardware components. It can operate independently of a PC. However it is capable of supplying diagnostic data via the serial port to an attached PC if needed.
LCC depends on hardware to do its job. These include:
- Arduino UNO
- TWO DHT11 temperature/humidity digital sensors
- TWO PowerSwitch Tail II AC Switches
- LCD Display
- Various switches, resistors and transistors
LCC displays the date, time and temperature from two sides on its integrated LCD screen.
LCC continually loops looking at the date time and temperatures. Based on time it will turn the light and heat rock on/off. During each day or night period LCC checks to see if the temperature is within a defined range.
During the day, if the temperature is too high LCC will attempt to lower the temperature by first turning off the heating rock. If this fails after a set period it will turn off the main light. Once the main light is off, LCC will wait until the temperature drops 5 degrees below the set high temperature threshold. At this point LCC will turn the heating rock and light back on.
During the night, if the temperature is too low, LCC will attempt to raise the temperature by first turning on the heat rock. If this fails after a set period it will turn on the main light. Once the main light is on, LCC will wait until the temperature rises above the set low temperature threshold. At this point LCC will turn the heating rock and light back off.