Skip to content

DHT11/DHT22 temperature and humidity sensor C library for AVR microcontrollers

License

Notifications You must be signed in to change notification settings

efthymios-ks/AVR-DHT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AVR DHT11/DHT22 Library


Description:
DHT11/DHT22 temperature and humidity sensor driver for AVR microcontrollers.

  • This library does not use any hardware timer or interrupts.
  • By contrast, the readings are accomplished with delays.
  • Functions include:
    • Reading raw data in an array.
    • Getting the calculated temperature and/or humidity directly.
    • Converting the temperature from Celsius to Kelvin or Fahrenheit units.
      Read the bottom of "DHT.h" to see all functions available.
  • The readings are time-critical, so every time you perform a reading, you should temporarily disable interrupts.
  • My custom I/O macros are required and are included.

Memory usage:

  • Program: 0 bytes
  • Data: 1 byte
    • DHT status: 1 byte

Compiler:
AVR-GCC

Optimization Level:
Optimize (-O1)


picture alt


About

DHT11/DHT22 temperature and humidity sensor C library for AVR microcontrollers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages