TOP Contributors

  1. MIKROE (2641 codes)
  2. Alcides Ramos (347 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 (136215 times)
  2. FAT32 Library (69476 times)
  3. Network Ethernet Library (55703 times)
  4. USB Device Library (45988 times)
  5. Network WiFi Library (41638 times)
  6. FT800 Library (40777 times)
  7. GSM click (28785 times)
  8. PID Library (26327 times)
  9. mikroSDK (26050 times)
  10. microSD click (25134 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: 1139 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

GLCD Compass

0

A digital compass based on HMC5883L with graphical direction indicator. A regular monochrome GLCD shows heading with an animated arrow like a real-life compass. An ATMega168PA drives the GLCD and reads the Seeedstudio's Grove-based HMC5883L compass block.

[Learn More]

WiFi UDP Communication between WiFi-STA and WiFi-AP

0

This is a simple demo of serial wireless communication between two WiFi devices. Two ATMega16As communicate via a UDP-based WiFi link. One WiFi device is configured as a WiFi station while the other is configured as a WiFi access point. Refer to the Youtube video.

[Learn More]

STM32 and PT100 Themocouple-based Thermometer

0

STM32 and PT100 Themocouple-based Thermometer. The code is written with Maple IDE. https://www.youtube.com/watch?v=b_yMhHARkn4

[Learn More]