The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Engine Management, OBD-II, Engine Diagnostics, etc.

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-07-2004, 12:24 AM   #1
Newbie
 
Join Date: May 2001
Location: Oregon
Posts: 39
My Photos: (0)
GPS Speed Display

I'm working on a project to display speed of a vehicle using GPS data. I ran it on my PII 300Mhz computer, but seems like there's delay representing the data. Can someone in the forum try it out on their faster computer and get back to me with the result. I'll send you the files if you email me. Here's the picture of the display.
Attached Images
 
__________________
800Mhz PIII, DVD, IRman, ATI TV, Rage Pro 32MB, SB Live platinum, DC-DC ATX ps.
E-Mail: umsam@yahoo.com
My 4runner
umsam is offline   Reply With Quote
Sponsored Links
Old 04-07-2004, 12:31 AM   #2
cdm
Constant Bitrate
 
Join Date: Nov 2003
Location: atlanta ga
Vehicle: import
Posts: 181
My Photos: (0)
it's not a computer issue, it's a latency thing. it takes time for data to travel down from the orbiting satellites. it's normal.
cdm is offline   Reply With Quote
Old 04-07-2004, 12:40 AM   #3
Newbie
 
Join Date: May 2001
Location: Oregon
Posts: 39
My Photos: (0)
Thanks, but I know about that issue. When I run it on my PII computer, I can't even move the mouse at real time. When I run it on my desktop, it runs much faster, but I can't move the desktop to test it out. I know the speed won't be totally real time, but I want it to get it close as possible.
__________________
800Mhz PIII, DVD, IRman, ATI TV, Rage Pro 32MB, SB Live platinum, DC-DC ATX ps.
E-Mail: umsam@yahoo.com
My 4runner
umsam is offline   Reply With Quote
Old 04-07-2004, 08:58 AM   #4
Low Bitrate
 
Join Date: Jan 2004
Posts: 59
My Photos: (0)
Quote: Originally Posted by umsam
I'm working on a project to display speed of a vehicle using GPS data. I ran it on my PII 300Mhz computer, but seems like there's delay representing the data. Can someone in the forum try it out on their faster computer and get back to me with the result. I'll send you the files if you email me. Here's the picture of the display.

Umm GPS NMEA message come once a second that means your speed will only get updated ONCE A SECOND no matter how fast your computer is. The only way around this might be to use third-party binary protocols offered by Garmin and other GPS's but they will not be compatabile with all GPS's. GPS is just not a good way to get any accurate vehicle speed- OBD-II would be the ideal way to do that.
siberia37 is offline   Reply With Quote
Old 04-07-2004, 03:00 PM   #5
 
kiltjim's Avatar
 
Join Date: Feb 2004
Location: PA, USA
Vehicle: 2000 Subaru Impreza Outback Sport
Posts: 805
My Photos: (0)
I haven't tested it out, but I can see one very big problem right off the bat...

It only goes to 150. Just my 2 cents though. Nice job otherwise.
__________________
2000 Subaru OBS

Dell P3 @ 900 Mhz
7" Lilliput TS w/DigitalWW in-dash mount
80GB External HD

I am Zero Bitrate....
kiltjim is offline   Reply With Quote
Old 04-07-2004, 03:31 PM   #6
Constant Bitrate
 
Join Date: Dec 2003
Location: South West, FL
Vehicle: 2005 PT Cruiser
Posts: 201
My Photos: (0)
Quote: Originally Posted by kiltjim
I haven't tested it out, but I can see one very big problem right off the bat...

It only goes to 150. Just my 2 cents though. Nice job otherwise.

where are you driving that you need above 150 ?

Scorp
Scorpnstail is offline   Reply With Quote
Old 04-07-2004, 04:13 PM   #7
FLAC
 
ukchris's Avatar
 
Join Date: Nov 2003
Location: Massachusetts
Vehicle: Porsche Boxster S
Posts: 1,451
My Photos: (0)
Have a read through this thread too http://www.mp3car.com/vbulletin/show...6&page=2&pp=15 unfortunately I lost the source code to a disk crash but I may start over when I get my laptop rebuilt. I think the link to Frodo's site has the first version, I have a compiled exe of the second version if anyone wants to try it.

My aim was to display speed, heading etc and then add tracking to this so that the app could run and track where it went and how fast such that you could automatically log data when someone borrows your car etc.

Chris.
ukchris is offline   Reply With Quote
Old 04-07-2004, 09:40 PM   #8
FLAC
 
ukchris's Avatar
 
Join Date: Nov 2003
Location: Massachusetts
Vehicle: Porsche Boxster S
Posts: 1,451
My Photos: (0)
My prototype is available here http://www.manwhoring.com/mp3car/ukchris/
ukchris is offline   Reply With Quote
Old 04-07-2004, 10:23 PM   #9
FLAC
Curiosity's CarPC Specs
 
