# Title: Angle 5 Click Board™ ## Description: How Does The Angle 5 Click Board™ Work? The Angle 5 Click Board™ is based on the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems. This Click board™ can detect the absolute rotor position of a Brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor. The sensor must be positioned at the correct place (in this case below the rotor) to get the maximum value of the rotor magnetic field without being disturbed by other fields. The rotor magnetic field is then measured, and an adequate position was determined from that information. It uses the SPI serial interface for digital angle readout and configuration, alongside with programmable magnetic field strength detection function for diagnostic checks. The magnetic field is detected with integrated Hall devices located in the centre of the package. The angle is measured using the Spinaxis™ method, based on phase detection and generates a sinusoidal signal with a phase that represents the angle of the magnetic field. The angle is then obtained by a time-to-digital converter, which measures the time between the zero-crossing of the sinusoidal signal and the edge of a constant waveform. The time-to-digital represents an output from the front-end to the digital conditioning block. This output delivers a digital number proportional to the angle of the magnetic field at the rate of 1MHz in a straightforward and open-loop manner. The Angle 5 Click Board™ communicates with MCU using the standard SPI serial interface for angle reading and register programming, which supports SPI Mode 0 and 3 and operates at clock rates up to 25 MHz. It also has the magnetic flags used for indication when the magnetic field at the sensor position is out of range, defined by the lower and upper magnetic field thresholds, routed on the PWM and INT pin of the mikroBUS™ socket labeled as MGH and MGL. The Angle 5 Click Board™ possesses an incremental encoder and block commutation function that uses three output pins each: ABZ and UVW. The ABZ output emulates a 10-bit incremental encoder (such as an optical encoder) providing logic pulses in quadrature, while the UVW output emulates the three Hall switches usually used for the block commutation of a three-phase electric motor. The ABZ and UVW pins of the MA302 are routed on two standard 2.54 mm (0.1 inches) pitch 1x3 header, mounted on the Angle 5 Click, so it can be easily accessed by an external application. The Angle 5 Click Board™ is designed to be operated only with a 3.3V logic voltage level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with different logic levels. However, the Click board™ comes equipped with a library that contains easy to use functions and an example code that can be used as a reference for further development. SPECIFICATIONS Type Magnetic Applications Can be used for various applications such as detecting the absolute rotor position of a brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor. On-board modules The Angle 5 Click Board™ is based on the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems. Key Features Fast data acquisition, magnetic field strength detection, contactless sensing for long life, supported both end-of-shaft and off-axis, and many more. Interface SPI Compatibility mikroBUS Click board size L (57.15 x 25.4 mm) Input Voltage 3.3V PINOUT DIAGRAM This table shows how the pinout on the Angle 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 MGH Magnetic Field Strength Detection (HIGH) NC 2 RST INT 15 MGL Magnetic Field Strength Detection (LOW) SPI Chip Select CS 3 CS RX 14 NC SPI Clock SCK 4 SCK TX 13 NC SPI Data OUT SDO 5 MISO SCL 12 NC SPI Data IN SDI 6 MOSI SDA 11 NC Power Supply 3.3V 7 3.3V 5V 10 NC Ground GND 8 GND GND 9 GND Ground ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED Indicator J1 M1x3 - A, B, Z incremental encoder outputs J2 M1x3 - U, V, W block commutation outputs ANGLE 5 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Supply Voltage -0.5 3.3 +4.6 V Applied Magnetic Filed 30 60 - mT Magnetic Field Detection Accuracy - 5 - mT Effective resolution 11 11.8 12.8 bit Operating Temperature Range -40 - +125 °C ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Magnet, MikroE, Monolithic Power Systems, Sensor ## Price range: 15.4 - 15.4 GBP ## Link: https://thedebugstore.com/products/mikroe-4270-angle-5-click-board-uk ## Compare-at price range: 22.0 - 22.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Monolithic Power Systems (MPS) Device Support: Development Boards & Tools](https://thedebugstore.com/a/llms/collections/devices-monolithic-power) - [Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/sensor-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Magnetic Field Sensor Click Boards™](https://thedebugstore.com/a/llms/collections/magnetic-field-sensor-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-4270, Available: yes, Inventory: 1 ## Metafields - full_description:

