How to build a Raspberry Pi GPS Tracker

Raspberry PiTracker

1. Hardware that is needed

Raspberry Pi Zero WH with Waveshare GSM/GPRS/Blutooth HAT

2. Headless Setup of the Raspberry Pi

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
country=<Insert 2 letter ISO 3166-1 country code here>

ssid="<Name of your wireless LAN>"
psk="<Password for your wireless LAN>"

3. Accessing the Raspberry Pi via SSH

4. Installing necessary software

sudo apt-get update && sudo apt-get upgradesudo apt install git python-setuptools python-pip wiringpi screengit clone clone pygsmsudo python installsudo pip install crcmod
sudo chmod a+x
sudo crontab -e
@reboot /home/pi/pitracker/

5. Test your GPS Tracking Device

6. Debugging

sudo screen -r pitracker
Running script
sudo python




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

ServiceNow Service Catalog Creation and Benefits During COVID-19

ANDROID: Dealing with ClassCastException

Let’s Look Back at 2020

IoTeX Running a Node on the Testnet on Ubuntu

First step on Firebase Test Lab with iOS Project

Implementation of Queue Data Structure in Python

Beginner’s Guide to Web Apps using Flutter!

How to use linbo-remote to manage school computers with little to no effort

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


More from Medium

Building Retro Audio System with piCorePlayer and Raspberry Pi 4

Having trouble with xRDP? Try X2Go!

What are CTFs or Capture The Flag?