Lamp Sheds Light On Air Quality

It can be difficult to appreciate when the air quality is decent and when it’s poor, unless conditions are so bad that you can literally see the smog hanging in the air. Rather than try to digest a bunch of air quality numbers, [guillaume_slizewicz] built Canari — a lovely lamp that sheds light on the air pollution problem by taking local air quality data and turning it into light patterns.

Canari is of course named after the brave birds that once alerted miners to dangerous air conditions before they were forced to switch to carbon monoxide sensors. This bird has a Raspberry Pi Zero W that gets air quality data from a public API and controls the lights with a PWM bonnet based on the concentration of particulates in the air. The more particulates, the dimmer the LEDs are, and the faster they fade in and out.

The main piece of data that Canari grabs is the amount of particulate matter, and the display can switch between representing the level of PM2.5 (particulate matter with diameter less than 2.5 micrometers)  in the air and PM10. Check out the demo and setup video after the break.

More of a numbers person? All you really need is a microcontroller, an air quality sensor, and a display.

Continue reading “Lamp Sheds Light On Air Quality”

Ooohhh, That Smell: Arduino Monitors Air Quality

According to [Dr. Tom Lehrer’s] song Pollution, “Wear a gas mask and a veil. Then you can breathe, long as you don’t inhale!” While the air quality in most of the world hasn’t gotten that bad, there is a lot of concern about long-term exposure to particulates in the air causing health problems. [Ashish Choudhary] married an Arduino with a display and a pollution sensor to give readings of the PM2.5 and PM10 levels in the air.

The sensor uses a laser diode and a photodiode to detect and count particles, while a fan moves air through the system. If you aren’t up on pollution metrics, PM2.5 is a count of very fine particles (under 2.5 microns) and PM10 is a count of particles for 10 microns. You can find a datasheet for the device online.

Continue reading “Ooohhh, That Smell: Arduino Monitors Air Quality”

Two-Part, Four-Wire Air Quality Meter Shows How It’s Done

The Bosch BME680 is a super-capable environmental sensor, and [Random Nerd Tutorials] has married it to the ESP32 to create an air quality meter that serves as a great tutorial on not just getting the sensor up and running, but also in setting up a simple (and optional) web server to deliver the readings. It’s a great project that steps through everything from beginning to end, including how to install the necessary libraries and how to program the ESP32, so it’s the perfect weekend project for anyone who wants to learn.

The BME680 is a small part that communicates over SPI or I2C and combines gas, pressure, temperature, and humidity sensors. The gas sensor part detects a wide range of volatile organic compounds (VOCs) and contaminants, including carbon monoxide, which makes it a useful indoor air quality sensor. It provides only a relative measurement (lower resistance corresponds to lower air quality) so for best results it should be calibrated against a known source.

The tutorial uses the Arduino IDE with an add-on to support the ESP32, and libraries from Adafruit. Unfamiliar with such things? The tutorial walks through the installation of both. There’s a good explanation of the source code, and guidance on entering setup values (such as local air pressure, a function of sea level) for best results.

Once the software is on the ESP32, the results can be read from the serial port monitor. By going one step further, the ESP32 can run a small web server (using ESPAsyncWebServer) to serve the data to any device wirelessly. It’s a well-written tutorial that covers every element well, and complements this other BME680-based air quality meter that uses MQTT and Raspberry Pi.

A Portable Home Air Quality Meter With The ESP32

Around the world, rolling pandemic lockdowns have left many working from home. [kn100] is in just such a predicament, and while spending nearly 24 hour a day in a residential flat, got wondering about air quality. Thus, it was time to build some gear to keep an eye on things!

Grafana may require a database and some work to set up, but the results are to die for.

The build consists of an ESP32 hooked up to a Bosch BME680 air quality sensor. It measures pressure, temperature, humidity and gas resistance, and then with a closed source library, uses this to calculate an “Air Quality Index” as well as estimate CO2 and VOC levels in the air. Data is passed from the ESP32 over MQTT to a Raspberry Pi. This runs Mosquitto for handling the MQTT queries, saving the data in an Influxdb instance. Grafana is then used to query this database and produce attractive graphs of the data.

