Components required:
- ESP8266 module (NodeMcu Development Board ESP8266 12E WIFI CH340 v3 USB ESP12 ESP-12)
- DHT11 temperature/humidity sensor (Temperature and Relative Humidity Sensor Module 2016 1 PCS for arduino DHT11)
- micro USB cable
Software:
- Adruino IDE sample guide to configure IDE to support ESP8266 module
- Adafruit_Sensor library https://github.com/adafruit/Adafruit_Sensor
- DHT library Andruino library required to read data from DHT11 sensorhttps://github.com/adafruit/DHT-sensor-library
Run:
- Configure Adruino IDE connect ESP8266 board
- copy libraries to libraries dir in your adruino workspace
- Upload code from ESP8266_DHT11.ino file
- go to the browser and GET http://YOUR_IP:1234/temp
- go to the browser and GET http://YOUR_IP:1234/humidity