How To Build an Air Quality Alert Light with Raspberry Pi Pico

Build an Air Quality Alert Light with Raspberry Pi Pico
(Image credit: Tom's Hardware)

Air quality is a big concern. We take the air that we breathe for granted, and sometimes that air is full of pollution. Forest fires in Canada and hill fires in the United Kingdom are all recent examples of fire polluting our air, so how can we check that it is safe to go out?

In this how to we’ll build a project that uses air quality data from the OpenWeather API to give us an indication of air quality before we leave home. The data is visualized using a Raspberry Pi Pico W, a $6 microcontroller that can go online, get the data and then display the data using a strip of NeoPixel RGB LEDs.

Latest Videos FromTom's Hardware
Les Pounder
Associate Editor

Les Pounder is an associate editor at Tom's Hardware. He is a creative technologist and for seven years has created projects to educate and inspire minds both young and old. He has worked with the Raspberry Pi Foundation to write and deliver their teacher training program "Picademy".

  • domih
    Thank you, Mr Pounder.
    Reply
  • Kind reminds me of this old project we did in uni by using the SDS011 sensor. For monitoring PM2.5/PM10 data.

    https://www.raspberrypi.com/news/monitor-air-quality-with-a-raspberry-pi/
    Reply
  • 1_rick
    For advanced usage, switch to C++ (I know CircuitPython can't put the processor into and out of sleep mode, and I assume MicroPython can't either, otherwise I'd say stick with MP) and sleep the mcu, using an interrupt on the button press to wake it up, do the activity, and put it back to sleep. Then you can run it for ages on a battery.
    Reply