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:
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.