Hall Current 3 Click Board
Hall Current 3 Click Board
The Hall Current 3 Click Board™ is a very accurate current measurement Click Board™, which utilises the Hall effect to provide a precise and reliable measurement of reasonably high current. Its most distinctive feature is a very low series resistance of only 0.7mohm, making this device a nearly perfect ammeter. The maximum current which can be measured by the MLX91210 integrated Hall sensor IC goes up to ±30A, but with respect to the nominal current measurement rating of the sensor, the current measurement is limited to about ±10A.
The measurement is thermally compensated and conditioned by the high-speed integrated analogue front-end sections of the Hall sensor IC. The current measurement value can be obtained from the onboard 12-bit A/D converter, via the I2C interface.
Software Support
We provide a library for the Hall Current 3 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
This library provides basic functionality for reading the current value and controlling the Click Board™.
Key Functions
float hallcurrent3_getCurrent()
- Reads current in mAuint16_t hallcurrent3_readData(uint8_t reg)
- Reads current data
Example Description
The application is composed of three sections :
- System Initialization - Initialization of the I2C module
- Application Initialization - Driver initialization
- Application Task - (code snippet) - Reads the current from a bipolar current sensor and logs to USBUART every 1 second.
void applicationTask() { Current_data = hallcurrent3_getCurrent(); FloatToStr(Current_data, demoText); mikroBUS_logWrite("Current : ", _LOG_TEXT); mikroBUS_logWrite(demoText, _LOG_TEXT); mikroBUS_logWrite(" mA", _LOG_LINE); Delay_ms( 1000 ); }
The full application code, and ready to use projects can be found on our Libstock page.
Other MikroElektronika libraries used in the example:
- I2C
- Conversions
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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.
Hall Current 3 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.