# Title: 6DOF IMU 3 Click Board™ ## Description: How Does The 6DOF IMU 3 Click Board™ Work? The 6DOF IMU 3 Click Board™ is based around the FXOS8700CQ, which is a small, low-power, 3-axis, linear accelerometer and 3-axis magnetometer combined into a single package, from NXP. The device features a selectable I2C or point-to-point SPI serial interface with 14-bit accelerometer and 16-bit magnetometer ADC resolution along with smart-embedded functions.The FXOS8700CQ has dynamically selectable acceleration full-scale ranges of ±2 g/±4 g/±8 g and a fixed magnetic measurement range of ±1200 μT. Output data rates (ODR) from 1.563 Hz to 800 Hz are selectable by the user for each sensor. Interleaved magnetic and acceleration data is available at ODR rates of up to 400 Hz. Sensitivity of the sensor is represented in mg/LSB for the accelerometer and μT/LSB for the magnetometer. The magnetometer sensitivity is fixed at 0.1 μT/LSB. The accelerometer sensitivity changes with the full-scale range selected by the user. Accelerometer sensitivity is 0.244 mg/LSB in 2 g mode, 0.488 mg/LSB in 4 g mode, and 0.976 mg/LSB in 8 g mode, making it ideal for applications such as used for security, like motion detection, door opening, smart home applications, robotics and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, in medical purposes, like patient monitoring, fall detection and more. 6DOF IMU 3 Click Board™ supports both SPI and I2C communication interfaces, allowing it to be used with a wide range of different MCUs. The communication interface can be selected by moving SMD jumpers grouped under the COM SEL to an appropriate position (SPI or I2C). The slave I2C address can also be configured by an SMD jumper when the Click Board™ is operated in the I2C mode. An SMD jumpers labelled as ADDR SEL is used to set the least significant bit (LSB) of the I2C address. The I2C interface is compliantwith fast mode (400 kHz), and normal mode (100 kHz) I2C standards, while the SPI interface is a classical master/slave serial port. The FXOS8700CQ is always considered as the slave and thus is never initiating the communication. This Click Board™ is designed to be operated only with 3.3V logic level. A proper logic voltage level conversion should be performed before the Click Board™ is used with MCUs with logic levels of 5V. SPECIFICATIONS Type Motion Applications For security, like motion detection, door opening, smart home applications, robotics, and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, medical, like patient monitoring, fall detection, and rehabilitation, augmented reality (AR), gaming, and real-time activity analysis, etc. On-board modules FXOS8700CQ is a small, low-power, 3-axis, linear accelerometer and 3-axis, magnetometer combined into a single package Key Features The 14-bit accelerometer and 16-bit magnetometer are combined with a high-performance ASIC to enable an eCompass solution capable of a typical orientation resolution of 0.1° and sub-5° compass heading accuracy Interface I2C,SPI Compatibility mikroBUS Click Board™ size M (42.9 x 25.4 mm) Input Voltage 3.3V PINOUT DIAGRAM This table shows how the pinout on 6DOF IMU 3 Click Board™ 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 Reset RST 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 INT SEL Left Interrupt pin selection, left position INT1, right position INT2 JP2 ADDR SEL Right I2C adress selection pin SA0, left position 3V3 (H), right position 0V (L) JP3 ADDR SEL Right I2C adress selection pin SA1, left position 3V3 (H), right position 0V (L) JP4 COMM SEL Right Communication selection, left position SPI CS pin, right position I2C SA1 pin JP5 COMM SEL Right Communication selection, left position SPI SCK pin, right position I2C SCL pin JP6 COMM SEL Right Communication selection, left position SPI MISO pin, right position I2C SA0 pin JP7 COMM SEL Right Communication selection, left position SPI MOSI pin, right position I2C SDA pin ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: 6DOF, Click Board, FreeScale-NXP, MikroE, Motion, NXP, Sensor ## Price range: 5.6 - 5.6 GBP ## Link: https://thedebugstore.com/products/mikroe-4086-6dof-imu-3-click-board-uk ## Compare-at price range: 8.0 - 8.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [NXP Device Support from Debug Store: Explore Our Innovative Embedded Solutions](https://thedebugstore.com/a/llms/collections/nxp-device-support-uk) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Google Shopping - invalid product](https://thedebugstore.com/a/llms/collections/google-shopping-valid-products) - [Motion Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/motion-sensor-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [NXP Semiconductor Device Support: Development Boards and Tools](https://thedebugstore.com/a/llms/collections/nxp-semiconductor-device-support) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4086, Available: yes, Inventory: 2 ## Metafields - full_description:
The 6DOF IMU 3 Click Board™ is based around the FXOS8700CQ, which is a small, low-power, 3-axis, linear accelerometer and 3-axis magnetometer combined into a single package, from NXP. The device features a selectable I2C or point-to-point SPI serial interface with 14-bit accelerometer and 16-bit magnetometer ADC resolution along with smart-embedded functions.The FXOS8700CQ has dynamically selectable acceleration full-scale ranges of ±2 g/±4 g/±8 g and a fixed magnetic measurement range of ±1200 μT. Output data rates (ODR) from 1.563 Hz to 800 Hz are selectable by the user for each sensor. Interleaved magnetic and acceleration data is available at ODR rates of up to 400 Hz.

