Skip to content

dead-beef/dht11-decimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dht11-decimal

license

Overview

Linux kernel driver for DHT11 / DHT22 with decimal part support and raw value channels.

Based on the dht11 driver in the kernel tree.

Installation

make
sudo make install

Usage

sudo dtoverlay -v dht11-decimal gpiopin=13
sudo sh -c "echo 'dtoverlay=dht11-decimal,gpiopin=13' >>/boot/config.txt"
sudo reboot
cat /sys/bus/iio/devices/iio\:device0/{in_temp_input,in_humidityrelative_input}
cat /sys/bus/iio/devices/iio\:device0/{in_temp_raw,in_humidityrelative_raw}

About

Linux kernel driver for DHT11 / DHT22 with decimal part support and raw value channels

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published