Build a fully featured Arduino Thermostat

In this post I will attempt to describe the steps I took to build the arduino based thermostat shown in the following videos. The first video was taken when around just half of the coding of the menu system was complete, but gives you a basic run through of the features.

fully featured Arduino Thermostat

This second video shows the completed thermostat with additional features implemented over the holidays, which includes a Total Heat Time counter, and a line graphing feature which shows temperature variations over a 24 hour period, including when the heating was turned on, so from the graph you could see how long it takes your heating system to bring the house up to the desired temperature.


Circuit Diagram

fully featured Arduino Thermostat Schematic

Pin Connections

LCD Monitor Video In – 1K resistor to Pin 11
LCD Monitor Video In – 470ohm resistor to Pin 12
LM35 output pin to Analog Pin A1
Button Down to Digital Pin 33
Button Up to Digital Pin 37
Select button to Digital Pin 32
Back button to Digital Pin 36
Relay Coil to PWM Pin 4

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]Parts required

1 x Arduino Mega 2560 board (mainly because of the larger memory capacity)
1 x LM35 Temperature Sensor or equivalent
1 x 4 inch LCD Monitor, the one I used was this one from amazon
1 x Maplins Project Box (for housing the arduino and cabling)
1 x 5V Voltage Regulator (I’m using a TS7805)
2 x 1uf Capacitors (for the regulator circuit)
4 x Stateless push buttons
4 x 10K Resistors
1 x 12V power supply (I’m using an old Linksys router power supply rated at 12v @ 1amp)
1 x 6v Relay (with the contacts rated at 240v 3amps or greater for connection to combi boiler)
1 x 1K Resistor (for connection to the Composite input of the LCD monitor – SYNC)
1 x 470 OHM Resistor (for connection to the Composite input of the LCD Monitor – VIDEO)
1 x 3v LED (optional mainly for diagnosing when the relay turns on and off)[/box]

For more detail: Build a fully featured Arduino Thermostat

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top