Chapter 10. A Practical Example

In this chapter, you will use what you've learned throughout the book to build a complete, practical application. We will cover the following topics:

  • Building a simple weather station
  • Getting the weather data online
  • Implementing weather alerts
  • Creating a web interface for configuring the alerts

Weather station

Until this point, we've only looked at relatively simple program examples, without any real scope to them. Let's take some time to build a more complete program that actually accomplishes a practical task, a weather station.

Let's start with the hardware. We'll use a HTU21D I2C relative humidity sensor (for example, https://www.sparkfun.com/products/12064), as well as a BMP183 SPI pressure sensor (for example,

Get Learning BeagleBone Python Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.