GPS (Raspberry Pi)

Introduction: GPS (Raspberry Pi)

About: the Raspberry Pi is Awesome!

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

Step 1: 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

Step 2: 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...

Step 3: Code

python3 gps.py

Attachments

Step 4: Additional Info

Be the First to Share

    Recommendations

    • Make It Bridge

      Make It Bridge
    • Game Design: Student Design Challenge

      Game Design: Student Design Challenge
    • For the Home Contest

      For the Home Contest

    Comments

    0
    RobertD230
    RobertD230

    Question 2 months ago on Step 2

    What is the power usage for the raspberry pi 4 with the GPS connected and constantly running?

    I am looking at setting up a RPI 4 with a GPS to constantly record the data and this will be portable (running off a battery). I am hoping to have it run for 24 hours.