Raspberry Pi

wpid-img_20150123_171744.jpgI have 1 Raspberry Pi that I mostly use for home automation, but it also has a couple of displays connected that are handy near my ham radio.

One is a big, green, 7-segment display that simply displays the UTC time.  The Pi has a Real Time Clock module as well so it keeps the time between reboots, although it does sync to an internet time server upon reboot.

The other display is a 20×4 LCD display that uses a USB connection and has the ability to adjust the backlight color.  A cron job pulls the current weather from a local reporting station using Weather Underground’s API every 5 mins.  I wrote a python script that reads this info and inserts it into a rotation of things that display – here are a few of the screens:

wpid-img_20150123_171920.jpg wpid-img_20150123_171930.jpg wpid-img_20150123_171939.jpg

You might have noticed the “sndn in 0:15:15” – the Pi also calculates the sun up and sun down times and uses that to also turn lights on and off at appropriate times.  Combined with the weather info, it will also turn one or two lights on during the day if it is overcast, rainy, mostly cloudy, etc.

One thought on “Raspberry Pi”

Comments are closed.