Skip to content

A Raspberry Pi DHT22/AM2302 polling application

Notifications You must be signed in to change notification settings

gmanic/lol_dht22

This branch is 7 commits ahead of technion/lol_dht22:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
root
Apr 19, 2020
abc7a30 · Apr 19, 2020

History

30 Commits
Jan 18, 2013
Jan 2, 2019
Apr 19, 2020
Aug 22, 2017
Feb 6, 2013
Aug 22, 2017
Jan 2, 2019
Jan 2, 2019
Jan 2, 2019
Feb 6, 2013
Apr 19, 2020
Feb 6, 2013
Jan 4, 2016
Jan 18, 2013
Aug 22, 2017

Repository files navigation

Driver for DHT22/AM2302 Temperature and humidity sensors on 
Raspberry Pi.
Based on dht11.c: http://ubuntuone.com/6mT9cTREz90BUfvQD1AGNy (license unknown).
Requires wiringPi library.
Also based on esp8266 basic dht-functions (thanks to Adafruit Ind.)
MIT License

Implemented a different way to retrieve correct bits off the sensors
returns. It is kind of self leveling based on the dht22's definition of
high's and low's.

MAKE

./configure
make
sudo ./loldht
Raspberry Pi wiringPi DHT11 Temperature test program
Humidity = 42.90 % Temperature = 22.20 *C

./configure options:
 --disable-silent-rules Show the make process (silent by default)
 --disable-secure Disable compile with FORTIY_SOURCE and stack-protector (enabled by default)
 --enable-development Compile with -g -O0 -Wall. Applies disable-secure automatically

autogen.sh: Autoconf boostrap. Development use only.

USAGE

./loldht
-> shows all available parameters


About

A Raspberry Pi DHT22/AM2302 polling application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 60.0%
  • Makefile 30.0%
  • C 8.9%
  • M4 1.1%