In this video, I build a DIY air quality sensor using an ESP32-C5 and a range of sensors to track PM2.5, CO2, gas changes, temperature, humidity, and pressure. Everything is sent into Home Assistant over MQTT so I can monitor the air properly and spot changes over time.
This build is designed as an always-on indoor monitor, with at-a-glance LED status on the device and full graphs and alerts in Home Assistant.
📦 Links & files:
• Seeed Studio XIAO ESP32-C5 - https://www.seeedstudio.com/Seeed-Stu...
• Seeeduino XIAO Expansion Board - https://www.seeedstudio.com/Seeeduino...
• Grove Laser PM2.5 Sensor - https://www.seeedstudio.com/Grove-Las...
• Sensirion SCD41 - https://s.click.aliexpress.com/e/_c2w...
• Grove Multichannel Gas Sensor v2 - https://www.seeedstudio.com/Grove-Mul...
• BME280 - https://s.click.aliexpress.com/e/_c41...
• USB power source - https://s.click.aliexpress.com/e/_c3d...
• LED Strip - https://s.click.aliexpress.com/e/_c4d...
• My 3D Printer - https://s.click.aliexpress.com/e/_c43...
• Instructions, code + full hardware list - https://jrattechworks.com/diy-air-qua...
In this video I cover:
• the parts used
• wiring and enclosure design
• sensor warm-up and placement
• MQTT and Home Assistant integration
• real-world testing for ventilation, particles, and sprays
Got questions or building your own? Drop a comment!
0:00 - Intro
1:07 - Parts
3:38 - Build
5:52 - Software
7:26 - Home Assistant
7:58 - Testing
8:53 - Results
#HomeAssistant #ESP32 #DIYElectronics #AirQuality #SmartHome #MQTT #ESP32C5 #PM25 #CO2Sensor #Maker
Information provided in this video is for educational purposes only.
If you attempt to recreate/replicate anything you’ve seen in this or any other video, you’re doing so at your own risk.
Some of the links in this post may be affiliate links. If you buy through them, I may earn a small commission at no extra cost to you.