gyro8 2.1.0.0
|
Gyro 8 Click is a compact add-on board that contains a high-performance gyroscope. This board features Murata's SCR2100-D08, a high-performance single-axis angular rate sensor (gyroscope). Based on Murata's proven capacitive 3D-MEMS technology, the SCR2100-D08 is characterized by high stability and reliability, providing immensely stable output over a wide range of temperatures, humidity, and vibration. This high-resolution gyroscope supports ±125°/s X-axis angular rate measurement range, extensive self-diagnostic features, an SPI serial interface, and low power consumption.
We provide a library for the Gyro 8 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.
This library contains API for Gyro 8 Click driver.
gyro8_cfg_setup
Config Object Initialization function. gyro8_init
Initialization function. gyro8_default_cfg
Click Default Configuration function. 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. This example demonstrates the use of Gyro 8 click board by reading and displaying the temperature and angular rate measurements.
The demo application is composed of two sections :
Initializes the driver and the click board, and reads the serial ID number which is marked on the sensor lid.
Reads the temperature and angular rate measurements every 100ms and displays the results on the USB UART.
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:
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 MikroElektronika compilers.