Skip to content

jack60612/offline-gps-pi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

offline-gps-pi

Offline GPS Raspberry pi app

Installation

  1. Install updates

    sudo apt update & sudo apt upgrade -y
  2. Update boot Config File, enable serial and i2c, and disable serial console. look in the examples folder.

    sudo nano /boot/config.txt
  3. Install required software packages for the gps chip

    sudo apt install -y chrony gpsd gpsd-tools git pps-tools 
  4. Install required software packages for the lcd screen

    sudo apt install -y python3-pip python3-pil python3-numpy python3-smbus python3-serial python3-dev python3-spidev
  5. Install required software packages for this app

    sudo apt install -y libosmium2-dev osmium-tool pyosmium libgdal-dev cmake python3-networkx
  6. Turn off the pi

    sudo reboot
  7. Install the components for both devices if you do this earlier it might make your pi unstable (ask me how i know), at least leave the power lines disconnected until the software is installed.

  8. Configure gpsd and chrony using the provided files in the examples folder

  9. enable the gpsd service & chrony service

    sudo systemctl enable gpsd && sudo systemctl start gpsd
    sudo systemctl enable chrony && sudo systemctl start chrony
  10. test gpsd

    cgps -s
  11. test pps

    sudo ppstest /dev/pps0
  12. Clone repo :)

  13. create venv and install requirements

    python3 -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
  14. run the app

    python3 -m gpspi
  15. cry because it doesn't work

About

Offline GPS Raspberry pi app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages