currentlimit5 2.0.0.0
|
Current Limit 5 Click 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.
We provide a library for the Current Limit 5 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.
This library contains API for Current Limit 5 Click driver.
currentlimit5_cfg_setup
Config Object Initialization function. currentlimit5_init
Initialization function. 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. This example demonstrates the use of Current Limit 5 click board by limiting
the current to a certain value and displaying an appropriate message when the current reaches the limit.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration which sets the current limit to 200mA.
Displays the fault indicator state on the USB UART.
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:
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.