Go to advanced search

by john44
Tue Jul 29, 2014 1:07 am
Forum: Automation, sensing and robotics
Topic: Yet more DHT22 sensor code
Replies: 101
Views: 77154

Re: Yet more DHT22 sensor code

Hi Joan,

Sorry, I am new to python! I renamed the file per your instruction and the DHT22 sensor is working very well now. I changed the polling frequency to be much greater than 2s since for my application a slower refresh rate is perfectly fine. Thanks for your help!

John
by john44
Mon Jul 28, 2014 1:16 am
Forum: Automation, sensing and robotics
Topic: Yet more DHT22 sensor code
Replies: 101
Views: 77154

Re: Yet more DHT22 sensor code

Hi I have tried implementing Joan's python code at the beginning of this thread to read the DHT22 sensor but I get a python error: ImportError: No module named DHT22 which corresponds to line 178: import DHT22 It seems that python needs the DHT22 library. Does anyone know where to find it? Thanks John

Go to advanced search