Interface an TFA Dostmann CO2 Monitor with ESP8266
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
.gitignore
LICENSE
README.md
esp8266-co2monitor.ino
settings.h.example

README.md

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:
PIN Header

Wire up your Wemos with 4 wires, connected to 5V, G, D2 and D1:
Wemos Wiring

Now connect your Wemos D1 mini to your co2 monitor:
Final Wiring

dependencies

  • PubSubClient
  • Arduino/ESP8266

notes

Don't use D4 and D3, because it causes power-on issues with wemos d1 mini: https://www.forward.com.au/pfod/ESP8266/GPIOpins/index.html