MikroElektronika
Angle 4 click
Angle 4 click
SKU:MIKROE-3130
Couldn't load pickup availability
Share
The AEAT-8800-Q24 IC utilizes integrated Hall sensor elements, accompanied by very sophisticated circuits for processing analog and digital signals, resulting in a very robust and precise rotary sensing interface. This makes Angle 4 click an ideal solution for a wide variety of contactless angle measurement applications, such as the acquisition of position and rotation for various BLDC or stepper motors, mechanical potentiometer replacement, for building various HMI platforms, in robotics, and similar applications.
How does it work?
As already mentioned, Angle 4 click uses the AEAT-8800-Q24, an integrated 10 to 16-bit programmable angular magnetic encoder, by Broadcom. This sensor relies on integrated Hall elements and complex analog front end and digital signal processing, in order to provide absolute angular position over the industry standard SPI interface. The user has the ability to programmatically set the zero position, direction, hysteresis, and the resolution. This allows the Click board™ to be tailored according to needs for a range of different applications.
The possibility to sense the rotational angle of a diametrically magnetized object parallel with the Click board™ surface, gives an opportunity to develop both contactless rotational and positional measurement applications, as well as the human-machine interfaces (HMI), such as the rotary encoders, digital potentiometers, and similar. The calibration is simple, and the AEAT-8800-Q24 datasheet provides a detailed explanation how to calibrate the device by using a diametrically magnetized object (i.e. a magnetic disc), with its axis aligned to the center of the sensor. For the best results, the magnet properties should be according to specifications in the datasheet. Once calibrated, it can be permanently used, with no additional recalibrations.
The AEAT-8800-Q24 uses the non-volatile one-time programming memory during the operation. It contains registers with the calibration values, zero offsets, resolution and so on. All the OTP locations have their shadow locations, which allow writing, but only when the unlock command is issued (writing 0xAB to the location 0x10). However, the values will be lost after the power cycle and will be rewritten with the values contained in the OTP memory.
The library provided with Angle 4 click offers several simple and useful functions, among which is the angle4_calibration function, which will automatically program the direction and the resolution parameters to the OTP memory, passed as argumetns to this function. However, the OTP memory will not be permanently written, unless appropriate programming voltage is applied to the VDDP pin. Since the OTP memory can be programmed only once, a thorough understanding of the OTP programming process is required. More information about the OTP programming process can be found in the AEAT-8800-Q24 datasheet.
The Click board™ contains an SMD jumper, labeled as PWR SEL, which can be used to set the operating voltage of the click board to either 3.3V or to 5V. This allows a wide range of different MCUs to be interfaced with the Click board™, operating both at 3.3V and 5V.
Specifications
Type | Magnetic |
Applications | It is an ideal solution for a wide variety of contactless angle measurement applications, such as the acquisition of position and rotation for various BLDC or stepper motors, mechanical potentiometer replacement, for building various HMI platforms, in robotics, and similar applications |
On-board modules | AEAT-800-Q24, an integrated 10 to 16-bit programmable angular magnetic encoder, by Broadcom |
Key Features | Accurate sensing of the magnetic angle, providing absolute positional readings over the SPI, good linearity and low error margin over 360?, programmable working parameters, OTP memory for permanent working parameters storage |
Interface | SPI |
Input Voltage | 3.3V or 5V |
Click board size | M (42.9 x 25.4 mm) |
Pinout diagram
This table shows how the pinout on Angle 4 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED indicator |
JP1 | PWR SEL | Left | Power supply voltage selection: left position 3.3V, right position 5V |
Software support
We provide a library for the Angle4 Click 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
Library initializes and defines SPI bus driver and driver functions which offer a choice to write data in registers and to read data from registers. Library also offers a choice to sets absolute resolution read data and sets the direction. A user has an angle-reading function, a function for starting the measurement, and starting the chip calibration that is necessary for operation.
Key functions:
-
vuint8_t angle4_getNewAngle(uint16_t *dataOut)
- Functions for read Angle -
void angle4_startMesuremenet()
- Functions for start measurement -
void angle4_calibration(uint8_t dir, uint8_t data_resolution)
- Functions for calibration chip
Example description
The application is composed of three sections:
- System Initialization - Initializes SPI module and set CS pin as OUTPUT
- Application Initialization - Driver initialization, standard configurations, and start measurement
- Application Task - (code snippet) - Reads Angle in degrees and logs data to USBUART every 200 ms.
void applicationTask() { angle4_getNewAngle(&Angle); IntToStr(Angle, demoText); mikrobus_logWrite(" Angle : ", _LOG_TEXT); mikrobus_logWrite(demoText, _LOG_TEXT ); mikrobus_logWrite(" deg", _LOG_LINE); Delay_ms( 200 ); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- SPI
- Conversions
Additional notes and information
Depending on the development board you are using, you may need 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
This 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.




New Products
-
Sold out
OAK-FFC IMX577 M12
Vendor:POLOLURegular price Rs. 8,499.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 20A
Vendor:POLOLURegular price Rs. 329.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 25A
Vendor:POLOLURegular price Rs. 439.00Regular priceUnit price / perSold out -
Pololu I²C Isolator, ISO1640
Vendor:POLOLURegular price Rs. 449.00Regular priceUnit price / per -
3pi+ 32U4 OLED Robot Kit with 30:1 MP Motors (Standard Edition Kit)
Vendor:POLOLURegular price Rs. 15,549.00Regular priceUnit price / per -
Conductivity Calibration K 1.0 Set (4 pouches)
Vendor:Atlas ScientificRegular price Rs. 1,599.00Regular priceUnit price / perSold out -
Analog Discovery 3 Pro Bundle
Vendor:DigilentRegular price Rs. 42,569.00Regular priceUnit price / per -
Lighthouse swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 474,999.00Regular priceUnit price / perSold out -
Loco Swarm bundle - Crazyflie 2.1+ (250mAh batteries)
Vendor:BitcrazeRegular price Rs. 544,999.00Regular priceUnit price / perSold out -
Kopis X8 Cinelifter 5" Kit - Caged (Frame Kit)
Vendor:HolybroRegular price Rs. 28,199.00Regular priceUnit price / per -
Atlas Scientific i3 InterLink
Vendor:Atlas ScientificRegular price Rs. 6,349.00Regular priceUnit price / per -
Sold out
PoE Injector
Vendor:LuxonisRegular price Rs. 2,099.00Regular priceUnit price / perSold out -
Sold out
1-Port VINT Hub Phidget
Vendor:PhidgetsRegular price Rs. 2,699.00Regular priceUnit price / perSold out -
Holybro 1045 Propeller 2 Pair CW+CCW-Black
Vendor:HolybroRegular price Rs. 1,549.00Regular priceUnit price / per -
ACS37220LEZATR-100B3 Current Sensor Large Carrier -100A to +100A, 3.3V
Vendor:POLOLURegular price Rs. 829.00Regular priceUnit price / per -
CT433-HSWF50MR TMR Current Sensor Compact Carrier -50A to +50A, 3.3V
Vendor:POLOLURegular price Rs. 1,039.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Adjustable Current, Blue Edition
Vendor:POLOLURegular price Rs. 409.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 1A@5V / 660mA@3.3V, Blue Edition (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 489.00Regular priceUnit price / per -
A5984 Stepper Motor Driver Carrier, Fixed 500mA@5V / 330mA@3.3V (Soldered Header Pins)
Vendor:POLOLURegular price Rs. 469.00Regular priceUnit price / per -
T Connector Male-Female Pair
Vendor:POLOLURegular price Rs. 169.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 159.00Regular priceUnit price / per -
Pololu Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 199.00Regular priceUnit price / per -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 10A
Vendor:POLOLURegular price Rs. 179.00Regular priceUnit price / perSold out -
Pololu Ideal Diode Reverse Voltage Protector, 4-60V, 12A
Vendor:POLOLURegular price Rs. 229.00Regular priceUnit price / perSold out -
Pololu Mini Plastic Gearmotor Bracket Pair - Tall
Vendor:POLOLURegular price Rs. 599.00Regular priceUnit price / per