3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

The Word Clock - Arduino version

Step 6Program the Arduino and test the displays

Program the Arduino and test the displays
Next, we need to use the Arduino sketch editor to program the controller.

Open the attached sketch file in the editor, connect the controller using a USB cable, and press the 'Upload' button.  This is the cool bit about using an Arduino - everything works just by itself!

The sketch will be transfered, and it should start executing immediately.  In this step is a startup animation as a Gif image.  This is what the startup should look like.  You may notice that there are a few dark LEDS in the picture where all of the LEDs are lit.  These are the LEDs that are not connected.

I have included a debug function in the software that prints the time out every time that it is updated via the Arduino serial port, as well as flashing the Digital13 Pin every second.  Simply use the Arduino serial monitor to see the time being displayed.  

It is important to note that you will not see LEDs lighting up when the controller is being powered by the USB cable, as the LEDs are powered by the external power connection. So to test the unit, lets connect the device to a DC power supply.  When the unit is plugged in, every word should light up in sequence, and the clock should start running.  If one of the words fails to light up, or part of a word doesn't light, check the orientation of the LEDs, and their wiring. 

I brought a set of 500 LEDs from eBay, and was disappointed with an 8% failure rate when I used them.  Some vendors are awesome, and others are not.  But - they were cheap!

« Previous StepDownload PDFView All StepsNext Step »
4 comments
Apr 7, 2010. 7:49 AMproteine1024 says:
Hi,

Do you have a link to download Arduino sketch editor ? Is it free ?
what devices we need to perform this programing tasks ? How to plug this Arduino ?
 
Thanks in advance

(I am french, sorry for my broken english)

Pierre.
Apr 7, 2010. 8:20 AMproteine1024 says:

Arduino Duemilanove ?


Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
364
Followers
11
Author:drj113
I have a background in digital electronics, and am very interested in computers. I love things that blink, and am in awe of the physics associated with making blue LEDs.