2020年10月11日 星期日

ESP32 DHT11 & MQTT

 



Installing Libraries

To read from the DHT sensor, we’ll use the DHT library from Adafruit. To use this library you also need to install the Adafruit Unified Sensor library. Follow the next steps to install those libraries.

Open your Arduino IDE and go to Sketch > Include Library > Manage Libraries. The Library Manager should open.

Search for “DHT” on the Search box and install the DHT library from Adafruit.

Installing Adafruit DHT library

After installing the DHT library from Adafruit, type “Adafruit Unified Sensor” in the search box. Scroll all the way down to find the library and install it.

Installing Adafruit Unified Sensor driver library

沒有留言:

張貼留言

DualGate IoT Access System(雙門物聯網門禁系統)-ESP32 Telegram 智慧門禁控制系統

 DualGate IoT Access System(雙門物聯網門禁系統)-ESP32 Telegram 智慧門禁控制系統 這套整合 ESP32(Wokwi 邊緣端) 、 MQTT Broker ( broker.emqx.io ) 、 Python(中央控制台) 與 Tel...