How Does The Angle 5 Click Board™ Work?

The Angle 5 Click Board™ is based on the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems. This Click board™ can detect the absolute rotor position of a Brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor. The sensor must be positioned at the correct place (in this case below the rotor) to get the maximum value of the rotor magnetic field without being disturbed by other fields. The rotor magnetic field is then measured, and an adequate position was determined from that information. It uses the SPI serial interface for digital angle readout and configuration, alongside with programmable magnetic field strength detection function for diagnostic checks.

Angle 5 Click Board™

The magnetic field is detected with integrated Hall devices located in the centre of the package. The angle is measured using the Spinaxis™ method, based on phase detection and generates a sinusoidal signal with a phase that represents the angle of the magnetic field. The angle is then obtained by a time-to-digital converter, which measures the time between the zero-crossing of the sinusoidal signal and the edge of a constant waveform. The time-to-digital represents an output from the front-end to the digital conditioning block. This output delivers a digital number proportional to the angle of the magnetic field at the rate of 1MHz in a straightforward and open-loop manner.

The Angle 5 Click Board™ communicates with MCU using the standard SPI serial interface for angle reading and register programming, which supports SPI Mode 0 and 3 and operates at clock rates up to 25 MHz. It also has the magnetic flags used for indication when the magnetic field at the sensor position is out of range, defined by the lower and upper magnetic field thresholds, routed on the PWM and INT pin of the mikroBUS™ socket labeled as MGH and MGL.

The Angle 5 Click Board™ possesses an incremental encoder and block commutation function that uses three output pins each: ABZ and UVW. The ABZ output emulates a 10-bit incremental encoder (such as an optical encoder) providing logic pulses in quadrature, while the UVW output emulates the three Hall switches usually used for the block commutation of a three-phase electric motor. The ABZ and UVW pins of the MA302 are routed on two standard 2.54 mm (0.1 inches) pitch 1x3 header, mounted on the Angle 5 Click, so it can be easily accessed by an external application.

The Angle 5 Click Board™ is designed to be operated only with a 3.3V logic voltage level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with different logic levels. However, the Click board™ comes equipped with a library that contains easy to use functions and an example code that can be used as a reference for further development.

SPECIFICATIONS

Type Magnetic
Applications Can be used for various applications such as detecting the absolute rotor position of a brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor.
On-board modules The Angle 5 Click Board™ is based on the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems.
Key Features Fast data acquisition, magnetic field strength detection, contactless sensing for long life, supported both end-of-shaft and off-axis, and many more.
Interface SPI
Compatibility mikroBUS
Click board size L (57.15 x 25.4 mm)
Input Voltage 3.3V

PINOUT DIAGRAM

This table shows how the pinout on the Angle 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
NC 1 AN PWM 16 MGH

Magnetic Field
Strength Detection (HIGH)

NC 2 RST INT 15 MGL

Magnetic Field
Strength Detection (LOW)

SPI Chip Select CS 3 CS RX 14 NC
SPI Clock SCK 4 SCK TX 13 NC
SPI Data OUT SDO 5 MISO SCL 12 NC
SPI Data IN SDI 6 MOSI SDA 11 NC
Power Supply 3.3V 7 3.3V 5V 10 NC
Ground GND 8 GND GND 9 GND Ground

ONBOARD SETTINGS AND INDICATORS

Label Name Default Description
LD1 PWR - Power LED Indicator
J1 M1x3 - A, B, Z incremental encoder outputs
J2 M1x3 - U, V, W block commutation outputs

ANGLE 5 CLICK ELECTRICAL SPECIFICATIONS

Description Min Typ Max Unit
Supply Voltage -0.5 3.3 +4.6 V
Applied Magnetic Filed 30 60 - mT
Magnetic Field Detection Accuracy - 5 - mT
Effective resolution 11 11.8 12.8 bit
Operating Temperature Range -40 - +125 °C

 

