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
言語: C++
コピーしました!
必要かもしれないもの
-
バングッドバングッドで割引を利用してこれを購入してください。banggood.com
リソースと参考文献
-
外部ESP32-D0WDQ6-V3 データシート (PDF)espressif.com
-
外部M5Stack Core2 ドキュメンテーションページdocs.m5stack.com
-
外部M5Stack Core2 製品ページm5stack-store.myshopify.com
-
内部
-
内部バングッドで割引を利用してこれを購入してください。banggood.com
ファイル📁
ファイルは利用できません。