GPS Serial data simulator to simulate travel between given coordinates.
C C++ Java Verilog JavaScript Objective-C
Switch branches/tags
Nothing to show

README

Simple GPS Simulator for Amateur Weather Balloon Flight Systems Testing - Arduino, Win, Linux

Uses serial port to output an NMEA standard stream of the following GPS sentences:

GPRMC, GPGGA and GPGSA

Example output:
$GPRMC,014001,A,3557.7490,N,8352.4130,W,0.1,180.0,100308,1.4,W,A*2C
$GPGGA,014001,3557.7490,N,8352.4130,W,1,04,1.3,256.0,M,47.1,M,,*65
$GPGSA,A,3,,01,,,04,,,,,09,10,,1.6,1.3,1.6*3D

Configurable to output data in realtime (one set of strings per second) or 
accelerated faster than that for screen display or file output.

The script will fly in 3D space between a provided list of timestamped waypoints.  The waypoints are hardcoded in the "open_script" function.

-------------------------------------------------------------------------------
Quick Start for Arduino, using builtin demo waypoints:

1. Set the baud rate for GPS data output on arduino builtin UART port.  
	#define BAUD_RATE 57600
	Set to an Arduino Serial.print recognized baud rate number (typically 4800 for NMEA GPS stuff)
	
2. Set the simulation speed.
	#define REALTIME  
	Comment this out if you want it as fast as it can generate it (usually limited by baud rate)

3. Upload the code to Arduino.  Resetting arduino will restart the output from the beginning of the waypoints list.
-------------------------------------------------------------------------------

The testdata folder contains full multi-day output from the program, resulting in 50mb text files of GPS strings.