You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • I set the timeout to 30us and it works !

    quoting the datasheet:

    Data-bus's free status is high voltage level. When communication between MCU and DHT22 begin, program of MCU will transform data-bus's voltage level from high to low level and this process must beyond at least 1ms to ensure DHT22 could detect MCU's signal, then MCU will wait 20-40usfor DHT22's response.

About

Avatar for MaBe @MaBe started