Large 7 Segment LED Pace Clock

29,623

172

17

Introduction: Large 7 Segment LED Pace Clock

My son's swim team needed a new pace clock for the pool, so I decided it would be a good project for us to do together. We wanted something cheap, bright and large, and I think we did a great job on all those requirements.

This project was inspired by the $100 dollar pace clock instructable by mjacobson1 here: https://www.instructables.com/id/100-Pace-Clock-or..., but we wanted something a little cheaper and with larger numbers. In all, the project cost about $175, which is cheaper than the $100 dollar clock because that one had no case. Our electronics cost about $80. Comparable pace clocks cost $800 dollars and up online.

This was my first project of this kind, and in all it took about 40 hours in total (including research, programming, shopping, building, painting, etc.). Someone who knows what they are doing could probably build one in about 1/2 - 2/3 of the time. This would also make a good countdown timer, or larger clock with minor changes to programming and/or more LED drivers.

The numbers are over a foot tall and 6" wide. We used red 2835 SMD 600 LED strips which have 3 LED's per inch, and the clock (which only displays minutes and seconds) used 510 LED's in total. They are pretty bright and are visible even in direct sunlight.

It uses an Arduino Mega 2560 but could use an Uno. A DS3231 Real Time Clock (RTC) to keep the time, and 4 Sparkfun Large LED Drivers which worked great.

I worked on the project with my 14 year old son, so we used the CNC machine we got him for Christmas to route out the groves for the 7 segment displays, and it was a great learning experience for both of us because the machine is only big enough for 2 digits at a time and we needed to line everything up perfectly!

Full parts list:

Tools:

  • CNC Router (you could do this by hand with a router, or mount LED strips directly on the MDF Board)
  • Drill
  • Philips Head Screw Driver
  • Circular Saw
  • Jigsaw
  • Soldering Iron
  • Square
  • Box Cutter
  • Wire Stripper
  • Paintbrush

Electronics:

Case (materials purchased at Home Depot):

  • 2 x 2 by 4
  • MDF
  • Coroplast semi transparent sheet
  • Polyurethane
  • Primer
  • 2 cans enamel black satin spraypaint
  • 1 can enamel black matte spraypaint
  • Clear Silicon sealer
  • 2 x #4 1/2" screws to mount the RTC
  • 38 x #6 1/2" screws
  • 3 x 4 x 2" wood screws (for holding down power supply)
  • 8 x 2 1/2" wood screws
  • 14 x L brackets
  • 2 eye bolts to hang it from

Step 1: The 7 Segment Mounting Board

After cutting the 1/2" MDF mounting board to size, we routed groves using our CNC to help focus the light. We went all the way through with a hole in each grove so the wires would go through to be soldered to the drives mounted on the back. The holes were strategically placed so they were as near the center as possible to reduce the length of wire needed for most of the segments. the top and bottom segments were the longest.

Once the groves were routed, we used black matte spraypaint over the whole face, and polyurethane over the back to seal the MDF. On the back side of the board we used a pencil and marked the letter of each segment's position from the front to make it easier to wire.

Prime and paint the board before putting the LED segments in.

If we were to do it again, we would have put a bit more space in the center for the colon's. We also would have made the numbers 1 inch smaller in height to allow us to buy smaller materials for the case which would be more cost effective.

Step 2: The Electronics and Code

The electronics were surprisingly easy to setup with the jumper ribbon cables. We just hooked up the RTC to the Arduino Mega 2560 with SDA on pin 20; and SCL on pin 21. For an Uno R3 they are A4 and A5. You also need to plug in a ground and 5V.

The RTC is optional. We decided to use it to make the coaches life easier because he has one clock at each end of the pool, and the one we didn't make does not have a clock and needs to be reset manually. He just turns ours on and syncs the other one to match it. I have also included a version of the code I did before we decided to use the RTC which uses a millisecond timer (Clock-millis.ino). Not having an RTC will save you about 5 dollars, but the code has not been fully tested.

For the segments, I attached 5v, VIN (12v), and ground and (clock) 12, (latch) 11 and (data) 38 to Large Segment Display driver. If you use an Uno you would attach them to pins (clock) 6, (latch) 5 and (data) 7. After running the clock, the VIN and Ground were not enough to power all of the digits so we took 12v and ground directly from the power supply to the first driver which worked great.

More info on wiring the driver can be found here: https://learn.sparkfun.com/tutorials/large-digit-d...

