c6dofimu17 2.0.0.0
|
6DOF IMU 17 Click is a compact add-on board that contains a 6-axis inertial measurement unit. This board features the IIM-42652, a 6-axis SmartIndustrial™ MotionTracking device that supports an extended operating temperature range for industrial applications from TDK InvenSense. It combines a 3-axis gyroscope and a 3-axis accelerometer featuring a 2K-byte FIFO that can lower the traffic on the serial bus interface (SPI or I2C) and reduce power consumption by allowing the system processor to burst read sensor data and then go into a low-power mode.
We provide a library for the 6DOFIMU17 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 6DOFIMU17 Click driver.
c6dofimu17_cfg_setup
Config Object Initialization function. c6dofimu17_init
Initialization function. c6dofimu17_default_cfg
Click Default Configuration function. c6dofimu17_get_accel_data
6DOF IMU 17 get accel data function. c6dofimu17_get_gyro_data
6DOF IMU 17 get gyroscope data function. c6dofimu17_get_temperature
6DOF IMU 17 get temperature data function. This library contains API for 6DOF IMU 17 Click driver. The library initializes and defines the I2C or SPI bus drivers to write and read data from registers. The library also includes a function for reading accelerometer and gyroscope X-axis, Y-axis, and Z-axis data as well as the temperature in degrees Celsius.
The demo application is composed of two sections :
The initialization of I2C or SPI module, log UART, and additional pins. After the driver init, the app checks communication, sensor ID, and then executes a default configuration.
This is an example that shows the use of a 6DOF IMU 17 Click board™. Measures and displays acceleration and gyroscope data for X-axis, Y-axis, and Z-axis and the temperature in degrees Celsius. Results are being sent to the USART terminal where the user can track their changes. This task repeats every 100 ms.
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.