Maybe this is a solution in search of a problem, but there are use cases. On occasion I will be down stairs in my Tech Center rocking out on some Ham Radio DX or writing some code for a Raspberry Pi and oblivious to the world. Those are usually the times when my wife Tammy is trying to get ahold of me, but is worried about interrupting me.
Introducing the Jim Alert system. It starts with the button on this Raspberry Pi Zero.
Tammy pushes the button which writes a file to a server which trips the LED on the Pi. This allows her to know the alert has been triggered.
Once every minute (for now) my flip dot clock will check for that file. If it finds it, it will trigger a custom message on the clock and an alert sound. (Literally, ALERT in Morse Code). Here’s what it looks like…
Once the alert displays, the LED on the Pi Zero goes off and it clears from the Flip Dot in about 30 seconds, at the top of the next minute.
A possible future enhancement might be to add multiple Pi’s and show the room the alert came from.
It’s a nice confluence of my fandoms, I love old technology, I love clocks and I love Raspberry Pi’s, so when I found a Luminator 7×90 Flip Dot display on eBay in early January, I bought it. This is the fairly-detailed, well illustrated story of how I brought a 90’s sign together with a low cost but powerful computer.
Once I started walking for exercise, it’s difficult to stop. I decided after 100 consecutive days of walking mostly around the neighborhood, I needed an adventure. So I set off for the North Georgia Mountains to find the southern end of the Appalachian Trail.
For the photos from the video and others not shown, please enjoy my Google Album.
Last winter, early post retirement, I was tinkering around with one of my many clocks one day and added the chimes of Big Ben to it. Whenever I would visit my grandparents growing up, I would hear their clock that struck the Windsor Chimes and I always thought that would be a fun project.
This was fairly straightforward, I grabbed some sound files from the UK Parliament website and one other source for the 45 minute chime, and did a little editing. Work done implemented via CRON in a couple of hours, fast forward on to other things.
A few months later and I am on the phone with my mother and she hears the chimes in the background. She starts reminiscing about the sounds and her parents clock and I agree to make something for her.
This video documents the major elements of the build but here’s the parts list:
I had all the sound files to go on from my build into my exciting digital clock, so no additional work done there. One tricky bit was to get the hourly chime to trigger at about 59:40 after the hour so the big ben bell would start striking the hour right at the top of the minute. Since CRON works on minutes, I solved that by making a 59 second file. So the file starts at 59 after but plays a silent section for the first 40 seconds before the chime.
How the hourly Big Ben bell plays: CRON is programmed at xx:59 to trigger a shell script that first plays the chimes, this is the file mentioned above. It then triggers the Big Ben bell sound, and loops the appropriate number of times for each hour. Here’s an example of the code for 9 o’clock. There are 12 files, 1 for each hour.
The other element to this was hardening it so it was hands off for mom. With her being 1,000 miles away, I couldn’t do a local install so it had to be right. I had her send me her WiFi info so I could pre-program it on the card. I chose USB powered speakers with an on-cord volume control so she could just lift the touch screen off the case to adjust. Also added a “kill switch” to the back for easy shut down. Finally I included a backup USB card in the case incase the current one is corrupted and I keep an image on my NAS as well if needed.
I did not put a RTC in the Pi. Partially because some of the GPIO ports I wanted we used by the Touch Screen and partly because I had the clock programmed to get NTP time via WiFi so there would be no updating needed.
The Hardware Build
I started with the standard elements I knew the Raspberry Pi 3B+. I chose the B+ because I didn’t need the horsepower of a Pi 4 for a basic display and I had one I had recently swapped out for a Pi 4 on another project. I used the 16 GB Class 10 MicroSD cards in all my Pi projects. They rarely corrupt for me when powered correctly, they offer enough space to power most projects I do, and the are small enough to back up on my NAS without completely killing storage.
I’ve used the Pi Touch Screen in a couple of other projects and it’s very easy to set up and control the display natively. In most cases I also use a commercial Pi Touch Screen stand however in this case I wanted to hide the electronics and let the clock be the focal point.
I tried to build a simple box that would hold the Pi, Screen and Speakers and I accomplished it, but I might do it differently in the future. I assembled the 4 structural elements first, the 2 sides, back and the bottom. Small birch strips held the front out from the back of the box to provide a little extra room.
On the first attempt, I made the face frame from a single piece of plywood cut in 2, so I could notch out the hole to mount the touch screen. I wasn’t really happy with the fit or the structural integrity of that, so I started with another single piece, made a small slat through which I could cut a hole for the screen with my band saw and then used putty to seal the small gap, which worked much better.
Several other holes in the box to allow for air flow, speaker audio to escape and power. I was going to put some grommets on the rough wooden holes I cut in the back but I had to give that up for time so I could get it to Mom by Christmas.
Great news is that it arrived on time and worked perfectly. We plugged it in about 10 minutes to one and by 12:59 it had synced up with the NTP server for a real time update and was playing it’s chimes.
Before it comes up…
I intentionally have not packaged this all up as a GitHub project or some other repository. I don’t own the rights to all the photos or sound files. Hopefully your build will use all the open source stuff!
Other questions on my build? Contact me on Social Media…
I was not paid in any way for this build or post. Some of the links in this post lead to shopping sites, however I make no commission. If this post helped or inspired you, consider dropping something in my tip jar.
I’ve just had it with every ad on TV or streaming telling me how to vote, how the administration is handling the pandemic and just general tired of being down. So I’ve declared it “Happy Week” and I’m posting 2 songs a day to pick things up.
Since March I have been publishing daily graphical updates to Facebook and Reddit’s /r/coronavirusGA subreddit. The folks on Reddit requested that I also provide this update in video format, so I started this week. Follow the link above to find the playlist.
There’s a trend that has been going on for a few years called ASMR, which is about creating a tingling sensation from certain audio and video impulses. (Let Wikipedia explain it!)
Since I was on the road last week on a short social distance trip from the cats, I thought I would experiment with creating an ASMR video. Here’s 15 minutes of the waterfall at Dismals Canyon, Alabama.
I have been looking forward to seeing SpaceX launch someone into space for years. I distinctly remember a conversation with my old boss saying, “This is happening soon, and I will be taking time off to go and watch.”
Well, with the world of social distancing I may not be able to get down to the Space Coast, but I have been watching all the press conferences and reading all the #LaunchAmerica tweets. With so many changes, that motivated me to produce a video about the event with all the changes from the shuttle days and a few other interesting items.