Securing The Future Bit By Bit

Monday, July 22, 2019

Raspberry pi with DHT11 sensor step by step full tutorial.

In this blog, I will explain you how to connect raspberry pi with dht11 sensor and measure the temperature and humidity readings. 

Components Required

1. Raspberry Pi 3
2. DHT11 sesnor
3. Breadboard
4. Jumper wires

Circuit Diagram

Step1- Make a connection as shown in above figure.
Step2- Connect DHT VCC pin to pin1 of raspberry pi and GND pin of DHT to pin39 of raspberry pi              and connect data pin of DHT to pin7 of raspberry pi.
Step3- Download the DHT11 code from given link.
Step4- Folder contain two python files one is code and another act as library. Both files must be in                  same folder.

Download Code


Media Gallary

Share:

0 comments:

Post a Comment

ElectrocoreDIY.com

Search This Blog

Blog Archive

Powered by Blogger.

Privacy Policy