Introduction: Arduino 7-Seg Display Clock

This is an Auduino clock made with the Sunfounder kit. This is a really cool project and easy to make!

Step 1: Materials

Only 9 materials are required for assembling the arduino powered clock

  1. Breadboard
  2. Wires
  3. USB cable
  4. Wire connectors
  5. Cardstock box
  6. Seven segment display
  7. Arduino
  8. Battery pack
  9. Arduino Library/Program

Step 2: Wiring

The trickiest part here is to try to get the wires to be organized and to make sure that they are secure and in the right spot, each wire needs to correspond to the correct pins in the seven segment display that match their assigned spots in the arduino. To make this simplest, once you've matched each wire to a port in the arduino, write down the corresponding spots, for examble -

Pin d4 to port 5

Pin d3 to port 4

And so on until you have a list of all the display pins with corresponding port numbers, this will make things easier once you start doing the programming!

If you'd like to make your clock easy to set, then using your breadboard and the third and fourth pictures you can wire up two push button switches to control the hour and minute buttons.

Step 3: Programming

Programming may be the hardest and most time consuming step in assembling your clock. First you need access to the arduino library, which can be found using GitHub, a convenient site/program that allows people to share their coding with others. Once on the website simply search for a seven segment arduino clock repository, in which you can insert the corresponding pin and port list to create your own programs!

Step 4: Assembly

You're so close! Now that we'd done the hard steps like the wires and coding, all you have left to do is set up the components inside your clock! In the picture we've used a discarded sunfounder kit box, but you can use any sort of container or even make your own, as long as it's thin enough to insert the pins of your seven segment display through the material.

  1. Once you've mounted the seven segment display, attach your assigned wires to the pins
  2. If the connection is loose, use tape to keep the wires in place
  3. Attach the opposite ends of the wires to the assigned ports in the arduino.
  4. Mount the arduino and breadboard with push buttons (optional) onto the bottom of the container
  5. Using a USB cord, attach your arduino to a battery pack
  6. Close the box, turn on the battery pack and enjoy your new clock!