Curiosity's Avatar
 
Join Date: Mar 2004
Location: Florence Yall, BFKY
Vehicle: 98 Trans Am
Posts: 1,718
My Photos: (3)
Check your CPU usage. You should really only be using 0% about 95% of the time. If not, either the serial reader is polling instead of waiting on events, or you're drawing more than once per second. Make sure you're not getting hundreds of reads per second on the serial port first. That would really slow things down.
__________________
XPort 1.26 -GPS port splitter, logger, and USB device resume fix
Curiosity is offline   Reply With Quote
Old 04-07-2004, 10:40 PM   #10
Raw Wave
jjh221's CarPC Specs
 
jjh221's Avatar
 
Join Date: Dec 2003
Location: not sure yet.
Vehicle: 1998/Ford/Explorer
Posts: 2,218
My Photos: (2)
i like it, 2 cent: colors on most used speeds. like 65 here in states and larger numbers. For me it would be more easy to view the color change than the numbers.
jjh221 is offline   Reply With Quote
Sponsored Links
Old 04-08-2004, 06:01 AM   #11
Constant Bitrate
 
Join Date: Apr 2003
Location: Melbourne/Cranbourne
Vehicle: 1980 Holden Commodore VC
Posts: 132
My Photos: (0)
Hi,

I'm from australia and down here we use KM/H would it be possible to change this? By the way i'll email you about testing the program out.

Thanks
__________________
CarPC: Currently in progress...
aphesis is offline   Reply With Quote
Old 04-16-2004, 01:55 AM   #12
Registered User
 
gork's Avatar
 
Join Date: Aug 2003
Location: Amarillo, TX
Vehicle: BMW E46 M3
Posts: 655
My Photos: (1)
siberia37: actually, binary protocols will not help with the update frequency. Almost all gps's update their position information at 1Hz, and thus their average speed. I looked into GPS's that do it faster and found some 5Hz update models (Garmin GPS16A), but they are all very expensive ($300+) due to this fact. Also, the speed returned by the GPS will be the average speed over the last second (or 1/5 second on a 5Hz gps) immediately when it is sent out the serial port.

You could couple the GPS data with input from an accelerometer to determine speed changes between GPS updates without sacrificing accuracy too much. The math for this dead reckoning gets a little complicated, but it's still very do-able and the accuracy is pretty good, too! www.phidgets.com sells a pretty inexpensive accelerometer.
__________________
MY CAR IS FOR SALE!
See My Project Page for Details - 2003 BMW E46 ///M3
Custom Dash Monitor Housing - OEM Fitment
Custom Overhead DVD-ROM Housing in Headliner
BMW I-Bus Integration
My homepage with many other fun projects!
gork is offline   Reply With Quote
Old 04-23-2004, 03:33 AM   #13
ob1
Low Bitrate
 
ob1's Avatar
 
Join Date: Jun 2003
Location: Brisbane
Posts: 79
My Photos: (0)
Quote: Originally Posted by gork
You could couple the GPS data with input from an accelerometer to determine speed changes between GPS updates without sacrificing accuracy too much.

Or you could do some predictive interpolation of just the GPS output i.e. if the last GPS speed read was "v" and the speed before that was "u" and the present moment is "x" milliseconds after "v", the current speed is approximated by:

( (v-u) * x/1000 ) + v

assuming your acceleration rate does not change much over the 1 second interval.
ob1 is offline   Reply With Quote
Old 04-23-2004, 03:58 AM   #14
Variable Bitrate
 
craigyb's Avatar
 
Join Date: Sep 2003
Location: UK, Sale, Cheshire
Vehicle: 2001/Toyota/Hiace
Posts: 404
My Photos: (0)
Umsam

Where can we get the code to test it. I will give it a go this weekend.
__________________
Audi S8 supercar
Modded Xbox 400GB HD
Rear 7" screen & navplus

Toyota Hiace Van
Shuttle PIII 866 256Mb 10GB OPUS powered
MediaCar & Mappoint 2004
Custom fit 7" TFT VGA TSK
craigyb is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone Help Test a GPS App? ukchris Software & Software Development 42 04-08-2004 03:37 PM
GPS DATA on HD44780 char Display ?? felix99 GPS 8 01-10-2003 04:56 PM
Using a microprocessor to display GPS data on an LCD Zip-Lock GPS 15 10-21-2002 03:06 PM
Screensaver to display gps data? larstore Software & Software Development 0 06-13-2002 06:19 AM
good display for GPS? Necare General Hardware Discussion 0 08-29-1999 02:24 AM


All times are GMT -5. The time now is 01:15 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics