Datasheet

Basic Test
We can get started by testing the GPS right at the command line.
Before you start, you'll want to make sure the GPS modules has a 'fix' - that means it has received enough data from
satellites to determinet he location.
You can quickly determine fix status by looking at the Red LED on the GPS Hat:
Blinking on and off once every other second - NO FIX
Blinking once per 10 seconds or so - HAS FIX
You may need to put the Pi near a window or attach an external antenna. Once it has a fix, continue!
Serial test
Lets stat by just reading the 'raw' data from the GPS on the command line. Run:
To set /dev/ttyAMA0 (the built in terminal console) to raw data (raw) 9600 baud (9600) 8-bits (cs8) no modem control (-
clocal) and 1 stop bit (cstopb)
It's pretty picky so please use those settings and not noodle with them too much unless you're sure!
Now run
To read raw data directly from the GPS HAT
You should see something like this!
stty -F /dev/serial0 raw 9600 cs8 clocal -cstopb
cat /dev/serial0
© Adafruit Industries https://learn.adafruit.com/adafruit-ultimate-gps-hat-for-raspberry-pi Page 9 of 18