How does it work?
Piezo Accel Click, as its foundation, uses the 820M1-0025, a piezoelectric accelerometer designed for embedded condition monitoring and preventive maintenance applications from TE Connectivity. The 820M1-0025 accelerometer is available in the range of ±25g and features a flat frequency response up to >15kHz. Featuring stable piezoceramic crystals in shear mode sealed in a fully hermetic LCC package, the accelerometer incorporates an amplified ±1.25V output with optimum measurement resolution. This Click board™ is suitable for machine health monitoring and has superior resolution, dynamic range, and bandwidth to MEMS devices.
The piezoelectric technology incorporated in the 820M1-0025 accelerometer has a proven track record for offering the reliable and long-term stable output required for condition monitoring applications. This output signal can be processed in two ways, as an analog value or converted to a digital using the LTC1864, a successive approximation A/D converter with a 16-bit resolution from Analog Devices. This ADC includes a sample-and-hold feature and has a differential analog input with an adjustable reference pin used as the reference input resulting in accuracy and stability the 4.096V reference voltage level provided by the MCP1541 from Microchip.
Piezo Accel Click communicates with MCU using the 3-Wire SPI serial interface through an earlier mentioned AD converter, the LTC1864. The 5V logic level provides a needed reference voltage for one side of the TXB0106, a 6-bit bidirectional level shifting, and a voltage translator with automatic direction sensing from Texas Instruments. On another side of the level shifter, the reference voltage is taken from the 3.3V pin from the mikroBUS™.
In addition to the AD converter, the output of the 820M1-0025 can be also sent directly to an analog pin of the mikroBUS ™ socket labeled as AN. An output signal processing can be performed by placing an onboard SMD jumper labeled as AN SEL to an appropriate position marked as AN and ADC.
This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to properly use the SPI communication lines. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
Specifications
Type
Motion
Applications
Can be used for condition monitoring applications.
On-board modules
820M1-0025 – piezoelectric accelerometer designed for embedded monitoring and preventive maintenance applications from TE Connectivity
Key Features
Piezoelectric accelerometer, wide bandwidth, superior resolution to MEMS devices, low power consumption, and more.
Interface
Analog,SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on Piezo Accel Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
JP1 | VCC SEL | Right | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | AN SEL | Right | Analog Signal Processing Selection AN/ADC: Left position AN, Right position ADC |
Piezo Accel Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Acceleration Range | – | ±25 | – | g |
Sensitivity | – | 50 | – | mV/g |
Bandwidth | – | – | 10 | kHz |
Operating Temperature Range | -40 | +25 | +125 | °C |
Software Support
We provide a library for the Piezo Accel 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.
Library Description
This library contains API for Piezo Accel Click driver.
Key functions:
piezoaccel_cfg_setup
– Config Object Initialization function.piezoaccel_init
– Initialization function.piezoaccel_default_cfg
– Click Default Configuration function.
Examples description
This application demonstrates the performance of Piezo Accel Click board™.
void application_task ( void ) { float read_val; read_val = piezoaccel_g_unit_read( &piezoaccel, &setup_cfg_data ); log_printf( &logger, "%.2f,%.2frn", read_val, time_var ); time_var += time_incr; Delay_ms( time_incr ); }
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.PiezoAccel
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. 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.
For more information about mikroSDK, visit the official page.