Skip to content

107. GPS

Ricardo Guzman (Richonguzman) edited this page Sep 6, 2024 · 8 revisions

GPS Modules Supported / Modules Soportados

  • Neo6M-V2
  • Neo8M
  • L80-R
  • Beitian BN-180
  • ATGM336H

Version en Español

GPS Fix

On the Oled Screen , on the second line you should see DATE and TIME.

First comes TIME in UTC Time as GPS sends this data from Satellites. Then after a few seconds DATE info is received.

This means the GPS is working and you should wait for the GPS Fix to be acquired.

The third line should show latitude and longitude. First they apear as "0.00000" and next to it a "0X".

"0X" shows the number of satellites heared. "X" means bad hdop value. "-" means regular hdop value. "+" means hdop good value.

When you have 4 satellites or more the GPS red led should start blinking and the GPS latitude and longitude should be updated. Your tracker now has a fix and will start transmitting its position over LoRa which you could check on APRS. CONGRATS You have done it!!

"My Board won't get GPS fix"

All boards which are new or have not been turned on for a while would take a while to get the GPS fix. This is because the button super capacitor of the gps is not charged and needs time to get to 2.8V to start working. Besides this is called cold start as the internal chip which helps get faster gps fix has lost the recent data as the super capacitor got discharged. Usually this helps to get gps fix for boards which are turned on each day.

So you should leave the Tracker on a place with open sky (or at least near a window) to get the first GPS fix.

This could take a minute or two for a often used Tracker and like 10-20min for not recently used Tracker. Besides it all depens of the satellites it could hear. The Weather also affects the gps readings.

"Is there a way to get faster GPS fix?"

The first boot needs also to download from satellites the ALMANAC which could take a while, so BE PATIENT.

So Almanac, Super Capacitor and one more thing: GPS antenna takes a great part on this. The provided small-passive (and ceramic) antenna works fine on open sky (max is 10 to 12 satellites) and really not so great near a window and not great at all inside the house.

I would recommend to change the GPS antenna with a bigger one. There are 20mm and 25mm square ACTIVE antennas which helps a lot to get faster GPS fix and better satellites counts (which also helps to get better hdop value). T-Beam can power this active antennas without any mods and you would see great improvements on GPS fix.

On the picture (see picture at the bottom), the small one is the default antenna of the tracker, you cand replace with one bigger.

If GPS does not work at all

If GPS does not show any info (UTC Time, Date, Latitude, Longitude) you may need to reset it : use this code to reset the T-Beam GPS.


Recepción de señal de GPS

En la pantalla Oled, en la segunda línea debería ver FECHA y HORA. Primero viene HORA en hora UTC cuando el GPS envía estos datos. Luego, después de unos segundos FECHA.

Si ya recibe esto es que el GPS esta funcionando y tomara un tiempo en conseguir el fix de gps.

La tercera línea debe mostrar latitud y longitud. Primero aparecen como "0.00000" y al lado un "0X".

"0X" muestra el número de satélites escuchados. "X" significa valor hdop incorrecto. "-" significa valor hdop normal. "+" significa hdop buen valor.

Cuando el tracker tenga 4 satélites o más, el LED rojo del GPS debería comenzar a parpadear y los datos de latitud y longitud del GPS deberían actualizarse. El tracker ya tiene una posición establecida y comenzará a transmitir los datos de la posición a través de LoRa, que se puede verificar en APRS. FELICIDADES, ENHORABUENA ¡¡Ya lo has conseguido !!

"Mi placa no obtiene la señal de GPS"

Las placas que son nuevas o que no se han encendido durante un tiempo tardarán un poco más en obtener la posición del GPS. Esto se debe a que el supercondensador del botón del gps no está cargado, por lo que necesita tiempo para llegar a 2,8 V para empezar a funcionar. Además, esto se llama arranque en frío, ya que el chip interno que ayuda a obtener una localización GPS más rápida, ha perdido los datos recientes cuando se descargó el supercondensador. Por lo general, esto mejora y ayuda a obtener la posición del GPS para las placas que se encienden todos los días.

Por lo tanto, debes dejar el rastreador en un lugar con cielo abierto (o al menos cerca de una ventana) para obtener la primera posición del GPS de manera rápida y eficiente.

Esto podría tomar uno o dos minutos para un Tracker que se usa con frecuencia y entre 10 y 20 minutos para un Tracker que no se usa recientemente. Además, todo depende de los satélites que pueda escuchar. El clima también le afecta a las lecturas del GPS.

"¿Existe alguna manera de obtener una localización GPS más rápida?"

Hay que considerar que en el inicio se descarga desde los satélites el ALMANAC de la lista de satélites que se usaran, considera que esto toma un tiempo así que paciencia.

Asi con esto y lo del supercondensador recientemente, la antena GPS juega un papel importante en esto. La pequeña antena pasiva (y cerámica) proporcionada funciona bien en cielo abierto (el máximo es de 10 a 12 satélites) y realmente no es tan buena cerca de una ventana y no es nada buena en interiores.

Recomendaría cambiar la antena GPS por una más grande. Hay antenas ACTIVAS cuadradas de 20 mm y 25 mm que ayudan mucho a obtener una localización GPS más rápida y mejores recuentos de satélites (lo que también ayuda a obtener un mejor valor hdop). T-Beam puede alimentar estas antenas activas sin ninguna modificación y verá grandes mejoras en la recepción de la posición GPS.

En la imagen, la pequeña es la antena predeterminada del rastreador, puedes reemplazarla por una más grande.

Si el GPS no funciona.

Si el GPS no muestra en pantalla ninguna information (Hora UTC , Fecha, Latitud, Longitud) puedes necesitar hacer usar este codigo para resetear el GPS de la T-Beam.

antenas gps