Update to the DHT22 sensor library to allow all the sensors supported by the underlying Adafruit DHT Libraries: DHT11, DHT12, DHT21, DHT22, AM2301
*In order to use this library in MATLAB, the Adafruit DHT library must also be installed in the Arduino
1. Find the location of the Arduino IDE by typing in the command window
arduinoio.IDERoot
eg. >> 'C:\ProgramData\MATLAB\SupportPackages\R2021b\aIDE'
2. Navigate to this folder and launch Arduino
3. Go to Tools->Manage Libraries. Search for and install 'DHT sensor library' by Adafruit
인용 양식
Eric Prandovsky (2025). DHT Add-On Library for Arduino (https://www.mathworks.com/matlabcentral/fileexchange/102494-dht-add-on-library-for-arduino), MATLAB Central File Exchange. 검색 날짜: .
MATLAB 릴리스 호환 정보
개발 환경:
R2021b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!DHTxx Add-On Library for Arduino
DHTxx Add-On Library for Arduino/+arduinoioaddons/+Adafruit
버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0 |