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 increments. 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 :

Assembly

Parts List

Soldering the Shield

PCB

  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 straight
  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 solder joints are distinct. This is a time consuming process.
  6. (optional) add button/wires/switch for time setting
  7. Add pin headers

Gluing 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 the test code. Play with the delays to check each LED.

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.

Whats Inside the PCB?

schmatic

This is the schematic of the PCB, showing how all the components are connected.

PCB

Above is a transparent view of the PCB. Green lines are wires on one side and red lines are wires on the other side of the PCB. The text that will be printed on the board is in magenta on one side and teal on the other. The yellow line is the edge of the board. The gold circles are drilled through the board and have copper on both sides.