1. Home
  2. NMEA GPS simulator

NMEA GPS simulator for Windows

Test chart plotters, trackers and navigation software without a GPS receiver. SerialLoom simulates one and sends its NMEA data to a virtual COM port, to TCP or UDP, or to all of them at once.

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 0183Carries
RMCRecommended minimum: position, speed, course, date
GGAFix data: position, fix quality, satellites used, altitude
GLLLatitude and longitude
GSASatellites used and DOP values
GSVSatellites in view, slowly moving across the sky
VTGCourse and speed over ground
ZDAUTC date and time
HDTTrue 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).

SerialLoom's GPS simulator panel: start position, motion, true course, speed, position noise and fix quality for a running NMEA 0183 simulator
The GPS panel of a running simulator. Change a value and press Apply; it takes effect at once.

Set it up in a minute

  1. Open SerialLoom's Topology view and click NMEA 0183 simulator at the top of the Ports list.
  2. 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.
  3. Open COM15 in 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.

Weave your serial ports together

Free and open source. One installer, no test mode, no extra drivers to hunt down.

Latest v0.5.0 · Windows 10 (1803+) and Windows 11, x64 · MIT license