GPS (Raspberry Pi)

by piddlerintheroot in Circuits > Raspberry Pi

16939 Views, 18 Favorites, 0 Comments

GPS (Raspberry Pi)

Basic tutorial of how to setup a GPS module with the Raspberry Pi.

Parts

RPI 3 – https://goo.gl/CdVNoH

4 Amp Power Adapter – https://goo.gl/js4Uc7

16GB Micro SD – https://goo.gl/FDqZal

VK-162 USB GPS Module - https://goo.gl/UYh4GT

VK-162 USB GPS Module (ALT) - https://goo.gl/zNSa2U

Setup

Enable serial interface:

sudo raspi-config

Select “No” on first prompt, and “Yes” on second

Save and Reboot

Test GPS module:

lsusb - list usb devices

dmesg | grep tty - list serial ports

cat /dev/ttyACM0 - display RAW NMEA Data

NMEA Standard: http://gpsworld.com/what-exactly-is-gps-nmea-data...

Code

python3 gps.py

Downloads

Additional Info