Current Limit 5 Click Board
Current Limit 5 Click Board
Key Features
- Integrated protection features, programmable current limiting up to 1.05A, soft start that prevents large current inrush, enable feature, automatic-on output after fault, and more
- Based on the MIC2099 - current-limiting device with an adjustable overcurrent protection feature from Microchip Technology
- Can be used for applications in portable equipment and condition monitoring or power supplies, protecting them in short circuits or other overload conditions
- mikroBUS: I2C Interface
Overview
The Current Limit 5 Click Board™ is a compact add-on board representing a current-limiting solution. This board features the MIC2099, a current-limit power distribution switch from Microchip Technology. This Click board™ represents a programmable current limit solution with various protection features and fault indication, which operates from a 2.5V to 5.5V input voltage range. Also, the current limit is adjustable from 100mA up to 1.05A programmed through the MCP4561 digital potentiometer. This Click board™ is suitable for applications in portable equipment and condition monitoring or power supplies, protecting them in short circuits or other overload conditions.
The Current Limit 5 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
How Does The Current Limit 5 Click Board™ Work?
The Current Limit 5 Click Board™ is based on the MIC2099, a current-limiting device with an adjustable overcurrent protection feature from Microchip Technology. The MIC2099 offers flexible protection boundaries for systems against input voltage ranging from 2.5V to 5.5V and limits the output load current to a programmed level (up to 1.05A). Additional safety features include thermal shutdown protection to prevent overheating, under-voltage lock-out, a soft start that prevents large current inrush, as well as automatic-on output after a fault condition.
The current-limit switch is virtually ubiquitous in system control and provides a safe means for regulating the current delivered to a load circuit. It allows the load current to increase to a programmed limit but no higher. Typically, the current limit is a function of the voltage across an external resistor, and this voltage serves as the reference for an internal current-limiting amplifier. By replacing the resistor with a digital potentiometer, you can easily program the current limit as performed on this Click board™. For this purpose, the digital potentiometer MCP4561 from Microchip Technology which communicates with the MCU via 2-Wire I2C serial interface, is used to set the resistance on the MIC2099 LIMIT pin, adjusting the current limit for the switch between 0.1A to 1.05A.
The Current Limit 5 Click Board™ can be enabled or disabled through the EN pin routed to the CS pin of the mikroBUS™ socket; hence, offering a switch operation to turn ON/OFF power delivery to the connected load. It also provides a fault status indication signal, labelled as FLT and routed to the INT pin of the mikroBUS™ socket, alongside its LED indicator marked as FAULT to indicate different fault conditions such as current limit and thermal shutdown.
The Current Limit 5 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. It allows for both 3.3V and 5V capable MCUs to use the communication lines properly. Additionally, there is a possibility for the MIC2099 power supply selection via jumper labelled as VIN SEL to supply the MIC2099 from an external power supply VEXT terminal in the range from 2.5V to 5.5V or with VCC voltage levels from mikroBUS™ power rails. 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 | Power Switch |
Applications | The Current Limit 5 Click Board™ can be used for applications in portable equipment and condition monitoring or power supplies, protecting them in short circuits or other overload conditions |
On-board modules | MIC2099 - current-limiting device with an adjustable overcurrent protection feature from Microchip Technology |
Key Features | Integrated protection features, programmable current limiting up to 1.05A, soft start that prevents large current inrush, enable feature, automatic-on output after fault, and more |
Interface | I2C |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V,External |
PINOUT DIAGRAM
This table shows how the pinout of the Current Limit 5 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
NC | 1 | AN | PWM | 16 | NC | ||
NC | 2 | RST | INT | 15 | FLT | Fault Indication | |
Enable | EN | 3 | CS | RX | 14 | NC | |
NC | 4 | SCK | TX | 13 | NC | ||
NC | 5 | MISO | SCL | 12 | SCL | I2C Clock | |
NC | 6 | MOSI | SDA | 11 | SDA | I2C Data | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2 | FAULT | - | Fault Status LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VIN SEL | Left | MIC2099 Power Supply Selection INT/EXT: Left position INT, Right position EXT |
CURRENT LIMIT 5 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage VCC | 3.3 | - | 5 | V |
External Supply Voltage VEXT | 2.5 | - | 5.5 | V |
Current Limit Range | 0.1 | - | 1.05 | A |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the Current Limit 5 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Current Limit 5 Click Board™ driver.
Key functions
-
currentlimit5_set_ilimit
This function sets the current limit value by configuring the onboard digital potentiometer. -
currentlimit5_get_fault_pin
This function returns the fault pin logic state. -
currentlimit5_enable_limit
This function enables the current limiting switch.
Example Description
This example demonstrates the use of the Current Limit 5 Click Board™ by limiting the current to a certain value and displaying an appropriate message when the current reaches the limit.
void application_task ( void )
{
static uint8_t currentlimit_ind = 2;
if ( currentlimit5_get_fault_pin ( ¤tlimit5 ) )
{
if ( currentlimit_ind != 0 )
{
log_printf ( &logger, " The switch is in normal operation rnn" );
currentlimit_ind = 0;
}
}
else
{
if ( currentlimit_ind != 1 )
{
log_printf ( &logger, " The switch is in the current limiting or thermal shutdown operation rnn" );
currentlimit_ind = 1;
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The 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.CurrentLimit5
Additional Notes and Information
Depending on the development board you are using, you may need a 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
The Current Limit 5 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.
Software Support
We provide a library for the Current Limit 5 Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the Current Limit 5 Click Board™ driver.
Key functions
-
currentlimit5_set_ilimit
This function sets the current limit value by configuring the onboard digital potentiometer. -
currentlimit5_get_fault_pin
This function returns the fault pin logic state. -
currentlimit5_enable_limit
This function enables the current limiting switch.
Example Description
This example demonstrates the use of the Current Limit 5 Click Board™ by limiting the current to a certain value and displaying an appropriate message when the current reaches the limit.
void application_task ( void )
{
static uint8_t currentlimit_ind = 2;
if ( currentlimit5_get_fault_pin ( ¤tlimit5 ) )
{
if ( currentlimit_ind != 0 )
{
log_printf ( &logger, " The switch is in normal operation rnn" );
currentlimit_ind = 0;
}
}
else
{
if ( currentlimit_ind != 1 )
{
log_printf ( &logger, " The switch is in the current limiting or thermal shutdown operation rnn" );
currentlimit_ind = 1;
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio The 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.CurrentLimit5
Additional Notes and Information
Depending on the development board you are using, you may need a 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
The Current Limit 5 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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.