Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: Why GPS without inertial navigation fails.

  1. #21
    cheap custom title JC-S60's Avatar
    Join Date
    Mar 2004
    Location
    Ghent - Belgium
    Posts
    1,863
    PLEASE Rando, post some code / schematics !

    Wouldn't it be easier to input all the data (GPS / speed sensor / compass) into the pc, and let software take care of creating a new NMEA stream to a virtual com port? Or is that what you are going to do?

  2. #22
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    There is not much here in the way of a schematic. Just buy the CMPS03 module for a compass and wire it up to your parallel port. I wrote some code to implement I2C over the parallel port which can be used to read the compass. I will release it in a few weeks.

    The speed sensor hooks up to the serial port using a resistor and 12v zener to limit both current and voltage going into the computer. The code here just counts pulses and reads the system timer. Because it's coded in user space, it's not all that accurate and exhibits substantial jitter (most likely it's missing pulses). I need to either rethink the code approach or go the microcontroller route here. An MCU can easily and accurately convert the sensor into something more workable and not bother wasting CPU cycles to do it.

    Yes the solution you stated is the target. All the sensors (either raw or modified via MCU) go into the PC and the PC generates a new NMEA stream -- Of course a MCU could do this job too but I'm not planning to do it that way.

    All the code I have (RS232, GPS, NMEA) is in VB.Net. I'm truly unfamiliar with .NET still so most of it is fairly rough. The I2C/Parallel reader code is in C (technically C++). I still need to get it into a form that makes it more readily usable in .NET (or just convert it into .NET). Skippy has a thread about implementing a new GPS program and I promised to release my GPS source if he would release the code for his odometer control. I've been trying to promote a more open source atmosphere around here for a while.

  3. #23
    cheap custom title JC-S60's Avatar
    Join Date
    Mar 2004
    Location
    Ghent - Belgium
    Posts
    1,863
    Sounds wonderfull to me!

    When we could get the speed sensor input more accurate, we could use it for more then just nav too.

    I'm trying to think of some common used pc-peripheral/accesory to do the digital-digital conversion... Maybe a mouse? In place of optical sensors (they work with pulses too)?

    If I can help with something, let me know!

  4. #24
    Raw Wave rando's Avatar
    Join Date
    Mar 2004
    Location
    Redondo Beach, CA
    Posts
    1,973
    OK, I got all the I2C code ported over to VB.Net and was finally able to try out the CMPS03 in my truck. Due to all of the metal nearby, it doesn't work. The code and compass work fine otherwise ... might work well on a bicyclePC.

  5. #25
    cheap custom title JC-S60's Avatar
    Join Date
    Mar 2004
    Location
    Ghent - Belgium
    Posts
    1,863
    dang!

    Which means I was right about the gyroscope in comercial gps-systems... ok, on to the next one!

  6. #26
    Newbie
    Join Date
    Jul 2003
    Posts
    25
    anyway to pipe odb2 info into the nav software? doesn't most odb2 display speed?

Page 3 of 3 FirstFirst 123

Similar Threads

  1. GPS Navigation
    By torpa in forum Classified Archive
    Replies: 0
    Last Post: 08-24-2004, 04:55 AM
  2. GPS Navigation [newbie alert]
    By rph in forum MediaCar
    Replies: 6
    Last Post: 08-22-2004, 01:32 PM
  3. FS: iGuidance GPS Navigation (USB)
    By Blk_G35 in forum Classified Archive
    Replies: 7
    Last Post: 04-15-2004, 10:40 AM
  4. 7 inch T-View vga lcd in 1999 Acura RL + gps navigation
    By yourbigfun in forum Show off your project
    Replies: 8
    Last Post: 01-08-2004, 11:22 PM
  5. gps navigation software
    By llmask in forum GPS
    Replies: 4
    Last Post: 10-26-2003, 01:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •