"Wooden" Desktop Clock *Modern Looking*

by DarwinEnergy in Circuits > Arduino

7119 Views, 81 Favorites, 0 Comments

"Wooden" Desktop Clock *Modern Looking*

20190105_103702.jpg
20190105_103422.jpg

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".

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!

Features of the Clock

20190102_143443.jpg

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.

Gathering the Materials & Components

20181219_202501.jpg
20181215_112746.jpg
20181219_202052.jpg
20190105_120229.jpg
20181219_202157.jpg
20181219_201427.jpg
20181219_202623.jpg
20181219_201843.jpg

After planning, we need to get/buy our components.

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

Soldering the Components

Schematic_FANCY-LED-CLOCK_FANCY-LED-CLOCK-SCHEMATIC_20190105175347.png
20181231_205603.jpg
20181231_183919.jpg
20181231_183944.jpg
20181231_184440.jpg
20181231_184330.jpg

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.

Programming It!

20181231_184530.jpg

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!

(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!

3D Printing the Enclosure

20181212_192812.jpg

Now you need to 3D print the enclosure for our clock. The stl file is attached.

If you don't have a 3D printer, you can try to cut your own wood using a saw, and hot-glue it together afterwards.

If you still think it's too complicated, just use some old food container or cardboard to make the main body. Afterwards cut our some correct sized holes for the display and the charging port.

The dimensions are 8cm*5cm*6cm (L*W*H).

Downloads

Sticking the Wooden Textured Sticker

20181212_210004.jpg
20181212_210228.jpg
20181219_210650.jpg
20181231_204838.jpg
20181231_204846.jpg

Now take out your wooden textured vinyl sticker, it is simple, just peel of the sticker and stick it onto your enclosure, cut appropriate size and you are done! After that, repeat the progress and stick the sticker onto the side.

I also drilled some holes for the DHT11 temperature & humidity sensor to work properly later on.

Almost Done!

20181231_205655.jpg
20181231_210125.jpg

You are almost done! All you are left to do is to hot-glue the temperature humidity sensor and the to the wall. As well as the display to the front big hole, and the charging port to the side hole!

Plug everything into the correct holes and you are ready to go!

Enjoy Your New Clock!

20190105_102954.jpg
Modern LED Clock demo

Thanks a lot for reading my Instructables, hope you enjoyed!

Now, you get a very modern looking clock which displays temperature and humidity!

Also, check out my Instagram account @my_electronics_lab!

If you have any questions regarding this project, please email me!