GPS shields

From BenningtonWiki

Jump to: navigation, search

Image:GPS.png

[edit] Getting started

Set up and test the SD card:

  1. Download the sd_raw library. Called AF_SDLog here. Put it in the hardware/libraries directory in your Arduino application directory.
  2. Install an SD card in the GPS shield, connect shield to Arduino. No jumpers or wiring necessary.
  3. Get the SD card test program here.
  4. Compile and run, switching over to the Serial Monitor immediately. You should see something like:

   manufacturer: 3
   serial number: 1075313756
   capacity: 507379712
   date of manufacture: 02/06

Set up and test the GPS:

  1. Download the NewSoftSerial library from here. Put it in the hardware/libraries directory in your Arduino application directory.
  2. Plug in the EM-406A GPS module. Connect these jumpers between the GPS header and the Arduino header: TX to pin 2, RX to pin 3, PWR to pin 4, L2 to pin 5 and L1 to pin 6. If you're perceptive you'll notice that they just connect straight across.
  3. Get the GPS test program here.
  4. Compile and run, switching over to the Serial Monitor. You should see something like:

   ready
   time: 03/19/09 20:35:17 UTC, location: 4255.1944N, 07314.3346W
   time: 03/19/09 20:35:18 UTC, location: 4255.1996N, 07314.3294W
   time: 03/19/09 20:35:19 UTC, location: 4255.2012N, 07314.3279W
   time: 03/19/09 20:35:20 UTC, location: 4255.2016N, 07314.3286W

The red LED will come on when the board is running. The green LED will come on when the GPS has a location fix.

[edit] Links about using the GPS Shield and SD Card

http://www.roland-riegel.de/sd-reader/index.html
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1206874649/8
http://elm-chan.org/docs/mmc/mmc_e.html
http://www.ladyada.net/make/gpsshield/resources.html

Personal tools