DO NOT TOUCH THE BOARD WHILE THE EXTERNAL POWER SUPPLY IS ON!
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 11 Click as its foundation uses the TMCS1108A2U, a precision Hall-effect current sensor, featuring a 100V functional isolation working voltage, <3% full-scale error across temperature, and both unidirectional and bidirectional current sensing from Texas Instruments. The input current flows through a 1.8mΩ resistance conductor between the isolated input current pins, minimizing power loss and thermal dissipation. The magnetic field generated by the input current is sensed by a Hall sensor and amplified by a precision integrated signal chain. The TMCS1108A2U can be used for both AC and DC current measurements with a bandwidth of 80kHz.
The TMCS1108A2U is optimized for high accuracy and temperature stability, with both offset and sensitivity compensated across the entire operating temperature range. Based on the selected logic voltage VCC, the TMCS1108A2U allows the user to measure current in two appropriate ranges, where after that, can process the output signal in analog or digital form. With the selected logic voltage of 3.3V, it is possible to measure the current from -2.8A to 27.7A, while with the chosen 5V, it is possible to measure it in the range from -4.5A to 43A.
The analog output signal of the TMCS1108A2U 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 ADC SEL to an appropriate position marked as AN and I2C.
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.
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 AC or DC current-sensing in industrial, commercial, and communications systems
On-board modules
TMCS1108A2U – galvanically isolated Hall-effect current sensor with high accuracy, excellent linearity, and temperature stability from Texas Instruments
Key Features
Low power consumption, high accuracy, featuring a 100V functional isolation working voltage, bigger than 3% full-scale error across temperature, both unidirectional and bidirectional current sensing, possibility of signal processing in analog and digital form, 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 11 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 | ADC SEL | Right | Output Voltage A/D Selection AN/I2C: Left position AN, Right position I2C |
Hall Current 11 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Measurement Range @ VCC=3.3V | -2.8 | – | 27.7 | A |
Measurement Range @ VCC=5V | -4.5 | – | 43 | A |
Sensitivity | – | 100 | – | mV/A |
Operating Temperature Range | -40 | +25 | +125 | °C |
Software Support
We provide a library for the Hall Current 11 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 11 Click driver.
Key functions:
hallcurrent11_cfg_setup
– Config Object Initialization function.hallcurrent11_init
– Initialization function.hallcurrent11_default_cfg
– Click Default Configuration function.
Examples description
This library contains API for Hall Current 11 Click driver. The demo application reads ADC value and current ( A ).
void application_task ( void ) { static uint16_t adc_data; static float current; hallcurrent11_get_adc( &hallcurrent11, &adc_data ); log_printf( &logger, " ADC Value : %d rn", adc_data ); log_printf( &logger, "- - - - - - - - - - - - -rn" ); Delay_ms( 100 ); hallcurrent11_get_current ( &hallcurrent11, ¤t ); log_printf( &logger, " Current : %.3f A rn", current ); log_printf( &logger, "--------------------------rn" ); 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.HallCurrent11
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. 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.
For more information about mikroSDK, visit the official page.