Usage Example for Raspberry Pi/Jetson Nano/Linux

Last revision 2026/01/09

Operation Steps

  1. Download program, and plug in USB GPS receiver.

    Taking Raspberry Pi as an example, same to Nano and Linux.

    Input the following commands at the terminal
    cd .....                                                     //Directory of the file you want to save 
    git clone https://github.com/DFRobotdl/USB_GPS_EN.git     //Download program from Github 
    cd USB_GPS_EN
    

    Read GPS Data on Raspberry Pi Jetson Nano or Linux

  2. Check device

    Input:

    sudo ls -l /dev
    

    Find the device you just connected.

    Read GPS Data on Raspberry Pi, Jetson Nano, or Linux

  3. Open the previously downloaded min. C file, change the device port in the program to be consistent with the actual one, and save it.

    Read GPS Data on Raspberry Pi, Jetson Nano, or Linux

  4. Open the folder of the program on the terminal, compile and run.

    cd ..... /USB_GPS_LINUX
    gcc -o GPS main.c
    sudo ./GPS
    

    Read GPS Data on Raspberry Pi, Jetson Nano, or Linux

  5. Copy the GPS data to the Google Map

    Read GPS Data on Raspberry Pi, Jetson Nano, or Linux

Was this article helpful?

ON THIS PAGE

TOP