Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:52 28 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : GPS Simulator

Author Message
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 10:31pm 16 Sep 2013
Copy link to clipboard 
Print this post

I have been working on a project using a GPS module and while I was testing the prototype it became a right royal pain in the backside waiting for the module to get a fix on my location. On my workbench it sometimes took five minutes.

So I wrote a GPS simulator and I am posting it here as it could be useful to others.
2013-09-17_082551_GPS-SIM.zip

It uses a Maximite (any type) to output a serial data stream which pretends to be an EM-408 GPS module travelling east at a fixed speed. The baud rate, the time it takes to get a lock and the speed are all configurable. The output is also echoed to the screen so anyone can use it to see what the output of a GPS module looks like.

It has saved me hours so hopefully someone else will also benefit. I will also send it off to Hugh for inclusion in the MMBasic library.

Geoff
Geoff Graham - http://geoffg.net
 
BobD

Guru

Joined: 07/12/2011
Location: Australia
Posts: 935
Posted: 12:06am 17 Sep 2013
Copy link to clipboard 
Print this post

Thanks Geoff, I was about to do something similar. This will save me the effort (I think).
Bob
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3804
Posted: 12:23am 17 Sep 2013
Copy link to clipboard 
Print this post

Not only that, it may help others think of other serial port devices they could emulate now that they've seen some code showing how to approach the idea.

Short, clear examples are always good...

John
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024