GPS 4 click
GPS 4 click

Description of product

GPS 4 click carries the L70 compact GPS module from Quectel. The click is designed to run on either 3.3V or 5V power supply. It communicates with the target microcontroller over UART interface, with additional functionality provided by the following pins on the mikroBUS™ line: PWM, AN, RST.

L70 module features

L70, an SMD type module, brings the high performance of MTK positioning engine to the industrial applications with a compact profile, ultra low power consumption and fast positioning capability.

Combining advanced AGPS called EASY™ (Embedded Assist System) and proven AlwaysLocate™ technology, L70 achieves the highest performance and fully meets the industrial standard. EASY™ technology ensures L70 can calculate and predict orbits automatically using the ephemeris data (up to 3 days) stored in internal RAM memory, so L70 can fix position quickly even at indoor signal levels with low power consumption.

With AlwaysLocate™ technology, L70 can adaptively adjust the on/off time to achieve a balance between positioning accuracy and power consumption according to the environmental and motion conditions.

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.

The user wanting to use GPS to determine its position 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.


ApplicationsNavigation devices based on GPS
On-board modulesQuectel's L70
Key FeaturesUltra low power consumption in tracking mode, 12mA, High sensitivity, -165dBm@Tracking, -148dBm@Acquisition
Key BenefitsAlwaysLocate™, an intelligent controller of periodic mode
Input Voltage3.3V or 5V
Click board sizeL (57.15 x 25.4 mm)

Pinout diagram

This table shows how the pinout on GPS 4 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.png                  PinNotes
Module Force ON      FORCE ON       1ANPWM16STANDBY    Module Standby
Module ResetRST2RSTINT15NC
NC3CSTX14TXModule Transmit line 
NC4SCKRX13RXModule Receive line    
Power supply+3.3V73.3V5V10+5VPower supply

Jumpers and settings

Designator  NameDefault PositionDefault OptionDescription
JP1VCC-BCKP  ONVCCBCKP Battery connection; unsolder when battery is connected  
JP2VCCIO3V3Level selector

Buttons and LEDs

Designator    Name    Type    Description
LD1PWRLEDPower Indication LED
LD2PPSLEDGPS tracking indicator   


Code examples for GPS 4 click, written for MikroElektronika hardware and compilers are available on Libstock.

Code snippet

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;
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 }