Introduction: New Year's Eve Countdown Clock / TV

Picture of New Year's Eve Countdown Clock / TV

Want a way to spice up your New Year's Eve party? Build this 10 minute countdown clock that is in the shape of an old tv!

Skill level: Intermediate.

Time : 1 1/2 - 2 hours.

For this project we are using an Arduino, momentary switch, power plug, 4 digit 7 segment display and some cardboard. There are 4 main steps : Cardboard TV assembly, Arduino software upload, hardware & soldering and then final assembly. First we will make the cardboard housing. We made it look like an old time TV . We have also included the outline an Photoshop files if you want to design your own tv enclosure.

Parts

Tools

  • Scissors
  • Pliers
  • Wire Stripper
  • A-B USB Cable
  • Glue
  • Tape
  • Printer
  • Paper
  • X-Acto Knife
  • Breadboard

Step 1: Step 1. Cardboard TV Assembly

Picture of Step 1. Cardboard TV Assembly

First print out your tv box using the file here called TV.pdf. We have included a Photoshop file and an outline file if you want to change the look of the TV, but if you just want to go ahead use the TV.pdf file.

Cut it out and don't forget the switch hole on the side. The hole should be about 1/4". Trace what you just cut out onto your cardboard box. Here we used a cereal box from TraderJoe's because the cardboard was nice and thin. Once you have traced it onto the cardboard box cut it out, check that the 4 digit display fits into the rectangular hole. Now set the printed cutout aside for later and work on the cardboard.

Now bend the box into shape. We used the edge of our desk. First bend the right side as shown in the second photo. Then bend the left and then the top piece. After that, bend the two tabs 90 degrees.

The fourth photo shows the cardboard cutout bent mostly into shape.
Now we need to tape and glue it together. Apply glue to the side panel tab and bend the top panel over to attach it's underside to the tab. Now tape this in place and glue the tab from the top piece to the back of the front panel.

Once this is done go ahead and glue the original printout over the cardboard. Start with the front and make sure the hole for the display lines up correctly. If the display doesn't quite fit you can always make the hole larger buy carefully cutting with the X-Acto knife. Now set this aside and let the glue dry.

Step 2: Step 2. Software

Picture of Step 2. Software

Turn on your computer and open up the Arduino IDE. Plug your Arduino into your computer using the USB cable. This project uses the following libraries:

"Adafruit_LEDBackpack.h" and "Adafruit_GFX.h" If you don't have the libraries, download and install them, then restart Arduino. Now open a new sketch and cut and paste the text file Countdown clock into it. Save the sketch and upload it the your Arduino. Nice job, we are now down with the first two parts of this project. Now on to the third step.

Step 3: Step 3. Display & Connector

Picture of Step 3. Display & Connector

First lets put together the connector for the display.

Take one of the red pre crimped wires and insert the pre crimped flat end into the left most hole of the connector with the connector holes facing up. Put the flat side of the crimping up and it should click into place. Give it a light pull and it should not come out.

What you have should now look like the second photo. Next to the red wire insert a black wire. Then insert the yellow wire and the blue wire should be on the other end.

Now you should have a connector like the third photo.

Now add a small piece of heat shrink to the yellow and red wires to make sure you don't get a short later.
You can use a hairdryer or your soldering iron to shrink it. Just be careful no to touch the soldering iron to the heat shrink.

If you haven't already put the display together follow the directions on Adafruit now.

Insert the connector into the back of the 4 digit display. Make sure the red wire goes to VCC and the black wire goes to GND. The yellow wire is for SDA and the blue wire is for SCL.

Make sure your Arduino is unplugged and insert the 4 connector wires into the appropriate pins. Red goes to 5V, black goes to GND, Yellow goes to analog pin 4 and the blue wire goes to analog pin 5. Now plug the Arduino back in and the countdown should begin. Nice job! Now we know the display works. On to the switch.

Step 4: Step 4. Soldering Switch & Perfboard

Picture of Step 4. Soldering Switch & Perfboard

Part 1 - Switch

We need to solder the two yellow wires into the switch.

Start by taking your pliers and bending both wires like in the second photo. Insert one wire into the hole on the lead from the switch and clamp it down with the pliers. It doesn't matter which wire goes to which lead. Now soldering the wire on and the do the same for the second wire. Be very careful when soldering as the iron is very hot and use plenty of ventilation.

Your switch and the two yellow wires should now be soldered like the fourth photo.

Now add a piece of heat shrink over one wire to cover the connection you just soldered. Shrink it and do the same for the other soldered connection. If you don't have heat shrink electrical tape can work in a pinch.
Set the switch aside for a moment.

Part 2 - Perfboard

Now it is time to solder the perfboard. Snap off a section of 13 pins from your header. Insert the long end of the pins into a breadboard. With the copper side up, insert the second long row of perfboard holes onto the header pins like in the photo.

Turn on your soldering iron and let it heat up for a minute. Solder all 13 pins onto the perfboard. Pull the perfboard and header out of the breadboard so we can solder the other wires.

With the soldered side up, insert the blue wire of the display connector from the bottom up as in the photo. Bend the wire over so it is touching the soldered header pin. Solder this on, making sure to also solder it to the header pin connection as well. Then insert the yellow wire right next to it and solder that as well.
Now solder in the black ground wire. It should be 8 pins from the yellow wire or 4 pins from the other end. This should line up with ground on the Arduino. Solder in the red wire as well. It should be three pins from the end right next to the black wire.

Now solder in the switch. One wire goes to the second ground pin next to the first ground pin. Remember to also solder them to the corresponding header pins .The second wire goes to analog pin 0.
You should end end up with something like in the last photo.

Step 5: Step 5. Final Assembly

Picture of Step 5. Final Assembly

Now it's time to plug the headers we soldered onto the perfboard onto the Arduino. Unplug the Arduino if it is still plugged in. Line up the perfboard assembly by making sure the blue wire pin goes into analog pin 5. Push gently until all pins are in the Arduino. Now plug it in and you should see 10:00 on the display.

This is what you should have now. Go ahead and push the button and the countdown should begin!
Now put the assembly in the cardboard tv. First unscrew the nut from the switch and push the switch through the hole on the side of the tv. Now put the nut on from the outside and secure the switch to the tv. Now push the display through the hole in the front. add your power cord, plug it in and you are done!

Now just wait until 10 minutes before midnight and push the magic switch.

Extra Tips:
You can use a different switch if you have one. Depending on the switch you may need to adjust the code. specifically may need to change if (buttonState == HIGH) to if (buttonState == LOW) depending on the switch. You can also change the little animation at then end in the section called void fireworks(){} You can also change the look of the cardboard TV by modifying the included Photoshop file.

Don't forget to check out more how to's at The Soldering Station.

Comments

Swansong (author)2016-12-13

This is a really fun idea! I'd love to make it play Auld Lang Syne when it hits 0.

Great idea. Not hard to do. You could an mp3 shield and a small speaker.

About This Instructable

1,056views

11favorites

License:

More by The Soldering Station:ESP8266 Weather StationESP8266 Basement MonitorWeatherBot 3000
Add instructable to: