Datasheet
Arduino Wiring
Once you've gotten the GPS module tested with direct wiring, we can go forward and wire it up to a microcontroller.
We'll be using an Arduino but you can adapt our code to any other microcontroller that can receive TTL serial at 9600
baud.
Connect VIN to +5V, GND to Ground, RX to digital 2 and TX to digital 3.
Next up, download the Adafruit GPS library. This library does a lot of the 'heavy lifting' required for receiving data from
GPS modules, such as reading the streaming data in a background interrupt and auto-magically parsing it. To
download it, visit the GitHub repository or just click below
Download the Adafruit GPS Library from github
https://adafru.it/emg
rename the uncompressed folder Adafruit_GPS. Check that the Adafruit_GPS folder contains Adafruit_GPS.cpp and
Adafruit_GPS.h
Move Adafruit_GPS to your Arduino/Libraries folder and restart the Arduino IDE. Library installation is a frequent
stumbling block…if you need assistance, our All About Arduino Libraries guide spells it out in detail!
Open up the File→Examples→Adafruit_GPS→echo sketch and upload it to the Arduino. Then open up the serial
monitor. This sketch simply reads data from the software serial port (pins 2&3) and outputs that to the hardware serial
Leonardo & Micro Users: We have special example sketches in the Adafruit_GPS library that work with the
Micro/Leo!
© Adafruit Industries https://learn.adafruit.com/adafruit-ultimate-gps Page 15 of 40










