TOP Contributors

  1. MIKROE (2662 codes)
  2. Alcides Ramos (357 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (137051 times)
  2. FAT32 Library (70175 times)
  3. Network Ethernet Library (56050 times)
  4. USB Device Library (46371 times)
  5. Network WiFi Library (41991 times)
  6. FT800 Library (41324 times)
  7. GSM click (29083 times)
  8. mikroSDK (26522 times)
  9. PID Library (26464 times)
  10. microSD click (25449 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Project

DHT21 and DHT22 Sensor Demos with AVR's Interrupt and Timer

Rating:

0

Author: Shawon Shahryiar

Last Updated: 2016-07-06

Package Version: 1.0.0.0

Category: Measurement

Downloaded: 1148 times

Not followed.

License: MIT license  

These are demos of DHT21 and DHT22 relative humidity-temperature sensors using interrupt and timer of an AVR micro. Interrupt + timer based method don't block program sequence unlike polling methods and so the CPU can do other tasks. Falling edge interrupt is used to detect the output from the sensor and a timer detects pulse widths.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "DHT21 and DHT22 Sensor Demos with AVR's Interrupt and Timer" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "DHT21 and DHT22 Sensor Demos with AVR's Interrupt and Timer" changes.

Do you want to report abuse regarding "DHT21 and DHT22 Sensor Demos with AVR's Interrupt and Timer".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Project Blog

Non-Polling DHT21 Sensor Demo

DHT21 Sensor Demo with AVR's Interrupt and Timer

Watch on YouTube

Non-Polling DHT22 Sensor Demo

DHT22 Sensor Demo with AVR's Interrupt and Timer

Watch on YouTube
Project Setup

Project Setup

DHT21 Sensor Demo with AVR's Interrupt and Timer

View full image
DHT21 Sensor

DHT21 Sensor

DHT21 Sensor Demo with AVR's Interrupt and Timer

View full image
Project Setup

Project Setup

DHT22 Sensor Demo with AVR's Interrupt and Timer

View full image
DHT22 and Display

DHT22 and Display

DHT22 Sensor Demo with AVR's Interrupt and Timer

View full image

ALSO FROM THIS AUTHOR

Intelligent Temperature Monitoring and Control System using AVR Microcontroller

0

An intelligent temperature monitoring and control system using AVR microcontroller. http://embedded-lab.com/blog/?p=5515

[Learn More]

SPI LCD with 74HC595 Shift Register

1

Code examples and libraries for driving alphanumeric LCDs with 74HC595 shift registers. There are two examples with ATTiny45. One example is based on MikroE's Soft SPI library and the other is based on bit-banging method. Both of them perform well.

[Learn More]

US-016 Analog SONAR Sensor Demo

0

US-016 analog SONAR Sensor demo with ATTiny85.

[Learn More]