# Title: Magnetic Rotary Click Board™ ## Description: The HMC1512 sensor IC produces a highly linear voltage output signal in respect to the magnetic field angle, available directly from two bridges via differential output pins. To allow simplified usage, the Magnetic Rotary Click Board™ features an additional dual A/D converter, making it a complete solution for the rapid development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc. How Does The Magnetic Rotary Click Board™ Work? The main component of the Magnetic Rotary Click Board™ is the HMC1512, a magnetic displacement sensor, from Honeywell. The key feature of the HMC1512 IC is the high accuracy of the magnetic field sensing. Unlike most of the magnetic sensors on the market which rely on the Hall-effect, the integrated sensors of the HMC1512 IC are produced using the Honeywell proprietary Anisotropic Magneto-Resistive (AMR) technology, which yields an absolute magnetic field position sensing with the angular error of only 0.05° in the range of ±90°. The magneto-resistive sensing elements form a saturated-mode Wheatstone bridge, positioned in the XZ plane (parallel with the surface of the IC). The HMC1512 contains two such integrated bridges, bridge A, and bridge B. These bridges are positioned at the middle of the IC casing, which is the optimal position for rotary applications. One bridge is physically rotated by 45° from the other, allowing the HMC1512 IC to cover the full range of ±90° (2x45°), maintaining its sensing accuracy. The IC outputs an analog differential voltage with respect to the angle of the magnetic field. The voltage from the selected mikroBUS™ power rail is directly applied to the internal Wheatstone bridge of the HMC1512. By construction, in the absence of the magnetic field, its outputs will be set at half the supply voltage (with the small offset of 3mV/V typically). If there is a magnetic field positioned at 0° in respect to one of the bridges, it will cause no disbalance of the magneto-resistive elements for that bridge. However, in the other bridge, the same magnetic field will cause it to reach its peak output value, since that bridge is rotated by 45°. The voltage change on the outputs can be then calculated using the following formulas: Bridge A: ΔV= V S · S · sin(2 Θ) The second bridge which is physically rotated by 45°, will have its output defined by this formula: Bridge B: ΔV= -V S · S · cos(2 Θ) Where: ΔV is a differential output voltage V S is the power supply voltage (3.3V or 5V) S is the material constant (12mV/V) Θ is the angle of the magnetic field The datasheet of theHMC1512 offers a more detailed explanation, along with some use cases. However, Magnetic rotary click is supported by the mikroSDK library, which offers easy to use functions. All necessary calculations are encapsulated in these functions, allowing rapid application development. The included example application can be used as a reference and a starting point for a custom design. The outputs of the Wheatstone bridges are routed to the dual operational amplifier, which serves as the buffer for the A/D converter. As a dual operational amplifier, the MCP6022 from Microchip is used. This op-amp is biased to half the power supply voltage and has a gain of 25. Two buffered signals are then used as inputs for each channel of the A/D converter. The Magnetic Rotary Click Board™ uses the MCP3202, a two-channel, 12-bit A/D converter (ADC) with SPI Interface, by Microchip. This ADC has a high resolution which can be used even for more demanding applications. At 0°, the ADC will output half of its full-scale (FS) value, and it will swing towards 0 if the sign of the orientation of the magnetic field is positioned towards the negative direction, and 4095 if the orientation of the magnetic field is positioned towards the positive direction. Each bridge output is routed to a separate ADC input, so it can be independently converted. The MCP3202 uses the power supply as the reference voltage, allowing ADC conversion within the range of the input signal. Converted output values can be read via the SPI interface, routed to the mikroBUS™ SPI pins for easy interfacing with a vast number of different microcontrollers (MCUs). The power supply voltage for the whole circuit can be selected by switching the SMD jumper, labeled as PWR SEL. It offers a choice of the power supply voltage between 3.3V and 5V, available from the mikroBUS™. SPECIFICATIONS Type Magnetic Applications The Magnetic Rotary Click Board™ can be used for development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc. On-board modules HMC1512, a magnetic displacement sensor, from Honeywell; MCP6022, a dual, rai-to-rail operational amplifier; MCP3202, a dual, 12-bit A/D converter with SPI interface, by Microchip Key Features A very high precision is achieved by implementing the proprietary Anisotropic magneto-resistive (AMR) technology from Honeywell, absolute sensing of the magnetic field direction, very compact size, two internal Wheatstone bridges expand the sensing range, 12-bit dual ADC on-board, etc. Interface SPI Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout on the Magnetic Rotary 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 NC NC 2 RST INT 15 NC 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 3V3 7 3.3V 5V 10 5V Power supply Ground GND 8 GND GND 9 GND Ground ONBOARD JUMPERS AND SETTINGS Label Name Default Description LD1 PWR - Power LED indicator J1 PWR SEL Left Power supply voltage selection: left position 3.3V, right position 5V ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Click Board, Honeywell, Magnet, MikroE, Sensor ## Price range: 20.3 - 20.3 GBP ## Link: https://thedebugstore.com/products/mikroe-3275-magnetic-rotary-click-board-uk ## Compare-at price range: 29.0 - 29.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) - [Honeywell Device Support: Debug Boards & Tools for Sensors, Controllers & More](https://thedebugstore.com/a/llms/collections/devices-honeywell) - [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-3275, Available: yes, Inventory: 1 ## Metafields - full_description:

