ENG-CANSAT-PICO-GPS
Forewords
x
Installing the GPS library
The GPS-Ultimate is provided with a MicroPython library available on GitHub.
You can download and copy the library manually to your board from the Repository.
First, open the repository, then navigate to the file lib/adafruit_gps.py and lib/gps_config.py.
Follow the steps describes in the "BMP280 library installation" to copy the GPS library files to your micropython board.
Once copied, you can also check the proper installation by typing from adafruit_gps import GPS .
The GPS-Ultimate library repository contains examples of usage. Do not hesitate to check them!
Connect the GPS
Cansat GPS
xxx
GPS Ultimate Wiring
xxx
GPS code
Now we will load and executes the simpletest.py script. The script must be downloaded from the repository.
The script can be either executed from Thonny -OR- transfered to the Pico and executed directly on the microcontroler.
It will output the messages on the REPL/Shell (over the USB-serial connexion) when the GPS got a fix.
xxx
GPS test
- indiquer qu'il faut attendre le fix :::
- showing the code and the result ::::::
Written by Meurisse D. for MCHobby
