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: AustraliaPosts: 3194 |
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: AustraliaPosts: 935 |
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 KingdomPosts: 3804 |
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 |