In this chapter, we look at building a thermostat device. This will build upon our previous chapter where we learned how to use a thermistor.
We will cover how to use the temperature data to switch relays on and off. Relays are the main component that you can use to interact between your Raspberry Pi and high voltage electronic devices.
Our example project will involve switching on an electric fan when the temperature rises above a set point of 15 degrees Celsius and then switching it off when the temperature drops. We can use an ice cube and a hair dryer, or a similar device to stimulate the thermistor.
Upon completion of this chapter, you will have a thermostat device that ...