Connect 4 Binary Clock using an Arduino
Welcome ladies and gents!
As an entrepreneur, I’m always looking for great projects to share. Myself and two other classmates recently put together a project for our Master’s of Engineering program in Technical Entrepreneurship, and we’re thrilled to share our vision with you. Remember that old Connect 4 game sitting in your basement/closet/chest/Batcave? You’ve always wanted to upcycle that into a functioning binary clock utilizing the awesome powers of an Arduino, haven’t you? Of course you have – well, you’re in the right place!
This is a great weekend project that will provide you with a sleek and nostalgic binary clock all at once. We focused on recycling every part of the Connect 4 game to exemplify our “green” standards, and be as creative as possible. The Connect 4 works superbly in displaying a binary clock because it has perfectly rounded holes to showcase the LED-based binary numbering system.
You don’t need many supplies to make this binary clock, and it’s a great way to utilize an old Connect 4 game if you’ve lost some of the pieces, or simply want to show off your mad creative skills. And don’t worry about the coding – which we struggled against in an epic battle between sanity and madness – we already have it laid out for you! There’s not much of a time commitment and a fun result is waiting for you, so let’s get started!
Step 1: Materials
Price Range = $15 – $50 (depending on what you have already – almost everything can be found at Radio Shack)
Difficulty Range = Moderate
Time = 2-3 hours
Here’s what you’ll need to build your very own Connect 4 Binary Clock:
– Connect 4 game (the board is most important, if you don’t have the chips or box, that’s still fine)
– Drill Bits
– Arduino Uno (or equivalent)
– 7 Red LED’s
– 6 Super-bright Green/Yellow LED’s
– 13 LED Holders
– Soldering Iron
– Electrical Tape
– Wire strippers
– Wire cutters
– Super glue
– 13x 220 Ohm Resistors
– Any blade (though a box cutter works best)
*Note: Keep in mind that red LED’s emit a brighter light than all others. Therefore, we need to up the brightness of the other LED’s, so that they’ll match the brightness of the red ones. This is why we need to buy super-bright LED’s to counter the red LED’s. We unfortunately made the mistake of not doing this, and the light wasn’t bright enough. However, our errors are your knowledge!
Step 2: Explaining Binary
Before we begin, let’s review some binary!
Don’t get freaked out – binary isn’t as hard as it seems, especially in clock-format. Take a look at the pictures – you’ll notice that the clock is formatted into four columns, and four rows. Each row corresponds to an increasing number, doubling from 1 to 2 to 4 to 8. The columns are grouped into two sets – the hours (left two columns), and the minutes (right two). Let’s take a look at the minute columns on the right:
The left column corresponds to the first digit in the minute readout (i.e. the “2” in 25 minutes, or the “5” in 51 minutes) – this is why the multiplier of “x10” is noted. The right column depicts the second digit (i.e. the “5” in 25 minutes). When multiple LED’s are lit in a column, simply add these numbers together to get the total. For example, in the minutes column, in the “x10” column, if the “2” LED is lit, and in the “x1” column, the “8” and “1” LED’s are lit, the resulting digit is 20+8+1 = 29 minutes. The same logic is applied to the hours column (note that there isn’t an LED for the “4” row for the hours digit – this is because, even on a 24-hour clock, there’s no need to go above the 20’s!).
You’ll also need to know that this clock is a 24-hour clock, not your typical 12-hour AM/PM clock. The easiest way to decipher this is to subtract 12 from the hours if the clock’s additive total is between 13 and 24. More on this later when we start using the Arduino!
Although the explanation is pretty long, it’s just simple addition & subtraction. Use that elementary school knowledge and you’ll be a whiz in no time! You’ll find three examples in this step to help you get the hang of reading a binary clock. Check out the pictures, and quiz yourself. Answers are below (no peeking):
Answer #1: 14:23 -or- 2:23pm
Answer #2: 03:39 -or- 3:39am
Answer #3: Trick question! Though the hour number is correct (it reads “22,” which is 10pm), the minute hand is impossible in a binary clock. If we were to sum the numbers, it would read “67 minutes,” which of course is greater than 60, and hence impossible.
Step 3: Setting Up & Assembly
Alright, let’s begin. Unpack your new or old Connect 4 game, play a few nostalgic rounds with your buddies, and then get ready to build the clock!
How are we going to make this clock stand, you ask? The answer is simple – we’re going to utilize every part of the game…including the packaging! Take the Connect 4 game board and place it on its side and set it square to the bottom of the Connect 4 game box (we set the board on its side because that allows us to create a symmetrical face – if you use the board in its original setup, you would have to offset the clock to the left or right because there is an odd number of vertical columns). Ensuring that the game board is squared up to the game box, mark the center of the 13 holes noted in the second image in this step – If you don’t understand why we marked the holes in this specific orientation, please refer back to the previous step that explains how to read a binary clock.
You will next want to find a drill bit that most closely matches the threaded part of the LED holder. Keep in mind that you can always re-drill a hole with a larger bit so err on the side of caution.
For more detail: Connect 4 Binary Clock using an Arduino
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
This Post / Project can also be found using search terms:
- anl orgsm vid