Raspberry Pi

Turn a Raspberry Pi into a Citizen Science Air-Quality Station

Turn a Raspberry Pi into a Citizen Science Air-Quality Station

Got a spare Raspberry Pi in a drawer and a free Saturday? Turn it into a small science station that sends real data to researchers. The Raspberry Pi team rounded up citizen science projects for Maker Monday, and several of them fit neatly into one weekend of tinkering on a breadboard and a balcony.

What they built

The roundup covers four kinds of rigs. Penguin Watch on Zooniverse used rugged cameras from the non-profit Arribada, each running a Raspberry Pi Zero, and volunteer counts helped push for marine protection around South Georgia and the South Sandwich Islands. Meteor hunters in the Global Meteor Network and UK Fireball Alliance use Pi cameras pointed at the night sky to trace fireballs back to where fragments land. Radio astronomy fans pair a Pi with a software-defined radio dongle to hear meteor echoes even on cloudy nights. Closer to the ground, a Pimoroni Enviro board turns a Pi into an air-quality station that reports to the open Sensor.Community map. If you only want to donate compute, BOINC projects such as Rosetta@home run on 64-bit Raspberry Pi OS.

Parts and cost reality

The air-quality station is the easiest weekend build. You need:

  • A Raspberry Pi Zero 2 W or Pi 4, plus a 5 V, 2.5 A supply
  • An Enviro+ board, which carries a BME280 for temperature, humidity and pressure
  • A PMS5003 particulate sensor for PM1.0, PM2.5 and PM10 readings
  • A vented box so rain stays out but air moves through

The Enviro+ sits on the 40-pin header and talks over I2C on GPIO 2 (SDA) and GPIO 3 (SCL), so enable I2C in raspi-config first. Run i2cdetect -y 1 and look for the BME280 at 0x76. One gotcha: the BME280 sits right next to the Pi’s CPU, so it reads a few degrees high. Mount the board on a short ribbon cable or apply a CPU-temperature compensation factor in your Python script. The PMS5003 talks over UART, so disable the serial console but keep the serial port hardware on.

Spend your Sunday on this

Saturday is wiring and the Pimoroni library install. Sunday is registration: follow Pimoroni’s Luftdaten station guide, note your Pi’s serial number, and register it on Sensor.Community so your PM2.5 readings appear on the public map. For a school team, put two stations on opposite ends of campus and compare readings during jeepney rush hour against a quiet weekend. That gives you a dataset good enough for a science fair or a thesis chapter. Want something bigger next weekend? Read the full Raspberry Pi citizen science roundup and pick a meteor camera next.

Frequently Asked Questions

What sensors does the Raspberry Pi air-quality station use?

The Pimoroni Enviro+ board adds a BME280 for temperature, humidity and pressure, and a PMS5003 laser particulate sensor plugs in for PM1.0, PM2.5 and PM10 readings. The BME280 connects over I2C and the PMS5003 over UART.

Which Raspberry Pi works best for this weekend build?

A Pi Zero 2 W is enough because the job is light: read sensors every few minutes and upload over Wi-Fi. A Pi 4 works too. Use a stable 5 V supply and a vented enclosure, and keep the BME280 away from the CPU so heat does not skew the temperature.

What will I learn if I build this?

You will practice I2C and UART wiring on the GPIO header, install and use Python sensor libraries, correct for sensor error like CPU heat, and publish data to a real research network. Comparing two stations also teaches basic data analysis you can use in a science fair or thesis.

This article was inspired by reporting from Raspberry Pi. Find the parts and modules to build it at Circuitrocks.

// written by Ann Arandia

Ann Arandia covers community projects and maker events for the Circuitrocks blog. She writes about local workshops, kid-friendly electronics, and the Philippine maker scene — the people, the meet-ups, the projects that come out of them.