ESP8266-co2monitor
description
Interface an TFA Dostmann CO2 Monitor with ESP8266 (in our example a WEMOS D1 Mini) to connect it to the "Internet of Things". It publishes the CO2 measurement and temperature to a configures MQTT topic.
compiling
- Rename settings.h.example to settings.h
- Open up your arduino IDE
- Configure your OTA, Wifi, MQTT Topics in the settings.h file
- Upload the compiled result to your Wemos D1 Mini
wiring
Add a pin header to the existing PCB. Left to right: GND, Clock, Data, 5V:
Wire up your Wemos with 4 wires, connected to 5V, G, D4 and D3:
Now connect your Wemos D1 mini to your co2 monitor:
dependencies
- PubSubClient
- Arduino/ESP8266