764 shaares
94 liens privés
94 liens privés
This tutorial shows how to use the DHT11 or DHT22 temperature and humidity sensors with the ESP32 and ESP8266 development boards using MicroPython firmware.

Code pour Arduino -> AskSensors.io
AskSensors-ESP8266-DHT/dht11_https_get.ino
#define DHTPIN 2 // Pin which is connected to the DHT sensor.