Half-moon Clock With Arduino
by AlexAndAmigos in Circuits > Arduino
1060 Views, 2 Favorites, 0 Comments
Half-moon Clock With Arduino
![20170223_160039.jpg](/proxy/?url=https://content.instructables.com/FKT/QSGY/IZ6DDTZZ/FKTQSGYIZ6DDTZZ.jpg&filename=20170223_160039.jpg)
![20170224_140930.jpg](/proxy/?url=https://content.instructables.com/F0O/2DMO/IZ6CNMQL/F0O2DMOIZ6CNMQL.jpg&filename=20170224_140930.jpg)
![20170224_141032.jpg](/proxy/?url=https://content.instructables.com/FEL/KJWZ/IZ6CNMQR/FELKJWZIZ6CNMQR.jpg&filename=20170224_141032.jpg)
It can be difficult to keep track of time. Sometimes clocks show the wrong time, sometimes they don't run at all. Analog clocks which use a digital "heart" can be very hard to find. This clock (hopefully) solves those problems. Arduinos are very precise and can even give you the exact time since it started in milliseconds. I used the arduino UNO as the (non-beating)heart for this project. The clock can be as big or small as you like, the hand can be decorated in any way you like, and it is completely customizable.
stuff needed:
- 1 9 gram digital servo
- arduino board
- 5mm led
- computer with arduino software and servo library installed(or you can use the new web editor if you have an arduino account)
- 5mm balsa wood(something like this)
- 2mm balsa wood(something like this)
- a compass
- protractor
The Main Frame
![20170219_163012.jpg](/proxy/?url=https://content.instructables.com/FXE/AT62/IZ6DDTJ2/FXEAT62IZ6DDTJ2.jpg&filename=20170219_163012.jpg)
![20170219_163012.jpg](/proxy/?url=https://content.instructables.com/FT4/DVBX/IZ6CNGYA/FT4DVBXIZ6CNGYA.jpg&filename=20170219_163012.jpg)
![20170221_160859.jpg](/proxy/?url=https://content.instructables.com/F6G/SF68/IZ6CJVJ9/F6GSF68IZ6CJVJ9.jpg&filename=20170221_160859.jpg)
![20170222_095633.jpg](/proxy/?url=https://content.instructables.com/FYQ/O8EP/IZ6CJVP2/FYQO8EPIZ6CJVP2.jpg&filename=20170222_095633.jpg)
![20170221_182746.jpg](/proxy/?url=https://content.instructables.com/FWM/VG4D/IZ6CJVKA/FWMVG4DIZ6CJVKA.jpg&filename=20170221_182746.jpg)
Using the compass draw two half circles on the 5mm balsa. Draw another smaller half circle inside one of the circles, so that it looks like an arch. Cut out the arch and also the half circle and sand the edges. Cut out two small 5mm balsa rods, and glue them onto the arch and half circle like in picture 3. Use two scrap pieces of balsa to support the area near the glued rod when the glue is drying. Cut a small hole in the balsa to put the servo in later, and make sure the servo arm mount is roughly where the spike of the compass was when you drew the circle. Also, put a mark on the arch every fifteen degrees. These will be where the clock numbers will go. Cut two small squares and glue them onto the bottom of the balsa rods. These will be the feet.
The Servo Mount
![20170222_094235.jpg](/proxy/?url=https://content.instructables.com/FQJ/YYSP/IZ6CJVN3/FQJYYSPIZ6CJVN3.jpg&filename=20170222_094235.jpg)
![20170222_112509.jpg](/proxy/?url=https://content.instructables.com/F40/VPW4/IZ6CJVTX/F40VPW4IZ6CJVTX.jpg&filename=20170222_112509.jpg)
![20170222_180703.jpg](/proxy/?url=https://content.instructables.com/FOF/HVIS/IZ6CJWA9/FOFHVISIZ6CJWA9.jpg&filename=20170222_180703.jpg)
Cut out a piece of 2mm plywood with a small rectangle big enough for the servo to sit in. Cut two small supports that are big enough so that when the servo is put in the mount the mount will be low enough that the white part will just stick out the top.
The Led Mount
![20170219_164809.jpg](/proxy/?url=https://content.instructables.com/FXP/9UNW/IZ6CJVKB/FXP9UNWIZ6CJVKB.jpg&filename=20170219_164809.jpg)
![20170219_164847.jpg](/proxy/?url=https://content.instructables.com/FZK/ELIS/IZ6CJVNL/FZKELISIZ6CJVNL.jpg&filename=20170219_164847.jpg)
![20170219_165100.jpg](/proxy/?url=https://content.instructables.com/F1V/FTCU/IZ6CJVI1/F1VFTCUIZ6CJVI1.jpg&filename=20170219_165100.jpg)
![20170219_165144.jpg](/proxy/?url=https://content.instructables.com/FTT/8BH3/IZ6CJVOZ/FTT8BH3IZ6CJVOZ.jpg&filename=20170219_165144.jpg)
![20170219_165803.jpg](/proxy/?url=https://content.instructables.com/F5E/PO8J/IZ6CJWA4/F5EPO8JIZ6CJWA4.jpg&filename=20170219_165803.jpg)
![20170219_165827.jpg](/proxy/?url=https://content.instructables.com/FDC/CMIR/IZ6CJWBO/FDCCMIRIZ6CJWBO.jpg&filename=20170219_165827.jpg)
![20170219_165947.jpg](/proxy/?url=https://content.instructables.com/F1S/YCAU/IZ6CJWBS/F1SYCAUIZ6CJWBS.jpg&filename=20170219_165947.jpg)
![20170219_203049.jpg](/proxy/?url=https://content.instructables.com/FLW/SDMM/IZ6CJW9A/FLWSDMMIZ6CJW9A.jpg&filename=20170219_203049.jpg)
![20170221_160448.jpg](/proxy/?url=https://content.instructables.com/FT8/8KWS/IZ6CJVI4/FT88KWSIZ6CJVI4.jpg&filename=20170221_160448.jpg)
Start with a small rectangle of 2mm plywood and make a small hole in the middle. Push the bulb of the led through the hole, bending the wires flat against the wood as you do so. Make another slightly larger rectangle, making a hole in this one as well, and then glue it to the other rectangle with the led still poking through both holes. Trim the excess plywood. Continue like this until the top of the led is roughly flush with the plywood. Glue two small supports to the back of the led mount. Glue another piece of plywood to the back, and once again cut off the excess. Sand the mount. Solder two longer wires onto the led leads, and put heat shrink tube over the solder connections.
The Clock Hand
![20170220_120006.jpg](/proxy/?url=https://content.instructables.com/FLN/54JN/IZ6CJVIR/FLN54JNIZ6CJVIR.jpg&filename=20170220_120006.jpg)
![20170220_121608.jpg](/proxy/?url=https://content.instructables.com/FTS/A3XA/IZ6CJVJS/FTSA3XAIZ6CJVJS.jpg&filename=20170220_121608.jpg)
![20170220_122255.jpg](/proxy/?url=https://content.instructables.com/F7K/ZQC6/IZ6CJVN4/F7KZQC6IZ6CJVN4.jpg&filename=20170220_122255.jpg)
![20170221_114156.jpg](/proxy/?url=https://content.instructables.com/FYI/TNDF/IZ6CJVRU/FYITNDFIZ6CJVRU.jpg&filename=20170221_114156.jpg)
![20170221_154643.jpg](/proxy/?url=https://content.instructables.com/F01/4MLH/IZ6CJWA1/F014MLHIZ6CJWA1.jpg&filename=20170221_154643.jpg)
![20170220_124546.jpg](/proxy/?url=https://content.instructables.com/FL0/0PGU/IZ6CJVOY/FL00PGUIZ6CJVOY.jpg&filename=20170220_124546.jpg)
![20170220_124635.jpg](/proxy/?url=https://content.instructables.com/FV2/Q01Q/IZ6CJVPA/FV2Q01QIZ6CJVPA.jpg&filename=20170220_124635.jpg)
![20170221_114614.jpg](/proxy/?url=https://content.instructables.com/FDY/EFJ4/IZ6CJWBE/FDYEFJ4IZ6CJWBE.jpg&filename=20170221_114614.jpg)
![20170222_175822.jpg](/proxy/?url=https://content.instructables.com/FAB/RJOZ/IZ6CJVUE/FABRJOZIZ6CJVUE.jpg&filename=20170222_175822.jpg)
Get a piece of 5mm rectangular balsa wood and cut it in half like picture 1. Create a channel in each half of the wood, wide enough that the wires will get through if you put both halves together with the wires in between. Remember to make one end of each channel thicker to accomodate the heat shrink. Put the two halves together with the wires in between them, and glue them back together. In the end it should look like picture 3. Make the end towards the led slightly thinner, like a clock hand and sand it all down. Cut a small alcove at one end for the servo arm(trim the servo arm slightly) and glue it on, making sure that the servo arm is in such a position that the led mount will be hidden by the clock arch when it is all put together. Trim the last bit of excess wood off.
Sorting Everything Out.
![20170222_180829.jpg](/proxy/?url=https://content.instructables.com/FGK/LAJK/IZ6CJWB6/FGKLAJKIZ6CJWB6.jpg&filename=20170222_180829.jpg)
![20170223_122510.jpg](/proxy/?url=https://content.instructables.com/FR8/0IHX/IZ6DDTIA/FR80IHXIZ6DDTIA.jpg&filename=20170223_122510.jpg)
![20170224_140908_HDR.jpg](/proxy/?url=https://content.instructables.com/FAH/UIH7/IZ6CNMQU/FAHUIH7IZ6CNMQU.jpg&filename=20170224_140908_HDR.jpg)
Cut a small hole where the screw should go on the servo mount and thread the clock hand wires through it. Solder a low resistance resistor(it doesn't matter which level of resistance) to the black wire on the led. You can paint the clock if you want. Number the small marks you made earlier from one to twelve. There will be one too many. number the thirteenth number 1 and number them from one to twelve the opposite way as well. Attach the servo to pin 11, and the led to pin 13. Upload the code below, set the clock hand to one, and in one hour it should have moved from one to two. At 13:00 your time, set the clock hand at one(on the left) and it should start keeping time. you are done! if you liked this instructable then look at some of my others(if you want).