DHT11 Module
connect to ESP32
DHT11/DHT22 Interfacing with ESP32
Connect the DHT11/DHT22 to ESP32 along with a 10K ohm pull-up resistor. The connection diagrams are shown in the pictures below.
يمكن ان نوصلها مباشرة بدون المقاومات ويمكن ان نوصل مقاومات كما في الدوائر تحت
Download DHT11 and DHT22 libraries
You will see many options available for DHT11 and DHT22 libraries. Select Adafruit library and click on the install button. You can select the latest version from the version window.
DHT11/DHTT22 Display Readings on Arduino Serial Monitor
code
نسخ
اقتباس
عرض
تنزيل