Hanging Gear Clock
Hanging Gear Clock
Hanging Gear Clock
By tdonocliftFollowMore by
the author:
About: Research is what I'm doing when I don't know what I'm doing. More About tdonoclift
»
Walnut - I used walnut for the larger gear and the front
insert used to cover the motors. The only piece I could find
was a 45 x 45 mm spindle blank which I sliced up and
made into a board measuring 180 x 220 x 13 mm. If you
can find a board close to these dimensions, you'll save
yourself a task :)
Wires - You can get away with using jumper wires but if
you have some soldering skill, this would be better.
Add TipAsk QuestionCommentDownload
Step 2: Cutting the Parts
2 More Images
The Body -
The first part I cut was the body. This was cut from 29mm
thick lime wood using a 6 mm 4 flute straight cut tool. Using
the svg file I have provided below, I used makercam.com to
generate the g-code for free. The body consists of a number
of pockets which house the stepper motors and provide a
channel for the wires. As the wires for the top stepper have to
go behind the lower stepper, there is an extra deep section of
channel to allow this. The diagram above shows the depths of
each area.
The Gears -
The Base -
This was also made from 29 mm thick lime wood using the 6
mm straight cutter. I made a box by pocketing out most of the
material, leaving a lip and corners for screws. This allows me
to attach the access panel later. You could also make a base
box by any method you like, just be sure it has a hole to allow
you to connect the body.
Access Panel -
Body.svg
Download
Gears.svg
Download
Insert.svg
Download
Base.svg
Download
Next, make sure the steppers fit into the body, be sure to feed
the wires of the top stepper behind the lower stepper as shown
in the photo.
After checking the fit, it's a good idea to remove the steppers
and then sand the front of the body now. Once the steppers
are fixed in place, sanding will be tricky. The walnut insert
needs to be sanded flush with the body, now is the time to
make sure it sits flush and looks neat.
Add TipAsk QuestionCommentDownload
Step 4: Electronics and Code
The photo above shows the testing of the circuit, but a clearer
description is shown in the diagram.
This is the code that runs the clock, for testing purposes you
may want to change some of the numbers to see more
noticeable changes, otherwise you'll be looking for small
movements every 20 seconds or so :)
I'll talk more about how the code works later in this instructable.
Attachments
gearclock2.ino
Download
Now we can be sure our steppers are not duds, it's time to fix
them into position.
I used a standard grip clamp to press the small gears onto the
stepper shaft. Take note of the walnut insert in place between
the gear and stepper. The gear is a tight fit and once it is
pressed on, you will have a hard time getting it off again, so
make sure the walnut insert is already in place.
Now we can fit the steppers and walnut insert into the main
body and glue the insert in place. You can glue the steppers if
you like but don't use too much glue as there is already limited
space inside the body. I found they remained in position without
the need for glue.
Next, feed the stepper wires through the base hole and glue the
body to the base.
If the body is leaning forward, the gears will slowly work their
way off the driver gears and fall off the clock. Make sure the
body is upright or even leaning slightly back.
Add TipAsk QuestionCommentDownload
Step 6: Finishing Touches
I gave the dial gears some paint to make the numbers stand
out. Just ordinary acrylic paint works well, and you don't even
have to be particularly neat either. Once the paint is dry, sand
off any paint that didn't make it into the carved numbers and
you'll be left with some neat looking numbers.
The code keeps time by splitting an hour into 128 units, then
advancing each stepper by an appropriate number of steps,
after accounting for the time that motion takes, the code then
delays the rest of the 1/128 hour period. If that wasn't
complicated enough... Here comes the maths...
The inner gear (minutes gear) has 28 teeth and the outer
gear (hour gear) has 52 teeth. Each of the driver gears have
8 teeth, giving gear ratios of 3.5 and 6.5 respectively. This
means the inner driver must turn 3.5 times each hour and the
outer gear must turn 6.5 times every 12 hours.
Thank you