TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (385 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (118 codes)
  5. Bugz Bensce (97 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 (139842 times)
  2. FAT32 Library (72209 times)
  3. Network Ethernet Library (57392 times)
  4. USB Device Library (47739 times)
  5. Network WiFi Library (43364 times)
  6. FT800 Library (42700 times)
  7. GSM click (29980 times)
  8. mikroSDK (28440 times)
  9. PID Library (26989 times)
  10. microSD click (26398 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: 1179 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

MCP2510/MCP2515 CAN Demo with AVR Microcontrollers

0

This is not based on MikroE's CAN libraries or Arduino. This library is developed by myself and is still under development. The demo here connects two AVR micros, sharing temperature data amongst themselves via CAN bus.

[Learn More]

Metal Detector with PIC12F675

0

Rudimentary metal detector with simple components and PIC12F675. The code is written with CCS PIC C compiler.

[Learn More]

Ardu Control

0

A Visual C# GUI reading and writing input-output parameters of an Arduino Uno.

[Learn More]