Weather station
A weather station measures temperature, humidity and air pressure. Falling pressure usually means rain, which is how the weather can be forecast.
Read the digital sensors, put two devices on one I2C bus and show the results on screen. Calculate altitude from pressure, just as drone and aircraft altimeters do.
In this lab
- temperature and humidity
- air pressure and altitude
- the I2C bus
- greenhouse monitoring
What you learn
A weather station measures the state of the air: temperature, humidity and atmospheric pressure. Their changes let you forecast the weather: when pressure falls, rain usually follows. Pressure also gives altitude, which is how aircraft and drone altimeters work. The aim is to read digital data from sensors and show it clearly.
Tasks
- Read temperature and humidity from a digital sensor
- Show results in the Serial Monitor and on the screen
- Put two devices on one I2C bus
- Work out altitude from pressure
- Decide using several conditions
What you can build
- Greenhouse monitor — Low humidity starts watering, high temperature starts ventilation.
- School weather station — Measures every hour and logs the result to the Serial Monitor.
- Drone altimeter — Shows altitude from pressure on the screen.
- Comfort indicator — Green comfortable, yellow dry, red hot.
- Dew point — Works out the dew temperature from temperature and humidity.
- Weather alarm — A fast pressure drop sounds the buzzer.