Having built a few puzzle box games recently, and having some components left over I thought I would build a functional Steampunk Compass.
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.

Step 1: The parts.

Here is a complete list of the required parts;

For the Electrics;

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
But they had compasses in the steam era?
My thoughts exactly - kinda misses the point of steampunk. Now, if it had been a steampunk GPS, then you're talking!
gps you say? http://www.instructables.com/id/Steampunk-Geocaching/
Yes, the use of compasses goes back hundreds of years.
Now, I'm trying to make DIY gears at home
cool. I did the same.working nice and fine to watch.
Great idea ! But won't the metal cogs and nails alter the compass's heading?
If you attach the servo to the center one with the arrow thing it will be more accurate. The other gears would still turn but solely for looks
cool idea. on the gears, I would mount a circular glass. with a brass ring. flat screws, look better. trust me.
How did you go about the programing the Arduino? did you start with a sample code?
is it as accurate a regular compass?
Unfortunatly not. There are two reasons for this, both relating to the cogs.<br>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.<br>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.
Yea .. while the overall accuracy may only be 10deg. <br><br>Your explanation is less then accurate. <br><br>A servo is driven by PWM , the arduino do 255 steps of PWM.<br><br>Your theoretical input accuracy would be 255 / FULL_servo_range / used range. <br><br>You stated that this servo would do 180 deg .. <br><br>that's 255/ 180 / 33 ( 65deg is about 1/3rd of 180 ) or about .5 deg.<br><br>with a perfect magnetometer / perfect gears and perfect code , you could get .5 deg resolution. <br>
Thanks for that. I hadnt considered controlling the servo to a finer acuracy than one degree. Using the writeMicroseconds function in the servo library directly should allow for better accuracy.
What this needs, is NSEW indicators carved in and stained ornately, and a window in a corner or something with a minecraft like time of day indicator. No numbers, just a rotating picture that progresses through day, sunset, night, sunrise. That'd be cool, you'd have to find an easy way to set the date when the batteries die though. Also, I'd add a hinged cover, more gears, maybe some rotating old looking time indicators to make it less naked looking. Just some thoughts, Cheers!
HMMM wonderful!<br><br>Pro: gears work, eye catcher, and good looking wood<br>Con: little large, no north, south symbols
a u$2 8-pin PIC can do this
=////=======&gt; ~ ******* wOw to the power of 7..!
I'm thinking it might have been better/easier to have the servo on nte center cob together with the arrow, and having the other cogs for show..<br><br>Anyway, awesome job, very cool. :D
Thanks,<br>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.
Ah, that makes sense. :)
Arduino taking over the world!!!
Is that skype that I hear in the video demonstration?
Love it... thanks for posting... now version II, add a wee <a href="http://mobilitytoday.com/news/005973/GPS">gps module</a> (and maybe some dials to set where you want to go) then you could have your box direct you home... thanks again... Nice job!
<br> Cheers. Check this out; <a href="http://www.instructables.com/id/Steampunk-Geocaching/">http://www.instructables.com/id/Steampunk-Geocaching/</a><br> Love the idea of programming the end location via dials though.<br>
Very nice... I like the key rings your can get where you push a button to set the location and then an arrow will point to that location... I'm sure you could set the location with some simple dials... your steampunk GPS device is very cool!
This reminds me of the Magnetic Direction Divining Device my great great great great grand uncle Wilhelm VanStrap invented to find his toothbrush on saturdays.
Haha, that's a nice idea, I always get stuck on Saturdays...<br>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. <br><br>Nice instructable by the way r10n!
Sweet! And a lovely little box to put it in, as well. I wonder how compact someone could make the electronics? I'm picturing the same device, but this time <i>inside</i> a wooden box (with a false bottom) small enough to fit into a large pocket. Something the size of a paperback book, or so.<br><br>Rated and featured.

About This Instructable


123 favorites


More by r10n: Steampunk Geocaching Steampunk Compass
Add instructable to: