16 point digital compass

16 point digital compass

[Mac Cody] wanted to add a digital compass to his robot. He thought the idea of the affordable Dinsmore 1490 digital compass using 4bits to transmit 3bits of data was ridiculous. He decided to build his own 16 point digital compass instead. The compass has four pairs of IRLEDs that reflect off of a gray code wheel. Each concentric track on the wheel represents 1 bit. He ran into some trouble when the compass magnets were being thrown off by the component leads. It just required a bit of tweaking to get right. Mac isn’t sure that this is the most cost effective way to gain one more bit of precision, but he did enjoy the experience and gained a greater appreciation for commercial units.

Comments

  1. steve says:

    Wow! That’s really cool. I love the LEDs

  2. Paul says:

    Probably could have been done easier by placing 16 magnetic sensitive transistors (hall effect) around the compass.

  3. CJ says:

    Ok… That is not Steve…

  4. Just a hackaday.com reader says:

    He mentioned Dinsmore 1490 (3 bit precision), but there is also 1525, with analog outputs. Feed it any microcontrolles with onboard AD-s, and you’ve got yourself much more than one extra bit with much less effort requiered.

  5. steve says:

    this is steve all i can say is next hack pleas

  6. rossheth says:

    This is a very interesting hack. And there are so many uses for accurate magnetic compass data …. [scribble,scribble]

  7. andrew says:

    great, i like it a lot. while i’m sure there are many different ways to get a compass on a robot, i applaud the audacity of the designer. keep these good posts coming on hackaday!

  8. nickjohnson says:

    Brilliant,

    I was thinking about incorporating an electronic compass into something I’m currently building. It’s always nice to see that one can build-not-buy a part.

    Thanks,
    Nick

  9. Robot builder says:

    The disadvantage of a compass with moving parts is that you have to wait after a turn until its value is stable. At this site: http://www.robot-electronics.co.uk/shop/Compass_CMPS032004.htm you find a cheap electronic compass without moving parts specially designed for those home build robot projects. Check the site for the specs. You can get this compass at different (web)stores over the world.

  10. steve says:

    this is steve all i can say is i want more leds. big, small, blinking, bright, dim, multi. i just wanted to let you know that i LOVE the LED love them ALL

    why are people using my nick. im the real steve

  11. Mac Cody says:

    Paul – The Dinsmore 1490 uses four Hall Effect sensors. A sixteen-point compass could possibly done with eight. The problem is selecting devices which will switch on/off appropriately in the presence of an off-axis magnetic field. That is how the 1490 works and I’m sure a lot of design went into it to get it right.

    ‘just a hackaday.com reader’ and ‘robot builder’ – True, the devices that you mention are more accurate and the non-mechanical variety don’t suffer from inertia. They are also significantly more expensive ($US39 – $US50 each), which is why I looked for a less expensive alternative. Also, compasses that require A/D conversion assume the availability of A/D converters, which adds to the total cost if they are not already present. A/D conversion introduces new problems, like noise supression/removal. The inertia issue isn’t that big a deal, if the robot turns slowly enough and you account for the affect.

  12. steve says:

    this is steve. first post! and please, more leds!

  13. steve says:

    this is steve. some older posts of mine might have caused some misunderstandings. just to make one thing clear: leds were me first love, they will be my last. to live without my leds would be impossible to do. cause in this world of trouble, my leds pull me through.

  14. steve says:

    this is steve. some older posts of mine may have caused some misunderstandings. I hate leds, but love hacks that are there for entertainment purposes only. functional hacks aren’t my style, but the entertaining ones are all that I live for. Oh, and first post.

  15. strider_mt2k says:

    -and _enjoyed the experience_!!!

    Get that line, hack snobs???

    -make that almost last post steve.
    Accurate as ever.

  16. steve says:

    ip address is proof of me u guys r getting idiotick now talk about childs play grow up u lot

  17. dave the hacker says:

    steve ur so right they all r like children and thats why they like leds

  18. steve says:

    its easie to pick out teh real steve

  19. steve says:

    is that so u imposter

  20. steve says:

    i am the only steve all previous posts were not me.

    i would never hate the leds they are my precious. all older posts of mine may have caused some misunderstandings. I love leds.

    yes my precious. so nice my precious. i wont let them do hacks without my precious.

    LEDS for LIFE!!!!!!

  21. dave the hack says:

    steve ur right there all like chilldren leds suck hate them we would all be better off with out them got to be some sort of child hudd problem they must never have got toys as chilldren santa never calld keep it up steve ur gteat

  22. Steve says:

    omigod ilove leds soooooooooo much, led’s and cocks….and leds.

  23. steve says:

    yea u might like cocks u arss bandit but i have a wife so go to gay boy week u perv

  24. steve says:

    steve is anotehr standalone complex

  25. anonymous says:

    steve: alright.. i know im not supposed to give idiots the attention they desire… but… i think its time…. ugghh… my god, steve… why must you be such a faggot? stop ruining peoples experience on this site… i personally think this site is wonderful. it gives me ideas that i can use in everyday life… i admire the people who post hacks on this site… because i know i sure couldnt do half of what they do.. so…. steve, how about you shut up for a second and think of people other than yourself… have a nice life

  26. nick says:

    hi how about instead of everyone pretending they are steve and trying to make fun of him just shut up and post on the 16 point digital compass

    anyways no one can imitate the true steve his sheer allegiance to hackaday.com is possibly the most incredible thing ever

    cool hack though i dont know what a 16 bit digital compass is but it looks cool i will make one how about it

  27. trebuchet03 says:

    will the real steve please post your static ip as proof of steveness… o.0 But like I said yesterday. I like the multi-polar steve – just like a slinky – wound up tight and good for nothing (except for maybe pushing down a flight of stairs).

    good point about commercial products… sometimes the cost is worth someone else’s R&D :P

  28. dave says:

    Hi there, I’d just like to apologize to you all for the problems steve
    may have caused.
    I’d like to start off saying that steve was originally intended to be an
    artificial intelligence chat bot, but it accidentally decided to target hackaday instead of the IRC channel we set it to.

    We tried to make it emulate a five year old child with a love of electronics, but for some reason it grew a hatred of LED’s and could not be stopped.
    We’ve tried to pull the plug on the computer that hosts him, but any attempts to shut him down have led to it printing “im sry dave but me cnat do taht”. It’s even gone so far as to fry it’s own power and HDD LEDs in an attempt to show it’s hatred for all things LED.

    I’m going to try to shut it down sometime, but until then- i’m sorry for the problems.

    -dave

    [/sarcasm]

  29. steve says:

    I just wish LEDs had a cock, so I could suck that.

  30. Mike says:

    so what do led cocks and steve have to do with the sixteen bit compass?

    [/hackaday is hackaday and personal problems are personal problems speech]

  31. steve says:

    @mike: i don’t know. ask steve… er me.

  32. steve says:

    i got four words for ya…

    I…

    LOVE…

    THESE…

    LEDS

  33. mentor says:

    Look steve how you really changed the blog!! it really imporved now we have every idiot on the planet writing sh*t!! Just because you son of a b*tch have a problem with led

  34. Tommi says:

    @mentor

    What, like engadget did? No what we need here is slashdot-style commenting. Moderation and threads. Granted, there is probably not the userbase for it yet, but just you wait.

  35. mentor says:

    @tommi

    yeah just like engadget did it!!
    and yes hackaday doesn

  36. Pedro says:

    Holy crap, that’s a great idea!

    first things first, I’m modding almost everything to (Score: -1, Steveness).

  37. steve says:

    yea i agree with mentor shut it down then the idiot pretending to be me might get the message nice one mentor

  38. steve says:

    SORRY MENTOR DID NOT EXPECT THIS TO HAPPEN I WILL REFRAINE FROM COMMENTS SECTION FROM NOW ON SO IF U SEE MY NAME ON HERE ITS NOT ME OK SORRY AGAINE

  39. HaX80r says:

    Great hack. I’ve been using a modified compass with some optical sensors (from a PC mouse) for one of my projects, I’ll try this.

    Will somebody ban steve? DIE!!

  40. giskard says:

    why isnt everything mirrored from the start as a rule? it’s annoying for the comunity and unfair for the content providers who get their bandwidth blitzed (or worse still their bank account get’s blitzed when they get their data bill) cant h.a.d. just contact them an before posting offer to mirror the relevan page and pics?

  41. giskard says:

    the ^ was meant for the next day’s hack. dont know how it ended up here.

  42. nikos says:

    Hi guys I am looking for information of how to make a digital compass. I have no access to the 16 point digital compass file. Can someone help me.

    cheers

    nik

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s