“Wooden” Desktop Clock *Modern Looking* Using Arduino

Wooden Desktop Clock

Hi everyone, this is my second instrucatable! This time we are going to build a wooden clock with temperature and humidity display. Like shown in the picture, our the time will be displayed through the “wood”.Wooden Desktop Clock

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Since light isn’t strong enough to pass a piece of wood, we are going to use wood texture vinyl stickers make our product looks like wood while the number display stays bright and clear.

This project is more about DIY-ing, so you are actually building the whole thing yourself.

Special skills needed:

Be able to do soldering

Have basic understanding in electronics and programming (Arduino)

If you don’t like to do too much soldering, you can build a easy version of this clock but you will miss the temperature and humidity feature. For the easier version, start from step 5.

THAT’S ALL, HOPE YOU ENJOY THE PROGRESS OF DIY-ing!

Step 1: Features of the ClockFeatures of the Clock

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I wanted a temperature and humidity display in my clock, but i don’t want to make two extra displays for temperature and humidity. So I thought to make the 4 digit display to also show the temperature and the humidity.

To make the display change from displaying time to displaying temperature, we need something like a button to tell the system to display the different variables.

In my system, I used a vibration sensor, which obviously detects vibration.

According to the photo, once the sensor detects a vibration, the system(Arduino) will switch from displaying time to displaying temperature, at the same time, the system counts 2 second. During that 2 seconds, if the system detects another vibration, the display start displaying humidity.

Step 2: Gathering the Materials & ComponentsArduino Keyboard and Mouse Control

Here is the list of the components you will need:

1. Arduino Pro Mini

2. 4 digit 7 segment display (choose the 8402AS version)

3. Real time clock module

4. Vibration sensor

5. Temperature sensor

6. Micro usb port module

7. USB uploader

8. Wooden textured vinyl sticker (buy two of them)

Also a mini prototyping board:

9. Prototyping board 4*6cm

You also need a soldering iron and a hot glue gun!!! You can get those in hardware shops!

If you want to get into Arduino and programming you might want to also get the Arduino starter kit:

Arduino Starter Kit

Step 3: Soldering the ComponentsSoldering the Components (1)

 

 

 

 

 

 

 

 

 

 

Now you should have all your components ready, because it’s soldering time!

Follow the design like shown in the first picture, or visit this site to see my original design.

Tips:

I don’t like to connect wires directly to a prototype board, because it’s too fragile. My way of connecting wires to a prototyping board is to use male and female connectors, like shown in the second picture.

To solder, you first heat up the surface by putting your soldering iron onto the prototyping board, wait 1~2 second and apply your solder to the board, remember to keep your soldering iron on the prototyping board while applying solder.

Most solder comes with flux, which will clean the surface of the prototyping board and make the solder surface shiny. But when the flux evaporate they will become harmful gas, so you may want to hold your breath or use a fan to suck away the harmful gas.

Remember to take your time and pay 100% attention since you won’t want your 380 degree (Celsius) solder iron accidentally touch your skin.

I also left some finished picture here feel free to take a look.

If you think this is too complicated, build the easy version and start at step 5.

Step 4: Programming It!Programming

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

To program a micro-controller, we need to use a computer’s USB port. To do that, we need to use our USB to TTL programmer, yes, the one in the first picture.

Do the following connections:

Arduino side———-Programmer side

VCC————————————–+5V

GND————————————-GND

GRN————————————-DTR

TX——————————————RX

RX——————————————TX

Upload the attached code to the Arduino Pro Mini.

*IMPORTANT*

After uploading the code, remember to power it on and test it, if the clock is in synchronized with the real time. But if it is not, do the following:

Edit the code, at line 83: DateTime nowactually (now + TimeSpan(0, 0, 25, 0));

My clock is 25 minutes slower than real time. So I made the incorrect time to go back to real time by adding 25 more minutes to the incorrect time, and put it into a new variable.

**example** if your clock is 50 minutes slower than the actual time, you do: TimeSpan(0, 0, 50, 0);

**example** if your clock is 15 minutes faster than the actual time, you do: TimeSpan(0, 0, -50, 0);

Remember to choose the correct PORT from the TOOLS drop down menu!

**whispers** Google is still your best friend!

Step 5: (Easy Version) Soldering the Clock

Ok, here is the easy version of the clock that you are looking for.

If you build this version of the clock, you will lose the temperature and humidity feature.

You need to buy the following DIY clock kit, just don’t assemble the provided case:

DIY clock kit

You will need a soldering iron, if you don’t have one, visit:

Soldering iron

Of course, some solder:

Solder wire

There should be a user manual inside the kit, follow the manual and solder every component onto the PCB (a.k.a. Printed Circuit Board).

Want to get into Arduino and programming? Buy a starter kit (doesn’t include the clock kit):

Arduino starter kit

If you have any questions regarding on how to solder, feel free to contact the seller or ask google for help!!!

*whispers*Google is your best friend!

 

Read more: “Wooden” Desktop Clock Modern Looking

Leave a Comment

Your email address will not be published. Required fields are marked *