What it sends
Choose NMEA 0183 simulator for text sentences, as most GPS receivers and navigation programs use, or NMEA 2000 simulator for Actisense-format messages, as from an NGT-1 style gateway.
| NMEA 0183 | Carries |
|---|---|
RMC | Recommended minimum: position, speed, course, date |
GGA | Fix data: position, fix quality, satellites used, altitude |
GLL | Latitude and longitude |
GSA | Satellites used and DOP values |
GSV | Satellites in view, slowly moving across the sky |
VTG | Course and speed over ground |
ZDA | UTC date and time |
HDT | True heading |
Pick any combination, with the GP or GN talker. All sentences carry the current UTC time and valid checksums. The NMEA 2000 simulator sends PGNs 126992 (system time), 129025 (position), 129026 (course and speed), 129539 (DOPs) and 127250 (heading).
Set it up in a minute
- Open SerialLoom's Topology view and click NMEA 0183 simulator at the top of the Ports list.
- The New connection window opens with the simulator as the source. Set Output 1 to a New virtual port, for example
COM15, remove Output 2 or keep it for a second program, and press Create split. - Open
COM15in your navigation software. Any baud rate works.
By default the simulated receiver starts at the Eiffel Tower and heads east at 5 knots, sending RMC, GGA and VTG once a second.
Moving, fixed, or losing the fix
- Motion: moving along a true course at a set speed in knots, or fixed at the start position. Optional position noise makes the fix wander by up to the distance you set, like a real receiver.
- Fix quality: GPS, DGPS, RTK fixed or float, estimated (dead reckoning), or no fix, to test how your software copes with a lost signal.
- Receiver details: satellites used, HDOP, VDOP, PDOP, altitude and magnetic variation.
- Rate: the update interval, from several updates a second to one a minute.
Change it while it runs
Select the connection, edit the values in the GPS panel of the inspector and press Apply. Course, speed, fix, sentences and the rest change at once, and the receiver carries on from where it is, so you can steer a test route or drop the fix at the moment you choose. Scripts and test benches can do the same through the automation API (updateSimulator).
Send it over the network
Many navigation and logging programs listen for NMEA over UDP. Add a UDP endpoint to the connection, set its destination to the program's IP address and port, and set Output framing to NMEA 0183 so each sentence goes in its own datagram. A TCP server endpoint works for programs that connect over TCP. More about UDP.
Check what arrives
The Python test scripts in the SerialLoom repository read a COM port or UDP and print every sentence or message with its decoded values, checking each checksum on the way.
Questions
Which baud rate should my program use?
Any. Virtual ports accept whatever speed a program asks for and always move data at full speed. Many navigation programs expect 4800 baud for NMEA 0183, and that works too.
Can I play back a real recording instead?
Yes. Choose File as the source of a connection to replay NMEA 0183 sentences or Actisense NMEA 2000 records with their recorded timing, once or in a loop.
Does it simulate satellites in view?
Yes. GSV lists satellites that move slowly across the sky, and GSA lists the ones used in the fix, with the DOP values you set.
Can several programs receive the same simulated GPS?
Yes. Give the connection more outputs: each program gets its own virtual COM port, and you can add TCP or UDP endpoints alongside them.