Skip to content

PyhaMarkus/dht11-lcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Display DHT11 temperature and humidity sensor data on an lcd with the Raspberry Pi 3.

alt text


Parts used:

Quantity Part name
1 Raspberry Pi 3 Model B
1 DHT11 temperature and humidity sensor
1 1602 LCD-screen with 16 pins
2 10K potentiometer
2 330 ohm resistor
2 LED
1 A large breadboard
1 A small breadboard
A lot Jumper wire

Libraries used:

  • time
  • sys
  • Adafruit_CharLCD
  • Adafruit_DHT
  • RPi.GPIO

Installation:

Installing Adafruit DHT libary

sudo apt-get update
sudo apt-get install git
git clone https://github.com/adafruit/Adafruit_Python_DHT.git
cd Adafruit_Python_DHT
sudo apt-get install build-essential python-dev
sudo python setup.py install

Installing RPLCD library

sudo pip install RPLCD

Download and run the python code

git clone https://github.com/PyhaMarkus/dht11-lcd.git
cd dht11-lcd

Make any necessary changes to the code and then run with:

python dht11_lcd.py

Sources used:

http://www.circuitbasics.com/how-to-set-up-the-dht11-humidity-sensor-on-the-raspberry-pi/ https://pimylifeup.com/raspberry-pi-lcd-16x2/

About

DHT11 temperature and humidity sensor on the Raspberry Pi with an lcd screen

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages