Magnetic Rotary 5 Click Board
Magnetic Rotary 5 Click Board
Key Features:
- Accurate angular measurement over a full turn of 360º, user programmable zero position and sensitivity, high speeds, data transmission via 3-wire or analog signal, incremental and commutation signal, low power consumption, daisy chain mode, and more
- Based on the AS5134 - contactless magnetic rotary encoder from ams AG
- Can be used for contactless rotary position sensing, rotary switches (human-machine interface), AC/DC motor position control, and brushless DC motor position control
- mikroBUS: SPI and Analogue Interfaces
Experience the Future of Magnet-Position Sensing with Magnetic Rotary 5 Click Board™
Introducing the Magnetic Rotary 5 Click Board™, a cutting-edge add-on board engineered for precise magnet-position sensing. Experience exceptional accuracy with the AS5134, a contactless magnetic rotary encoder from ams AG designed for full 360º angular measurement. Simplify your angle measurements with a basic two-pole magnet rotating over the chip's centre, integrating a Hall element, analogue front end, and digital signal processing.
High Resolution and Speed for Unmatched Performance
Boasting an impressive 8.5-bit resolution, the Magnetic Rotary 5 Click Board™ offers 360 positions per revolution. Achieve high-speed performance with a maximum RPM of 76,875, accommodating a wide range of magnetic fields from 20 to 80mT. The onboard header supports incremental, and commutation signals for A/B/I and U/V/W while also featuring pins for Daisy Chain Mode and OTP programming.
Versatility for a Multitude of Applications
Perfect for contactless rotary position sensing, rotary switches (human-machine interface), AC/DC motor position control, and brushless DC motor position control, the Magnetic Rotary 5 Click Board™ delivers exceptional versatility for your projects.
Seamless Integration with mikroSDK Compliant Library
Effortlessly streamline your software development with a mikroSDK-compliant library featuring functions that support the Magnetic Rotary 5 Click Board™. Arriving as a fully-tested product, this Click board™ is ready for use on any system equipped with a mikroBUS™ socket.
Software Support
We provide a library for the Magnetic Rotary 5 Click Board™ as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on the MIKROE Github account.
Library Description
This library contains API for Magnetic Rotary 5 Click driver.
Key functions
-
magneticrotary5_read_angle
This function reads the magnetic angle and automatic gain control (AGC) values measured by the sensor. -
magneticrotary5_read_mt_cnt
This function reads the multi-turn counter value. With each zero transition in any direction, the output of a special counter is incremented or decremented. -
magneticrotary5_read_voltage
This function reads the raw ADC value and converts it to a proportional voltage level.
Example Description
This example demonstrates using Magnetic Rotary 5 Click board™ by reading and displaying the magnet angular position and the AGC and multi-turn counter values.
void application_task ( void )
{
uint8_t agc = 0;
uint16_t angle = 0;
int16_t mt_cnt = 0;
float voltage = 0;
if ( MAGNETICROTARY5_OK == magneticrotary5_read_angle ( &magneticrotary5, &agc, &angle ) )
{
log_printf ( &logger, "rn AGC: %urn Angle: %urn", ( uint16_t ) agc, angle );
}
if ( MAGNETICROTARY5_OK == magneticrotary5_read_mt_cnt ( &magneticrotary5, &mt_cnt ) )
{
log_printf ( &logger, " Multi turn counter: %drn", mt_cnt );
}
if ( MAGNETICROTARY5_OK == magneticrotary5_read_voltage ( &magneticrotary5, &voltage ) )
{
log_printf( &logger, " AN Voltage : %.3f Vrn", voltage );
}
Delay_ms ( 100 );
}
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.MagneticRotary5
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, 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 MIKROE compilers.
MIKROSDK
The Magnetic Rotary 5 Click Board™ is supported with mikroSDK - MikroE Software Development Kit, which needs to be downloaded from the LibStock and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo applications.
Magnetic Rotary 5 Click Board
Frequently Asked Questions
Ask a Question-
Can the Magnetic Rotary 5 Click Board™ be used in industrial applications?
Yes, the Magnetic Rotary 5 Click Board™ can be used in various industrial applications that require precise angular measurement and magnet-position sensing. Its compact design makes it suitable for space-constrained environments.
-
Can the Magnetic Rotary 5 Click Board™ be used in industrial applications?
Yes, the Magnetic Rotary 5 Click Board™ can be used in various industrial applications that require precise angular measurement and magnet-position sensing. Its compact design makes it suitable for space-constrained environments.
-
Does the Magnetic Rotary 5 Click Board™ require any additional components or software?
The Magnetic Rotary 5 Click Board™ comes with all the necessary components onboard. You may need to connect it to your development board and utilize the appropriate software libraries to access and interpret the sensor data.
-
Is the Magnetic Rotary 5 Click Board™ compatible with other development boards?
Yes, the Magnetic Rotary 5 Click Board™ is designed to be compatible with a wide range of development boards that support the MikroBUS™ socket standard. You can easily integrate it into your existing projects.
-
How can the Magnetic Rotary 5 Click Board™ enhance my projects?
By integrating the Magnetic Rotary 5 Click Board™ into your projects, you can achieve precise magnet-position sensing, enabling you to accurately measure angular movements. This can be particularly useful in robotics, automation, or any application requiring precise rotational measurements.
-
Why should I choose the Magnetic Rotary 5 Click Board™?
The Magnetic Rotary 5 Click Board™ offers precise magnet-position sensing and accurate angular measurement in a compact design, making it a valuable addition to your projects.
-
Where can I purchase the Magnetic Rotary 5 Click Board™?
You can purchase the Magnetic Rotary 5 Click Board™ at The Debug Store.
-
Where can I purchase the Magnetic Rotary 5 Click Board™?
You can purchase the Magnetic Rotary 5 Click Board™ at The Debug Store.
-
What is the Magnetic Rotary 5 Click Board™?
The Magnetic Rotary 5 Click Board™ is a compact device that enables precise magnet-position sensing and accurate angular measurement for your projects.