CO2, humidity and temperature sensor on ESP8266 with mh-z19 co2 sensor and dht-22 temperature and humidity sensor.
You can use project https://github.com/jehy/co2-online-display as backend to this program. See full description on https://geektimes.ru/post/270958/ (you can use Google translate from Russian).
- Copy file
dataServer.h.sample
todataServer.h
and specify there your server address. - Copy file
WiFiCreds.h.sample
toWiFiCreds.h
and specify there your WiFi cridentials. - Add
http://arduino.esp8266.com/stable/package_esp8266com_index.json
to additional boards in preferences - Install DHT sensor library
- Install ArduinoJson library
- Install LiquidCrystal_I2C library
- Install Adafruit unified sensor library (required for DHT library)
- Select wemos D1 (or your other board) in boards manager and install it
- Compile and upload your sketch
- Enjoy!