- description_tag: The Angle 5 Click Board™ is a compact add-on board that detects the absolute angular position of a permanent magnet, typically a diametrically magnetized cylinder on a shaft. This board features the MA302, a 12-bit digital contactless angle sensor from Monolithic Power Systems. Available from The DebugStore UK. - title_tag: MikroE Angle 5 Click Board™ (MIKROE-4270) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Angle 5 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 15.84 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 17.8992 - amazon_fr_currency: EUR - amazon_fr_price: 17.8992 - amazon_es_currency: EUR - amazon_es_price: 17.8992 - amazon_nl_currency: EUR - amazon_nl_price: 17.8992 - amazon_it_currency: EUR - amazon_it_price: 17.8992 - amazon_se_curency: SEK - amazon_se_price: 180.576 - amazon_product_id: 8606018713424 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Angle 5 Click Board™ is a compact add-on board that detects the absolute angular position of a permanent magnet, typically a diametrically magnetized cylinder on a rotating shaft. This board features the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems. The MA302 features an ABZ encoder, UVW pole pair emulation, fast data acquisition, and processing which provides accurate angle measurement at speeds from 0 to 60,000 rpm, and a magnetic field strength detection with programmable thresholds. This Click board™ is suitable for various applications such as detecting the absolute rotor position of a brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor.Note: DC Motor doesn't come with this Click board™, if you are interested you can find 2207V-2500KV BLDC Motor in our shop.Angle 5 Click 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. - amazon_long_description:

The Angle 4 Click Board™ is an angular magnetic rotary sensor, which can be used as a rotary encoder. With the help of the AEAT-8800-Q24, an integrated 10-bit to 16-bit programmable angular magnetic encoder, the Angle 4 Click Board™ can sense the magnetic field rotation aligned with the centre of the sensor, over the whole range of 360°. The absolute angular position can be read from the SPI interface. The sensor IC itself offers a versatile contactless rotation sensing platform, with the ability to fine-tune several important working parameters, such as the resolution, zero position, direction, hysteresis and more.

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-angle-5-click-front.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-angle-5-click-back.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-angle-5-click-fusion.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-angle-5-click-shuttle.jpg - amazon_other_image_4: https://www.thedebugstore.com/images/product/lg-angle-5-click-clicker.jpg - amazon_other_image_5: https://www.thedebugstore.com/images/product/lg-angle-5-click-breadboard.jpg - amazon_other_image_6: https://www.thedebugstore.com/images/product/lg-angle-5-click-breadboard.jpg - amazon_browse_node: 428655031 - related_products: MIKROE-4302,MIKROE-4368 - mpn: MIKROE-4270 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- attachments: [{"download_file":[{"download_file":"Angle 5 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Monolithic Power Systems MA302 12-bit Angle Sensor Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - examples:

We provide a library for the Angle 5 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Library Description

The library contains a basic functions for using the Angle 5 Click Board™.

Key Functions

Example Description

The application is composed of three sections :

void application_task ( )
{
 char demo_text[ 20 ];
 char log_txt[ 2 ] = { 13, 0 };
 float new_angle = 0;
 mikrobus_logWrite( log_txt, _LOG_TEXT );
 mikrobus_logWrite( " ", _LOG_TEXT );
 mikrobus_logWrite( log_txt, _LOG_TEXT );
 new_angle = angle5_read_angle_deg( );
 FloatToStr( new_angle, demo_text );
 mikrobus_logWrite( " Angle: ", _LOG_TEXT );
 mikrobus_logWrite( demo_text, _LOG_TEXT );
 Delay_ms( 100 );
}

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

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 Angle 5 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.

