Quotidien Shaarli

Tous les liens d'un jour sur une page.

February 20, 2025

MicroPython: ESP32/ESP8266 with DHT11/DHT22 Temperature and Humidity Sensor | Random Nerd Tutorials
thumbnail

This tutorial shows how to use the DHT11 or DHT22 temperature and humidity sensors with the ESP32 and ESP8266 development boards using MicroPython firmware.

micropython+DHT22

Code pour Arduino -> AskSensors.io
AskSensors-ESP8266-DHT/dht11_https_get.ino

#define DHTPIN            2         // Pin which is connected to the DHT sensor.