The HMC1512 sensor IC produces a highly linear voltage output signal in respect to the magnetic field angle, available directly from two bridges via differential output pins. To allow simplified usage, the Magnetic Rotary Click Board™ features an additional dual A/D converter, making it a complete solution for the rapid development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc.

How Does The Magnetic Rotary Click Board™ Work?

The main component of the Magnetic Rotary Click Board™ is the HMC1512, a magnetic displacement sensor, from Honeywell. The key feature of the HMC1512 IC is the high accuracy of the magnetic field sensing. Unlike most of the magnetic sensors on the market which rely on the Hall-effect, the integrated sensors of the HMC1512 IC are produced using the Honeywell proprietary Anisotropic Magneto-Resistive (AMR) technology, which yields an absolute magnetic field position sensing with the angular error of only 0.05° in the range of ±90°. The magneto-resistive sensing elements form a saturated-mode Wheatstone bridge, positioned in the XZ plane (parallel with the surface of the IC). The HMC1512 contains two such integrated bridges, bridge A, and bridge B. These bridges are positioned at the middle of the IC casing, which is the optimal position for rotary applications. One bridge is physically rotated by 45° from the other, allowing the HMC1512 IC to cover the full range of ±90° (2x45°), maintaining its sensing accuracy. The IC outputs an analog differential voltage with respect to the angle of the magnetic field.

Magnetic rotary click

The voltage from the selected mikroBUS™ power rail is directly applied to the internal Wheatstone bridge of the HMC1512. By construction, in the absence of the magnetic field, its outputs will be set at half the supply voltage (with the small offset of 3mV/V typically). If there is a magnetic field positioned at 0° in respect to one of the bridges, it will cause no disbalance of the magneto-resistive elements for that bridge. However, in the other bridge, the same magnetic field will cause it to reach its peak output value, since that bridge is rotated by 45°. The voltage change on the outputs can be then calculated using the following formulas:

Bridge A: ΔV= V · S · sin(2 Θ)

The second bridge which is physically rotated by 45°, will have its output defined by this formula:

Bridge B: ΔV= -V · S · cos(2 Θ)

Where:


The datasheet of theHMC1512 offers a more detailed explanation, along with some use cases. However, Magnetic rotary click is supported by the mikroSDK library, which offers easy to use functions. All necessary calculations are encapsulated in these functions, allowing rapid application development. The included example application can be used as a reference and a starting point for a custom design.

The outputs of the Wheatstone bridges are routed to the dual operational amplifier, which serves as the buffer for the A/D converter. As a dual operational amplifier, the MCP6022 from Microchip is used. This op-amp is biased to half the power supply voltage and has a gain of 25. Two buffered signals are then used as inputs for each channel of the A/D converter.

