MIKROE-2670 Datasheet by MikroElektronika

E DEVELOPMENT TOOLS I COMPILERSI BOOKS GNSS cllck momma a.“ fiscswsa 5mm. own-mums susum swans" ms! um c-hm Hm: cw. u a»
GNSS 5 click
PID: MIKROE-2670
Weight: 30 g
DetermineyourcurrentpositionwithGNSS5click.ItcarriestheNEOM8NGNSSreceivermodule
fromublox.GNSS5clickisdesignedtorunona3.3Vpowersupply.Theclickcommunicateswiththe
targetmicrocontrolleroverI2CorUARTinterface,withadditionalfunctionalityprovidedbythe
followingpinsonthemikroBUS™line:RST,INT,PWM.
Active antenna micro USB NEO-M8N GNSS receiver pps LED Banery holder + battery 1 PWR LED GNSS alck
A USB interface (micro USB port), which is compatible with the USB version 2.0 FS (Full
Speed, 12 Mbit/s), can be used for communication as an alternative to the UART.
The USB port can be used as a power supply as well if you need the click board™ to be a
standalone device.
NEO‐M8NGNSSreceivermodulefeatures
The NEO-M8 series of concurrent GNSS modules are built on the high performing u-blox M8
GNSS engine in the industry proven NEO form factor.
The NEO-M8 series utilizes concurrent reception of up to three GNSS systems (GPS/Galileo
together with BeiDou or GLONASS), recognizes multiple constellations simultaneously and
provides outstanding positioning accuracy in scenarios where urban canyon or weak signals are
involved.
The u-blox NEO-M8 modules can also benefit from the u-blox AssistNow assistance service.
The Online service provides GNNS broadcast parameters, e.g. ephemeris, almanac plus time or
rough position to reduce the receiver’s time to first fix significantly and improve acquisition
sensitivity.
Hardware Backup Mode - If the main supply voltage fails, and a battery is connected to
V_BCKP, parts of the receiver switch off, but the RTC still runs providing a timing reference for
the receiver. This operating mode enables all relevant data to be saved in the backup RAM to
allow a hot or warm start later.
auss ellck
WhatisGNSS?
GNSS stands for Global Navigation Satellite System, an umbrella term that describes both the
United States GPS, the Russian GLONASS global positioning systems, and European Galileo.
Howitworks
A constellation of satellites sends a continuous signal towards Earth. Onboard every satellite is
an atomic clock, and all of them are synchronized, thanks to a reference time scale defined by the
whole system. So, that the signals coming from the different satellites of the same constellation
share the same reference time scale.
If the user wants to utilize GNSS to determine a position, they must have an antenna that
receives the signals coming from the satellites, and a receiver that translates these signals. The
antenna position will be deduced from the measurements of the time delay between the emission
time (satellite) and the reception time (receiver) for at least 4 signals coming from different
satellites.
Specifications
TypeGPS/GNSS
ApplicationsAssettracking,fornavigationdevicesbasedonGPSandGLONASS,roadnavigation
devices,publictransport,wearabledevices,etc.
Onboard
modulesNEOM8NGNSSreceivermodulefromublox
KeyFeatures–167dBmnavigationsensitivity,supportsallsatelliteaugmentationsystems,battery
rmkro BUS
holder
InterfaceI2CorUART
InputVoltage3.3V
ClickboardsizeL(57.15x25.4mm)
Pinoutdiagram
This table shows how the pinout on GNSS 5 click corresponds to the pinout on the mikroBUS™
socket (the latter shown in the two middle columns).
NotesPin
Pin Notes
NC
1ANPWM16EXIExternalInterrupt(input).Canbeusedforwakeup
functionsinPowerSaveMode
Reset
moduleRESET2RSTINT15PPS PulsePerSecond(bydefault,itisconfigurableondifferent
timebases)
NC
3CSTX14RXUARTreceive
NC
4SCKRX13TXUARTtransmit
NC
5MISOSCL12SCLSCLI2Cline
NC
6MOSISDA11SDA SDAI2Cline
Power
supply+3.3V73.3V5V10NC
Ground
GND8GNDGND9GND Ground
ButtonsandLEDs
DesignatorNameTypeDescription
LD1PWRLEDPowerIndicationLED
LD2PPSLEDPulsePerSecond(bydefault)whentheGNSSreceiverhasestablisheda
connectionwiththesatelliteconstellationtheLEDstartsblinking
Programming
Code examples for GNSS 5 click, written for MikroElektronika hardware and compilers are
available on Libstock.
Codesnippet
The following code snippet shows the function that feeds the data into a buffer until the sentence
is ready for parsing, and sets the appropriate flag when such event occurs.
01 void gnss_put( char input )
02 {
03 static bool sentence_flag;
04
05 if( ( input != 'r' && input != 'n' ) && buffer_position < BUFFER_MAX )
06 {
07 buffer[ buffer_position++ ] = input;
08 }
09 else if( input == 'r' )
10 {
11 sentence_flag = true;
12 }
13 else if( input == 'n' && sentence_flag )
14 {
15 buffer[ buffer_position ] = '';
16 buffer_position = 0;
17 strcpypvt( process_buffer, buffer );
18 sentence_flag = false;
19 process_flag = true;
20 }
21 else
22 {
23 buffer_position = 0;
24 }
25 }
https://shop.mikroe.com/gnss5click8217