NEW! Raspberry Pi GPS Tracker

on December 1 | by

2015-12-01 GPS Tracker

Prototype board with screen, battery, Raspberry Pi, and GPS board

Here is an updated tutorial for setting up a Raspberry Pi GPS Tracker in an even simpler, more reliable way with less hardware! You just need a Raspberry Pi 2 with Jessie and an Adafruit Ultimate GPS Breakout.

Full, detailed tutorial found on our GitHub Wiki

tl;dr;

Hardware Wiring:

  1. Pi 5V <-> GPS VIN
  2. Pi GND <-> GPS GND
  3. Pi UART_TX <-> GPS RX
  4. Pi UART_RX <-> GPS TX

Software:

  1. pip install pynmea2
  2. pip install ISStreamer
  3. sudo sed -e s/console=ttyAMA0,115200//g -i .backup /boot/cmdline.txt
  4. sudo systemctl disable serial-getty@ttyAMA0.service
  5. sudo reboot now
  6. git clone https://github.com/InitialState/rpi-gps.git
  7. cd rpi-gps
  8. printf "[isstreamer.client_config]\naccess_key: YOUR_ACCESS_KEY" >> isstreamer.ini
  9. python app.py

Full, detailed tutorial for building a Raspberry Pi GPS Tracker 

 

Tiles Map Feature

Trip on I-24 Northbound heading up through Monteagle

This tutorial is part of the new series, “Learning How to Build Real IoT Applications” >>

13 Responses

  1. […] **Update 12/02/2015: We have an updated (i.e. even easier) tutorial for building a Raspberry Pi GPS Tracker at http://blog.initialstate.com/new-python-gps-tracker/. […]

  2. […] tutorial in which he uses an Adafruit Ultimate GPS board to create a GPS tracker system. There is a quick set of instructions here and a more comprehensive set here. Really interesting project for those of us who like to […]

  3. ThreeDogs says:

    A very interesting project.
    I would like to see a Navigator using the RPi with the new 7″ screen. I think the problem would be getting a map into the RPi
    and feeding that map with GPS Data.

  4. Steve Bigget says:

    Thanks for the information, this post is very helpful……………………….

  5. alex says:

    will this work with the raspberry pi 3

  6. tc says:

    In the picture and on your Github walkthough you use the GPS antenna and an SMA to uFL adapter but can you use the antenna that is part of the GPS module. Also you use the UART serial instead of the usb, is there a way you use the usb with this walkthough?

    • David Sulpy says:

      Yes, absolutely! You do not need the external antenna, this is just to provide better reception. There is also a way to use USB as well instead of UART serial, but you’ll need an adapter. If you check out our old GPS tutorial (http://blog.initialstate.com/pi-mobile-gps-streamer/), you’ll see that project actually used a USB adapter from adafruit https://www.adafruit.com/products/954. Unfortunately, this adapter is usually out of stock and as it wasn’t necessary, this tutorial circumvented. Hope this helps!

      • tc says:

        The link to the old tutorial uses a second breadboard with buttons, lights and resistors with that tutorial work if ignore it? thanks

        • David Sulpy says:

          Yes, simply ignore that breadboard and any code that is associated with those GPIO pins. It may also be easier to just use that tutorial to learn how to interface with the GPS via /dev/ttyUSB0 over the USB to TTY adapter, but circumvent gpsd (unless you need it for something else) and read directly from serial and parse the NMEA sentences over serial like what’s going on in this tutorial. But that’s just a suggestion.

  7. DavidGuo says:

    Hi,guys, have you see tihs Lora/gps HAT for RPI ? It is very useful there : http://wiki.dragino.com/index.php?title=Main_Page#Lora.2FGPS_HAT

Leave a Reply

Your email address will not be published. Required fields are marked *

« »

Initial State Technologies, Inc.
Scroll to top
Initial State