Différences entre versions de « ENG-CANSAT-PICO-GPS »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 54 : Ligne 54 :
 
The [https://github.com/mchobby/esp8266-upy/tree/master/gps-ultimate GPS-Ultimate library repository] '''contains examples''' of usage. Do not hesitate to check them!
 
The [https://github.com/mchobby/esp8266-upy/tree/master/gps-ultimate GPS-Ultimate library repository] '''contains examples''' of usage. Do not hesitate to check them!
  
== Connect the GPS ==
+
== Connect CanSat GPS ==
 
 
=== Cansat GPS ===
 
  
 
Quite simple, just plug the grove cable to the Cansat-GPS and the other end to UART connector.
 
Quite simple, just plug the grove cable to the Cansat-GPS and the other end to UART connector.

Version du 3 novembre 2025 à 21:08

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

Page(s) under translation/construction

Forewords

Transmitting the CanSat localisation while the parachute descent will, for sure, help you to find on the ground!

The CanSat GPS module use the GPS / GALILEO / GLONASS / QZSS satellite networks to calculate the current position.

ENG-CANSAT-PICO-GPS-01.jpg

The GPS module used a Patch Antenna made it very compact while still offering a -165 dBm sensitivity. The high sensitivity made it possible to detect the localisation signal even under bad conditions.

With the patch antenna already oriented to the sky, the module is ready to mount on the CanSat with a simple Grove cable!

Hot Start Localisation

What's make the difference of this GPS is its hot start capability.

The Hot Start requires a CR2032 coin cell to be inserted. Then the GPS module keeps an accurate time tracking making it possible to get satellite fix within 1 second!

Without the CR2032, the GPS module tries to locate the networks as it will do the very first time, this cold start may take up to 35 seconds (datasheet).

Technical details

  • Supported Networks: GPS/GALILEO/GLONASS/QZSS;
  • Channels: 33/99 channels
  • Hardware support: MT3333
  • Refresh Rate: 1-10Hz
  • TTFF (Time To First Fix): 1s (hot start)/35s (cold start)
  • Sensisivity: -165dBm
  • Interface: UART, I2C
  • Protocol: NMEA
  • Voltage: 3-4.3V
  • Antenna: ceramic patch antenna
  • Size: 16x16mm. Height: 6.7mm
  • Circular Error Probable: 3m(CEP)
  • Speed accuracy: 0.1m/s
  • PPS Accuracy: 20ns (PPS=Pulse Per Second)
  • SBAS, EPO, EASY, always Locate, LOCUS

Installing the GPS library

The board is compatible with GPS-Ultimate 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 as 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 CanSat GPS

Quite simple, just plug the grove cable to the Cansat-GPS and the other end to UART connector.


ENG-CANSAT-PICO-GPS-10.jpg

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.