Angle 8 Click Board
Angle 8 Click Board
The Angle 8 Click Board™ is a compact add-on board that detects the absolute angular position of a permanent magnet. This board features the MA782GGU, a low-power angle sensor with integrated wake-up angle detection from Monolithic Power Systems. With its power cycling ability, the MA782GGU can be optimized for applications that require low average power. It supports a wide range of magnetic field strengths and spatial configurations, with both end-of-shaft and off-axis (side-shaft mounting), supported configurations. Fast data acquisition and processing provides accurate angle measurement at an applied magnetic field of 60mT, alongside magnetic field strength detection with programmable thresholds. This Click board™ is suitable for general-purpose angle measurements, in embedded motion control applications, as a power/speed control trigger solution, and more.
The Angle 8 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the Angle 8 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Angle 8 Click Board™ driver.
Key functions
-
angle8_get_nd_pin
This function returns the new data ready (ND) pin logic state. -
angle8_set_cycle_time
This function sets the sensor cycle time (measurement rate) in milliseconds. -
angle8_read_angle
This function reads raw angle data and converts it to degrees.
Example Description
This example demonstrates the use of the Angle 8 Click Board™ by reading and displaying the magnet's angular position in degrees.
void application_task ( void )
{
if ( angle8_get_nd_pin ( &angle8 ) )
{
float angle = 0;
if ( ANGLE8_OK == angle8_read_angle ( &angle8, &angle ) )
{
log_printf ( &logger, " Angle: %.2f Deg rnn", angle );
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The 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.Angle8
Additional Notes and Information
Depending on the development board you are using, you may need a 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.
MIKROSDK
The Angle 8 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.
Angle 8 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.