Measuring Temperature and Humidity Using an M5Stack Core 2 with DHT11 and DHT22
Learn how to measure temperature and humidity with DHT11, DHT22, and DHT21 sensors with an M5Stack Core 2. First, learn how to prepare the Arduino IDE to work with the M5Stack Core 2 ESP32 device. Then, a wiring diagram for the DHT11 and DHT22 with a PCB and bare module with resistor is shown. Actual wiring is shown next for all three modules. Then, the code is fully explained so you know how to customize it. At the end, measuring temperature and humidity is demonstrated using the DHT11 and DHT22. What values can this code show? In the code, where it says `unsigned int unit=3;`, change `unit=0` to `unit=5`. 0=°C (Celsius) 1=°F (Fahrenheit) 2=Humidity 3=°C (Celsius) and Humidity 4=°F (Fahrenheit) and Humidity 5=°C (Celsius) and °F (Fahrenheit) Purchase this with a discount from Banggood. Banggood discount coupon: Code Price: $37.99 Promo Code: BGb80c39 Warehouse: CN Exp: 4/30/2021366-M5Stack Core 2 ESP32 with DHT11 and DHT22
Idioma: C++
¡Copiado!
Cosas que podrías necesitar
-
BanggoodPurchase this with a discount from Banggoodbanggood.com
Recursos y referencias
-
ExternoESP32-D0WDQ6-V3 datasheet (PDF)espressif.com
-
ExternoM5Stack Core2 Documentation pagedocs.m5stack.com
-
ExternoM5Stack Core2 product pagem5stack-store.myshopify.com
-
Interno
-
InternoPurchase this with a discount from Banggoodbanggood.com
Archivos📁
No hay archivos disponibles.