Carte de clic IMU 17 à 6 degrés de liberté
Carte de clic IMU 17 à 6 degrés de liberté
Overview
Le 6DOF IMU 17 Click Board™ est une carte complémentaire compacte qui contient une unité de mesure inertielle à 6 axes. Cette carte comprend l'IIM-42652, un dispositif de suivi de mouvement SmartIndustrial™ à 6 axes qui prend en charge une plage de températures de fonctionnement étendue pour les applications industrielles de TDK InvenSense. Il combine un gyroscope à 3 axes et un accéléromètre à 3 axes doté d'un FIFO de 2 Ko qui peut réduire le trafic sur l'interface de bus série (SPI ou I2C) et réduire la consommation d'énergie en permettant au processeur du système de lire en rafale les données du capteur, puis de passer en mode basse consommation. Cette Click Board™ représente un excellent choix pour des applications telles que la détection d'inclinaison, la navigation, la mesure d'orientation, la stabilisation de plate-forme, la robotique et bien d'autres.
Le Click Board™ 6DOF IMU 17 est pris en charge par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Ce Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The 6DOF IMU 17 Click Board™ Work?
The 6DOF IMU 17 Click Board™ as its foundation uses the IIM-42652, a 6-axis motion tracking device that combines a 3-axis gyroscope and a 3-axis accelerometer from TDK InvenSense. It features a 2K-byte FIFO that can lower the traffic on the selected serial bus interface and reduce power consumption by allowing the system processor to burst read sensor data and then go into a low-power mode. With its 6-axis integration, the IIM-42652 guarantees optimal motion performance for customers. The IIM-42652 supports an extended operating temperature range up to 105°C, allowing customers to design it into a wide range of industrial IoT applications, including navigation and stabilizing industrial machinery and robots.
The gyroscope supports eight programmable full-scale range settings from ±15.625dps to ±2000dps, and the accelerometer supports four programmable full-scale range settings from ±2g to ±16g. Other industry-leading features include on-chip 16-bit ADCs, programmable digital filters, an embedded temperature sensor, and programmable interrupts. The IIM-42652 also provides high robustness by supporting 20,000g shock reliability.
The 6DOF IMU 17 Click Board™ provides the possibility of using both I2C and SPI interfaces with a maximum frequency of 1MHz for I2C and 24MHz for SPI communication. The selection can be made by positioning SMD jumpers labelled as COMM SEL to an appropriate position. Note that all the jumpers' positions must be on the same side, or the Click board™ may become unresponsive.
Interrupt functionality is configured via the Interrupt Configuration register, which allows for interrupt pin configuration routed to the INT pin of the mikroBUS™ socket (used to signal MCU that an event has been sensed), the interrupt latching and clearing method, and triggers for the interrupt. The interrupt status can be read from the Interrupt Status register.
The 6DOF IMU 17 Click Board™ can be operated only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Motion |
Applications | Can be used for applications like tilt sensing, navigation, orientation measurement, platform stabilization, robotics, and many more |
On-board modules | IIM-42652 - 6-axis SmartIndustrial™ MotionTracking device that supports an extended operating temperature range for industrial applications from TDK InvenSense |
Key Features | Low power consumption, digital-output X-, Y-, and Z-axis angular rate sensors with programmable full-scale range, user-programmable interrupts, 20.000g shock tolerant, and more |
Interface | I2C,SPI |
Compatibility | mikroBUS |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout on 6DOF IMU 17 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | INT | Interrupt | |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | SCL | I2C Clock |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | SDA | I2C Data |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | NC | |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1-JP4 | COMM SEL | Left | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
6DOF IMU 17 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Gyroscope Full-Scale Range | ±2000 | - | ±15.625 | dps |
Accelerometer Full-Scale Range | ±2 | - | ±16 | g |
Operating Temperature Range | -40 | +25 | +105 | °C |
Software Support
We provide a library for the 6DOF IMU 17 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The 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 6DOF IMU 17 Click driver.
Key Functions
c6dofimu17_cfg_setup
- Config Object Initialization function.c6dofimu17_init
- Initialization function.c6dofimu17_default_cfg
- Click Default Configuration function.
Example Description
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.
void application_task ( void ) { c6dofimu17_axis_t accel_data; c6dofimu17_axis_t gyro_data; float temperature; c6dofimu17_get_accel_data( &c6dofimu17, &accel_data ); c6dofimu17_get_gyro_data( &c6dofimu17, &gyro_data ); c6dofimu17_get_temperature( &c6dofimu17, &temperature ); log_printf( &logger, "t Accel X: %dt|tGyro X: %drn", accel_data.x, gyro_data.x ); log_printf( &logger, "t Accel Y: %dt|tGyro Y: %drn", accel_data.y, gyro_data.y ); log_printf( &logger, "t Accel Z: %dt|tGyro Z: %drn", accel_data.z, gyro_data.z ); log_printf( &logger, "t- - - - - - - - - - - - - - - - - - -rn" ); log_printf( &logger, "tt Temperature: %.2f Crn", temperature ); log_printf( &logger, "t--------------------------------------rn" ); Delay_ms( 1000 ); }
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.6DOFIMU17
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Software Support
We provide a library for the 6DOF IMU 17 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The 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 6DOF IMU 17 Click driver.
Key Functions
c6dofimu17_cfg_setup
- Config Object Initialization function.c6dofimu17_init
- Initialization function.c6dofimu17_default_cfg
- Click Default Configuration function.
Example Description
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.
void application_task ( void ) { c6dofimu17_axis_t accel_data; c6dofimu17_axis_t gyro_data; float temperature; c6dofimu17_get_accel_data( &c6dofimu17, &accel_data ); c6dofimu17_get_gyro_data( &c6dofimu17, &gyro_data ); c6dofimu17_get_temperature( &c6dofimu17, &temperature ); log_printf( &logger, "t Accel X: %dt|tGyro X: %drn", accel_data.x, gyro_data.x ); log_printf( &logger, "t Accel Y: %dt|tGyro Y: %drn", accel_data.y, gyro_data.y ); log_printf( &logger, "t Accel Z: %dt|tGyro Z: %drn", accel_data.z, gyro_data.z ); log_printf( &logger, "t- - - - - - - - - - - - - - - - - - -rn" ); log_printf( &logger, "tt Temperature: %.2f Crn", temperature ); log_printf( &logger, "t--------------------------------------rn" ); Delay_ms( 1000 ); }
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.6DOFIMU17
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
This Click board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.