// http://cdn.sparkfun.com/datasheets/Sensors/GPS/Venus/638/doc/AN0003_v1.4.19.pdf include SoftwareSerial gpsSerial(10, 11); // RX, TX (TX not used) void setup() { //Serial.begin(9600); // the linux box will fire up a serial port at this speed. Serial.begin(115200); gpsSerial.begin(9600); byte baud_speed[] = {0xA0, 0xA1, 0x00, 0x04, 0x05, 0x00, 0x05, 0x01, 0x05, 0x0D, 0x0A}; gpsSerial.write(baud_speed, sizeof(baud_speed)); byte updaterate[] = {0xA0, 0xA1, 0x00, 0x03, 0x0E, 0x14, 0x00, 0x0F, 0x0D, 0x0A}; gpsSerial.write(updaterate, sizeof(updaterate)); // this should set the update rate byte alldata[] = {0xA0, 0xA1, 0x00, 0x09, 0x08, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x08, 0x0D, 0x0A}; gpsSerial.write(alldata, sizeof(alldata)); Serial.println("Starting GPS"); } void loop() { static int i = 0; if (gpsSerial.available()) { char ch = gpsSerial.read(); Serial.print(ch); } }