04-12-2015, 20:55
Success!!!! A huge "thank you", Werk_AG and uncle_bob.
Last night I thought I had thoroughly checked the hardware, so concentrated for a while on the software. I downloaded it again so I could start with a completely fresh copy, checked the libraries were properly installed and then uploaded to the Nano. Still didn't cure the problem. Before I went to bed I read the posts from both of you and as Werk_AG was certain there could not be anything else in software, I decided it must be a hardware fault, there just couldn't be any other explanation.
I had already checked - several times - that 5v was where it should be and I had also successfully carried out continuity checks to make sure the DHT22 was properly connected to the Nano.
When I thought about uncle_bob's suggestion of disconnecting one side of the 10k resistor R4, I realised it was possible that with the resistor in place, I could have had a false reading when simply checking for continuity. So before lifting one side, I tried removing the flylead with the DH22 connected and first tested from the pcb header to the Nano. All ok. Then, for the first time, I tested the flylead itself without it being connected to the pcb or the DHT22. There was the problem - the terminal pin for the data connection was open circuit!! (Although it appears ok visually, even with a magnifying glass.) Made up a new flylead, connected everything up and it all works. Excellent!!

So my thanks to you both for your patience and continuing support. Me?? Well I feel pretty embarrassed right now (1) for making such a stupid error in the first place and (2) for taking so long to find it...

Right now I'm testing indoors but hope to soon try outdoor tests. Unfortunately it probably won't be this weekend as we have gales forecast from now (winds are already strengthening here) until Sunday afternoon. I'll let you know of course how things progress.
Thanks again.
Allan - an embarrassed but very happy man right now
Last night I thought I had thoroughly checked the hardware, so concentrated for a while on the software. I downloaded it again so I could start with a completely fresh copy, checked the libraries were properly installed and then uploaded to the Nano. Still didn't cure the problem. Before I went to bed I read the posts from both of you and as Werk_AG was certain there could not be anything else in software, I decided it must be a hardware fault, there just couldn't be any other explanation.
I had already checked - several times - that 5v was where it should be and I had also successfully carried out continuity checks to make sure the DHT22 was properly connected to the Nano.
When I thought about uncle_bob's suggestion of disconnecting one side of the 10k resistor R4, I realised it was possible that with the resistor in place, I could have had a false reading when simply checking for continuity. So before lifting one side, I tried removing the flylead with the DH22 connected and first tested from the pcb header to the Nano. All ok. Then, for the first time, I tested the flylead itself without it being connected to the pcb or the DHT22. There was the problem - the terminal pin for the data connection was open circuit!! (Although it appears ok visually, even with a magnifying glass.) Made up a new flylead, connected everything up and it all works. Excellent!!


So my thanks to you both for your patience and continuing support. Me?? Well I feel pretty embarrassed right now (1) for making such a stupid error in the first place and (2) for taking so long to find it...


Right now I'm testing indoors but hope to soon try outdoor tests. Unfortunately it probably won't be this weekend as we have gales forecast from now (winds are already strengthening here) until Sunday afternoon. I'll let you know of course how things progress.
Thanks again.
Allan - an embarrassed but very happy man right now

