First of all, this GPS module is not so easy to use. At least at this moment. This has something to do with the new Jessie OS. ttyAMA0 --> ttySO However, there are some usefull links I used
The module is connect to 3,3 V_cc, the GND, RX on pin 8 (TX from the pi) and TX on 10 (RX on the pi).
sudo nano /boot/config.txt
add the line
enable_uart=1
sudo systemctl stop [email protected]
sudo systemctl disable [email protected]
sudo nano /boot/cmdline.txt
remove the line
console = serial0,115200
reboot
sudo reboot
sudo apt-get install gpsd gpsd-clients python-gps
sudo killall gpsd
stty -F /dev/ttyS0 9600
sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock
or for visual results:
cgps -s
sudo killall gpsd
sudo gpsd /dev/ttyS0 -F /var/run/gpsd.sock
or check stackexchange for "cant get gps to automatically work after reboot"
sudo nano /etc/default/gpsd
Devices="/dev/ttyS0"
GPSD_OPTIONS="/dev/ttyS0"
GPSD_SOCKET="/var/run/gpsd.sock"
Settings:
stty -F /dev/ttyS0
Set baudrate:
stty -F /dev/ttyS0 9600
Monitor the received input
cat </dev/ttyS0