TOP Contributors

  1. MIKROE (2779 codes)
  2. Alcides Ramos (376 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 (139564 times)
  2. FAT32 Library (72041 times)
  3. Network Ethernet Library (57255 times)
  4. USB Device Library (47615 times)
  5. Network WiFi Library (43219 times)
  6. FT800 Library (42563 times)
  7. GSM click (29930 times)
  8. mikroSDK (28292 times)
  9. PID Library (26933 times)
  10. microSD click (26309 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: 1178 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

Driving Flexible Neopixel (WS2811) Strip with PICAXE08M2+ (PIC12F1840)

0

PICAXE is basically PIC micro with different branding. Here I used a PICAXE micro to drive a flexible Neopixel strip using hardware SPI. SPI is used along with the PIC's 32MHz internal oscillator as Neoppixels employ time-slotting trick to transfer data at a very fast rate with small timings. The code is written with CCS PIC C compiler.

[Learn More]

Arduino Solar Irradiance Meter

0

Arduino Solar Irradiance Meter

[Learn More]

RGB Dot-Matrix Scrolling Text Display

0

RGB dot-matrix scrolling text display with Arduino UNO.

[Learn More]