This is an archived resource. The repo will remain available but the resource will no longer be maintained or updated. Some or all parts of the resource may no longer work. To see our latest resources, please visit raspberrypi.org.
Sensing the Weather
This scheme of work introduces students to the sensors included with the Raspberry Pi Weather Station, a project which aims to get schoolchildren building and programming their own Weather Station to collect and present data. These resources introduce some simple sensors and get the students writing Python code to gather data from them.
- Rainfall - gather data using polling and interrupt methods
- Wind Speed - calculate wind speed using circle theory
- Wind Gust Speed - store multiple sensor readings in a list
- Wind Direction - discover the difference between analogue and digital
- Soil Temperature - plot a graph of sensor results
- Ambient Temperature - compare data from two sensors
- Relative Humidity - use equations and look up values in a dictionary
- Air Quality - tweet sensor values from your Weather Station
- Barometric Pressure - write data to a CSV file to use in another program
To find out more about the Weather Station project and how to get one, use the following links:
Unless otherwise specified, everything in this repository is covered by the following licence:
Sensing the Weather by the Raspberry Pi Foundation is licenced under a Creative Commons Attribution 4.0 International Licence.
Based on a work at https://github.com/raspberrypilearning/sensing-the-weather/