angle9 2.1.0.0
|
Angle 9 Click is a compact add-on board that detects the absolute position of a permanent magnet. This board features the AAS33001, a precision angle sensor with incremental and motor commutation outputs and on-chip linearization from Allegro Microsystems. It is a contactless angle sensor for 0° to 360° angular position, rotation speed, and directional measurement. Support for incremental output interface (ABI) and motor commutation (UVW) is also available. The same goes for the on-chip EEPROM for storing factory and customer calibration parameters.
We provide a library for the Angle 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 Angle 9 Click driver.
angle9_cfg_setup
Config Object Initialization function. angle9_init
Initialization function. angle9_read_angle
This function reads the magnetic angular position in degrees. angle9_read_field_strength
This function reads the magnetic field strength in gauss. angle9_read_temperature
This function reads the sensor internal temperature in degrees celsius. This example demonstrates the use of Angle 9 click board by reading and displaying
the magnet's angular position in degrees, field strength in gauss, and the internal sensor temperature in degrees celsius.
The demo application is composed of two sections :
Initializes the driver and logger.
Reads the magnet's angular position in degrees, magnetic field strength in gauss,
and the internal sensor temperature in degrees celsius and displays the results on the USB UART approximately every 100ms.
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.