Skip to content

MarkKozel/PiTempDisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PiTempDisplay

Grab Temp/RH from DHT11 and display on PiOLED 128x32

Hardware

Raspberry Pi 3B+ - although use using generic Python with common libraries, so it should work on most Pis

DHT-11 Temperature/Humidity Sensor - Just had it laying around

PiOLED 128x32 lcs display - Also just laying around

Configured I2C on Pi for display

Software

Raspian Stretch Lite

build-essential

python-dev

python-pip

RPi.GPIO

python-imaging

python-smbus

Adafruit_Python_SSD1306

Helpful Info

Setup and Usage of Pi OLED Wiring and Coding for DHT11/22

Configure the Pi

Follow instructions for Setup and Usage of Pi OLED and Wiring and Coding for DHT11/22

Run tempMain.py

Notes

I added the disp.image(image.rotate(180)) because the way the PiOLED connects to the GPIO Header. The power port on the Pi is opposite the GPIO Header, so I cannot set the Pi on edge so that the PiOLED is right-side up with power plugged in. #SoftwareToTheRescue

I refered to Run a Program On Your Raspberry Pi At Startup to decide how to make this program run at startup. I chose Method 4, systemd because I want this running always. And, I'm pretty comfortable with systemcrt process management

Releases

No releases published

Packages

No packages published

Languages