Simple IoT solution for air purity monitoring using esp8266 using MH-Z19b
The idea was to make an IoT device that was compact, easy to use and easily showed how CO2 levels in the air could be tolerated.
***- Just plug in the device with usb port to any charging socket with at least 0.5amps currency (your phone charger is suitable)
- Next wait untill device will collebrate (about 1 min)
- Observe the light: it will change gradient from green to red depends on CO2 level (GREEN is for 0-400ppm, RED is for 2000ppm and above)
https://oshwlab.com/alex.zhemblow/sensorco2_iot_esp8266_copy
- Use arduino IDE as well
- Install libs listed in ESP8266_C02.ino and use instruction in the top to connect usb-uart converter (like CP2102)
- HTTPServer.ino is used for future setuping throught the WIFI
- All pins are listed in Constants.h