







How Does The Angle 10 Click Board™ Work?
The Angle 10 Click Board™ is based on the AS5070A, a Hall-based rotary magnetic position sensor using a CMOS technology from ams AG. The lateral Hall sensor array converts the magnetic field component perpendicular to the surface of the chip into a voltage. The signals coming from internal Hall sensors are amplified and filtered before their conversion by the ADC and then processed by the CORDIC block to compute the angle and magnitude of the magnetic field vector. The intensity of the magnetic field is used by the automatic gain control (AGC) to adjust the amplification level to compensate for temperature and magnetic field variations.
The AS5070A provides a linear analogue ratiometric output signal, which represents the angular orientation of the magnet above the AS5070A on a linear absolute scale, and is ratiometric up to 5V. The analogue output voltage of the AS5070A is then sent directly to an analogue pin of the mikroBUS™ socket labelled as AN.
A unique addition to this board is a position for a Rotary Magnet Holder designed to be used alongside a magnetic rotary position sensor allowing fast prototyping and quick measurements during development.
The Angle 10 Click Board™ can be operated only with a 5V logic voltage level. The board must perform appropriate logic voltage level conversion before using MCUs with different logic levels. However, the Click board™ comes equipped with a library containing functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Magnetic |
Applications | Can be used for contactless potentiometers, knobs, and other angular position measurement solutions |
On-board modules | AS5070A - Hall-based rotary magnetic position sensor using a CMOS technology from ams AG |
Key Features | Contactless angle measurement, highest reliability and durability, high-resolution output signal, magnetic stray field immunity, great flexibility on an angular excursion,analogue output, and more |
Interface | Analog |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V,5V |
PINOUT DIAGRAM
This table shows how the pinout of the Angle 10 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | ![]() |
Pin | Notes | |||
---|---|---|---|---|---|---|---|
Analog Signal | AN | 1 | AN | PWM | 16 | NC | |
NC | 2 | RST | INT | 15 | NC | ||
NC | 3 | CS | RX | 14 | NC | ||
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | NC | ||
NC | 6 | MOSI | SDA | 11 | NC | ||
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
ANGLE 10 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | - | 5 | - | V |
Angle Measurement Range | - | - | 360 | deg |
Core Resolution | - | 14 | - | bit |
Analog Resolution | - | 12 | - | bit |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the Angle 10 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 MikroE Github account.
Library Description
This library contains API for Angle 10 Click driver.
Key functions
-
angle10_read_voltage
This function reads raw ADC value and converts it to a proportional voltage level. -
angle10_get_angle
This function reads the magnetic angular position in degrees based on @b ANGLE10_NUM_CONVERSIONS of voltage measurements. -
angle10_set_vref
This function sets the voltage reference for Angle 10 Click Board™ driver.
Example Description
This example demonstrates the use of the Angle 10 Click Board™ by reading and displaying the magnet's angular position in degrees and analogue voltage output.
void application_task ( void )
{
float voltage, angle;
if ( ANGLE10_OK == angle10_read_voltage ( &angle10, &voltage ) )
{
log_printf( &logger, " AN Voltage : %.3f Vrn", voltage );
}
if ( ANGLE10_OK == angle10_get_angle ( &angle10, &angle ) )
{
log_printf ( &logger, " Angle: %.2f Degreesrnn", angle );
}
Delay_ms( 500 );
}
The complete 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.Angle10
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 MikroElektronika compilers.
MIKROSDK
The Angle 10 Click Board™ is supported with mikroSDK – MikroElektronika’s Software Development Kit. mikroSDK should be downloaded from the LibStock™ and installed for the compiler you are using to ensure proper operation of mikroSDK compliant Click board™ demo application.
Angle 10 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.