The Magnetic Rotary Click Board™ uses the MCP3202, a two-channel, 12-bit A/D converter (ADC) with SPI Interface, by Microchip. This ADC has a high resolution which can be used even for more demanding applications. At 0°, the ADC will output half of its full-scale (FS) value, and it will swing towards 0 if the sign of the orientation of the magnetic field is positioned towards the negative direction, and 4095 if the orientation of the magnetic field is positioned towards the positive direction. Each bridge output is routed to a separate ADC input, so it can be independently converted. The MCP3202 uses the power supply as the reference voltage, allowing ADC conversion within the range of the input signal. Converted output values can be read via the SPI interface, routed to the mikroBUS™ SPI pins for easy interfacing with a vast number of different microcontrollers (MCUs).

The power supply voltage for the whole circuit can be selected by switching the SMD jumper, labeled as PWR SEL. It offers a choice of the power supply voltage between 3.3V and 5V, available from the mikroBUS™.

SPECIFICATIONS

Type Magnetic
Applications The Magnetic Rotary Click Board™ can be used for development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc.
On-board modules HMC1512, a magnetic displacement sensor, from Honeywell; MCP6022, a dual, rai-to-rail operational amplifier; MCP3202, a dual, 12-bit A/D converter with SPI interface, by Microchip
Key Features A very high precision is achieved by implementing the proprietary Anisotropic magneto-resistive (AMR) technology from Honeywell, absolute sensing of the magnetic field direction, very compact size, two internal Wheatstone bridges expand the sensing range, 12-bit dual ADC on-board, etc.
Interface SPI
Compatibility mikroBUS
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout on the Magnetic Rotary 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 NC
NC 2 RST INT 15 NC
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 3V3 7 3.3V 5V 10 5V Power supply
Ground GND 8 GND GND 9 GND Ground

ONBOARD JUMPERS AND SETTINGS

Label Name Default Description
LD1 PWR - Power LED indicator
J1 PWR SEL Left Power supply voltage selection: left position 3.3V, right position 5V
- description_tag: The Magnetic Rotary Click Board™ is a very accurate position sensing board that utilises the HMC1512, a magnetic field displacement sensor IC. This integrated sensor uses two co-planar saturated-mode Wheatstone bridges. Available from Debug Store UK. - title_tag: MikroE Magnetic Rotary Click Board™ (MIKROE-3275) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: Magnetic Rotary Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 21.12 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 23.8656 - amazon_fr_currency: EUR - amazon_fr_price: 23.8656 - amazon_es_currency: EUR - amazon_es_price: 23.8656 - amazon_nl_currency: EUR - amazon_nl_price: 23.8656 - amazon_it_currency: EUR - amazon_it_price: 23.8656 - amazon_se_curency: SEK - amazon_se_price: 240.768 - amazon_product_id: 8606018714032 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: The Magnetic Rotary Click Board™ is a very accurate position sensing board which utilises the HMC1512, a magnetic field displacement sensor IC. This integrated sensor uses two co-planar saturated-mode Wheatstone bridges which consist of four magneto-resistive elements per bridge. The precision of up to 0.05° in the angular range of ±90° can be easily achieved using the Magnetic rotary Click Board™, making it far more accurate than the commonly used Hall-effect sensors. - amazon_long_description:

The HMC1512 sensor IC produces a highly linear voltage output signal in respect to the magnetic field angle, available directly from two bridges via differential output pins. To allow simplified usage, the Magnetic rotary click features an additional dual A/D converter, making it a complete solution for the rapid development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc.

How Does The Magnetic Rotary Click Board Work?

The main component of Magnetic rotary click is the HMC1512, a magnetic displacement sensor, from Honeywell. The key feature of the HMC1512 IC is the high accuracy of the magnetic field sensing. Unlike most of the magnetic sensors on the market which rely on the Hall-effect, the integrated sensors of the HMC1512 IC are produced using the Honeywell proprietary Anisotropic Magneto-Resistive (AMR) technology, which yields an absolute magnetic field position sensing with the angular error of only 0.05° in the range of ±90°. The magneto-resistive sensing elements form a saturated-mode Wheatstone bridge, positioned in the XZ plane (parallel with the surface of the IC). The HMC1512 contains two such integrated bridges, bridge A, and bridge B. These bridges are positioned at the middle of the IC casing, which is the optimal position for rotary applications. One bridge is physically rotated by 45° from the other, allowing the HMC1512 IC to cover the full range of ±90° (2x45°), maintaining its sensing accuracy. The IC outputs an analog differential voltage with respect to the angle of the magnetic field.

