This page covers the Ultimate GPS Logger Shield, not the original GPS Shield.
Product Link: |
http://www.adafruit.com/products/1272 |
Library: |
https://github.com/adafruit/Adafruit-GPS-Library |
Tutorial: | http://learn.adafruit.com/adafruit-ultimate-gps-logger-shield |
Plug-and-Play Compatible Boards
The Ultimate GPS Logger Shield is tested and fully compatible with the following boards:- Arduino Uno (all revisions)
- Arduino Duemilanove and Diecimila w/ATmega328 chip
- Adafruit Menta (remove from tin for GPS antenna to work)
Incompatible or Partially-Compatible Boards
This shield may work with other boards with some additional steps:Arduino Leonardo
GPS:- Use 'Soft Serial' switch setting.
- Use the Adafruit SD library, specifying pin 10 for chip select, 11 for MOSI, 12 for MISO and 13 for SCK.
- Edit the file utility/Sd2Card.h in the default Arduino SD library, adding the line "#define SOFTWARE_SPI" (not MEGA_SOFT_SPI) at the top.
- Add jumper wires from pin 11 on the shield to ICSP pin 4 on the board (on the 6-pin header), pin 12 to ICSP-1 and pin 13 to ICSP-3, then use the standard library in its default state (no SOFTWARE_SPI). This is difficult due to the shield obscuring the ICSP header and is not much recommended.
Arduino Mega (all variants)
GPS:- Use 'Soft Serial' switch setting.
- Jumper from pin 8 on the shield to RX1 on the Mega
- Jumper from pin 7 on the shield to TX1 on the Mega
- In your code, don't use SoftwareSerial. Instead, define mySerial as Serial1:
//SoftwareSerial mySerial(8, 7); #define mySerial Serial1 Adafruit_GPS GPS(&mySerial);
- Use the Adafruit SD library, specifying pin 10 for chip select, 11 for MOSI, 12 for MISO and 13 for SCK.
- Edit the file utility/Sd2Card.h in the default Arduino SD library, changing line 42 to read "#define MEGA_SOFT_SPI 1" (default is 0).
Arduino Due
Follow instructions for Arduino Mega-
Use "Due" versions of example sketches
Arduino Diecimila w/ATmega168 chip, Arduino NG or older
Does not work; insufficient RAM and flash program space.
Pin and Address Reference
The shield uses the following pins:- +5V
- GND
- Digital pins 10-13 (Card Select, MOSI, MISO, SCK, respectively)
- Digital pins 0 (RX) and 1 (TX) when using 'Direct' switch setting
- Digital pins 7 (RX) and 8 (TX) when using 'Soft Serial' setting
Untested Boards and Other Notes
- Arduino Mega 1280: compatibility should be similar to the Mega 2560; use 'Direct' switch setting for GPS, and library changes for the SD card.
If experiencing trouble with a board listed as “compatible,” review the introduction for tips and visit the Adafruit Forums for assistance.