It’s a build that not only helps keep an eye on things in the flat, but is great practice for building solid Internet of Things devices with top-notch data visualisation. We’ve talked about how to do this before, too – so if you need this capability in your life, there’s no excuse not to get hacking!

Day Clock Monitors Air Quality Of The Great Indoors

As the world settles into this pandemic, some things are still difficult to mentally reckon, such as the day of the week. We featured a printed day clock a few months ago that used a large pointer to provide this basic psyche-grounding information. In the years since then, [Jeff Thieleke] whipped up a feature-rich remix that adds indoor air quality readings and a lot more.

Like [phreakmonkey]’s original day tripper, an ESP32 takes care of figuring out what day it is and moves a 9 g servo accordingly. [Jeff] wanted a little more visual action, so the pointer moves a tad bit every hour. A temperature/humidity sensor and a separate CO₂ sensor output their readings to an LCD screen mounted under the pointer. Since [Jeff] is keeping this across the basement workshop from the bench, the data is also available from a web server running on the ESP32 via XML and JSON, and the day clock can get OTA updates.

Need a little more specificity than just eyeballing a pointer? Here’s a New Times clock that gives slightly more detail.

See If Today’s Air Quality Will Conch You Out

Air quality is one of those problems that is rather invisible and hard to grasp until it gets bad enough to be undeniable. By then, it may be too late to do much about it. But if more people were interested in the problem enough to monitor the air around them, there would be more innovators bringing more ideas to the table. And more attention to a problem usually means more accountability and eventual action.

This solar-powered particulate analyzer made by [rabbitcreek] is a friendly way to take the problem out of the stratosphere of ‘someday’ and bring it down to the average person’s backyard. Its modular nature makes it fairly simple to build, and the conch shell enclosure gives it a natural look. That shell also cleverly hides the electronics, while at the same time allowing air and particulates to reach the sensor. If you don’t like the shell enclosure, we think the right type of bird feeder could protect the electronics while allowing airflow.

[rabbitcreek] attached a sizeable solar panel to the shell on a GoPro mount so it can be adjusted to face the sun. The panel charges a Li-Po battery that gets boosted to 5V. Every two hours, a low-power breakout circuit wakes up the Feather ESP32 and takes a reading from the particulate sensor. [rabbitcreek] can easily see the data on his phone thanks to the Blynk app he created.

Why limit this to your yard? Bare ESP32s are cheap enough that it’s feasible to build a whole network of air quality sensors.

3D Printer Emission Monitor Quantifies The Stench

While we don’t yet know the long-term effects of hanging out around 3D printers, it doesn’t take a in-depth study to figure out that their emissions aren’t healthy. What smells toxic usually is toxic. Still, it’s oh-so-fun to linger and watch prints grow into existence, even when we have hundreds or thousands of hours of printing under our belts.

Most of us would agree that ABS stinks worse than PLA, and that’s probably because it releases formaldehyde when melted. PLA could be viewed as slightly less harmful because it has a lower melting point, and more volatile organic compounds (VOCs) are released at higher temperatures. Though we should probably always open a window when printing, human nature is a strong force. We need something to save us from our stubbornness, and [Gary Peng] has the answer: a smart 3D printer emission monitor.

The monitor continually checks the air quality and collects data about VOC emissions. As the VOCs become elevated during printing, the user is notified with visual, audio, and phone notifications. Green means you’re good, yellow means open a window, red means GTFO. There’s a brief demo after the break that also shows the phone interface.

The heart of this monitor is a CCS811 gas sensor, which provides VOC data to a Particle Photon. [Gary] built a simple Blynk interface to handle the alerts and graph historical VOC readings. He’s got the code and STLs available, so let this be the last time you watch something print in blissful semi-ignorance.

Concerned about air quality in general? Here’s a standalone portable monitor designed to quantify the soul-crushing stuffiness of meetings.

Continue reading “3D Printer Emission Monitor Quantifies The Stench”