Wearable Air Quality Pendant

Share

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
 
ValueManufacturerDigiKey Part NumberDatasheet LinkQuantity
5.1KYAGEORC0603FR-075K1L

Datasheet

2
470RYAGEO311-470LRCT-ND

Datasheet

13
2KYAGEO311-2.0KGRCT-ND

Datasheet

1
4.7KYAGEO311-4.7KJRCT-ND

Datasheet

2
1KYAGEO311-1KMCT-ND

Datasheet

1
100KYAGEO311-100KJRCT-ND

Datasheet

1
4.7RPanasonic Electronic ComponentsP4.7RCT-ND

Datasheet

1
Battery_CellMPD (Memory Protection Devices)BU2032SM-JJ-GCT-ND

Datasheet

1
BuzzerMurata ElectronicsPKMCS0909E4000-R1

Datasheet

1
4.7uFSamsung Electro-Mechanics1276-1784-1-ND

Datasheet

3
2.2uFSamsung Electro-Mechanics1276-1040-1-ND

Datasheet

2
1uFSamsung Electro-Mechanics1276-1002-1-ND

Datasheet

2
100nFYAGEO311-1088-1-ND

Datasheet

3
LED_SmallHarvatek CorporationF1961NB--20C001714U1930

Datasheet

1
LED_RGBKEverlight Electronics Co Ltd1080-EAST1616RGBA1CT-ND

Datasheet

4
MCP73832T-2ACI_MCMicrochip TechnologyMCP73832T-2ACI/MCCT-ND

Datasheet

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

Datasheet

1
SGP40-D-R4Sensirion AG1649-SGP40-D-R4CT-ND

Datasheet

1
USB_C ReceptacleAssmann WSW Components123-A-USBC-20F0-EA-GSR11CT-ND

Datasheet

1
SS8550Shenzhen Slkormicro Semicon Co., Ltd.5399-SS8550CT-ND

Datasheet

1
STM32U083KCUxSTMicroelectronics497-STM32U083KCU6-ND

Datasheet

1
Have any question related to this Article?