Go to advanced search

by raich
Sat Dec 31, 2016 11:05 am
Forum: Troubleshooting
Topic: DHT11/DHT22 Linux 4 iio device driver
Replies: 12
Views: 7739

Re: DHT11/DHT22 Linux 4 iio device driver

Thanks for the link. I will have a look. The programs that came with the DHT11 all had some code saying if (the answer is bad) try again; and when I tried to access the DHT11 from user land using the wiringpi library I experienced the same problems (the pulse train read from the DHT11 had errors in ...
by raich
Fri Dec 30, 2016 1:54 pm
Forum: Troubleshooting
Topic: DHT11/DHT22 Linux 4 iio device driver
Replies: 12
Views: 7739

Re: DHT11/DHT22 Linux 4 iio device driver

Hi, The problems seems to be interrupts that come in when you read the DHT11 pulse train. I wrote a very simplistic Linux device driver with only an open, close and read function. In the read function I initiate a DHT11 measurement and before switching the GPIO pin from output to input, used to init...

Go to advanced search