DO NOT TOUCH THE BOARD WHILE THE LOAD IS CONNECTED!
Note: This Click board™ needs to be used by trained personnel only while applying high voltages. Special care should be taken when working with hazardous voltage levels.
How does it work?
Hall Current 19 Click is based on the CZ3AG2, a coreless current sensor from AKM Semiconductor. This sensor uses Hall sensor technology to provide an analog voltage output proportional to the AC/DC current on the AN pin of the mikroBUS™ socket. Using a Group III-V semiconductor thin film as the Hall element, the CZ3AG2 ensures high-accuracy and high-speed current sensing. It also includes functions for reducing stray magnetic fields and dual overcurrent detection. Being UL 61800-5-1 safety compliant, the CZ3AG2-based Hall Current 19 Click is perfect for industrial AC drives, servo motors, UPS systems, general inverters, and power conditioners.
As mentioned, this Click board™ is equipped with dual overcurrent detection capabilities on the OC1 and OC2 pins of the mikroBUS™ socket. Using voltage dividers R6/R9 and R7/R10, it sets precise current limits ranging from 7A to 17.5A. This ensures that any current value falling outside this specified range will be promptly detected by the overcurrent detectors, providing reliable protection and accurate measurement.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VIO SEL jumper. This way, both 3.3V and 5V capable MCUs can use the communication lines properly. Also, this 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
Current sensor
Applications
Ideal for industrial AC drives, servo motors, UPS systems, inverters, and power conditioners
On-board modules
CZ3AG2 – coreless current sensor from AKM Semiconductor
Key Features
Coreless current sensor based on Hall sensor technology, high-accuracy, high-speed, both AC and DC current measurement, built-in stray magnetic field reduction, dual overcurrent detection, UL 61800-5-1 safety compliant, operates with both 3.3V and 5V logic voltage levels, and more
Interface
Analog,GPIO
Feature
ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on Hall Current 19 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 | VIO SEL | Left | Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
Hall Current 19 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Current Range | 7 | – | 17.5 | A |
Software Support
We provide a library for the Hall Current 19 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Library Description
This library contains API for Hall Current 19 Click driver.
Key functions
-
hallcurrent19_get_oc2
This function is used to get state of the overcurrent 2 detection of the Hall Current 19 Click board. -
hallcurrent19_set_zero_ref
This function sets the zero voltage reference of the Hall Current 19 Click board. -
hallcurrent19_get_current
This function reads and calculate input current value of the Hall Current 19 Click board.
Example Description
This example demonstrates the use of Hall Current 19 Click board™ by reading and displaying the current measurements.
void application_task ( void )
{
float voltage = 0;
if ( HALLCURRENT19_OK == hallcurrent19_get_current ( &hallcurrent19, &voltage ) )
{
log_printf( &logger, " Current : %.3f[A]rnn", voltage );
Delay_ms( 1000 );
}
if ( HALLCURRENT19_OCD_ACTIVE == hallcurrent19_get_oc1( &hallcurrent19 ) )
{
log_printf( &logger, " Current over 7A rn" );
}
if ( HALLCURRENT19_OCD_ACTIVE == hallcurrent19_get_oc2( &hallcurrent19 ) )
{
log_printf( &logger, " Current over 17.5A rn" );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on MIKROE github account.
Other MIKROE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.HallCurrent19
Additional notes and informations
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. UART terminal is available in all MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE 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.
For more information about mikroSDK, visit the official page.