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?
Current 9 Click as its foundation uses the CT415-HSN830DR, an XtremeSense® TMR current sensor providing high-accuracy current measurements from Crocus Technology. The CT415-HSN830DR comes with an integrated current carrying conductor (CCC) that handles current from 0A up to 30A. It has high sensitivity and a wide dynamic range with excellent accuracy (low total output error) across temperature range from –40°C to +85°C making it suitable for many consumer, enterprise, and industrial applications.
When current flows through the CCC, the XtremeSense® TMR sensors inside the chip sense the field, generating a differential voltage signal that goes through the analog front-end to output a current measurement with less than ±1% full-scale total output error. The CT415-HSN830DR is designed to enable a fast response time for the current measurement. In addition, the user is provided with the option of selecting the output voltage level of the sensor performed by the onboard SMD jumper by populating it to an appropriate position marked as 3V3 or 5V. Even with high bandwidth of 1MHz, the CT415 consumes minimal power.
The output signal of the CT415-HSN830DR 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, placing it to an appropriate position marked as EXT and INT.
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 many consumer, enterprise, and industrial applications
On-board modules
CT415-HSN830DR – XtremeSense® TMR current sensor from Crocus Technology
Key Features
Low power consumption, integrated current carrying conductor, low total error output, high bandwidth, fast response time, high accuracy and precision, 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 Current 9 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 |
JP2 | OUT SEL | Left | CT415 Output Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VCC SEL | Right | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP3 | ADC SEL | Right | Output Voltage A/D Selection EXT/INT: Left position EXT, Right position INT |
Current 9 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Current Measurement Range | 0 | – | 30 | A |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Current 9 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 Current 9 Click driver.
Key functions
-
current9_read_voltage
This function reads raw ADC value and converts it to proportional voltage level. -
current9_read_current
This function reads the input current level [A] based on @b CURRENT9_NUM_CONVERSIONS of voltage measurements. -
current9_set_vref
This function sets the voltage reference for Current 9 click driver.
Example Description
This example demonstrates the use of Current 9 Click board™ by reading and displaying the input current measurements.
void application_task ( void )
{
float current = 0;
if ( CURRENT9_OK == current9_read_current ( ¤t9, ¤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.Current9
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.