Introduction: DIY LED Dual Clock Tower!

How do you feel after seeing the picture? Excited? Intrigued? Well, you'll be fascinated, I promise!

This project has two purpose:

  1. Decorate my desk
  2. Tell me the time

But.. tell me the time? What the heck?! How can those two tall towers tell me the time?

I let one of my siblings view the project and he was impressed by the appearance of the project but was clueless to the functionality. It was fun playing with his mind!

There are 12 LEDs in both towers each. Each LED on the left tower represents an hour while each LED on the right tower represents 5 minute. So for example, 9 LEDs light up on the left and 3 LEDs on the right means 9:15. How cool is that a way to tell the time?

Disclaimer : If you want to attempt this project, I highly recommend that you understand the basics of Arduino, RTC (Real Time Clock) Modules, Transistors, and have a basic knowledge of electronics. This isn't an easy project and it took me almost 3 weeks to construct it.

Step 1: Gather Up the Items!

Picture of Gather Up the Items!

You'll need the following items.

Structure section:
2x 20cm x 40cm Acrylic sheets
Black Spray paint
White Spray paint
Masking tape

Electronic section:
12v 2A Power supply
Arduino Mega
Circuit board for prototyping
3x 40 pins Male Pin Header
75cm long ribbon cables
25x TIP32 Transistor
3x TIP31
25x BC548 Transistor
Real Time Clock (RTC) Module
Copper wires

Step 2: Heat Form Your Acrylic Sheet

Picture of Heat Form Your Acrylic Sheet

Now you need to fold your acrylic sheet 90 degree on two sides. Peel off the protective paper on your acrylic, draw two 6.6cm intervals lines along your 20cm acrylic sheets, then use a heat gun to soften those lines. It took me about 10 minutes before the acrylic became strong enough to be bent.

Step 3: Paint It!

Picture of Paint It!

You'll need black and white spray paint for this, you can use any other colour you want for the body of the acrylic but only use white spray paint for the lines where the LED will shine through.

Cut your masking tape ( make sure it is the same width as the LED pieces you will be using ) 5 cm in length, then tape it onto the inner corners of the acrylic. Space the height between each masking tape about 3.3cm for each.

Now cover the outer body entirely with paper then spray paint the inner wall with black paint, or whatever you prefer, add as many coats of paint as you can because you don't want the light to pass through the black spaces.

Once the paint is dry, remove the masking tape and spray a very light coat of white paint. As light as possible to give your led a diffused look!

The same is done for the other tower. Set them out at least an hour for the paint to dry.

Step 4: Cut the RGB Led Strip Into Individual Pieces

Picture of Cut the RGB Led Strip Into Individual Pieces

While waiting for the paint to dry you can start working on your electronics.

Grab your RGB Led strip and cut them along the copper joints. You'll need 24 RGB Led "pieces" so you need at least 1.2m of rgb led strip.

Step 5: Solder the Rgb Joints in PARALLEL

Picture of Solder the Rgb Joints in PARALLEL

Now bust out your soldering iron and copper wire. Strip your wire then solder them onto the rgb joints of your Led piece. Make the wires about 5cm long. Don't make it too short or you'll not be able to stretch them out across the tower.

Do the same for the third and fourth piece until you got a chain of 12 leds joint together via their rgb joints. Then make another 12 led chain for the other tower.

Don't glue your led to the white lines of your tower yet!

Step 6: Solder Individual Wires to the 12v Joint

Picture of Solder Individual Wires to the 12v Joint

We don't need our LED to be different colour, but we do need to control them individually. Solder individual wires to the 12v joint of the RGB Led piece. Make sure the wire is able to stretch all the way to the bottom because that is where we will connect it to our TIP32.

The same applies for the right tower but instead of ending your work there, extend it with ribbon cables that have female pin header soldered onto it.

Step 7: Hot Glue/Super Glue Your LED Onto the Towers

Picture of Hot Glue/Super Glue Your LED Onto the Towers

I burnt myself couple times during this process -_-

Now, apply glue onto the white lines of your tower. Then, press your LED in place for about 20 seconds until the glue cures.

Do the same for the next 23 LED pieces.

Then, solder all the 12v wires onto a 12 pin female pin header, and the parallel rgb connection onto a 3 pin female pin header. So you have a total of 15 female pin headers sticking out of both tower. The right tower, however, has the wire extended with ribbon cables.

We will be implanting our arduino and circuit board onto the left tower.

Step 8: Construct Your Circuit

Picture of Construct Your Circuit

This is the tough part, this is when your skills and knowledge in electronics is extremely important.

You'll need your male pin headers and circuit board to construct this shield for your arduino mega, you'll need to use BC548 transistor to control the TIP32 transistor to control the individual LEDS.

