AMR Angle Click Board
AMR Angle Click Board
The AMR Angle Click Board™ is a compact add-on board containing an anisotropic magnetoresistive measurement solution ideal for either angle or linear position measurements. This board features the ADA4571, an AMR sensor with clean and amplified cosine and sine output signals related to a rotating magnetic field angle from Analog Devices. It can provide better than 0.2° angular accuracy over 180°, and linear accuracy of 2mil (0.002 inches) over a 0.5-inch range, depending on the size of the used magnet. This Click Board™ is suitable for absolute position measurement (linear and angle), contactless angular measurement and detection, magnetic angular position sensing, actuator control and positioning, and more.
The AMR Angle Click Boiard™ 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 AMR Angle 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 Package Manager(recommended way), downloaded from our LibStock™ or found on the mikroE Github account.
Library Description
This library contains an API for the AMR Angle Click driver.
Key Functions
amrangle_cfg_setup
- Config Object Initialization function.amrangle_init
- Initialization function.amrangle_default_cfg
- Click the Default Configuration function.
Example Description
This demo application shows the performance of the AMR Angle Click Board™ by reading and presenting the temperature and angle results on the UART log.
The demo application is composed of two sections :
void application_task ( void ) { temperature_res = amrangle_read_vtp_temp( &amrangle ); angle_res = amrangle_angle_read( &amrangle ); log_printf( &logger, " Temperature: %.2f Crn", temperature_res ); log_printf( &logger, " Angle: %.2f degreesrn", angle_res ); log_printf( &logger, " --------------------------rn" ); Delay_ms( 1000 ); }
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.AMRAngle
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. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.
MIKROSDK
The AMR Angle 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.
AMR Angle Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.