How does it work?
Current Limit 10 Click is based on the HS2950P, a load protection HotSwitch from Semtech. It utilizes flexible and programmable protection features and can handle multiple fault conditions. During fault conditions, automatic output discharge will be activated, thus protecting the load, and the HS2950P will automatically restart from a fault condition. The under-voltage lockout threshold is set to the default position (2.6V). The overvoltage protection can be externally set over the OVP SEL jumper, choosing between values 5.44V, 12.36V, and 24.13V. The OVP is set by default to 5.44V.
The current limit threshold can be set over the MAX5419, a nonvolatile digital potentiometer from Analog Devices. You can also choose the onboard external resistor for a fixed 0.5A value. The selection can be made over the ILIM SEL jumper. The soft start time is set to 0.32 ms, and the turn-on delay is set to 4 ms.
Current Limit 10 Click uses a standard 2-wire I2C interface of the MAX5419 to allow the host MCU to set the limit threshold. The HS2950P will alert the host MCU when the fault condition occurs over the FLT pin, along with the FLT LED indicator. Finally, you can turn off the current limiter over the enable EN pin.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC 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
Power Switch
Applications
Can be used for the development of telecommunication and networking equipment, office automation equipment, consumer products, and more
On-board modules
HS2950P – aload protection HotSwitch from Semtech
Key Features
Integrated load switch, wide input voltage range, wide output current range, adjustable current limit, adjustable over-voltage protection, automatic output discharge, soft start, automatic restart from all faults except OVP and UVLO, and more
Interface
I2C
Feature
ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V,External
Pinout diagram
This table shows how the pinout on Current Limit 10 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 |
LD2 | FLT | – | Fault LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | ILIM SEL | Left | Current Limit Thershold Selection POT/0.5A: Left position POT, Right position 0.5A |
JP3 | OVP SEL | Left | Over-voltage Lockout Protection Selection 5V/12V/24V: Left position 5V, Down Position 12V, Right position 24V |
Current Limit 10 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Input Voltage Range | 2.7 | – | 29 | V |
Over-voltage Lockout Protection Range | 5.44 | – | 24.13 | V |
Output Current | – | – | 5 | A |
Software Support
We provide a library for the Current Limit 10 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 Current Limit 10 Click driver.
Key functions
-
currentlimit10_set_limit
This function sets the desired current limit threshold using the I2C serial interface. -
currentlimit10_get_fault
This function gets the state of the fault flag to indicate overcurrent, overtemperature, or reverse-voltage conditions. -
currentlimit10_enable
This function turns on the power switch and enables the internal MOSFET.
Example Description
This library contains API for the Current Limit 10 Click driver for the current limiting to a certain value and displays the sources a current proportional to the load current [A].
void application_task ( void )
{
if ( CURRENTLIMIT10_OK == currentlimit10_set_limit( ¤tlimit10, 0.75 ) )
{
Delay_ms( 100 );
if ( CURRENTLIMIT10_FAULT_FLAG == currentlimit10_get_fault( ¤tlimit10 ) )
{
log_printf( &logger, "Fault flag: Overcurrentrn" );
Delay_ms( 100 );
}
else
{
log_printf( &logger, " Current limit is 0.75 Arn" );
Delay_ms( 100 );
}
}
Delay_ms( 1000 );
}
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.CurrentLimit10
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.