- condition: new - custom_product: false - mpn: MIKROE-4270 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Monolithic Power Systems Inc. - device_type: MA302GQ-P - warranty: 12 months - brand: MikroE - key_feature_1: Brushless Motor Rotor Position Sensor - manufacturer: Mikroelektronika d.o.o. - target_keyword: Angle 5 Click Board - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545969853"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The Angle 5 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The"},{"type":"text","value":" Angle 5 Click Board™","bold":true,"italic":true},{"type":"text","value":" is based on the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems. This Click board™ can detect the absolute rotor position of a Brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor. The sensor must be positioned at the correct place (in this case below the rotor) to get the maximum value of the rotor magnetic field without being disturbed by other fields. The rotor magnetic field is then measured, and an adequate position was determined from that information. It uses the SPI serial interface for digital angle readout and configuration, alongside with programmable magnetic field strength detection function for diagnostic checks."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The magnetic field is detected with integrated Hall devices located in the centre of the package. The angle is measured using the Spinaxis™ method, based on phase detection and generates a sinusoidal signal with a phase that represents the angle of the magnetic field. The angle is then obtained by a time-to-digital converter, which measures the time between the zero-crossing of the sinusoidal signal and the edge of a constant waveform. The time-to-digital represents an output from the front-end to the digital conditioning block. This output delivers a digital number proportional to the angle of the magnetic field at the rate of 1MHz in a straightforward and open-loop manner."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Angle 5 Click Board™","bold":true},{"type":"text","value":" ","bold":true,"italic":true},{"type":"text","value":"communicates with MCU using the standard SPI serial interface for angle reading and register programming, which supports SPI Mode 0 and 3 and operates at clock rates up to 25 MHz. It also has the magnetic flags used for indication when the magnetic field at the sensor position is out of range, defined by the lower and upper magnetic field thresholds, routed on the PWM and INT pin of the mikroBUS™ socket labeled as MGH and MGL."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Angle 5 Click Board™","bold":true},{"type":"text","value":" possesses an incremental encoder and block commutation function that uses three output pins each: ABZ and UVW. The ABZ output emulates a 10-bit incremental encoder (such as an optical encoder) providing logic pulses in quadrature, while the UVW output emulates the three Hall switches usually used for the block commutation of a three-phase electric motor. The ABZ and UVW pins of the MA302 are routed on two standard 2.54 mm (0.1 inches) pitch 1x3 header, mounted on the Angle 5 Click, so it can be easily accessed by an external application."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Angle 5 Click Board™","bold":true},{"type":"text","value":" is designed to be operated only with a 3.3V logic voltage level. A proper logic voltage level conversion should be performed before the Click board™ is used with MCUs with different logic levels. However, the Click board™ comes equipped with a library that contains easy to use functions and an example code that can be used as a reference for further development."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nMagnetic\nApplications\nCan be used for various applications such as detecting the absolute rotor position of a brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor.\nOn-board modules\nThe Angle 5 Click Board™ is based on the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems.\nKey Features\nFast data acquisition, magnetic field strength detection, contactless sensing for long life, supported both end-of-shaft and off-axis, and many more.\nInterface\nSPI\nCompatibility\nmikroBUS\nClick board size\nL (57.15 x 25.4 mm)\nInput Voltage\n3.3V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on the "},{"type":"text","value":"Angle 5 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nMGH\nMagnetic Field\n Strength Detection (HIGH)\nNC\n2\nRST\nINT\n15\nMGL\nMagnetic Field\n Strength Detection (LOW)\nSPI Chip Select\nCS\n3\nCS\nRX\n14\nNC\nSPI Clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT\nSDO\n5\nMISO\nSCL\n12\nNC\nSPI Data IN\nSDI\n6\nMOSI\nSDA\n11\nNC\nPower Supply\n3.3V\n7\n3.3V\n5V\n10\nNC\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED Indicator\nJ1\nM1x3\n-\nA, B, Z incremental encoder outputs\nJ2\nM1x3\n-\nU, V, W block commutation outputs"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ANGLE 5 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nSupply Voltage\n-0.5\n3.3\n+4.6\nV\nApplied Magnetic Filed\n30\n60\n-\nmT\nMagnetic Field Detection Accuracy\n-\n5\n-\nmT\nEffective resolution\n11\n11.8\n12.8\nbit\nOperating Temperature Range\n-40\n-\n+125\n°C"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The Angle 5 Click Board™ is a compact add-on board that detects the absolute angular position of a permanent magnet, typically a diametrically magnetized cylinder on a rotating shaft. This board features the MA302, a 12-bit digital contactless angle sensor with ABZ and UVW incremental outputs from Monolithic Power Systems. The MA302 features an ABZ encoder, UVW pole pair emulation, fast data acquisition, and processing which provides accurate angle measurement at speeds from 0 to 60,000 rpm, and a magnetic field strength detection with programmable thresholds. This Click Board™ is suitable for various applications such as detecting the absolute rotor position of a brushless motor in real-time, even without a target magnet, by measuring the fringe field of the rotor.

Note: DC Motor doesn't come with this Click Board™, if you are interested you can find 2207V-2500KV BLDC Motor in our shop.

The Angle 5 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.