c13dof  2.0.0.0
Main Page

13DOF click

13DOF Click is an advanced 13-axis motion tracking Click boardâ„¢, which utilizes three different sensor ICs onboard: BME680, a digital gas, humidity, pressure and temperature sensor and BMM150, a geomagnetic sensor and a BMI088, small, versatile 6DoF sensor module. All integrated sensors ICs are made by Bosch Sensortec, featuring the state-of-the-art sensor technology processes, in order to fulfill the requirements for immersive gaming and navigation applications, which require highly accurate sensor data fusion.>

click Product page


Click library

Software Support

We provide a library for the c13DOF 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 form compilers IDE(recommended way), or downloaded from our LibStock, or found on mikroE github account.

Library Description

This library contains API for c13DOF Click driver.

Standard key functions :

Example key functions :

Examples Description

This is a example displays values registered by sensors on click board.

The demo application is composed of two sections :

Application Init

Initialization driver enables - BME680, BMI088 and BMM150 sensor.

void application_init ( void )
{
log_cfg_t log_cfg;
// Logger initialization.
log_cfg.level = LOG_LEVEL_DEBUG;
LOG_MAP_USB_UART( log_cfg );
log_init( &logger, &log_cfg );
log_info( &logger, "---- 13DOF Click ----" );
// Click initialization.
C13DOF_MAP_MIKROBUS( cfg, MIKROBUS_1 );
c13dof_init( &c13dof, &cfg );
c13dof_default_cfg( &c13dof );
}

Application Task

This is a example which demonstrates the use of 13DOF Click board. Displays temperature in degrees Celsius , humidity data, pressure and gas resistance data from the BME680 sensor.

void application_task ( void )
{
// Task implementation.
log_printf( &logger, "----------------------------------------------------------\n");
log_printf( &logger, "Temperature : %.2f C \r\n", temperature );
log_printf( &logger, "Humidity : %.2f %% \r\n", humidity );
log_printf( &logger, "Pressure : %f mbar \r\n", pressure );
log_printf( &logger, "Gas Resistance : %u \r\n", gas_res );
{
}
log_printf( &logger, "Accel X : %d ", accel_x );
log_printf( &logger, " Y : %d ", accel_y );
log_printf( &logger, " Z : %d \r\n", accel_z );
log_printf( &logger, "Gyro X : %d ", gyro_x );
log_printf( &logger, " Y : %d ", gyro_y );
log_printf( &logger, " Z : %d \r\n", gyro_z );
log_printf( &logger, "Mag X : %d ", mag_x );
log_printf( &logger, " Y : %d ", mag_y );
log_printf( &logger, " Z : %d \r\n", mag_z );
Delay_ms ( 2000 );
}

The full application code, and ready to use projects can be installed directly form compilers IDE(recommneded) or found on LibStock page or mikroE GitHub accaunt.

Other mikroE Libraries used in the example:

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. The terminal available in all Mikroelektronika compilers, or any other terminal application of your choice, can be used to read the message.