Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 649 Bytes

File metadata and controls

17 lines (11 loc) · 649 Bytes

DHT11_Fixed_Code

A correction to use the DHT11 Sensor code on Raspberry Pi PIco

Instructions

On the Raspberry Pi Pico examples go to the gpio folder, there's a code for using the DHT11 Sensor (Humidity & Temperature) but it seems that it doesn't work at all, so based on this graph located on the DTH11 Datasheet:

Graph

I fixed the code so that the Data arrives complete without corruption.

  1. Do the Circuit connection:

    Schematic

  2. Paste the dht11 directory on your pico-examples folder.

  3. make

  4. Open a serial terminal so you can see the readings.