Justin Wilkins
2 min read | 1 year ago

Raspberry Pi Thermostat

This is a guide to building your own smart thermostat with a raspberry pi. This tutorial will be hardware based, and I will not go into depth on the code that I have written for it. If there is enough interest, I will post anout tutorial going more into depth on how the code is built.

First, here is a list of needed supplies:

  1. Raspberry Pi
  2. Power Supply
  3. Micro SD card
  4. Temperature Sensor
  5. Relay Board
  6. Touch Screen
  7. Case

Some notes about the equiptment required,

  • The power supply needs to be consistent 5v and provide at least 2A. A lot of 2A usb chargers allow the voltage to drop more than it should when the load gets too high, so getting one that is made for the raspberry pi with a rating over 2A is recommended.
  • The SD card should be at least 8GB for Raspian installation
  • I wrote the code and this tutorial base on the DHT11-DHT22 Temperature sensors. The DHT11 is extremely cheap, but nowhere near accurate enough for this type of project. GET THE DHT22 OR YOU WILL BE SAD!!! (trust me)
  • I originally got the 8 channel relay, but after looking at my exising thermostat, I realiized I only need 4 channels.




Warning! This site uses cookies
By continuing to browse the site, you are agreeing to our use of cookies. Read our terms and privacy policy