764 shaares
94 liens privés
94 liens privés
2 résultats
taggé
micropython
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.This is a driver for MicroPython to handle cheap displays based on the ST7789 chip. The driver is written in C. Firmware is provided for ESP32, ESP32 with SPIRAM, pyboard1.1, and Raspberry Pi Pico devices.