The male pin header underneath must be soldered correctly to the circuit board so that it plugs into your arduino female pin header without issue.

The male pin header above is for connecting your tower's LEDs to your transistors.

The circuit is available above. Please follow it extremely carefully.

You'll also need to solder a RTC module onto the circuit board for our clock timing function.

Once you're done, plug your shield onto your arduino mega.

Step 9: Test and Troubleshoot

Picture of Test and Troubleshoot

Nothing works at the first time, if it does Santa Claus will exist. Plug your two towers onto the male pin header of your shield and at your coding, turn on all the LEDs, which means make all output pin go LOW and the 3 PWM pins that control the colour to HIGH.

If some of them doesn't work, check connections, check circuitboard joints, and so on.

Step 10: Mount Your Arduino and Circuit Board Onto the Left Tower

Picture of Mount Your Arduino and Circuit Board Onto the Left Tower

In the video, you can see that I drill a couple holes onto a small piece of acrylic and screwed my Arduino Mega in. After making sure that all the led are connected, works perfectly and can be controlled individually, I glue them onto my left tower.

Step 11: Coding

Now I don't think my code will work for yours because of the different Output pin we use to control our arduino mega but here it is. Try altering the code on the output pin side to make it work for yours.

Take note 1 !! : I've added a function in the code which will reduce the brightness to minimum during the night to prevent light pollution in my room. Do not be alarmed if your tower is very dim between 10pm to 8am! Use the second code if you don't want that function.

Take note 2 !! : If this is your first time using RTC module, you will have to configure the time. Search for the following line : //rtc.adjust(DateTime(2017, 8, 2,15, 56, 20)); Go ahead and remove the double slash at the front and adjust your time accordingly (year,month,day,hour,minute,second). When you upload, your rtc will be configured to that time at the moment the code is uploaded. Replace the double slash and then reupload the code to prevent the RTC from resetting back to the previous time.

Step 12: Plug in Your Power Supply and Ta-Dah!!!

Once you're done, go ahead and plug your 12v power supply to the arduino mega dc jack and there you go. You've just build your own clock tower that will decorate your table, and tell you the time in a unique way.

I hope you enjoy this tutorial. This is no easy task from me. I have to do everything, from programming, to heat forming. From video editing to coding. It was an extremely huge challenge for me.

Check out my youtube channel, 5Volts. Please subscribe, I'll upload some more projects you'll love! Have a nice day, bye!

Comments

JohnE12 (author)2017-08-15

Great project thank you; I admire your tenacity with the multiple connections! Voted!

5Volts (author)JohnE122017-08-17

thank you thank you thank you!! ^_^

halciber (author)2017-08-15

This is an excellent tutorial. Thank you for making it.

5Volts (author)halciber2017-08-17

your welcome!

sue.donim.144 (author)2017-08-15

5 minute time separation is neat butnot too accurate . how about towers representing tens and ones ??? as 2 leds 9 leds / 5 leds 9 leds capable of showing both 12 or 24 hour times

5Volts (author)sue.donim.1442017-08-17

I don't have so many leds :'(

RayW52 (author)2017-08-15

Cool, but maybe you could try flattening it so it can b mounted on the wall?

5Volts (author)RayW522017-08-17

I prefer it to stand on my desk

Oncer (author)2017-08-15

Hi, great project and voted for. What temperature did you have the heat gun on to bend the acrylic sheet?

5Volts (author) Oncer2017-08-17

Hi, it is turned to the max, about 440 celsius

5Volts (author)5Volts2017-08-17

but it took me about 15 minutes to make one bent

aCuriousCreator (author)2017-08-13

Dude that's really good! I don't think my brain could work out the time using it, but it looks awesome on your desk :) Great build!

5Volts (author)aCuriousCreator2017-08-17

Thanks!

SethS1 (author)2017-08-15

This looks like a really cool project, I especially like how the light diffusion is done with heat-bent acrylic and spraypaint instead of painstakingly sanding it into a light diffuser. However, I'd strongly recommend using an addressable strip like Neopixels or any cheaper WS2812 strip instead. You will not need any voltage conversion since they run on 5 volts, and it takes all the insane effort of wiring so many transistors out of the project. You would need to modify the code to treat each tower as one continuous strip but you'd have a much easier time wiring and coding for it.

https://www.amazon.com/gp/product/B019IBG53C/ref=o...

5Volts (author)SethS12017-08-17

Okay, wow thanks i never even know 5 volt led strips exist =D

kevinmaker2018 (author)2017-08-17

Thanks for sharing. I made it with the W2812 RGB LED. Perfect.

About This Instructable

4,813views

117favorites

License:

Bio: 17 year-old passionate in Electronics
More by 5Volts:DIY LED Dual Clock Tower!How to Fold a Shirt in 1 SecondSuper Simple EMP Generator
Add instructable to: