Guide to Sensors Compatible with CO2 Gadget: CO2, PM and Environmental Sensors

Last modified 5 days

CO2 Gadget supports more than 20 sensors for the ESP32: CO₂ NDIR (Sensirion SCD30/SCD40/SCD41, MH-Z19, CM1106, Senseair S8), particulate matter (Sensirion SPS30, Plantower PMS5003/PMS7003, SN-GCJA5), temperature/humidity/pressure (BME280, BME680, SHT31, AHT20) and VOC/NOx (SGP40, SGP41). Here is the complete table showing compatibility, pin assignments and auto-detection.

Documentation is currently being updated. We are currently reviewing and improving all our pages. You may come across a broken link or some content that hasn’t been finalised yet. If you spot anything that isn’t quite right, please help us fix it at GitHub.

CO₂ sensors

SensorInterfaceDetection
Sensirion SCD30I²CAutomatic
Sensirion SCD40 / SCD41I²CAutomatic
Winsen MH-Z19 (A/B/C/D/E)UARTManual selection
Cubic CM1106 / CM1106SL-NSUARTManual selection
Senseair S8 LPUARTManual selection

Particulate matter (PM) sensors

SensorInterfacePublish
Sensirion SPS30UART / I²CPM1, PM2.5, PM4, PM10
Panasonic SN-GCJA5UART / I²CPM1, PM2.5, PM4, PM10
Plantower (PMS x003)UARTPM1, PM2.5, PM4, PM10
Nova SDS011UARTPM2.5, PM10
IKEA Wind DirectionUARTPM2.5

Environmental sensors

All of these are automatically detected via I²C: BME280, BMP280, BME680 (IAQ), SHT31, AHT10, AM2320, DFRobot SEN0469 (NH₃), DFRobot SEN0466 (CO) and Geiger CAJOE.

How to choose the sensor

I²C sensors are detected automatically — select «Auto» from the menu. For UART sensors (MH-Z19, CM1106, Senseair S8), go to Settings → CO₂ Sensor → Sensor and choose the model. Remember to save your changes.

Notes

  • I²C sensors are plug-and-play thanks to the CanAirIO sensorlib
  • PM particles are published via MQTT using Home Assistant Discovery
  • Check the GPIO pinout diagram to find out where to connect each sensor
  • CO2 Gadget supports more sensors than any commercial meter

Did you find this helpful? Share this article. Have a look at the Menu Guide. Any questions? Ask on the Telegram group.

Leave a comment