gnss16  2.1.0.0
Main Page

GNSS 16 Click

GNSS 16 Click is a compact add-on board that delivers meter-level accuracy in urban environments. This Click boardâ„¢ features the NEO-F10N-00B, a professional-grade L1/L5 dual-band GNSS receiver from u-blox. It features dual-band multipath mitigation technology to ensure robust signal reception and supports multiple GNSS systems, including GPS, Galileo, and BeiDou. Configurable for specific constellations, it optimizes power consumption while maintaining high performance.

Click Product page


Click library

  • Author : Nenad Filipovic
  • Date : Mar 2024.
  • Type : UART type

Software Support

We provide a library for the GNSS 16 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.

Library Description

This library contains API for GNSS 16 Click driver.

Standard key functions :

Example key functions :

  • gnss16_parse_gngga This function parses the GNGGA data from the read response buffer.
    err_t gnss16_parse_gngga ( char *rsp_buf, uint8_t gngga_element, char *element_data );
  • gnss16_reset_device This function resets the device by toggling the RST pin.

Example Description

This example demonstrates the use of GNSS 16 Click board by processing the incoming data and displaying them on the USB UART.

The demo application is composed of two sections :

Application Init

Initializes the driver and resets the Click board.

void application_init ( void )
{
log_cfg_t log_cfg;
gnss16_cfg_t gnss16_cfg;
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_info( &logger, " Application Init " );
// Click initialization.
gnss16_cfg_setup( &gnss16_cfg );
GNSS16_MAP_MIKROBUS( gnss16_cfg, MIKROBUS_1 );
if ( UART_ERROR == gnss16_init( &gnss16, &gnss16_cfg ) )
{
log_error( &logger, " Communication init." );
for ( ; ; );
}
gnss16_reset_device( &gnss16 );
log_info( &logger, " Application Task " );
}

Application Task

Reads and processes all incoming data and displays them on the USB UART.

void application_task ( void )
{
gnss16_process( &gnss16 );
if ( app_buf_len > ( sizeof ( GNSS16_RSP_GNGGA ) + GNSS16_GNGGA_ELEMENT_SIZE ) )
{
gnss16_parser_application( app_buf );
}
}

The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.

Other Mikroe Libraries used in the example:

  • MikroSDK.Board
  • MikroSDK.Log
  • Click.GNSS16

Additional notes and informations

Depending on the development board you are using, you may need USB UART Click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.


gnss16_parse_gngga
err_t gnss16_parse_gngga(char *rsp_buf, uint8_t gngga_element, char *element_data)
GNSS 16 parse GNGGA function.
GNSS16_RSP_GNGGA
#define GNSS16_RSP_GNGGA
Definition: gnss16.h:75
gnss16_t
GNSS 16 Click context object.
Definition: gnss16.h:135
application_task
void application_task(void)
Definition: main.c:99
gnss16_init
err_t gnss16_init(gnss16_t *ctx, gnss16_cfg_t *cfg)
GNSS 16 initialization function.
GNSS16_MAP_MIKROBUS
#define GNSS16_MAP_MIKROBUS(cfg, mikrobus)
MikroBUS pin mapping.
Definition: gnss16.h:121
gnss16_reset_device
void gnss16_reset_device(gnss16_t *ctx)
GNSS 16 reset device function.
GNSS16_GNGGA_ELEMENT_SIZE
#define GNSS16_GNGGA_ELEMENT_SIZE
GNSS 16 GNGGA command elements.
Definition: gnss16.h:81
gnss16_cfg_setup
void gnss16_cfg_setup(gnss16_cfg_t *cfg)
GNSS 16 configuration object setup function.
application_init
void application_init(void)
Definition: main.c:68
gnss16_cfg_t
GNSS 16 Click configuration object.
Definition: gnss16.h:156