-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Power pin #4
Comments
Hi Anatoiiy,
The power pin is not needed. Essentially is to reduce power and reset the DHT22. Sometimes my DHT22 hangs and it was the only way to reset it.
Instead of using the VCC to power up the DHT22 use on of the GPIO . Don't forget to put the pull up on the same GPIO you are using for power.
Best regards,
Daniel Perron
… Le 17 juill. 2021 à 11:46, Anatoliy ***@***.***> a écrit :
Could you please clarify usage of power pin? I see in the example it is set to 14, but I only have data pin connected to GP15 and nothing for GP14. I'm following this scheme:
<https://user-images.githubusercontent.com/184172/126042407-8885049b-f452-443e-8c1e-39703db9a64d.png>
(image credit: https://www.tomshardware.com/how-to/raspberry-pi-pico-weather-station <https://www.tomshardware.com/how-to/raspberry-pi-pico-weather-station>)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#4>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABBF7XAVWQJM6U7UE55LBPLTYGQXDANCNFSM5ARF4JVQ>.
|
Thank you, Daniel! I tried to use GPIO 14 as a power source for the sensor and it works as expected. Additionally thank you so very much for sharing your code, not only it helps to progress with my first project on raspberry pi pico, but also helps to learn how to deal with PIO. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you please clarify usage of power pin? I see in the example it is set to 14, but I only have data pin connected to GP15 and nothing for GP14. I'm following this scheme:
![image](https://user-images.githubusercontent.com/184172/126042407-8885049b-f452-443e-8c1e-39703db9a64d.png)
(image credit: https://www.tomshardware.com/how-to/raspberry-pi-pico-weather-station)
The text was updated successfully, but these errors were encountered: