https://github.com/adolforojasj/dht11_fixed_code
A correction to use the DHT11 Sensor code on Raspberry Pi PIco
https://github.com/adolforojasj/dht11_fixed_code
dht11-sensor dht11-temperature-sensor dht22 gtkterm raspberry-pi raspberry-pi-pico raspberry-pi-pico-w rp2040
Last synced: about 1 month ago
JSON representation
A correction to use the DHT11 Sensor code on Raspberry Pi PIco
- Host: GitHub
- URL: https://github.com/adolforojasj/dht11_fixed_code
- Owner: AdolfoRojasJ
- License: mit
- Created: 2025-01-27T05:03:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T05:18:35.000Z (over 1 year ago)
- Last Synced: 2025-01-27T06:19:38.037Z (over 1 year ago)
- Topics: dht11-sensor, dht11-temperature-sensor, dht22, gtkterm, raspberry-pi, raspberry-pi-pico, raspberry-pi-pico-w, rp2040
- Language: C
- Homepage:
- Size: 249 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DHT11_Fixed_Code
A correction to use the DHT11 Sensor code on Raspberry Pi PIco
## Instructions
On the [Raspberry Pi Pico examples](https://github.com/raspberrypi/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:

I fixed the code so that the Data arrives complete without corruption.
1. Do the Circuit connection:

2. Paste the dht11 directory on your pico-examples folder.
3. `make`
4. Open a serial terminal so you can see the readings.