Sensitivity of the sensor is represented in mg/LSB for the accelerometer and μT/LSB for the magnetometer. The magnetometer sensitivity is fixed at 0.1 μT/LSB. The accelerometer sensitivity changes with the full-scale range selected by the user. Accelerometer sensitivity is 0.244 mg/LSB in 2 g mode, 0.488 mg/LSB in 4 g mode, and 0.976 mg/LSB in 8 g mode, making it ideal for applications such as used for security, like motion detection, door opening, smart home applications, robotics and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, in medical purposes, like patient monitoring, fall detection and more.
6DOF IMU 3 Click Board™ supports both SPI and I2C communication interfaces, allowing it to be used with a wide range of different MCUs. The communication interface can be selected by moving SMD jumpers grouped under the COM SEL to an appropriate position (SPI or I2C). The slave I2C address can also be configured by an SMD jumper when the Click Board™ is operated in the I2C mode. An SMD jumpers labelled as ADDR SEL is used to set the least significant bit (LSB) of the I2C address. The I2C interface is compliantwith fast mode (400 kHz), and normal mode (100 kHz) I2C standards, while the SPI interface is a classical master/slave serial port. The FXOS8700CQ is always considered as the slave and thus is never initiating the communication.
This Click Board™ is designed to be operated only with 3.3V logic level. A proper logic voltage level conversion should be performed before the Click Board™ is used with MCUs with logic levels of 5V.
| Type | Motion |
| Applications | For security, like motion detection, door opening, smart home applications, robotics, and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, medical, like patient monitoring, fall detection, and rehabilitation, augmented reality (AR), gaming, and real-time activity analysis, etc. |
| On-board modules | FXOS8700CQ is a small, low-power, 3-axis, linear accelerometer and 3-axis, magnetometer combined into a single package |
| Key Features | The 14-bit accelerometer and 16-bit magnetometer are combined with a high-performance ASIC to enable an eCompass solution capable of a typical orientation resolution of 0.1° and sub-5° compass heading accuracy |
| Interface | I2C,SPI |
| Compatibility | mikroBUS |
| Click Board™ size | M (42.9 x 25.4 mm) |
| Input Voltage | 3.3V |
This table shows how the pinout on 6DOF IMU 3 Click Board™ 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 | ||
| Reset | RST | 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 |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED Indicator |
| JP1 | INT SEL | Left | Interrupt pin selection, left position INT1, right position INT2 |
| JP2 | ADDR SEL | Right | I2C adress selection pin SA0, left position 3V3 (H), right position 0V (L) |
| JP3 | ADDR SEL | Right | I2C adress selection pin SA1, left position 3V3 (H), right position 0V (L) |
| JP4 | COMM SEL | Right | Communication selection, left position SPI CS pin, right position I2C SA1 pin |
| JP5 | COMM SEL | Right | Communication selection, left position SPI SCK pin, right position I2C SCL pin |
| JP6 | COMM SEL | Right | Communication selection, left position SPI MISO pin, right position I2C SA0 pin |
| JP7 | COMM SEL | Right | Communication selection, left position SPI MOSI pin, right position I2C SDA pin |
We provide a library for the 6DOF IMU 3 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The library covers all the necessary functions to control the 6DOF IMU 3 Click Board™. Library performs a standard I2C and SPI interface communication.
C6DOFIMU3_RETVAL_T c6dofimu3_check_id ( void ) - Check ID function.void c6dofimu3_default_config ( void ) - Set default sensor configuration function.void c6dofimu3_get_data ( c6dofimu3_accel_t *accel_data, c6dofimu3_mag_t *mag_data ); - Read Accel and Magnetometer data functionThe application is composed of three sections :
void application_task( )
{
if ( c6dofimu3_check_data_ready( ) )
{
c6dofimu3_get_data ( &accel_data, &mag_data );
mikroBUS_logWrite( " Accel X :", _LOG_TEXT );
IntToStr( accel_data.x, log_text );
mikroBUS_logWrite( log_text, _LOG_TEXT );
mikroBUS_logWrite( " | ", _LOG_TEXT );
mikroBUS_logWrite( " Mag X :", _LOG_TEXT );
IntToStr( mag_data.x, log_text );
mikroBUS_logWrite( log_text, _LOG_LINE );
mikroBUS_logWrite( " Accel Y :", _LOG_TEXT );
IntToStr( accel_data.y, log_text );
mikroBUS_logWrite( log_text, _LOG_TEXT );
mikroBUS_logWrite( " | ", _LOG_TEXT );
mikroBUS_logWrite( " Mag Y :", _LOG_TEXT );
IntToStr( mag_data.y, log_text );
mikroBUS_logWrite( log_text, _LOG_LINE );
mikroBUS_logWrite( " Accel Z :", _LOG_TEXT );
IntToStr( accel_data.z, log_text );
mikroBUS_logWrite( log_text, _LOG_TEXT );
mikroBUS_logWrite( " | ", _LOG_TEXT );
mikroBUS_logWrite( " Mag Z :", _LOG_TEXT );
IntToStr( mag_data.z, log_text );
mikroBUS_logWrite( log_text, _LOG_LINE );
mikroBUS_logWrite( "-------------------------------------", _LOG_LINE );
Delay_ms( 500 );
}
}
The full application code, and ready to use projects can be found on our LibStock page.
Other mikroE Libraries used in the example:
Depending on the development board you are using, you may need a USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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.
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.
- attachments: [{"download_file":[{"download_file":"6DOF IMU 3 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"NXP FXOS8700CQ 3-Axis Accelerometer and 3-Axis Magnetometer Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-4086 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Freescale Semiconductor - device_type: FXOS8700CQR1 - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - key_feature_2: The 14-bit accelerometer and 16-bit magnetometer are combined with a high-performance ASIC to enable an eCompass solution capable of a typical orientation resolution of 0.1° and sub-5° compass heading accuracy - key_feature_3: Based on the FXOS8700CQ is a small, low-power, 3-axis, linear accelerometer and 3-axis, magnetometer combined into a single package - key_feature_4: For security, like motion detection, door opening, smart home applications, robotics, and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, medical, like patient monitoring, fall detection, and rehabilitation, augmented reality (AR), gaming, and real-time activity analysis, etc. - target_keyword: 6DOF IMU 3 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The 6DOF IMU 3 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"6DOF IMU 3 Click Board™","bold":true},{"type":"text","value":" is based around the FXOS8700CQ, which is a small, low-power, 3-axis, linear accelerometer and 3-axis magnetometer combined into a single package, from NXP. The device features a selectable I2C or point-to-point SPI serial interface with 14-bit accelerometer and 16-bit magnetometer ADC resolution along with smart-embedded functions.The FXOS8700CQ has dynamically selectable acceleration full-scale ranges of ±2 g/±4 g/±8 g and a fixed magnetic measurement range of ±1200 μT. Output data rates (ODR) from 1.563 Hz to 800 Hz are selectable by the user for each sensor. Interleaved magnetic and acceleration data is available at ODR rates of up to 400 Hz."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"Sensitivity of the sensor is represented in mg/LSB for the accelerometer and μT/LSB for the magnetometer. The magnetometer sensitivity is fixed at 0.1 μT/LSB. The accelerometer sensitivity changes with the full-scale range selected by the user. Accelerometer sensitivity is 0.244 mg/LSB in 2 g mode, 0.488 mg/LSB in 4 g mode, and 0.976 mg/LSB in 8 g mode, making it ideal for applications such as used for security, like motion detection, door opening, smart home applications, robotics and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, in medical purposes, like patient monitoring, fall detection and more."}]},{"type":"paragraph","children":[{"type":"text","value":"6DOF IMU 3 Click Board™ supports both SPI and I2C communication interfaces, allowing it to be used with a wide range of different MCUs. The communication interface can be selected by moving SMD jumpers grouped under the COM SEL to an appropriate position (SPI or I2C). The slave I2C address can also be configured by an SMD jumper when the Click Board™ is operated in the I2C mode. An SMD jumpers labelled as ADDR SEL is used to set the least significant bit (LSB) of the I2C address. The I2C interface is compliantwith fast mode (400 kHz), and normal mode (100 kHz) I2C standards, while the SPI interface is a classical master/slave serial port. The FXOS8700CQ is always considered as the slave and thus is never initiating the communication."}]},{"type":"paragraph","children":[{"type":"text","value":"This Click Board™ is designed to be operated only with 3.3V logic level. A proper logic voltage level conversion should be performed before the Click Board™ is used with MCUs with logic levels of 5V."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nMotion\nApplications\nFor security, like motion detection, door opening, smart home applications, robotics, and unmanned aerial vehicles (UAVs) with electronic compass (e-compass) function, medical, like patient monitoring, fall detection, and rehabilitation, augmented reality (AR), gaming, and real-time activity analysis, etc.\nOn-board modules\nFXOS8700CQ is a small, low-power, 3-axis, linear accelerometer and 3-axis, magnetometer combined into a single package\nKey Features\nThe 14-bit accelerometer and 16-bit magnetometer are combined with a high-performance ASIC to enable an eCompass solution capable of a typical orientation resolution of 0.1° and sub-5° compass heading accuracy\nInterface\nI2C,SPI\nCompatibility\nmikroBUS\nClick Board™ size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on 6DOF IMU 3 Click Board™ corresponds to the pinout on the mikroBUS socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nNC\nReset\nRST\n2\nRST\nINT\n15\nINT\nInterrupt\nSPI Chip Select\nCS\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT\nSDO\n5\nMISO\nSCL\n12\nSCL\nI2C Clock\nSPI Data IN\nSDI\n6\nMOSI\nSDA\n11\nSDA\nI2C Data\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\nNC\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":""},{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\n Description\nLD1\nPWR\n-\nPower LED Indicator\nJP1\nINT SEL\nLeft\nInterrupt pin selection, left position INT1, right position INT2\nJP2\nADDR SEL\nRight\nI2C adress selection pin SA0, left position 3V3 (H), right position 0V (L)\nJP3\nADDR SEL\nRight\nI2C adress selection pin SA1, left position 3V3 (H), right position 0V (L)\nJP4\nCOMM SEL\nRight\nCommunication selection, left position SPI CS pin, right position I2C SA1 pin\nJP5\nCOMM SEL\nRight\nCommunication selection, left position SPI SCK pin, right position I2C SCL pin\nJP6\nCOMM SEL\nRight\nCommunication selection, left position SPI MISO pin, right position I2C SA0 pin\nJP7\nCOMM SEL\nRight\nCommunication selection, left position SPI MOSI pin, right position I2C SDA pin"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:The 6DOF IMU 3 Click Board™ is a complete 6-axis detection development board suitable for movement and position tracking devices. This Click Board™ board features the compact FXOS8700CQ motion sensor from NXP, an integrated 3-axis linear accelerometer and a 3-axis magnetometer combined in one package.
The device supports a selectable I2C or point-to-point SPI serial interface with a 14-bit accelerometer and 16-bit magnetometer which are combined with a high-performance ASIC to enable an eCompass solution capable of a typical orientation resolution of 0.1° and sub-5° compass heading accuracy for many applications.