Arduino Library – DHT sensors (arduino)

Installatie van Arduino IDE libraries: Arduino info
arduino logo rond

DHT informatie @ Arduino Playground

RobTillaart “DHTlib” library (aanbevolen voor Arduino)

The DHT11, 21, 22, 33 and 44 are relative inexpensive sensors for measuring temperature and humidity.

This library can be used for reading both values from these DHT sensors.
The DHT11 only returns integers (e.g. 20) and does not support negative values.
The others are quite similar and provide one decimal digit (e.g. 20.2)
The hardware pins of the sensors and handshake are identical so ideal to combine in one lib.

The library (0.1.13 version) is confirmed to work on:

UNO (tested myself)
2009 (tested myself)
MEGA2560
DUE
attiny85 @8MHz
Digistump Digix @ 84 MHz

Dowload Robtillaart DHTlib library @ Github

Markruys “arduino-DHT” library (arduino)

  • Ondersteuning voor DHT11. DHT22, AM2302, RHT03.
  • Detecteert automatisch het sensor model.
  • Verbruikt weinig geheugen.
  • Zeer kleine code.

Dowload Markruys arduino-DHT library @ Github

Adafruit “DHT library” (arduino)

This is an Arduino library for the DHT series of low cost temperature/humidity sensors.

To download. click the DOWNLOADS button in the top right corner, rename the uncompressed folder DHT. Check that the DHT folder contains DHT.cpp and DHT.h. Place the DHT library folder your <arduinosketchfolder>/libraries/ folder. You may need to create the libraries subfolder if its your first library. Restart the IDE.

Dowload Adafruit DHT library @ Github

Niesteszeck “idDHT11” library

De DHT bibliotheek van Niesteszeck is interrupt gedreven en belast de atmega minder, zodat er capaciteit overblijft voor andere taken.

Dowload Niesteszeck – idDHT11 library @ Github


Top