MIKROE Angle 7 Click

Angle 7 Click is a compact add-on board that detects the absolute angular position of a permanent magnet. This board features the AS5600, a programmable Hall-based rotary magnetic position sensor with a high-resolution 12-bit analog or PWM output from ams AG. Based on planar Hall technology, this sensor measures the orthogonal component of the flux density (Bz) from an external magnet while rejecting stray magnetic fields. The default range of the output is from 18 to 360 degrees, where the full resolution of the device can be applied to a smaller range by programming a zero angle (start position) and a maximum angle (Stop position) through the I2C interface used for configuration and user programming of non-volatile parameters. This Click board™ is suitable for contactless potentiometers, contactless knobs, RC servos, and other angular position measurement solutions.

Angle 7 Click is supported by a mikroSDK compliant library, which includes functions that simplify software development.

Angle 7 Click as its foundation uses the AS5600, an easy to program magnetic rotary position sensor with a high-resolution 12-bit analog or PWM output from AMS AG. The AS5600 is a Hall-based rotary magnetic position sensor using planar sensors that convert the magnetic field component perpendicular to the surface of the chip into a voltage. It measures the absolute angle of a diametric-magnetized on-axis magnet while at the same time rejecting stray magnetic fields. By default, the output represents a range from 18 to 360 degrees. It is also possible to define a smaller range to the output by programming a zero angle (start position) and a maximum angle (stop position).

The signals coming from internal Hall sensors are first amplified and filtered before their conversion by the ADC and then processed by the hardwired 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. After that, the output stage uses the angle value provided by the CORDIC algorithm. The user can choose between an analog output representing the angle as a ratiometric linear absolute value and a digital PWM-encoded output representing the angle as the pulse width. The selection can be made by positioning the SMD jumper labeled as OUT SEL in an appropriate position marked as AN or INT.

Angle 7 Click communicates with MCU using the standard I2C 2-Wire interface with a maximum clock frequency of 1MHz, fully adjustable through software registers. Also, the DIR SEL jumper allows users to select the polarity of the output relative to rotation direction by positioning the SMD jumper in an appropriate position marked as CW or CCW allowing clockwise or counterclockwise rotation. 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.

This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. Both mikroBUS™ power rails have protection in the form of diode MAX40200, controllable through an EN pin on the mikroBUS™ socket to prevent any unwanted back voltage. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.

NOTE: In the case of using a logic level of 5V, it is necessary first to remove the resistor R6 and only then switch the VCC jumper to the 5V position.

  • Interface: Analog, I2C, PWM
  • Compatibility: mikroBUS™
  • Dimensions: 42.9 x 25.4mm
  • Input Voltage: 3.3V or 5V
  • Angle Measurement Range: Min. 18 deg, Max. 360 deg
  • Resolution: 12 bit
  • Operating Temperature Range: Min. -40°C, Typ. +25°C, Max. +120°C

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.