ENG-CANSAT-PICO-GPS

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Page-under-construction.pngPage(s) en cours de traduction/élaboration.

Page(s) under translation/construction

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.

Download-icon.pngDownload GPS-Ultimate library

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

Page-under-construction.pngPage(s) en cours de traduction/élaboration.

Page(s) under translation/construction

Now we will load and executes the simpletest.py script. The script must be downloaded from the repository.

Download-icon.pngsimpletest Python script

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 :::
Page-under-construction.pngPage(s) en cours de traduction/élaboration.

Page(s) under translation/construction
showing the code and the result ::::::



Written by Meurisse D. for MCHobby


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.