A pure C implementation of a weather station using an ESP-01 and a DHT22 sensor. Special thanks to Fonger for the DHT22 protocol implementation.
- ESP-01 module (or any later versions of an ESP8266 module)
- DHT22 sensor module
- ESP8266 RTOS SDK
- Rename
Kconfig.projbuild.example
toKconfig.projbuild
. - Update configuration settings for your WiFi AP and the MQTT broker in the
Kconfig.projbuild
. - Run
make flash
to build and upload the program to ESP8266.