gyro9 2.1.0.0
|
Gyro 9 Click is a compact add-on board that contains a high-performance gyroscope. This board features the A3G4250D, a MEMS motion sensor from STMicroelectronics. It is a low-power 3-axes digital output gyroscope that provides unprecedented stability at zero rate level and sensitivity over temperature and time and is equipped with an embedded temperature sensor. The gyroscope has a 16-bit rate value data output with an 8-bit compensation temperature data output.
We provide a library for the Gyro 9 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 9 Click driver.
gyro9_cfg_setup
Config Object Initialization function. gyro9_init
Initialization function. gyro9_default_cfg
Click Default Configuration function. gyro9_get_gyro_axis
Gyro 9 get gyro sensor axes function. gyro9_get_axis_data
Gyro 9 get gyro data function. gyro9_get_data_ready
Gyro 9 get data ready function. This library contains API for Gyro 9 Click driver. The library initializes and defines the I2C and SPI bus drivers to write and read data from registers, as well as the default configuration for reading gyroscope data.
The demo application is composed of two sections :
The initialization of I2C or SPI module, log UART, and additional pins. After the driver init, the app executes a default configuration.
This example demonstrates the use of the Gyro 9 Click boardâ„¢. Measures and displays gyroscope angular rate for X-axis, Y-axis, and Z-axis. Results are being sent to the UART Terminal, where you can track their changes.
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.