Skip to content

Display the PurpleAir AQI (Air Quality Index) on a RGB LED via Raspberry Pi Pico W.

Notifications You must be signed in to change notification settings

doggan/purpleair-aqi-pico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air Quality Index LED Display

Display the PurpleAir AQI (Air Quality Index) on a RGB LED via Raspberry Pi Pico W.

The code will use the PurpleAir API to periodically query PM2.5 (AQI) data from a specified sensor. The RGB LED will change color depending on the reading of the sensor. This can be useful for monitoring the outside air quality near your house, for example.

final-anim.gif

Usage

  • Configure the hardware as illustrated in the schematic below.
  • Modify the required constants in config.py.
  • Deploy code to the Pico W.

Schematic

final.png breadboard schematic

Potential Future Improvements

  • Provide a web interface for changing the PurpleAir Station ID, to allow modifying the monitored station/sensor without having to deploy code.
  • Send an alert (SMS, email) if AQI exceeds a specified level.

About

Display the PurpleAir AQI (Air Quality Index) on a RGB LED via Raspberry Pi Pico W.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages