



Raspberry Pi Pico 2 Air Quality Event Monitor
A MicroPython environmental monitor that learns a room-specific baseline, detects meaningful humidity and gas-resistance changes, and communicates state through an OLED, LEDs, a buzzer, and serial telemetry.
- 15
- baseline samples
- 1 s
- sample interval
- 5 s
- stable recovery
Identify whether unexpected behavior came from firmware, wiring, communication interfaces, or a physical component while keeping the system feedback understandable.
Built the monitor step by step, then combined baseline-relative detection, alert precedence, separate entry and recovery thresholds, timed recovery, and explicit system states.
Recorded tests captured Normal → Spike Detected → Alert → Recovery behavior and matched the configured humidity thresholds.
- Raspberry Pi Pico 2
- MicroPython
- BME688
- I²C + GPIO
- SSD1306 OLED
- PlantUML
- Thonny