https://github.com/junkfix/dhtesp32-rmt
Arduino Library for ESP32 DHT11, DHT21, DHT22, AM2301, AM2302 using Non Blocking RMT protocol, minimal
https://github.com/junkfix/dhtesp32-rmt
Last synced: about 1 year ago
JSON representation
Arduino Library for ESP32 DHT11, DHT21, DHT22, AM2301, AM2302 using Non Blocking RMT protocol, minimal
- Host: GitHub
- URL: https://github.com/junkfix/dhtesp32-rmt
- Owner: junkfix
- License: mit
- Created: 2023-05-26T20:14:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T22:00:39.000Z (almost 2 years ago)
- Last Synced: 2025-03-28T02:24:19.227Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 43.9 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dhtESP32-rmt
Arduino Library for ESP32 DHT11, DHT21, DHT22, AM2301, AM2302
This is a minimal library with just one function to get the reading, it is using ESP32 RMT peripheral and Arduino to implement a onewire communication with the sensor.
This library is a non-blocking and does not use any CPU delays or disable interrupts, can also be used with other RTM libraries as it installs the driver as shared and gets the readings and uninstall it after every readings.
The example is provided and tested using Arduino 3.0.0 based on ESP-IDF 5.1.4
* Version 1.x is for Arduino 2.x based on ESP-IDF 4.x
* Version 2.x is for Arduino 3.0.0 based on ESP-IDF 5.1.4
---
