Ublox USB GPS Data Logger for Use with Raspberry Pi 4 Running Python 3 Environment within Raspberry Pi OS x64 Code Modified by Brayden Hill on 11/10/2023 for UNC Charlotte MEGR 3241: Advanced Motorsports Instrumentation Original Code Written by Professor 'Mac' McAlpine
Materials Required:
- Raspberry Pi 4 with Raspberry Pi OS x64 Installed
- Ublox USB GPS
- 2A Car Supply (USB Type C)
Installation Instructions: First, update all required packages...
sudo apt-get updatesudo apt-get upgradesudo apt-get autoremovesudo reboot...then, install the required gspd-client packages/libraries...
sudo apt-get install gpsd gpsd-clientspip install gpsd-py3 --break-system-packagessudo reboot...now, clone the github code to your home directory...
cd ~git clone https://github.com/bh4302/Py3GPSLogger.git...and you now have the code installed!
Running Instructions: To run the code and begin recording data, navigate to the directory where it was installed...
cd Py3GPSLogger/python gps_logger.py...and use Ctrl^C to stop data recording.
Data will be automatically compiled into a .csv file with the recording timestamp, located in the same directory.