Автора пока нетВзять себе
- Лицензия
- CC BY-SA 4.0По материалам www.appropedia.org
- Языки
- English
In Orleans, a town in northern California, a PurpleAir sensor network measures air quality, but its readings sit on a web interface that not all community members have easy access to. This Appropedia project built a prototype that shows the reading in public, as lights and a number, with the aim of being resilient to power outages and inconsistent WiFi.
The problem
PurpleAir devices use a web-based interface, so community members who are unfamiliar with the internet or the PurpleAir database may not get the information. The goal was a real-time display of air quality that is resilient to power outages and inconsistent WiFi, so people can make better-informed health decisions. The design was made to meet the requirements of a CalPoly Humboldt Engineering 535 class.
The design
The display, microcontroller and battery sit indoors; the air sensor sits outside. The prototype is meant to be placed in a public building such as a post office.

Schematic of the system and the sensor's placement. Photo: Clarkemstevenson on Appropedia, CC BY-SA 4.0.

Illustration of the display: the LED strip lights up as the Air Quality Index (AQI) rises, and the sign lists the AQI thresholds from the U.S. EPA. Photo: Clarkemstevenson on Appropedia, CC BY-SA 4.0.
- The LED strip has 60 lights, ten for each air quality threshold. Lights fill each category and change color when the AQI enters a new level. Each lit light stands for about 5 AQI.
- A number display shows the current AQI value. The team recommends also showing the time of the measurement, which the prototype does not.
- The sensor is the same PM2.5 component, with the same brand of microcontroller (ESP32), as PurpleAir sensors. Parts are joined on a breadboard.
- Main parts and their prices at the time: a Plantower PM2.5 sensor ($39.95), a 4-digit 7-segment display ($13.95), a 60-LED NeoPixel strip ($26.95), an ESP32 Feather board ($20.95) and a UPS battery backup ($74.77) the team does not recommend.
Power
Maker specifications put worst-case use near 138 watts, but when the team measured the system with a meter it used less than 6 watts, even when every light was on.
| Air quality | Power used (watts) |
|---|---|
| Hazardous | 5.72 |
| Good | 1.08 |
The UPS battery ran the system for only about 3.5 hours in poor air and beeped constantly when unplugged. The team suggests a battery connected directly to the microcontroller instead. On the UPS in its prototype, a fully charged battery can power the display for up to 19 hours and 45 minutes if the LED lights are unplugged; the AQI number still updates.
Installing and using it
The sensor goes outdoors with its open end facing down, in free air flow away from exhaust and smoking, within 12 ft of an indoor power source and preferably out of easy reach. The indoor parts, which are not weather-rated, go near a window so the display can be read from outside. After the battery's power button is held for about 2 seconds the display starts, may take up to a minute to show data, and then updates every 10 seconds.

The user-focused display illustration. Photo: Clarkemstevenson on Appropedia, CC BY-SA 4.0.

Sensor placement in a PurpleAir housing. Photo: Clarkemstevenson on Appropedia, CC BY-SA 4.0.
Next steps
The prototype is a development-level design for others to build on. The authors recommend replacing the breadboard and jumper cables with a custom circuit board or wire wrapping, adding a timestamp or an error message, and changing the battery arrangement.
Sources
- “Real-time Air Quality Display for communities with unreliable power,” Appropedia, by its contributors (https://www.appropedia.org/Real-time_Air_Quality_Display_for_communities_with_unreliable_power), licensed CC BY-SA 4.0. Changed here: shortened and rewritten in hubnx's own words; the code, parts list links and most figures are left out; each photo is credited to Clarkemstevenson on Appropedia under CC BY-SA 4.0.
Комментарии