Magnetic rotary click

The voltage from the selected mikroBUS™ power rail is directly applied to the internal Wheatstone bridge of the HMC1512. By construction, in the absence of the magnetic field, its outputs will be set at half the supply voltage (with the small offset of 3mV/V typically). If there is a magnetic field positioned at 0° in respect to one of the bridges, it will cause no dis-balance of the magneto-resistive elements for that bridge. However, in the other bridge, the same magnetic field will cause it to reach its peak output value, since that bridge is rotated by 45°. The voltage change on the outputs can be then calculated using the following formulas:

Bridge A: ΔV= VS· S · sin(2Θ)

The second bridge which is physically rotated by 45°, will have its output defined by this formula:

Bridge B: ΔV= -VS· S · cos(2Θ)

Where:


The datasheet of the HMC1512 offers a more detailed explanation, along with some use cases. However, Magnetic rotary click is supported by the mikroSDK library, which offers easy to use functions. All necessary calculations are encapsulated in these functions, allowing rapid application development. The included example application can be used as a reference and a starting point for a custom design.

The outputs of the Wheatstone bridges are routed to the dual operational amplifier, which serves as the buffer for the A/D converter. As a dual operational amplifier, the MCP6022 from Microchip is used. This op-amp is biased to half the power supply voltage and has a gain of 25. Two buffered signals are then used as inputs for each channel of the A/D converter.

Magnetic rotary click uses the MCP3202, a two-channel, 12-bit A/D converter (ADC) with SPI Interface, by Microchip. This ADC has a high resolution which can be used even for more demanding applications. At 0°, the ADC will output half of its full-scale (FS) value, and it will swing towards 0 if the sign of the orientation of the magnetic field is positioned towards the negative direction, and 4095 if the orientation of the magnetic field is positioned towards the positive direction. Each bridge output is routed to a separate ADC input, so it can be independently converted. The MCP3202 uses the power supply as the reference voltage, allowing ADC conversion within the range of the input signal. Converted output values can be read via the SPI interface, routed to the mikroBUS™ SPI pins for easy interfacing with a vast number of different microcontrollers (MCUs).

The power supply voltage for the whole circuit can be selected by switching the SMD jumper, labeled as PWR SEL. It offers a choice of the power supply voltage between 3.3V and 5V, available from the mikroBUS™.

It comes in the package which also includes the mikroSDK software and a library with all the functions. The Click Board™ comes as a fully tested and approved prototype, making it a reliable device ready to use on the development board.

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-magnetic-rotary-front_1.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-magnetic-rotary-back_1_1_1.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-magnetic-rotary-click-in-use_1.jpg - amazon_other_image_3: https://www.thedebugstore.com/images/product/lg-magnetic-rotary-click-in-use_1.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-3275 - backorder_label: If no stock shown above, check availability - google_product_category: 2082 - examples:

We provide a library for the Magnetic Rotary 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 performs a magnetic field angle measurement and calculates angle value to degrees. The library also performs the all necessary settings for the AD conversion, for example channel selection and mode setting. For more details check documentation.

Key Functions

Example Description

The application is composed of the three sections :

void applicationTask()
{
    magnAngle = magnrotary_getFieldAngle( _MAGNROTARY_CHA_POS_GND_NEG | _MAGNROTARY_MSB_ZEROS_ORDER );
    
    FloatToStr( magnAngle, text );
    floatCut();
    mikrobus_logWrite( "Angle is : ", _LOG_TEXT );
    mikrobus_logWrite( text, _LOG_TEXT );
    mikrobus_logWrite( logDeg, _LOG_LINE );
    
    Delay_ms( 300 );

}

Additional Functions :


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 Magnetic Rotary 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.

