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 14 Click as its foundation uses the MCS1801, a Hall-effect current sensor that sends an analog voltage proportional to the magnetic field intensity caused by the current flowing through the primary input conductor from Monolithic Power Systems (MPS). Immune to external magnetic fields by differential sensing, the MCS1801 can detect both DC and AC designed for the current range of ±25A. Device accuracy, ±3%, is optimized across the operating ambient temperature through the close proximity of the magnetic signal to the Hall sensors.
A primary conductor with a low resistance allows current to flow close to the IC, containing high-accuracy Hall-effect sensors. This current generates a magnetic field sensed at two different points by the integrated Hall-effect transducers. The magnetic field difference between these two points is then converted into a voltage (analog output) proportional to the applied current.
The analog output signal of the MCS1801 can be converted to a digital value using MCP3221, a successive approximation A/D converter with a 12-bit resolution from Microchip using a 2-wire I2C compatible interface, or can be sent directly to an analog pin of the mikroBUS™ socket labeled as AN. Selection can be performed by onboard SMD jumper labeled as AD SEL to an appropriate position marked as AN and ADC.
The MCP3221 provides one single-ended input with low power consumption, a low maximum conversion current, and a Standby current of 250μA and 1μA, respectively. Data can be transferred at rates of up to 100kbit/s in the Standard and 400kbit/s in the Fast Mode. Also, maximum sample rates of 22.3kSPS with the MCP3221 are possible in a Continuous-Conversion Mode with a clock rate of 400kHz.
Also, this Click board™ should be connected in series with the load. The current is measured by two onboard terminal connectors, one terminal block for the positive and the other for the negative current input.
This Click board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. 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.
Specifications
Type
Current sensor,Measurements
Applications
Can be used for applications requiring a combination of high-current monitoring and high isolation voltage between the primary high-current and low-voltage sides
On-board modules
MCS1801 – linear Hall-effect current sensor for AC or DC current sensing from Monolithic Power Systems (MPS)
Key Features
Output voltage proportional to AC or DC currents, ratiometric output from supply voltage, high reliability, factory-trimmed for accuracy, possibility of signal processing in analog and digital form, immune to external magnetic fields by differential sensing, and more
Interface
Analog,I2C
Feature
No 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 14 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 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | AD SEL | Right | Output Voltage A/D Selection AN/ADC: Left position AN, Right position ADC |
Hall Current 14 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Measurement Range | -25 | – | +25 | A |
Sensitivity | – | 80 | – | mV/A |
Isolation Working Voltage | – | 200 | – | VRMS |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the Hall Current 14 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for Hall Current 14 Click driver.
Key functions
-
hallcurrent14_read_voltage
This function reads raw ADC value and converts it to proportional voltage level. -
hallcurrent14_set_vref
This function sets the voltage reference for Hall Current 14 click driver. -
hallcurrent14_read_current
This function reads the input current level [A] based on @b HALLCURRENT14_NUM_CONVERSIONS of voltage measurements.
Example Description
This example demonstrates the use of Hall Current 14 Click board™ by reading and displaying the input current measurements.
void application_task ( void )
{
float current = 0;
if ( HALLCURRENT14_OK == hallcurrent14_read_current ( &hallcurrent14, ¤t ) )
{
log_printf( &logger, " Current : %.3f[A]rnn", current );
Delay_ms( 1000 );
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.HallCurrent14
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 MikroElektronika compilers.
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.
For more information about mikroSDK, visit the official page.