c6dofimu13
2.0.0.0
|
6DOF IMU 13 Click is a compact add-on board that contains an eCompass that consists of a 3-axis linear accelerometer and a 3-axis magnetic field sensor. This board features the MC6470, an accelerometer and magnetometer for a 6 DoF (6 Degrees of Freedom) sensor solution, from mCube Inc.
We provide a library for the 6DOFIMU13 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.
This library contains API for 6DOFIMU13 Click driver.
c6dofimu13_cfg_setup
Config Object Initialization function. c6dofimu13_init
Initialization function. c6dofimu13_default_cfg
Click Default Configuration function. c6dofimu13_mag_get_data
This function reads magnetometer X, Y, and Z-Axis data. c6dofimu13_accel_init
This function initializes accelerometer. c6dofimu13_accel_get_data
This function reads accelerometer X, Y, and Z-Axis data. This example demonstrates the use of 6DOF IMU 13 click board.
The demo application is composed of two sections :
Initializes the driver, and sets the device default configuration.
Measures acceleration and magnetometer data and displays the results on the USB UART every second.
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:
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.