- attachments: [{"download_file":[{"download_file":"Magnetic Rotary Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Honeywell HMC1512 Magnetic Field Angle Sensor Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-3275 - google_product_category: Electronics - custom_label_0: Click Board - subtitle: Accurate Rotary Position Sensor - feature_1: Based on the HMC1512, a magnetic displacement sensor, from Honeywell; MCP6022, a dual, rai-to-rail operational amplifier; MCP3202, a dual, 12-bit A/D converter with SPI interface, by Microchip - feature_2: A very high precision is achieved by implementing the proprietary Anisotropic magneto-resistive (AMR) technology from Honeywell, absolute sensing of the magnetic field direction, very compact size, two internal Wheatstone bridges expand the sensing range, 12-bit dual ADC on-board, etc. - feature_3: Magnetic linear click can be used for development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc. - device_vendor: Honeywell Microelectronics & Precision Sensors, Microchip Technology - device_type: HMC1512-TR, MCP3202-CI/SN, MCP6022-I/SN - warranty: 12 months - brand: MikroE - key_feature_1: Rotary Position Sensor - manufacturer: Mikroelektronika d.o.o. - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- 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":"paragraph","children":[{"type":"text","value":"The HMC1512 sensor IC produces a highly linear voltage output signal in respect to the magnetic field angle, available directly from two bridges via differential output pins. To allow simplified usage, the "},{"type":"text","value":"Magnetic Rotary Click Board™","bold":true,"italic":true},{"type":"text","value":" features an additional dual A/D converter, making it a complete solution for the rapid development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc."}]},{"type":"heading","level":2,"children":[{"type":"text","value":"How Does The Magnetic Rotary Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The main component of the "},{"type":"text","value":"Magnetic Rotary Click Board™","bold":true},{"type":"text","value":" is the HMC1512, a magnetic displacement sensor, from Honeywell. The key feature of the HMC1512 IC is the high accuracy of the magnetic field sensing. Unlike most of the magnetic sensors on the market which rely on the Hall-effect, the integrated sensors of the HMC1512 IC are produced using the Honeywell proprietary Anisotropic Magneto-Resistive (AMR) technology, which yields an absolute magnetic field position sensing with the angular error of only 0.05° in the range of ±90°. The magneto-resistive sensing elements form a saturated-mode Wheatstone bridge, positioned in the XZ plane (parallel with the surface of the IC). The HMC1512 contains two such integrated bridges, bridge A, and bridge B. These bridges are positioned at the middle of the IC casing, which is the optimal position for rotary applications. One bridge is physically rotated by 45° from the other, allowing the HMC1512 IC to cover the full range of ±90° (2x45°), maintaining its sensing accuracy. The IC outputs an analog differential voltage with respect to the angle of the magnetic field."}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The voltage from the selected mikroBUS™ power rail is directly applied to the internal Wheatstone bridge of the HMC1512. By construction, in the absence of the magnetic field, its outputs will be set at half the supply voltage (with the small offset of 3mV/V typically). If there is a magnetic field positioned at 0° in respect to one of the bridges, it will cause no disbalance of the magneto-resistive elements for that bridge. However, in the other bridge, the same magnetic field will cause it to reach its peak output value, since that bridge is rotated by 45°. The voltage change on the outputs can be then calculated using the following formulas:"}]},{"type":"paragraph","children":[{"type":"text","value":"Bridge A: ΔV= V ","italic":true},{"type":"text","value":"S ","italic":true},{"type":"text","value":"· S ","italic":true},{"type":"text","value":"· sin(2 ","italic":true},{"type":"text","value":"Θ)","italic":true}]},{"type":"paragraph","children":[{"type":"text","value":"The second bridge which is physically rotated by 45°, will have its output defined by this formula:"}]},{"type":"paragraph","children":[{"type":"text","value":"Bridge B: ΔV= -V ","italic":true},{"type":"text","value":"S ","italic":true},{"type":"text","value":"· S ","italic":true},{"type":"text","value":"· cos(2 ","italic":true},{"type":"text","value":"Θ)","italic":true}]},{"type":"paragraph","children":[{"type":"text","value":"Where:"}]},{"type":"list","listType":"unordered","children":[{"type":"list-item","children":[{"type":"text","value":"ΔV ","italic":true},{"type":"text","value":"is a differential output voltage"}]},{"type":"list-item","children":[{"type":"text","value":"V ","italic":true},{"type":"text","value":"S ","italic":true},{"type":"text","value":"is the power supply voltage (3.3V or 5V)"}]},{"type":"list-item","children":[{"type":"text","value":"S ","italic":true},{"type":"text","value":"is the material constant (12mV/V)"}]},{"type":"list-item","children":[{"type":"text","value":"Θ ","italic":true},{"type":"text","value":"is the angle of the magnetic field"}]}]},{"type":"paragraph","children":[{"type":"text","value":""},{"type":"text","value":"The datasheet of theHMC1512 offers a more detailed explanation, along with some use cases. However, Magnetic rotary click is supported by the mikroSDK library, which offers easy to use functions. All necessary calculations are encapsulated in these functions, allowing rapid application development. The included example application can be used as a reference and a starting point for a custom design."}]},{"type":"paragraph","children":[{"type":"text","value":"The outputs of the Wheatstone bridges are routed to the dual operational amplifier, which serves as the buffer for the A/D converter. As a dual operational amplifier, the MCP6022 from Microchip is used. This op-amp is biased to half the power supply voltage and has a gain of 25. Two buffered signals are then used as inputs for each channel of the A/D converter."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"Magnetic Rotary Click Board™","bold":true},{"type":"text","value":" uses the MCP3202, a two-channel, 12-bit A/D converter (ADC) with SPI Interface, by Microchip. This ADC has a high resolution which can be used even for more demanding applications. At 0°, the ADC will output half of its full-scale (FS) value, and it will swing towards 0 if the sign of the orientation of the magnetic field is positioned towards the negative direction, and 4095 if the orientation of the magnetic field is positioned towards the positive direction. Each bridge output is routed to a separate ADC input, so it can be independently converted. The MCP3202 uses the power supply as the reference voltage, allowing ADC conversion within the range of the input signal. Converted output values can be read via the SPI interface, routed to the mikroBUS™ SPI pins for easy interfacing with a vast number of different microcontrollers (MCUs)."}]},{"type":"paragraph","children":[{"type":"text","value":"The power supply voltage for the whole circuit can be selected by switching the SMD jumper, labeled as PWR SEL. It offers a choice of the power supply voltage between 3.3V and 5V, available from the mikroBUS™."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nMagnetic\nApplications\nThe Magnetic Rotary Click Board™ can be used for development of various contactless position and direction sensing applications, HMI interfaces, precision measurement applications, proximity detection applications, contactless rotary applications, etc.\nOn-board modules\nHMC1512, a magnetic displacement sensor, from Honeywell; MCP6022, a dual, rai-to-rail operational amplifier; MCP3202, a dual, 12-bit A/D converter with SPI interface, by Microchip\nKey Features\nA very high precision is achieved by implementing the proprietary Anisotropic magneto-resistive (AMR) technology from Honeywell, absolute sensing of the magnetic field direction, very compact size, two internal Wheatstone bridges expand the sensing range, 12-bit dual ADC on-board, etc.\nInterface\nSPI\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"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":"Magnetic Rotary Click Board™","bold":true},{"type":"text","value":" ","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\nNC\nNC\n2\nRST\nINT\n15\nNC\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\n3V3\n7\n3.3V\n5V\n10\n5V\nPower supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD JUMPERS AND SETTINGS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED indicator\nJ1\nPWR SEL\nLeft\nPower supply voltage selection: left position 3.3V, right position 5V"}]}]} - summary:

The Magnetic Rotary Click Board™ is a very accurate position sensing board that utilises the HMC1512, a magnetic field displacement sensor IC. This integrated sensor uses two co-planar saturated-mode Wheatstone bridges which consist of four magneto-resistive elements per bridge. The precision of up to 0.05° in the angular range of ±90° can be easily achieved using the Magnetic Rotary Click Board™, making it far more accurate than the commonly used Hall-effect sensors.