TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 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 (136537 times)
  2. FAT32 Library (69730 times)
  3. Network Ethernet Library (55841 times)
  4. USB Device Library (46172 times)
  5. Network WiFi Library (41800 times)
  6. FT800 Library (40985 times)
  7. GSM click (28921 times)
  8. PID Library (26383 times)
  9. mikroSDK (26277 times)
  10. microSD click (25297 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: 1141 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

TMP36 &amp; White TM1637 Display

0

This is a simple demo of white seven segment displays that are driven with a TM1637 IC. A PIC16F690 reads a TMP36 analogue temperature sensor and show the temperature on the seven segments. The code is written with CCS PIC C compiler.

[Learn More]

Tiva C GPIOs

0

This is a documentation on Tiva C ARM MCU GPIOs. http://embedded-lab.com/blog/tiva-c-gpios/

[Learn More]

Arduino Colour GLCD (ST7735S) Thermometer

0

A colourful graphical thermometer based on Arduino and a ST7735S TFT shield from Elecfreaks.

[Learn More]