Mikroelektronika d.o.o.
Accel 21 Click Board
Accel 21 Click Board
Couldn't load pickup availability
Key Features:
- High performance, MEMS sensor with on-chip signal processing, low power consumption, programmable interrupts, selectable interface, 6D/4D orientation detection, motion and free-fall detection, and more
- Based on the MIS2DH - digital triaxial acceleration sensor from STMicroelectronics
- Can be used for multiple applications such as motion-activated functions, posture and free-fall detection, and more
- mikroBUS: I2C and SPI Interfaces
Unlock Limitless Possibilities with the Accel 21 Click Board™! Get your hands on the compact add-on board that packs a punch with its high-performance three-axis accelerometer from STMicroelectronics. The MIS2DH sensor allows for selectable full-scale acceleration measurements in ranges of ±2g, ±4g, ±8g, or ±16g in three axes and boasts a configurable host interface for both SPI and I2C serial communication. Experience maximum flexibility with its high-resolution and low-power operating modes, perfect for motion-activated functions, posture and free-fall detection, and so much more!
Make software development a breeze with the Accel 21 Click Board™'s support from the mikroSDK compliant library and its fully tested, ready-to-use design for systems equipped with the mikroBUS™ socket. Get your hands on this game-changing product today!
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468487999711.jpg?v=1684951857&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468488032479.jpg?v=1684951844&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468487934175.jpg?v=1684951861&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468487901407.jpg?v=1684951851&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468488491231.jpg?v=1684951680&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468488065247.jpg?v=1684951853&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468488098015.jpg?v=1684951683&width=1445)
![Mikroelektronika d.o.o. MIKROE-5530 Accel 21 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-accel-21-click-board-39468488458463.jpg?v=1684951847&width=1445)
How Does The Accel 21 Click Board™ Work?
The Accel 21 Click Board™ is based on the MIS2DH, a highly reliable digital triaxial acceleration and temperature sensor from STMicroelectronics. The MIS2DH is highly configurable with a programmable acceleration range of ±2g, ±4g, ±8g, or ±16g, capable of measuring accelerations with output data rates from 1Hz to 5.3kHz. Multiple operating modes (high-resolution, normal, and low-power mode) with various bandwidths and output data resolutions contribute significantly to applications such as activity monitoring and posture detection.
The complete measurement chain is composed of a low-noise capacitive amplifier which converts the capacitive unbalance of the MEMS sensor into an analogue voltage that will be available to the user through an analogue-to-digital converter. The acceleration data is accessed through I2C or SPI interface with a maximum frequency of 400kHz for I2C and 10MHz for SPI communication. The selection is made by positioning SMD jumpers labelled COMM SEL in an appropriate position. Note that all the jumpers' positions must be on the same side, or the Click board™ may become unresponsive. While the I2C interface is selected, the MIS2DH allows choosing the least significant bit (LSB) of its I2C slave address using the SMD jumper labelled ADDR SEL.
The MIS2DH also possesses two interrupts, IN1 and IN2, routed to the PWM and INT pins on the mikroBUS™ socket, entirely programmed by the user through a serial interface. They signal MCU that an event, such as inertial wake-up/free-fall or the board's position, has been sensed.
The Accel 21 Click Board™ can only operate with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before using 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 | It can be used for multiple applications such as motion-activated functions, posture and free-fall detection, and more |
On-board modules | MIS2DH - digital triaxial acceleration sensor from STMicroelectronics |
Key Features | High performance, MEMS sensor with on-chip signal processing, low power consumption, programmable interrupts, selectable interface, 6D/4D orientation detection, motion and free-fall detection, and more |
Interface | I2C,SPI |
Compatibility | mikroBUS |
Click board size | S (28.6 x 25.4 mm) |
Input Voltage | 3.3V |
PINOUT DIAGRAM
This table shows how the pinout of the Accel 21 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 | IN1 | Interrupt 1 | |
NC | 2 | RST | INT | 15 | IN2 | Interrupt 2 | |
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 | ADDR SEL | Left | I2C Address Selection 0/1: Left position 0, Right position 1 |
JP2-JP4 | COMM SEL | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
ACCEL 21 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Acceleration Range | ±2 | - | ±16 | g |
Acceleration Resolution | 8 | 10 | 12 | bits |
Sensitivity (±2 ~ ±16) | 3.91 | - | 188.68 | mg/digit |
Software Support
We provide a library for the Accel 21 Click Board™ as well as a demo application (example), developed using MikroE compilers. The demo can run on all the main MikroE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Accel 21 Click Board™ driver.
Key functions
-
accel21_set_config
Accel 21 set config function. -
accel21_get_axis
Accel 21 get accel data function. -
accel21_get_temperature
Accel 21 get temperature function.
Example Description
This library contains API for the Accel 21 Click Board™ 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 X-axis, Y-axis, and Z-axis data.
void application_task ( void )
{
static accel21_axis_t axis;
accel21_get_axis( &accel21, &axis );
log_printf( &logger, "tX : %d rntY : %d rntZ : %d rn", axis.x, axis.y, axis.z );
log_printf( &logger, "------------------------rn" );
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Accel21
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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 MikroE compilers.
MIKROSDK
The Accel 21 Click Board™ is supported with mikroSDK - MikroE 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.
Accel 21 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.
![banner Image](http://thedebugstore.com/cdn/shopifycloud/shopify/assets/no-image-2048-5e88c1b20e087fb7bbe9a3771824e743c244f437e4f8ba93bbf7b11b53f7824c_medium.gif)