EET 549 Thermostat Project
Write a program to use the Dragon12 board as a thermostat for a furnace (much like the one in your home). The thermostat will have the following characteristics:
1. The thermostat will have a digital output that will turn a furnace on and off. A 1 will turn the furnace on while a 0 will turn the furnace off.
2. The thermostat will have an analog input. This will be connected to a temperature sensor. The temperature sensor will sensitivity of 25 mV/°F. The temperature range of the sensor will be from 0-100 °F. Important: Do not use PAD00, PAD01, PAD04, PAD05, or PAD07 as these are already used.
3. The LCD display will show the room temperature and the temperature setpoint of the furnace.
4. The keypad will be used to enter the setpoint of the furnace by entering the setpoint followed by #. For example, entering 7, 0, and # will set the temperature at 70 °F.
5. The thermostat will control the room temperature as follows: if the room temperature drops below 2 °F below the setpoint, the thermostat will turn the furnace on. When the temperature exceeds 2 °F above the setpoint, the thermostat will turn off the furnace.