Page 1 of 1

DHT22 don´t work for pic 16F887

Posted: Fri Nov 03, 2017 2:44 am
by mcontreras
Hello good morning, for some time I can not operate the sensors DHT22 and SHT21, the problem is presented with the PIC 16F887 and 18F4550, I can not take readings with the software component, with checksum and without checksum there are no readings of anything , already assemble the hardware properly and it does not work, also simulate with proteus and there are no readings, investigating in the forums still do not give solution to this problem for the PIC, the examples that you have of this component do not work, when you take them to the hardware there are no readings of anything. I made a replacement of the DHT22 for an SHT21 and with this are erroneous readings. with the software simulator it works very well, in proteus and hardware they are erroneous readings.

Re: DHT22 don´t work for pic 16F887

Posted: Fri Nov 03, 2017 5:32 am
by QMESAR
Hi
Please upload a minimal Flowchart that demonstrate your issue .

Re: DHT22 don´t work for pic 16F887

Posted: Fri Nov 03, 2017 11:35 am
by kersing
Please provide a circuit diagram as well so we can see how parts are connected.

Re: DHT22 don´t work for pic 16F887

Posted: Fri Nov 03, 2017 11:09 pm
by mcontreras
This is an example that I did to test the two sensors, in proteus and hardware does not work, greetings !!

Re: DHT22 don´t work for pic 16F887

Posted: Wed Apr 18, 2018 12:47 pm
by Steve001
Hi,

Bit late don't know if you got sorted, maybe this will be of some help for you

https://www.nutsvolts.com/magazine/arti ... 2013_Henry

Steve