Hi,
I have updated code and schematic that should work better with the DHT22.
I originally just posted the diode method since it is simpler and worked well for the DHT11 I used for testing.
The more proper workaround uses a 74hc125 or similar tri-state buffer instead of a diode.
![dht22Fritzing.png]()
![dht.png]()