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.

Solid Wood Digital Clock

Step 9Build the Electronics

Build the Electronics
«
  • DSCN0962.JPG
  • DSCN0961.JPG
  • DSCN0966.JPG
  • DSCN0963.JPG
  • DSCN0964.JPG
  • DSCN0938.JPG
  • DSCN0940.JPG
  • Wooden Clock Schematic.bmp
  • last photo ←
»
To build the electronics, follow the attached schematic. I have attached the schematic as a bmp, two different sizes of PDF, and the original .ms10 file created in national instruments' multisim software, for those who so desire to use it.

The cathodes of the LEDs hook up to the outputs of the multiplexer, with the left column of LEDs being column 0. The demultiplexer needs to sink the LEDs one at a time, such as the one in the attached data sheet.

The anodes of the LEDs are attached to a cluster of 3 transistors. This is so the 1st transistor has the power directly from the adapter attached to its collector pin, the corresponding anode pin(from the microcontroller) is attached to the gate. It also has the emitter going directly to the gate of the 2nd transistor, and using a 1kOhm resistor it is connected to the gate of the 3rd transistor. The 2nd transistor has its collector attached to the green pin (pin 1 on the arduino) and its emitter attached to the green(or your highest draw LED) row. The 3rd transistor then has its collector attached to the red pin (pin 0 on arduino) and its emitter attached to the corresponding LED row. It should be noted that I ordered the LED rows from 0 at the top to 4 at the bottom.

The radio power is attached to the speaker pin (pin 9 on arduino), so that when the alarm is sounded it turns on and automagically tunes the strongest station.

The controller pins (analog pins 0-5) all have a 200kOhm pull-up resistor. the pins from 0-5 (followed by the corresponding DB9 number) attach to the controller in the following order: up(1), down(2), left(3), right(4), button1(5 and 6), button2(9, also optional). pin 7 on the DB9 connector is +5V and pin 8 is ground.

See the pictures for some comments and pointers, but if something is unclear let me know in the comments and I will do my best to help.

For the ports and LED rows and columns, I suggest installing sockets so the parts can be easily removed or swapped.

Now attach the wire to the LEDs, power and controller and test. Before you insert any chips make sure the power they are receiving is the correct 5V, so they aren't destroyed.
« Previous StepDownload PDFView All StepsNext Step »
2 comments
Mar 4, 2010. 3:49 PMvxir says:
Very cool project!  BTW, If you don't want to deal with all the electronics you could perhaps use the Lightuino (makersmarket.com/products/67-lightuino-led-driver), which controls 70 channels of LEDs.  Each channel could be 3 LEDs.  Since it is not doing a LED "matrix" the LEDs are on all the time instead of being flashed rapidly.  This means that they will be a lot brighter which might be pretty important for a project where the LEDs are hidden behind wood.

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!
98
Followers
11
Author:J_Hodgie
Currently doing masters in Mechatronics Engineering, but still create in my spare time