How does it work?
Gyro 8 Click is based on the SCR2100-D08, a high-performance single-axis gyroscope from Murata. The SCR2100-D08 is based on proven 3D MEMS technology and highly integrated electronics, offering a performance level characteristic for expensive modules. It consists of an angular rate sensing element and an application-specific integrated circuit (ASIC) used to sense and control the element through an SPI serial interface. Characterized by high stability and reliability, it provides a stable output over ±125°/s X-axis angular rate measurement range.
An internal angular rate sensing element consists of moving masses exited to in-plane drive motion. Rotation in a sensitive direction causes out-of-plane movement that can be measured as capacitance change with the signal conditioning ASIC. It should be noted that the SCR2100-D08 sensor is factory calibrated, so no separate calibration is required in the application. During manufacturing, the parameters are trimmed during production (sensitivities, offsets, and frequency responses) and stored in non-volatile memory. The parameters are read automatically from the internal non-volatile memory during its Start-up sequence.
Gyro 8 Click communicates with MCU through a register-selectable standard SPI interface that enables high clock speed up to 8MHz for optimum performance, supporting the most common SPI mode, SPI Mode 0. Besides the possibility of controlling and reading gyroscope data via the SPI interface, the SCR2100-D08 also has extensive internal fail-safe diagnostics to detect over-range and possible internal failures and general reset function routed on the RST pin of the mikroBUS™ socket.
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.
Specifications
Type
Motion
Applications
Can be used for IMUs, platform stabilization, motion analysis and control, and more
On-board modules
SCR2100-D08 – single-axis gyroscope from Murata
Key Features
High performance, single x-axis measurement, 3D-MEMS technology, self-diagnostic features, SPI serial interface, low power consumption, high stability, and more
Interface
SPI
Feature
ClickID
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 Gyro 8 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 |
Gyro 8 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | – | 3.3 | – | V |
Operating Range | -125 | – | 125 | °/s |
Sensitivity | – | 50 | – | LSB/(°/s) |
Software Support
We provide a library for the Gyro 8 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 Gyro 8 Click driver.
Key functions
-
gyro8_read_serial_id
This function reads the serial ID which is laser marked on the sensor lid. -
gyro8_read_temperature
This function reads the temperature measurement in Celsius. -
gyro8_read_angular_rate
This function reads the angular rate of X-axis in dps.
Example Description
This example demonstrates the use of Gyro 8 Click board™ by reading and displaying the temperature and angular rate measurements.
void application_task ( void )
{
float temperature, angular_rate;
if ( GYRO8_OK == gyro8_read_temperature ( &gyro8, &temperature ) )
{
log_printf ( &logger, " Temperature: %.2f degCrn", temperature );
}
if ( GYRO8_OK == gyro8_read_angular_rate ( &gyro8, &angular_rate ) )
{
log_printf ( &logger, " Angular rate: %.2f dpsrnn", angular_rate );
}
Delay_ms ( 100 );
}
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.Gyro8
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.
mikroSDK
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.