Based around a Arduino Duemilanove this is a really quick and simple build. Taking reading from a digital compass the Arduino controls a servo to position a clock hand.
Remove these ads by
Signing UpStep 1: The parts.
For the Electrics;
Box/Case
Small servo
Arduino Duemilanove
HMC6352 Compass Module http://www.sparkfun.com/products/7915
Mini breadboard
Female-female hookup wire
Male Headers
9V battery and connectors
For the StreamPunk;
4 clock cogs
1 hour hand
4 screws
Glue




































Visit Our Store »
Go Pro Today »




The digital compass module outputs to the nearest degree. The way the cogs are set up a 360% turn on the needle is produced by a 65% turn from the servo. So the smallest resolution of the final output is 360/65, so it can be accurate to 5.5 degrees. Seeing as the servo can do 180 degrees then with a better selection of cogs an accuracy of 2 degrees is possible.
The second reason is due to my poor positioning of the cogs mentioned in the final step. The screws they rotate around are not a snug fit so the cogs can move a little. Also, the cogs are not quite as close together as they should have been. The accumulative effect of this is that without the servo cog moving at all the needle can move about 10 degrees.
Your explanation is less then accurate.
A servo is driven by PWM , the arduino do 255 steps of PWM.
Your theoretical input accuracy would be 255 / FULL_servo_range / used range.
You stated that this servo would do 180 deg ..
that's 255/ 180 / 33 ( 65deg is about 1/3rd of 180 ) or about .5 deg.
with a perfect magnetometer / perfect gears and perfect code , you could get .5 deg resolution.
Pro: gears work, eye catcher, and good looking wood
Con: little large, no north, south symbols
Anyway, awesome job, very cool. :D
most servos can not do 360 degrees rotation. The one I had did 180 max, so in my case the cogs were essential in gearing up to get a full 360 degrees required for a compass.
Cheers. Check this out; http://www.instructables.com/id/Steampunk-Geocaching/
Love the idea of programming the end location via dials though.
A bit more versatility would be nice though - I am sure I remember my granddad, saying the name of an item into a large brass funnel thing, and that sending some kind of message through the aether to a little device that looked like a rather nice time piece. That would point out the direction of the device, until you became very close, at which point it would start spinning round.
Nice instructable by the way r10n!
Rated and featured.