Shop OBEX P1 Docs P2 Docs Learn Events
Compas Heading — Parallax Forums

Compas Heading

ArchiverArchiver Posts: 46,084
edited 2002-12-02 18:45 in General Discussion
Hi All,

I have checked the Parallax compas app mod for compas, but it only
provides accuracy ti 45 degrees, and I need accuracy to one degree.

I took a look at the Dinsmore Insttruments website and saw that they
do have analogue devices for measuring heading. Has anybody got any
information that may help me with interfacing these to the BS2?

Regards,

Dwain.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-12-02 15:41
    A relatively simple way is to use a serial ADC as the LTC1298.
    A serial, 12bit analog digital converter. It is able to convert
    voltages from 0 to 5V (I presume the compas provides an analog
    voltage signal).
    See the PARALLAX home page for the 1298 (Accessory Docs).
    Adrian
  • ArchiverArchiver Posts: 46,084
    edited 2002-12-02 18:45
    I have not done this myself, but was interested in doing it. After a number
    of hours of search, I found some example code that was written to read the
    Dinsmore and generate a binary output corresponding to heading. I don't
    have the links, but with no more that a couple hours on Google, you should
    be able to find it.

    As you probably noticed, getting the heading is a function of two variable
    signals that look somewhat like sine waves that are 90 degrees out of phase.


    I think that Phillips also makes one or two flux gate type chips and there
    may be some example code for those chips that will help you get started.

    If you want a simple interface I remember a complete compass module for
    about $90 that claims to provide 1 degree accuracy. I found it on one of the
    robotics sites.

    Original Message
    From: dwainsworld2000 [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=P26wNvgWAfJS0RGy4a_rUwkQH7dnm2YA9MJhQeo1nFleL5o34hHbYgTtEdF3elgGEc9VTHxhVL3SrOqEBXir1A]asdfghjk@b...[/url
    Sent: Sunday, December 01, 2002 3:49 AM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Compas Heading


    Hi All,

    I have checked the Parallax compas app mod for compas, but it only
    provides accuracy ti 45 degrees, and I need accuracy to one degree.

    I took a look at the Dinsmore Insttruments website and saw that they
    do have analogue devices for measuring heading. Has anybody got any
    information that may help me with interfacing these to the BS2?

    Regards,

    Dwain.


    To UNSUBSCRIBE, just send mail to:
    basicstamps-unsubscribe@yahoogroups.com
    from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.


    Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



    This e-mail message may contain legally privileged and/or confidential
    information. If you are not the intended recipient(s), or the employee
    or agent responsible for delivery of this message to the intended
    recipient(s), you are hereby notified that any dissemination,
    distribution or copying of this e-mail message is strictly prohibited.
    If you have received this message in error, please immediately notify
    the sender and delete this e-mail message from your computer.




    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.