hi, I did my project on custom PCb with atmega 328p, it have sd module and clock, everything works perfect exept dht22, its keep saying NAN, i was trying to connect it separetly from pcb to another arduino it works perfectly. What can be cause of it?
At the bottom i attach photo of PCB
nan is most likely a software issue if you’ve previously had it working…
Please use code tags to help us help you.
Can you post the schematic?
Did you test the circuit first on a bread board?
I also tried to remove 10K resistor because when i checked the resistance between VCC and dDht its gives 5Kom, when i remove it i got 10Kom
You will need that pull-up resistor.
So if you connect the sensor to another Arduino (UNO ?) running the same code it works?
Can you also show the PCB layout.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.



