OFF
30 g
Status:
Accel Click is a compact add-on board that contains an acceleration sensor. This board features the ADXL345, an ultra-low power, 3-axis accelerometer with high resolution (13-bit) measurements from Analog Devices. It allows selectable full-scale acceleration measurements in ranges of ±2g, ±4g, ±8g, or ±16g in three axes with a configurable host interface that supports both SPI and I2C serial communication. Several special sensing functions are also provided (presence or lack of motion detection, tap, and free-ball sense) alongside a low-power mode that enables intelligent motion-based power management. This Click board™ is suitable for various applications such as motion-activated functions, measurement of inclination changes, and tilt-sensing applications.
Accel Click is fully compatible with the mikroBUS™ socket and can be used on any host system supporting the mikroBUS™ standard. It comes with the mikroSDK open-source libraries, offering unparalleled flexibility for evaluation and customization. What sets this Click board™ apart is the groundbreaking ClickID feature, enabling your host system to seamlessly and automatically detect and identify this add-on board.
This product is no longer in stock
Availability date: 11/09/2023
Accel Click is based on the ADXL345, a complete 3-axis acceleration measurement system that operates at low power consumption levels from Analog Devices. It measures both dynamic accelerations, resulting from motion or shock, and static acceleration, such as gravity, and allows selectable full-scale acceleration measurements in ranges of ±2g, ±4g, ±8g, or ±16g with a resolution of 4mg/LSB on the ±2g range. Acceleration is reported digitally, communicating via the SPI or the I2C protocol and providing 16-bit output resolution. Its high resolution also enables the measurement of inclination changes less than 1.0°.
The ADXL345 supports several special sensing functions. Activity and inactivity sensing detect the presence or lack of motion by comparing the acceleration on any axis with user-set thresholds, while tap sensing detects single and double taps in any direction. Besides, a free-fall sensing feature detects if the device is falling. All these functions can be mapped to the interrupt pin routed on the INT pin of the mikroBUS™ socket.
Accel Click allows using both I2C and SPI interfaces. The selection can be made by positioning SMD jumpers labeled as 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 ADXL345 allows choosing the least significant bit (LSB) of its I2C slave address using the SMD jumper labeled ADDR SEL.
An integrated memory management system with a 32-level first in, first out (FIFO) buffer can be used to store data to minimize host processor activity and lower overall system power consumption. Low power modes enable intelligent motion-based power management with threshold sensing and active acceleration measurement at low power dissipation.
This Click board™ can be operated only 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.
MEMS Sensors: Conversion of the Physical World to the Digital World - MIKROE Learn
MEMS sensors or Micro-Electro-Mechanical Systems are the sensors and actuators at the bare metal of embedded systems. MEMS are used for airbag systems, automatic door locks, security systems , earthquake detection, inkjet printers, kitchen appliances, and of course computer peripherals. In this blog we will explore the different ways you can use MEMS sensors.
Type
Motion
Applications
Can be used for various applications such as motion-activated functions, measurement of inclination changes, and tilt-sensing applications
On-board modules
ADXL345 - complete 3-axis acceleration measurement system from Analog Devices
Key Features
Low power consumption, high-performance, high resolution, several sensing function, embedded memory management system with FIFO technology, interrupt, and more
Interface
I2C,SPI
Feature
ClickID Manifest,No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V
This table shows how the pinout on Accel Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1-JP3 | COMM SEL | Right | Communication Interface Selection SPI/I2C: Left position SPI, Right position I2C |
JP4 | ADDR SEL | Right | I2C Address Selection 0/1: Left position 0, Right position 1 |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 3.3 | - | V |
Acceleration Range | ±2 | - | ±16 | g |
Full Resolution | - | 13 | - | bits |
Sensitivity (Full Resolution) | 230 | 256 | 282 | LSB/g |
We provide a library for the Accel Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for Accel Click driver.
Key functions
Function raw read X axis
Function raw read Y axis
Function raw read Z axis
Example Description
void application_task ( void )
{
val_x = accel_read_x_axis( &accel );
log_printf( &logger, "Axis X : %drn", val_x );
val_y = accel_read_y_axis( &accel );
log_printf( &logger, "Axis Y : %drn", val_y );
val_z = accel_read_z_axis( &accel );
log_printf( &logger, "Axis Z : %drn", val_z );
log_printf( &logger, "-------------------rn" );
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), 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 MIKROE compilers.
This 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.
For more information about mikroSDK, visit the official page.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.