- Raspberry PI3 Model B
- DTH11 Sensor, available amazon.in also
- Bread Board
- Jumper Wires
- HDMI Cable 1 meter
- Keyboard and mouse
- TV
See Prerequisites
- The aim of this project is to measure temperature and humidity using DHT11 sensor via Raspberry pi.
- You will need a RasPi with the Rasbian OS, DHT11 Sensor, Jumper wires and a small bread board.
- First take a bread board and insert the DHT11 sensor, Now connect the GPIO(General Purpose Input Output) pins as fallows.
- Take a jumper wire, connect the ground pin of the DHT11 to pin(6) of the Raspberry Pi.
- Take another jumper wire, connect the data pin of the DHT11 to pin(7) of the Raspberry Pi.
- And connect, the last pin of the DHT11 which is VCC(Voltage Common Collector) to pin(2) of the Raspberry Pi.
- Now the circuit part is over Let's Jump to Programming part.
Use virtual environment for this project, read more information virtual environment https://realpython.com/python-virtual-environments-a-primer/
You can find the EXAMPLE.py
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python EXAMPLE.pyThis project Licensed under MIT(./LICENSE.md)
