adafruit/DHT-sensor-library

Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors

C++

2,170

140 commits

updated Mar 3, 2026

See the code

README

DHT sensor library Build Status

Description

An Arduino library for the DHT series of low-cost temperature/humidity sensors.

You can find DHT tutorials here.

Dependencies

Contributing

Contributions are welcome! Not only you’ll encourage the development of the library, but you’ll also learn how to best use the library and probably some C++ too

Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation and doxygen

Documentation is produced by doxygen. Contributions should include documentation for any new code added.

Some examples of how to use doxygen can be found in these guide pages:

https://learn.adafruit.com/the-well-automated-arduino-library/doxygen

https://learn.adafruit.com/the-well-automated-arduino-library/doxygen-tips

Written by Adafruit Industries based on work by:

  • T. DiCola
  • P. Y. Dragon
  • L. Fried
  • J. Hoffmann
  • M. Kooijman
  • J. M. Dana
  • S. Conaway
  • S. IJskes
  • T. Forbes
  • B. C
  • T. J Myers
  • L. Sørup
  • per1234
  • O. Duffy
  • matthiasdanner
  • J. Lim
  • G. Ambrozio
  • chelmi
  • adams13x13
  • Spacefish
  • I. Scheller
  • C. Miller
  • 7eggert

MIT license, check license.txt for more information All text above must be included in any redistribution

To install, use the Arduino Library Manager and search for "DHT sensor library" and install the library.

arduino-library

adafruit/DHT-sensor-library

Arduino library for DHT11, DHT22, etc Temperature & Humidity Sensors

C++

2,170

140 commits

updated Mar 3, 2026

See the code

README

DHT sensor library Build Status

Description

An Arduino library for the DHT series of low-cost temperature/humidity sensors.

You can find DHT tutorials here.

Dependencies

Contributing

Contributions are welcome! Not only you’ll encourage the development of the library, but you’ll also learn how to best use the library and probably some C++ too

Please read our Code of Conduct before contributing to help this project stay welcoming.

Documentation and doxygen

Documentation is produced by doxygen. Contributions should include documentation for any new code added.

Some examples of how to use doxygen can be found in these guide pages:

https://learn.adafruit.com/the-well-automated-arduino-library/doxygen

https://learn.adafruit.com/the-well-automated-arduino-library/doxygen-tips

Written by Adafruit Industries based on work by:

  • T. DiCola
  • P. Y. Dragon
  • L. Fried
  • J. Hoffmann
  • M. Kooijman
  • J. M. Dana
  • S. Conaway
  • S. IJskes
  • T. Forbes
  • B. C
  • T. J Myers
  • L. Sørup
  • per1234
  • O. Duffy
  • matthiasdanner
  • J. Lim
  • G. Ambrozio
  • chelmi
  • adams13x13
  • Spacefish
  • I. Scheller
  • C. Miller
  • 7eggert

MIT license, check license.txt for more information All text above must be included in any redistribution

To install, use the Arduino Library Manager and search for "DHT sensor library" and install the library.

arduino-library

Project health

Overall

3.3/10

Maintained

0/10

Code review

5/10
OpenSSF Scorecard

Significant stargazers

Thijs Triemstra

168 followers · starred Mar 2024

Andrea Santilli

90 followers · starred Jul 2014

莯凛

292 followers · starred Jul 2026

Ben Morris

248 followers · starred Mar 2019