DHT22 don´t work for pic 16F887

An area to discuss 8-bit PIC specific problems and examples

Moderator: Benj

Post Reply
mcontreras
Posts: 3
Joined: Wed Jun 28, 2017 4:47 pm
Contact:

DHT22 don´t work for pic 16F887

Post 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.

User avatar
QMESAR
Valued Contributor
Valued Contributor
Posts: 1287
Joined: Sun Oct 05, 2014 3:20 pm
Location: Russia
Has thanked: 384 times
Been thanked: 614 times
Contact:

Re: DHT22 don´t work for pic 16F887

Post by QMESAR »

Hi
Please upload a minimal Flowchart that demonstrate your issue .

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: DHT22 don´t work for pic 16F887

Post by kersing »

Please provide a circuit diagram as well so we can see how parts are connected.
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

mcontreras
Posts: 3
Joined: Wed Jun 28, 2017 4:47 pm
Contact:

Re: DHT22 don´t work for pic 16F887

Post by mcontreras »

This is an example that I did to test the two sensors, in proteus and hardware does not work, greetings !!
Attachments
Polo Flow.fcfx
This is an example I did to test the two sensors
(19.5 KiB) Downloaded 242 times

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: DHT22 don´t work for pic 16F887

Post 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
Success always occurs in private and failure in full view.

Post Reply