/idf-esp8266-dht22-oled

Example of reading DHT22 sensor and displaying results on OLED display

Primary LanguageC++MIT LicenseMIT

IDF (FreeRTOS) ESP8266 DHT22 and OLED Example

ESP8266 License: MIT

Built and tested on ESP-IDF v3.3 (ecdc4cd9).

Prerequisites

  • ESP8266 family of chips based device.

  • DHT22 temperature/humidity sensor.

  • SDD1306 OLED 0.66" 64x48 display (Wemos OLED shield).

  • ESP8266 RTOS SDK and corresponding toolchain installed.

Build and run

Configure the project
$ make menuconfig
Build a firmware
$ make build
Flash to the device and run monitor
$ make flash monitor

Development

Open the project in CLion
$ make open

Copyright © 2019-2020 Alexey McSakoff
Free use of this software is granted under the terms of the MIT License.

See the LICENSE file for details.