O'Reilly logo

Raspberry Pi Home Automation with Arduino by Andrew K. Dennis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. From Thermometer to Thermostat – Building upon Our First Project

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required