View on GitHub

Hammes Hacks

Projects designed by Emily Hammes

Word Clock

PCB

Introduction

The word clock is a clock where the time is spelled out in five minute incriments. The letters are illuminated by my Charlieplexed RGB Shield. The LEDs are driven by an Arduino Uno. Because the shield is charliplexed, each LED is individually controlable.

Background

The basics of charlieplexing–which is the method I am using to individually control each LED–is found in this video:

Charlieplexing with Red Green and Blue (RGB) LEDs adds another level of complexity to the process. More information can be found in this video :

Coming Soon

Assembly

PCB

Parts List

Soldering the Shield

  1. Solder all 16 resistors onto the PCB
  2. Solder 1 pin on each LED to the board
  3. Align the LEDS so that they are streight
  4. Solder all other pins on the LEDS
  5. Using a bright light shine light through the PCB to visually check all the solder joints on the LEDs for shorts. To do this, place the plastic part of the LED toward the light and look at each solder joint. Each LEDs solder joints should look like a rectangle, next to three ovals. If you can see light through the oval or the rectangle then add a little solder to that joint. If two of the joints are shorted (soldered together) then remove a little solder until the solderjoints are distinct.
  6. (optional) add button/wires/switch for timesetting
  7. Add pin headders

Glueing the Case

Glue together the case using standard wood glue or white glue. While doing so, note the following:

Uploading Code

Once you are done soldering, it is time to upload code.

Debugging

Before uploading the word clock code, it is best to upload the test code. This code will make one pin high and another low so that only 1 LED will light up either red, green or blue at a given time. Most likely, even though we optically checked for shorts, there will still be one on the board. To repair them do the following:

Uploading Final Code

Once the shield is debugged, upload the word clock code.