SparkFun will be closed Nov 26th and 27th for the Thanksgiving holiday. Orders placed after 2:00pm MT on the 25th will ship out Monday the 30th.
Track My Order
Frequently Asked Questions
International Shipping Info
Mon-Fri, 9am to 12pm and
1pm to 5pm U.S. Mountain Time:
Chat With Us
November 25, 2012
Tutorial - GPS Shield Quickstart Guide
about 3 years ago
I got this working with the Mega 2560 just now. I jumpered the GPS shield pin 2 (TX pin of GPS chip) to Pin 19 on the Mega 2560 (RX1), and updated the program to use the built-in Serial1 instead of soft pins defined by SoftwareSerial.
Eg I initialise it using “Serial1.begin(GPSBAUD);” check the status with Serial1.available() and so on. The modified code I used is here:
Another way to achieve this, using SoftwareSerial is to connect the
GPS shield pin2 to pin 10, and use pin 10 as the RXPIN. The sample code from
Sparkfun works almost unchanged. You’d set RXPIN to 10, and you need to add the line “pinMode(RXPIN, INPUT);” to the setup() function.
No public wish lists :(
Forgot your password?
No account? Register one!