O'Reilly logo

Learning BeagleBone Python Programming by Alexander Hiam

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

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