Chapter 3

Experimenting with Weather

In this chapter we are going to design an experiment where we will record temperature, humidity and atmospheric pressure. We’ll use our digital tool kit to build a weather station, then we’ll investigate how those measures impact on our day-to-day perception of the weather.

There are two code options here:

Using the micro:bit LED for output

Using an OD01 OLED display from XinaBox for output (ch3-sec 7)

The code for the (simpler) OD01 display and the micro:bit LED display is very similar, and will be easy to adapt to other types of output: