Shop OBEX P1 Docs P2 Docs Learn Events
lat/long calculations GPS — Parallax Forums

lat/long calculations GPS

ArchiverArchiver Posts: 46,084
edited 2003-10-20 00:25 in General Discussion
Where in the World is My BASIC Stamp? Nuts n Volts Stamp Column #83

http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_
V3.asp



>Does a basic stamp have the math capability to calculate
>distance/heading based on gps coordinates? I was thinking about
>making an autopilot for my model boat.



3oo b -- 52 albert street winnipeg mb r3b 1e8

p 204.942.7510 f 204.942.1555 e kgregory@g...

w www.cheapmeat.net

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2003-09-11 21:02
    And I am working on another GPS project for my column -- a project that
    helped me drive from my home in Dallas to my brother's house in
    Columbus, Ohio without ever missing a turn. It also uses a feature
    found in Garmin GPS units that provides the data at 9600 baud (twice the
    speed on NMEA 0183) and fixed-format data that is easier to parse.

    Look for it in the November issue of Nuts & Volts.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office


    Original Message
    From: kgregory@g... [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=S9vgWZQ7eFCpGbxkU778PI4_A19O0DJvgX13F590BOIGay6pSGe8RRpiBWG0D1IBEsgH0r85a7IBJ1jY]kgregory@g...[/url
    Sent: Thursday, September 11, 2003 2:09 PM
    To: basicstamps@yahoogroups.com
    Subject: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS


    Where in the World is My BASIC Stamp? Nuts n Volts Stamp Column #83

    http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downlo
    ads_
    V3.asp



    >Does a basic stamp have the math capability to calculate
    >distance/heading based on gps coordinates? I was thinking about making

    >an autopilot for my model boat.



    3oo b -- 52 albert street winnipeg mb r3b 1e8

    p 204.942.7510 f 204.942.1555 e kgregory@g...

    w www.cheapmeat.net




    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 message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-11 23:53
    Jon -
    How about a sequel where it self-guides the car on autopilot while you
    sleep in the back seat? [noparse]:)[/noparse]
    Dennis O'Leary
    Pasadena CA

    Original Message
    From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=IE_uPV6XT15MB3EztVMK5h7ERhCBhGhk7gpy56bktjTRDqNI8ylZpbk5JCaYbrBt1NFNQeXbn7vksxXR_RS-]jwilliams@p...[/url
    Sent: Thursday, September 11, 2003 1:03 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS


    And I am working on another GPS project for my column -- a project that
    helped me drive from my home in Dallas to my brother's house in
    Columbus, Ohio without ever missing a turn. It also uses a feature
    found in Garmin GPS units that provides the data at 9600 baud (twice the
    speed on NMEA 0183) and fixed-format data that is easier to parse.

    Look for it in the November issue of Nuts & Volts.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-12 02:22
    That would have been nice for day one of my drive -- I ended up driving
    950 miles after having slept only three hours the night before. After
    nearly nodding off in the middle of Arkansas I put in a Kidd Rock CD and
    turned it up LOUD.... Had no problems staying alert after that.

    The project is, essentially, a non-contact speedo and secondary (trip)
    odometer. The challenge was taking the NS and EW data spit out at
    meters per second and converting it to an mph vector to get actual speed
    and direction of travel. The project is a good demo of the newly
    documented HYP and ATN functions in the Stamp.

    -- Jon


    Original Message
    From: Dennis O'Leary [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=eaWbPSPqRDe2tZKGdLdSO3zgnS6H3BaIsUfu-TICDggqRxVxL5tFRL9t-sLUYOmXKq3s1WJYoRc1FfXA]doleary@e...[/url
    Sent: Thursday, September 11, 2003 5:53 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS


    Jon -
    How about a sequel where it self-guides the car on autopilot while you
    sleep in the back seat? [noparse]:)[/noparse] Dennis O'Leary Pasadena CA

    Original Message
    From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=s-wBTC3yrXobxXZhobW5FcC0MWiHnQDyKZANwbj3w57D8ZWQX7eUoQa_cqZnF6bWoOVx3bl03tdsBspDaWerPg]jwilliams@p...[/url
    Sent: Thursday, September 11, 2003 1:03 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS


    And I am working on another GPS project for my column -- a project that
    helped me drive from my home in Dallas to my brother's house in
    Columbus, Ohio without ever missing a turn. It also uses a feature
    found in Garmin GPS units that provides the data at 9600 baud (twice the
    speed on NMEA 0183) and fixed-format data that is easier to parse.

    Look for it in the November issue of Nuts & Volts.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office




    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 message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-12 21:07
    Ahhh!

    I was skimming the list just now after a *very* late night server move
    last night. And after reading this one, I got a mental picture of a
    sleepy-looking Jon Williams, driving 950mph, wearing a Speedo, trippin'
    through Arkansas in his car head-banging to Bawitdaba....

    "Bawitdaba da bang a dang diggy diggy diggy said the boogy said up jump
    the boogy" ---Zzooooooommm---

    Man, I gotta get more coffee before I read the posts on this group... [noparse]:D[/noparse]

    --
    Vern Graner CNE/CNA/SSE | "If the network is down, then you're
    Senior Systems Engineer | obviously incompetent so why are we
    Texas Information Services | paying you? Of course, if the network
    vern@t... www.txis.com | is up, then we obviously don't need
    Cell 507-7851 Desk 328-8947 | you, so why are we paying you?" VLG



    Jon Williams said:
    > That would have been nice for day one of my drive -- I ended up driving
    > 950 miles after having slept only three hours the night before. After
    > nearly nodding off in the middle of Arkansas I put in a Kidd Rock CD and
    > turned it up LOUD.... Had no problems staying alert after that.
    >
    > The project is, essentially, a non-contact speedo and secondary (trip)
    > odometer. The challenge was taking the NS and EW data spit out at
    > meters per second and converting it to an mph vector to get actual speed
    > and direction of travel. The project is a good demo of the newly
    > documented HYP and ATN functions in the Stamp.
    >
    > -- Jon
    >
    >
    >
    Original Message
    > From: Dennis O'Leary [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=qgtHyPFtZxeob4PpQy7uIfeJRBmN3wuec_fnQiv6bHwSa3SqOQroTKTRwlbks-6-8aDUzUY6S_z8_bp6MdLwqg]doleary@e...[/url
    > Sent: Thursday, September 11, 2003 5:53 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS
    >
    >
    > Jon -
    > How about a sequel where it self-guides the car on autopilot while you
    > sleep in the back seat? [noparse]:)[/noparse] Dennis O'Leary Pasadena CA
    >
    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=vCJTi8jSrcBKe1lQao4QG58yXu9fEPoRHhvzQUJ_SNE8LBSYQBQ1upZiMA0H_Fm-xsdXefFo4SvcYDyiLrm9KfM]jwilliams@p...[/url
    > Sent: Thursday, September 11, 2003 1:03 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS
    >
    >
    > And I am working on another GPS project for my column -- a project that
    > helped me drive from my home in Dallas to my brother's house in
    > Columbus, Ohio without ever missing a turn. It also uses a feature
    > found in Garmin GPS units that provides the data at 9600 baud (twice the
    > speed on NMEA 0183) and fixed-format data that is easier to parse.
    >
    > Look for it in the November issue of Nuts & Volts.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    >
    > 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 message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    > 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/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-12 22:19
    Well ... the fastest I have ever driven a car is about 120 mph and that
    was a race car (Formula Ford) on a race track. I did, however drive 950
    miles on the first day of my vacation; average speed about 70 mph.

    I have wide tastes in music. While a big fan of classic rock (Stones,
    Zeppelin, Aerosmith), I do like a few new things, in particular, No
    Doubt and Counting Crows. But ... during that sleepy stage of my drive
    I needed something that the Starbucks just wasn't doing for me, hence
    the Kidd Rock.

    The best part about enjoying Kidd Rock is that it breaks my acting
    stereo type (nice guy, daddy-next-door -- see for yourself at
    http://members.aol.com/jonmcp). Keep your fingers crossed, gang,
    because if things go my way you will see me in a major role in a feature
    movie as I guy who sells educational electronics kits -- and Parallax is
    his biggest line!

    Okay, back to the office. For those of you that are fans of the NX-1000
    board ... we have another version coming. This one has a 40-pin socket
    and a small selection of I2C parts on the board. It won't displace our
    current NX-1000, it will be an addition to the line.

    -- Jon Williams
    -- Applications Engineer, Parallax
    -- Dallas Office

    PS: I wouldn't be caught dead in a Speedo! I don't mind a bit of
    head-banging though.


    Original Message
    From: Vernon Graner [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=gqRQx367Kk3cUWi7LJ752bkQtbt8jK7SyKJr6a33w5bO-YAan8zLWkTxxPW3Ano7i8lr8A]vern@t...[/url
    Sent: Friday, September 12, 2003 3:08 PM
    To: basicstamps@yahoogroups.com
    Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS


    Ahhh!

    I was skimming the list just now after a *very* late night server move
    last night. And after reading this one, I got a mental picture of a
    sleepy-looking Jon Williams, driving 950mph, wearing a Speedo, trippin'
    through Arkansas in his car head-banging to Bawitdaba....

    "Bawitdaba da bang a dang diggy diggy diggy said the boogy said up jump
    the boogy" ---Zzooooooommm---

    Man, I gotta get more coffee before I read the posts on this group... [noparse]:D[/noparse]

    --
    Vern Graner CNE/CNA/SSE | "If the network is down, then you're
    Senior Systems Engineer | obviously incompetent so why are we
    Texas Information Services | paying you? Of course, if the network
    vern@t... www.txis.com | is up, then we obviously don't need Cell
    507-7851 Desk 328-8947 | you, so why are we paying you?" VLG



    Jon Williams said:
    > That would have been nice for day one of my drive -- I ended up
    > driving 950 miles after having slept only three hours the night
    > before. After nearly nodding off in the middle of Arkansas I put in a

    > Kidd Rock CD and turned it up LOUD.... Had no problems staying alert
    > after that.
    >
    > The project is, essentially, a non-contact speedo and secondary (trip)

    > odometer. The challenge was taking the NS and EW data spit out at
    > meters per second and converting it to an mph vector to get actual
    > speed and direction of travel. The project is a good demo of the
    > newly documented HYP and ATN functions in the Stamp.
    >
    > -- Jon
    >
    >
    >
    Original Message
    > From: Dennis O'Leary [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=6EKePX-PlxYXD_HVP3E1Fnhwg8FQU8XPhjmLpWetE_Aveo4ffCKzlTF4AVc0g7ofAK3aitVcBz7L-KvtzfI]doleary@e...[/url
    > Sent: Thursday, September 11, 2003 5:53 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS
    >
    >
    > Jon -
    > How about a sequel where it self-guides the car on autopilot while you

    > sleep in the back seat? [noparse]:)[/noparse] Dennis O'Leary Pasadena CA
    >
    >
    Original Message
    > From: Jon Williams [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=ou9CUfcVVPS2i0zUTJNDZGN3d3iX9VAUgBoE8kLe67QYhltkUKg7jiPuzu3qPHhC1vx3Nb7J6lJ5RJLs]jwilliams@p...[/url
    > Sent: Thursday, September 11, 2003 1:03 PM
    > To: basicstamps@yahoogroups.com
    > Subject: RE: [noparse][[/noparse]basicstamps] Re: lat/long calculations GPS
    >
    >
    > And I am working on another GPS project for my column -- a project
    > that helped me drive from my home in Dallas to my brother's house in
    > Columbus, Ohio without ever missing a turn. It also uses a feature
    > found in Garmin GPS units that provides the data at 9600 baud (twice
    > the speed on NMEA 0183) and fixed-format data that is easier to parse.
    >
    > Look for it in the November issue of Nuts & Volts.
    >
    > -- Jon Williams
    > -- Applications Engineer, Parallax
    > -- Dallas Office
    >
    >
    >
    >
    > 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 message has been scanned by WebShield. Please report SPAM to
    > abuse@p....
    >
    >
    > 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/
    >
    >
    >


    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 message has been scanned by WebShield. Please report SPAM to
    abuse@p....
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-12 22:56
    I sing TV theme songs to stay awake on the road. Its not so much the
    song as how bad I sing that does the trick.

    I would say if you *averaged* 70, you true speed was more? Did you make
    the heads-up display we talked about before, and if so, was it 2 1/2 or
    3 digits?

    Rick got a cool 1x16 VFD display with power supply and serial interface
    from BG Micro that would work well for automotive applications.

    *******************

    > Well ... the fastest I have ever driven a car is about 120 mph and that
    > was a race car (Formula Ford) on a race track. I did, however drive 950
    > miles on the first day of my vacation; average speed about 70 mph.
    >
    > I have wide tastes in music. While a big fan of classic rock (Stones,
    > Zeppelin, Aerosmith), I do like a few new things, in particular, No
    > Doubt and Counting Crows. But ... during that sleepy stage of my drive
    > I needed something that the Starbucks just wasn't doing for me, hence
    > the Kidd Rock.
    >
    > The best part about enjoying Kidd Rock is that it breaks my acting
    > stereo type (nice guy, daddy-next-door -- see for yourself at
    > http://members.aol.com/jonmcp). Keep your fingers crossed, gang,
    > because if things go my way you will see me in a major role in a feature
    > movie as I guy who sells educational electronics kits -- and Parallax is
    > his biggest line!
    >
    > Okay, back to the office. For those of you that are fans of the NX-1000
    > board ... we have another version coming. This one has a 40-pin socket
    > and a small selection of I2C parts on the board. It won't displace our
    > current NX-1000, it will be an addition to the line.
  • ArchiverArchiver Posts: 46,084
    edited 2003-09-13 23:00
    Dear Jon Wiliams.

    I just wonder what calculations you are planning on the November
    column using GPS.

    Do you calculate bearing/direction (0-365) as well as range to next
    point of turn.

    Will you use a PAK II for Tan calculation, or some other way to find
    the direction/range?

    And will this "point of turn" then have an area (20-100m) pre-
    massage/status or something, to prevent bypass.

    Idea:
    What about implementing warning about automatic traffic control
    points as well? Some countries have a photo box that takes a picture
    of cars driving to fast. Could be interesting to get a warning from
    the Basic stamp about that, assume the position is on RAM.

    Stein.

    --- In basicstamps@yahoogroups.com, Bill Boyer <daweasel@s...> wrote:
    > I sing TV theme songs to stay awake on the road. Its not so much
    the
    > song as how bad I sing that does the trick.
    >
    > I would say if you *averaged* 70, you true speed was more? Did you
    make
    > the heads-up display we talked about before, and if so, was it 2
    1/2 or
    > 3 digits?
    >
    > Rick got a cool 1x16 VFD display with power supply and serial
    interface
    > from BG Micro that would work well for automotive applications.
    >
    > *******************
    >
    > > Well ... the fastest I have ever driven a car is about 120 mph
    and that
    > > was a race car (Formula Ford) on a race track. I did, however
    drive 950
    > > miles on the first day of my vacation; average speed about 70
    mph.
    > >
    > > I have wide tastes in music. While a big fan of classic rock
    (Stones,
    > > Zeppelin, Aerosmith), I do like a few new things, in particular,
    No
    > > Doubt and Counting Crows. But ... during that sleepy stage of
    my drive
    > > I needed something that the Starbucks just wasn't doing for me,
    hence
    > > the Kidd Rock.
    > >
    > > The best part about enjoying Kidd Rock is that it breaks my
    acting
    > > stereo type (nice guy, daddy-next-door -- see for yourself at
    > > http://members.aol.com/jonmcp). Keep your fingers crossed, gang,
    > > because if things go my way you will see me in a major role in a
    feature
    > > movie as I guy who sells educational electronics kits -- and
    Parallax is
    > > his biggest line!
    > >
    > > Okay, back to the office. For those of you that are fans of the
    NX-1000
    > > board ... we have another version coming. This one has a 40-pin
    socket
    > > and a small selection of I2C parts on the board. It won't
    displace our
    > > current NX-1000, it will be an addition to the line.
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-19 16:52
    Can't seem to locate N & V column #83. Can you tell me the issue date
    in which it appeard - please.

    -- Wally

    --- In basicstamps@yahoogroups.com, kgregory@g... wrote:
    > Where in the World is My BASIC Stamp? Nuts n Volts Stamp Column #83
    >
    >
    http://www.parallax.com/html_pages/downloads/nvcolumns/Nuts_Volts_Downloads_
    > V3.asp
    >
    >
    >
    > >Does a basic stamp have the math capability to calculate
    > >distance/heading based on gps coordinates? I was thinking about
    > >making an autopilot for my model boat.
    >
    >
    >
    > 3oo b -- 52 albert street winnipeg mb r3b 1e8
    >
    > p 204.942.7510 f 204.942.1555 e kgregory@g...
    >
    > w www.cheapmeat.net
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-19 23:28
    --- In basicstamps@yahoogroups.com, "Wally" <dogiewal@n...> wrote:
    > Can't seem to locate N & V column #83. Can you tell me the issue
    date
    > in which it appeard - please.
    >
    > -- Wally
    >
    > --- In basicstamps@yahoogroups.com, kgregory@g... wrote:
    > > Where in the World is My BASIC Stamp? Nuts n Volts Stamp Column
    #83

    It's there.

    http://www.parallax.com/dl/docs/cols/nv/vol3/col/83.pdf

    'tomix
  • ArchiverArchiver Posts: 46,084
    edited 2003-10-20 00:25
    Outstanding! And thank you, thank you.

    Now, has anyone worked with the output of Delorme's "Tripmate"?

    -- Wally



    --- In basicstamps@yahoogroups.com, "Atomic Nixon" <atomicnixon@h...>
    wrote:
    > --- In basicstamps@yahoogroups.com, "Wally" <dogiewal@n...> wrote:
    > > Can't seem to locate N & V column #83. Can you tell me the issue
    > date
    > > in which it appeard - please.
    > >
    > > -- Wally
    > >
    > > --- In basicstamps@yahoogroups.com, kgregory@g... wrote:
    > > > Where in the World is My BASIC Stamp? Nuts n Volts Stamp Column
    > #83
    >
    > It's there.
    >
    > http://www.parallax.com/dl/docs/cols/nv/vol3/col/83.pdf
    >
    > 'tomix
Sign In or Register to comment.