![]() ![]() In order to interact with the sensor using a higher level API that abstracts the lower level details of the one-wire communication, we will use this Arduino library. It works with a supply voltage in the range of 3.3 V to 5.5 V, so it can be easily used with the ESP32. The interface with the DHT22 is quite simple since it uses a single wire protocol, meaning we just need to connect it to a single GPIO of our microcontroller. Note that DHT22 is the common name given to the device but its real name is AM2302. In this ESP32 tutorial, we will check how to get temperature measurements on the Arduino core running on the ESP32, using a DHT22 temperature and humidity sensor. ![]() In this ESP32 tutorial, we will check how to get temperature measurements on the Arduino core running on the ESP32, using a DHT22 temperature and humidity sensor. The tests were performed using a DFRobot’s ESP32 module integrated in a ESP32 development board. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |