Joyce Lin
Published

Air Quality Monitor with Raspberry Pi 5, PMS7003, and Viam

Connect a particulate matter sensor to a Raspberry Pi to trigger a DIY air filtration system.

BeginnerFull instructions provided1 hour1,347
Air Quality Monitor with Raspberry Pi 5, PMS7003, and Viam

Things used in this project

Hardware components

Raspberry Pi 5
Raspberry Pi 5
×1
PMS7003 particulate matter sensor
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Kasa smart plug
×1
MERV 13 electrostatic air filter
×1
Box fan
×1

Software apps and online services

Viam Platform
Viam Robotics Viam Platform

Story

Read more

Schematics

Wiring diagram

Wiring diagram to connect the Raspberry Pi 5 to the PMS7003 air monitoring device

Code

process.py

Continuous process to check if PM2.5 particulate values exceed unhealthy thresholds to trigger smart plug

Credits

Joyce Lin

Joyce Lin

1 project • 2 followers
Head of developer relations at Viam

Comments