Magnetic Rotary 5 Click Board™
Product Code: MIKROE-5691
How Does The Magnetic Rotary 5 Click Board™ Work? The Magnetic Rotary 5 Click Board™ is based on the AS5134, a contactless magnetic rotary encoder from ams AG for accurate angular measurement over a full turn of 360º. The AS5134 is an innovative system-on-chip that offers a wide range of features and capabilities. In addition to its integrated Hall elements, analogue front end, and digital signal processing, this chip is designed with power efficiency in mind. It features a Power Down Mode and fast Start-Up sequence and measurement cycles, allowing for low average power consumption. To measure the angle, only a simple two-pole magnet rotating over the centre of the chip is required. The absolute angle measurement instantly indicates the magnet's angular position with a resolution of 8.5bit equals 360 positions per revolution. It allows high speeds up to 76875RPM and a wide magnetic field input range from 20 to 80mT. Thanks to its high precision and ability to measure the absolute angle, the AS5134 is suitable for various applications, including contactless position sensing and rotary switches, which can provide a human-machine interface.
This chip is also well-suited for motor position control, including AC/DC and Brushless motor position control. This Click board™ communicates with the host MCU using a serial SPI 3-wire read-only connection, only to provide the angular data. An additional way of processing angular data is through the analog pin of the mikroBUS™ socket. With the addition of a lowpass filter at the PWM output pin of the AS5134, this configuration produces an analog voltage proportional to the angle. If the AS5134 angular data is invalid, the PWM output will remain low; thus, the analog output will be 0V.
The Magnetic Rotary 5 Click Board™ also comes with an unpopulated header reserved for incremental and commutation signals of their respective A/B/I and U/V/W signals. The phase shift between channels A and B indicates the direction of the magnet movement. Channel A leads channel B at a clockwise magnet rotation by 90 electrical degrees, while channel B leads channel A at a counter-clockwise rotation. Brushless DC (BLDC) motors are also controllable through a standard UVW commutation interface with a programmable number of pole pairs from 1 to 6. These signals will control the electrical angle information according to the number of pole pairs and the actual mechanical angle position.
In addition, this unpopulated header also contains two additional pins marked PR and DX. The PR pin serves to supply the necessary DC voltage in the range of 8 to 8.5V to activate the possibility of permanent programming. Users have the option of zero position programming and magnetic field optimization. Meanwhile, the DX pin can implement a daisy chain mode, providing even greater flexibility in system design. With these added features, the board can be configured for either a two-wire or three-wire mode, depending on the application's specific requirements. Also, 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.
Although the AS5134 uses 5V as the primary power source, this Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL jumper thanks to the voltage level translator, the TXB0104E. This way, both 3.3V and 5V capable MCUs can 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.
SPECIFICATIONS
Type
Magnetic
Applications
It can be used for contactless rotary position sensing, rotary switches (human-machine interface), AC/DC motor position control, and brushless DC motor position control.
On-board modules
AS5134 - contactless magnetic rotary encoder from ams
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 analogue signal, incremental and commutation signal, low power consumption, daisy chain mode, and more
Interface
Analog,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 Magnetic Rotary 5 Click Board™ pinout corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes
Pin
Pin
Notes
Ana
Visit the Debug Store website for more information on Magnetic Rotary 5 Click Board™