Wearable Air Quality Pendant

Published  June 19, 2025   



The Wearable Air Quality Pendant is a small, power-efficient device designed to monitor the air you breathe continuously. At its heart is the ultra-low-power STM32U083KCU6 microcontroller, which works alongside the SGP40 gas sensor to detect Total Volatile Organic Compounds (TVOC) in the environment. The sensor is managed using the DFRobot_SGP40 library.

To keep things simple for the user, the pendant provides immediate feedback through a two-color LED (red and green) and a buzzer that plays unique RTTTL melodies depending on the air quality. The system classifies air quality into three levels: Good, Warning, and Critical, each with its own light and sound pattern. If a critical reading is detected or the sensor fails, the device enters a critical mode with flashing red LEDs and an alert tone.

The firmware is designed for efficiency. It uses the ptScheduler library to manage tasks like LED fading, sensor readings, and audio playback without blocking other operations. This makes the pendant responsive and reliable, even on battery power. The entire assembly is fitted into a 3D-printed, pendant-shaped enclosure, making it easy to wear as a pendant.

Whether you're working in a factory, commuting in a polluted city, or just concerned about indoor air quality, this pendant offers a simple and effective way to stay informed and safe.

Code File

Code and Schematics ZIP-File Air Quality PendantCode and Schematics Zip File ZIP-File Air Quality Pendant

PCB Gerber File

PCB Gerber File ZIP-File Air Quality PendantPCB Gerber ZIP File ZIP-File Air Quality Pendant
 
Value Manufacturer DigiKey Part Number Datasheet Link Quantity
5.1K YAGEO RC0603FR-075K1L

Datasheet

2
470R YAGEO 311-470LRCT-ND

Datasheet

13
2K YAGEO 311-2.0KGRCT-ND

Datasheet

1
4.7K YAGEO 311-4.7KJRCT-ND

Datasheet

2
1K YAGEO 311-1KMCT-ND

Datasheet

1
100K YAGEO 311-100KJRCT-ND

Datasheet

1
4.7R Panasonic Electronic Components P4.7RCT-ND

Datasheet

1
Battery_Cell MPD (Memory Protection Devices) BU2032SM-JJ-GCT-ND

Datasheet

1
Buzzer Murata Electronics PKMCS0909E4000-R1

Datasheet

1
4.7uF Samsung Electro-Mechanics 1276-1784-1-ND

Datasheet

3
2.2uF Samsung Electro-Mechanics 1276-1040-1-ND

Datasheet

2
1uF Samsung Electro-Mechanics 1276-1002-1-ND

Datasheet

2
100nF YAGEO 311-1088-1-ND

Datasheet

3
LED_Small Harvatek Corporation F1961NB--20C001714U1930

Datasheet

1
LED_RGBK Everlight Electronics Co Ltd 1080-EAST1616RGBA1CT-ND

Datasheet

4
MCP73832T-2ACI_MC Microchip Technology MCP73832T-2ACI/MCCT-ND

Datasheet

1
ADPL44002AUJZ Analog Devices Inc. 505-ADPL44002AUJZ-2.5-R7CT-ND

Datasheet

1
SGP40-D-R4 Sensirion AG 1649-SGP40-D-R4CT-ND

Datasheet

1
USB_C Receptacle Assmann WSW Components 123-A-USBC-20F0-EA-GSR11CT-ND

Datasheet

1
SS8550 Shenzhen Slkormicro Semicon Co., Ltd. 5399-SS8550CT-ND

Datasheet

1
STM32U083KCUx STMicroelectronics 497-STM32U083KCU6-ND

Datasheet

1