Alcoclock: It's 5 O'Clock Somewhere πΈπ
by jampez77 in Circuits > Raspberry Pi
86 Views, 2 Favorites, 0 Comments
Alcoclock: It's 5 O'Clock Somewhere πΈπ

Alcoclock is a Pi Zero project that checks where in the world it's 5PM, then displays a random, excuse to start drinking.
One day he phrase "It's 5 o'clock somewhere" popped into my head which got me wondering. "Where is it actually 5PM right now?".I thought that there must be a website, app or gadget that could tell me. But after a lengthy, detailed search, where I actually went to page 2 on Google, I realised nothing existed.So I decided to make it myself.Using a Raspberry Pi Zero and an e-Paper display from Waveshare, I built Alcoclock, a device that checks every hour where in the world it's currently 5PM, and shows a cheeky pun-filled message to justify whatever beverage-related decisions you're about to make.
Supplies
- Raspberry Pi Zero Wireless
- Waveshare 2.15 inch e-Paper Display
Install Required Libraries
or
Enable SPI
- Select "Interfacing Options"
- Highlight the "SPI" option and activate "<Select>"
- Select and activate "<Yes>"
- Highlight and activate "<Ok>"
- If prompted to reboot highlight and activate "<Yes>"
Clone the Waveshare E-Paper Repo
Create the Alcoclock Script
- Copy and paste the attached code into the newly created file.
- Press "Ctrl + x" to save then "Y" to exit.
Downloads
Test the Script (optional)
Getting It to Run on Boot and on the Hour, Every Hour
This will open a file, here we can tell the Pi to run our script when the pi is first switched on, with a 30 second delay, and on the hour, every hour.
Reboot the Pi
Drink
_DmTpurLZDy.jpg)