Once that is wired up, use the attached program (NOTE: you need to set the time by uncommenting out the line in the setup function, run it and then comment it out and upload/run the program again so that the RTC doesn't get set every time you run it).

Step 3: Mounting and Soldering the 7 Segment Display

We cut the LED strips into 6 inch segments with 18 LED's on each, and soldered wires to the 12v and ground tabs. When cutting the LED strips, make sure the leave as much tab as possible to solder the wires to. Once the wires were soldered, we took a needle nose pliers and bent the wires at a 90 degree angle and then fed them through the holes in the board. We took the tape backing off and used an eraser to push them firmly in place, then used a glue gun to put a few dabs of glue on each end and the center to hold them firmly in place as the tape didn't do the job. If you mount directly to the MDF, you will probably need something better than the double sided tape it comes with.

For the colons, we used one inch strips from the leftover LED strips, each with 3 LED's. We wired them up to the DP (Decimal Point) wire from one of the drivers. In the sample code, they are always on so it didn't matter which one we wired it to. You could also easily turn them on and off in code every second if you wanted them to blink.

Once each of the strips were in place, we soldered the wires to their corresponding spot on the LED driver, we used a thicker wire for the 12v to make things easier, and twisted all of the 12v wires together and soldered them to the thicker jumper wire (you can see them in the center of the driver), then put a small piece of electrical tape over them to prevent shorts.

We wired the leads from the power supply directly to the 12v and ground of the LED drivers to ensure enough power to the LED's, rather than having it go through the Arduino. This change was made however after the clock was completed and the above pictures were taken.

We also used electrical tape to keep the wires held down by their holes. We mounted the Arduino and RTC to the back using screws. The RTC required a small piece of plywood screwed to the board first, so it would lie flat. This picture has them flopping around loose but I didn't take picture of the final mounting before we closed it up.

Step 4: First Light

Here is the picture of it working and before we made and mounted it in the case. We used a towel to lay it down on when we were working on it so it would not scratch the paint. It has been working for the team for about a month now with no issues.

The case was much easier to build than we thought and it fits pretty tightly. Make sure to measure twice and cut once. We made the outside of the case a bit tight on purpose and then trimmed down the MDF with a jigsaw in the places it was to big to fit, that way we didn't have any large gaps.

Step 5: Finishing Touches

Here is the final product. The case was 2 2 x 4's cut to size, and put together with long boards on the top, and screwed down into the side boards using 2 2.5" screws in each corner. This was so if there is any rain the seam will be less likely leak.

The backing board was the same size as the display board. Everything got a coat of polyurethane, primer, and then 2 coats of black enamel satin spraypaint. We mounted the back of the display first so it is tight and flush with the back. We took 4 L brackets and pounded them flat with a hammer then attached them and screwed them down. Then we flipped it over, and mounted 4 L brackets on the inside so that the back couldn't be pressed in too far once everything is together. The backing board can be taken off to give access to the inside should something need to be repaired or if the RTC battery needs changing.

We then removed the back and set the front in place with 3/4 inch of space between the board and the front of the case. It will help shield the numbers from sunlight and weather. We used 6 L brackets from the back to hold it in place using 1/2 inch screws.

We drilled holes in the side for the cable to the 12v power supply, and I drilled 1/2 inch holes from the inside to insert the power supply into and make it more stable, then I took 3 screws and put 2 behind the brick and one on top to hold it securely in place (on the outside of the brick, not through it).

The next step was to use clear silicon calking to seal up any gaps. The last thing was to take the coroplast and cut it to fit using a utility knife, and screw it down gently using 8 1/2" screws. Make sure to go slowly when tightening the screws so they don't damage the plastic.

As you can see, it works great, even in direct sunlight it is clearly visible.

Microcontroller Contest 2017

Runner Up in the
Microcontroller Contest 2017

Lights Contest 2017

Participated in the
Lights Contest 2017

Be the First to Share

    Recommendations

    • For the Home Contest

      For the Home Contest
    • Make It Bridge

      Make It Bridge
    • Big and Small Contest

      Big and Small Contest

    17 Comments

    0
    MarloG1
    MarloG1

    5 years ago

    hi michaelH814,

    this is a wonderful instructable, my son is into swimming also, i'm wondering if one can use this as a phase clock and a lap timer. do you have any idea what switch to use stop the timer, needs to be waterproof as it will be installed in the pool.

    0
    MichaelH814
    MichaelH814

    Reply 5 years ago

    You would want to use a momentary switch, and would need to have the code stop the timer when it gets the signal, and could have a second press be a reset or just have two switches. It should not be too difficult to make that way. For waterproofing, we just did the best we could to seal it up, and it has sit outside 24/7 with no problems for the past month or so.

    0
    Sparky2836
    Sparky2836

    Reply 2 years ago

    Hi Michael, I am new to all this and found your instructable, very informative. You mentioned you initially planned on doubling up the LED's can you tell me how I would achive this or point me to a tutorial. We need a bright timer viewable from a fair distance with count down to start then elapsed time.

    0
    MichaelH814
    MichaelH814

    Reply 2 years ago

    I was just going to use 2 strips for each segment, but if you need it brighter you can probably find a brighter LED strip and use that. The one we made still works well as long as it isn't in direct sunlight, but a hood to shade the display would solve that. Our team has it about 60 yards from the pool hanging from the fence.

    0
    Sparky2836
    Sparky2836

    Reply 2 years ago

    Micheal, Thank you for the information. The hood is a good idea especially here in Scotland, keep the rain off the display. If I was to double up the LED's does this mean I need to alter the code to include these, the first segment would be changed from 0-7 and now be 0-15 assuming they are wired in series.Thanks again,

    0
    MichaelH814
    MichaelH814

    Reply 2 years ago

    You would not need to change the code, but you would need to hook up the extra strips so instead of having one strip, you would have 2 LED light strips per segment which should make it almost twice as bright. You will just need to make sure you have enough amps to run all the strips when they are powered... I am not sure what you would gain by having them be separately driven, rather than using the same driver to run both strips of each segment.

    0
    santiagop38
    santiagop38

    3 years ago

    Hello you can send me the scheme of the connections of the LED strips with the TPIC6C596 and the connections to the arduino, I leave my email pascualpalacios525@gmail.com
    Thank you

    0
    adamaero
    adamaero

    5 years ago

    I don't know why an Arduino 2560 ($14) would be needed. A nano ($4.66) would do the trick. Additionally, the digit drivers ($32 worth!) can be easily made with the four chips themselves ($6 total) or maybe even the cheaper SN74HC595 ($4 total).
    That SparkFun module just has quicker connections. The rest of the PCB has castellations: "solder all 10 of the castellations as well as the 2 castellations at the top of the board (these should be attached to the 12V line and are just for mechanical support)." [link] So that's over $35 worth of savings, not including the fancy hookup wires required for that SparkFun module's pins.

    ---

    I expect to design the logic and timing from scratch...
    http://electronics-course.com/digital-clock

    I'm thinking of making the case less structurally robust--but less prone to condensation. (I intend bring/use it mostly at indoor pools.) I may even style the case like those see-through soldering irons. Anyway, eventually I'll build it because I was a swimmer, and find it useful. Thanks.

    transparent.png
    0
    Fiora96
    Fiora96

    5 years ago

    Awesome stuff!

    I am really new to this stuff and I am wondering how I would power this from an australian 240v wall socket. What would my transformer have to be rated and how much current would this draw? I am trying to keep the price as low as possible also.

    0
    MichaelH814
    MichaelH814

    Reply 5 years ago

    Hi Fiora96, I think something like this should work for you: https://www.amazon.com/100-240V-Switching-Supply-Adapter-Flexible/dp/B015G8E3X0, I went with a 5 amp 60 watt power supply as I was originally thinking of doubling up the LED strips, but 2amp/24 watts should be enough since most of the power goes to the lights.

    0
    onion2
    onion2

    5 years ago

    awesome project!
    you don't really need a real time clock module, you can use the fonction millis() on Arduino

    0
    MichaelH814
    MichaelH814

    Reply 5 years ago

    A added the code for the millisecond version to the Instructable so if people want it with RTC or without they are both there. Thanks for the comment onion2!

    0
    MichaelH814
    MichaelH814

    Reply 5 years ago

    I know, that is the way I originally had it set up, but there is another pace clock and they need to be in sync so the RTC made that a one person job. The other clock doesn't have an RTC so resets to 0 when powered on. The coach turns on our clock first, then goes and resets the old clock at the start of practice keeping them synced...

    0
    curiosity36
    curiosity36

    5 years ago

    Great project. You get my vote. I hope it doesn't have to be carried about. it must be pretty heavy with the MDF and 2 X 4 frame. I would have liked something like this when the grandsons were in school sports.

    0
    MichaelH814
    MichaelH814

    Reply 5 years ago

    It is a little heavy but doesn't get moved much. I prefer to think of it as sturdy ;)

    0
    Swansong
    Swansong

    5 years ago

    My husband could really use this for his run times!

    0
    MichaelH814
    MichaelH814

    Reply 5 years ago

    Awesome, let me know if you make one :)