Simple sketch for DHT22 readouts by ESP8266
Connect to dht-sensor
Wifi and navigate to https://192.168.4.1 or https://192.168.4.1/temp.json
- Download and install Arduino IDE (not the online version)
- Install ESP8266 Arduino Core
- Download and install CH340 USB driver
- Download this repo and open it in Arduino IDE
- Connect the board to the computer
- Select
Tools > Boards > Wemos D1 R2 & Mini
- Select
Tools > Upload speed > 230400
- Select
Tools > Port > /dev/cu.wchusb....
- Hit
Upload
in Arduino IDE