O'Reilly logo

Jumpstarting the Raspberry Pi Zero W by Akkana Peck

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 3 A Temperature Notifier and Fan Control

Do you hate to come home to a hot house? Or do you just want to know what the temperature is in your office so you can dress appropriately?

In this project, you’ll set up your Pi to monitor the temperature and make it available via Twitter. The Pi can even turn on a fan or an air conditioner before you get home, based on temperature limits you set or a Twitter message you send it.

Hardware Requirements

Here’s a list of what you need for this chapter:

  • An I2C temperature sensor, such as the Si7021, MCP9808, or BME280
  • Four hookup wires
  • A PowerSwitch Tail (optional, for switching on a fan or ...

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