esp-aq-sensor
BOM
Sensor | Purpose | Ali link | Docs |
---|---|---|---|
ESP-32 36Pin | https://aliexpress.com/item/4001340660273.html | ||
PMS5003 | PM Sensor | https://aliexpress.com/item/1005001793669306.html | https://esphome.io/components/sensor/pmsx003.html |
MH-Z19 | CO2 Sensor | https://aliexpress.com/item/4000212024923.html | https://esphome.io/components/sensor/mhz19.html |
BME680 | Temp/Humidity/AQ | https://www.aliexpress.com/item/1005001602441073.html | https://esphome.io/cookbook/bme280_environment.html |
BH1750 | Light | https://aliexpress.com/item/1005001944148809.html | https://esphome.io/components/sensor/bh1750.html |
HC-SR501 | Motion | https://aliexpress.com/item/32966240175.html | https://esphome.io/cookbook/pir.html |
Wiring
For NodeMCU-32S
PMS5003
- VCC to VIN (5v)
- GND to GND
- TXD to 26
- SET to 27
BME680
- VIN to 3.3V
- GND to GND
- SCL to 22
- SDA to 23
BH1750
- VCC to 3.3V
- GND to GND
- SCL to 22
- SDA to 23
MH-Z19
- VIN to VIN (5V)
- GND to GND
- TX to pin 18
- RX to pin 19
HC-SR501
- VIN to VIN (5V)
- GND to GND
- OUT to 21