I made a very simple 3D printed clock driven with an Arduino board and a stepper motor.
I had two ideas in mind with this clock:
- Make a real simple clock, no other hardware needed (other than the electronics).
- Show how IT can interact and improve mechanical devices.
The motor I got from Adafruit: https://www.adafruit.com/product/858, has 32 steps and a reduction ratio of 1/16.032.
At first, it does not look like a good choice for a clock, however with a little bit of programming, it work just fine.
The combination of steps and ratio gives 513.034 steps per revolution.
Divided by 60, that is 8.551 steps for a one second motion.
A stepper motor can only move an integer number of steps, so the program will start with 8, steps, and keep track of the remainder, and switch between 8 and 9 steps as needed.
The human eye will not see the difference, and only see 60 motions per revolution.
The interval can be set at 1000 millis (1 second) for set up and testing, then set at 60000 to run with minutes and hours.
The clock is only as precise as the Arduino is, depending on the board I saw clocks running within a couple minutes a week, and some loosing or gaining as much as half an hour within a week.
Here are the links to the program:
For the Adafruit 1/16.032 geared motor:
for 1/64 geared motor:
I you have questions, comments or need help, please leave a comment, I will be happy to help
Happy Printing and Making!
Now, if you would like to try a fancier clock, go here: