Skip to content

CurtLH/temp_brick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temperature Brick

Temperature Brick

The temperature brick is handmade of concrete and contains an LCD screen that displays the current inside temperature, outside temperature, and the high and low for the day. Outside temperature and forecast data is collected using WQ to query the Weather Underground API. Inside temperature is collected using a DS18B20 sensor. All data is stored in a PostgreSQL database.

Parts Needed

Construction

Wire your LCD screen to your Raspberry Pi Zero W using the following directions:

https://learn.adafruit.com/drive-a-16x2-lcd-directly-with-a-raspberry-pi

Software

Clone the following repositories onto your local machine

$ git clone https://github.com/CurtLH/temp_brick.git
$ git clone https://github.com/adafruit/Adafruit_Python_CharLCD.git
$ git clone https://github.com/adafruit/Adafruit_Python_DHT.git

Follow these directions to setup the LCD screen.

Follow these directions to setup the indoor temperature sensor.

Install psycopg2 to be able to get recent temperatures from the PostgreSQL database.

$ pip install psycopg2-binary

Start displaying temperatures on the LCD screen

$ python monitor_wq.py

About

Raspberry Pi Zero powered temperature monitor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published