"Gear" Clock
![IMG_3270.JPG](/proxy/?url=https://content.instructables.com/FFW/L7YR/LGUUN07I/FFWL7YRLGUUN07I.jpg&filename=IMG_3270.JPG)
![IMG_3271.JPG](/proxy/?url=https://content.instructables.com/FYD/Y4ZV/LGUUN07J/FYDY4ZVLGUUN07J.jpg&filename=IMG_3271.JPG)
![IMG_3273.JPG](/proxy/?url=https://content.instructables.com/FRM/YZFR/LGUUN07K/FRMYZFRLGUUN07K.jpg&filename=IMG_3273.JPG)
This is an unfinished assignment I had to do for my Engineering class. Essentially, this is an analog clock that tells time using servos connected to an Arduino and powered by batteries (the gears are mostly for show). I couldn't decide whether to add the files or not but my laziness is getting the better of me. This project is largely unfinished so feel free to do what you will. (I will not be going back to add more things).
Supplies
![ArduinoUNO.jpg](/proxy/?url=https://content.instructables.com/F9M/73PF/LH4UQJVG/F9M73PFLH4UQJVG.jpg&filename=ArduinoUNO.jpg)
![MiniServo.jpg](/proxy/?url=https://content.instructables.com/F69/NMFH/LH4UQJWS/F69NMFHLH4UQJWS.jpg&filename=MiniServo.jpg)
![Hw-084a.jpeg](/proxy/?url=https://content.instructables.com/FE7/H7KI/LH4UQJXB/FE7H7KILH4UQJXB.jpg&filename=Hw-084a.jpeg)
![JumperWires.jpg](/proxy/?url=https://content.instructables.com/F12/XJHL/LH4UQJY4/F12XJHLLH4UQJY4.jpg&filename=JumperWires.jpg)
1 Arduino UNO
2 servos
1 DS3231 RTC chip (Hw-084a)
Lots of jumper wires
Some kind of adhesive (I used superglue & hot glue)
Design the Case
![Screenshot (186).png](/proxy/?url=https://content.instructables.com/F6R/O1L5/LH4UQJJV/F6RO1L5LH4UQJJV.png&filename=Screenshot (186).png)
![Screenshot (187).png](/proxy/?url=https://content.instructables.com/FA0/RB8A/LH4UQJJW/FA0RB8ALH4UQJJW.png&filename=Screenshot (187).png)
![Screenshot (188).png](/proxy/?url=https://content.instructables.com/FK2/GXEF/LH4UQJJX/FK2GXEFLH4UQJJX.png&filename=Screenshot (188).png)
![Screenshot (189).png](/proxy/?url=https://content.instructables.com/FO5/JT8Z/LH4UQJJY/FO5JT8ZLH4UQJJY.png&filename=Screenshot (189).png)
I designed everything in Tinkercad because it's super easy and I don't like SolidWorks. (The case might not be big enough for your 3D printer) You can change the case however you want, I really don't care. There has to be holes for the gears and rectangular holes for the servos to go through but not fully. To elaborate, the hole is small enough for just the top of the servo to go through.
Design Gears
![Screenshot (191).png](/proxy/?url=https://content.instructables.com/FHR/V5CU/LH4UQKLT/FHRV5CULH4UQKLT.png&filename=Screenshot (191).png)
![Screenshot (192).png](/proxy/?url=https://content.instructables.com/FHC/62FF/LH4UQKLU/FHC62FFLH4UQKLU.png&filename=Screenshot (192).png)
![Screenshot (193).png](/proxy/?url=https://content.instructables.com/F1W/CSZN/LH4UQKLV/F1WCSZNLH4UQKLV.png&filename=Screenshot (193).png)
![Screenshot (194).png](/proxy/?url=https://content.instructables.com/F5N/F5RB/LH4UQKLW/F5NF5RBLH4UQKLW.png&filename=Screenshot (194).png)
![Screenshot (195).png](/proxy/?url=https://content.instructables.com/F97/9IDQ/LH4UQKLX/F979IDQLH4UQKLX.png&filename=Screenshot (195).png)
![Screenshot (196).png](/proxy/?url=https://content.instructables.com/FKT/YN7D/LH4UQKLY/FKTYN7DLH4UQKLY.png&filename=Screenshot (196).png)
![Screenshot (197).png](/proxy/?url=https://content.instructables.com/FGO/8AIH/LH4UQKLZ/FGO8AIHLH4UQKLZ.png&filename=Screenshot (197).png)
![Screenshot (198).png](/proxy/?url=https://content.instructables.com/FBY/650G/LH4UQKM0/FBY650GLH4UQKM0.png&filename=Screenshot (198).png)
The gears vary in size and there's no way Two of the gears (The last two images) have to have notches at the top and bottom, one for the clock hands and another for the tip of the servos.
Design Clock Hands
![Screenshot (190).png](/proxy/?url=https://content.instructables.com/FUZ/3UJY/LH4UQJPZ/FUZ3UJYLH4UQJPZ.png&filename=Screenshot (190).png)
Make sure the clock hands fit into the gears, or not.
Wiring
![Screenshot (200).png](/proxy/?url=https://content.instructables.com/F5Y/Y3FF/LH4UQMIR/F5YY3FFLH4UQMIR.png&filename=Screenshot (200).png)
![Screenshot (202).png](/proxy/?url=https://content.instructables.com/F2B/7TC8/LH4UQN2M/F2B7TC8LH4UQN2M.png&filename=Screenshot (202).png)
![Screenshot (201).png](/proxy/?url=https://content.instructables.com/FCC/XC4T/LH4UQN1S/FCCXC4TLH4UQN1S.png&filename=Screenshot (201).png)
![IMG_3273.JPG](/proxy/?url=https://content.instructables.com/FO9/ZA1A/LH4UQMIT/FO9ZA1ALH4UQMIT.jpg&filename=IMG_3273.JPG)
![IMG_3271.JPG](/proxy/?url=https://content.instructables.com/FOZ/QRWV/LH4UQMIU/FOZQRWVLH4UQMIU.jpg&filename=IMG_3271.JPG)
There's no way I'm going to put everything into text so just have these images. (Ignore the red RTC chip in the first image)
Coding
![Screenshot (203).png](/proxy/?url=https://content.instructables.com/FRR/RWOO/LH4UQPKJ/FRRRWOOLH4UQPKJ.png&filename=Screenshot (203).png)
The whole code is in the attached pdf but I don't think the spaces and indents come out right if you copy and paste.
The words in the <> brackets are different libraries that you must have in order for the code to work, they can be found in the actual Arduino application when coding under tools in Manage Libraries.
#include <Servo.h>
#include <Wire.h>
#include <TimeLib.h>
#include <DS1307RTC.h>
Downloads
The End
![IMG_1994.JPG](/proxy/?url=https://content.instructables.com/FC9/H0I2/LH4UQPWZ/FC9H0I2LH4UQPWZ.jpg&filename=IMG_1994.JPG)
Congratulations. You've made it to the end. Goodbye.