OFF
MIKROE-5960
20 g
Status:
Charger 27 Click is a compact add-on board that provides a single-cell charging solution. This board features the MP2639B, a Li-Ion or Li-Polymer switching charger from MPS. It is a highly integrated, flexible switch-mode battery charging management device for a single-cell battery for various portable applications. It uses a 4.5V up to 16V external input voltage to provide up to 2A of programmable charging current. This Click board™ makes the perfect solution for the development of power station applications, USB PD power banks, portable devices, and more.
Charger 27 Click is fully compatible with the mikroBUS™ socket and can be used on any host system supporting the mikroBUS™ standard. It comes with the mikroSDK open-source libraries, offering unparalleled flexibility for evaluation and customization. What sets this Click board™ apart is the groundbreaking ClickID feature, enabling your host system to seamlessly and automatically detect and identify this add-on board.
This product is no longer in stock
Availability date:
Charger 27 Click is based on the MP2639B, a Li-Ion or Li-Polymer switching charger from MPS. The charger works in three modes: charge, discharge, and sleep mode. It operates as a switching charger if the input power supply is available. The charger automatically detects the battery voltage and charges the battery in three phases: pre-charge, constant charge, and constant voltage charge. Other features include charge termination and auto-recharge. When the input is absent, the charger can provide a boost voltage to the VIN terminal, the same which is used for the input voltage power supply.
This Click board™ uses a general-purpose I/O to allow the host MCU to control the MP2639B charger. Besides the push button, you can also select charge mode by pulling the MD pin to a LOW logic state and discharge mode by pulling this pin to a HIGH logic state. The charger uses the CHG pin to indicate the host MCU of the charge status and the AOK pin to indicate the valid input supply.
There are several LEDs on the Charger 27 Click. LEDs labeled 1 – 4 represent a fuel gauge. The charge completion indicator is available over the CHG LED, and the valid input supply indicator is available over the AOK LED. The discharge function is enabled by pressing the onboard button for less than 2.5 seconds. If the discharge is enabled, you can turn off this feature by pressing the button longer than 2.5 seconds. You can also set the charge current between 1A and 2A over the ISET SEL jumper.
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.
Type
Battery charger
Applications
Can be used for the development of power station applications, USB PD power banks, portable devices, and more
On-board modules
MP2639B - Li-Ion or Li-Polymer switching charger from MPS
Key Features
Wide input voltage range, programmable charge current, charge and discharge modes, thermal regulation and thermal shutdown, integrated short-circuit protection, 4 fuel gauge LEDs , Sleep mode, battery detection, input voltage detection, and more
Interface
GPIO
Feature
ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V,External
This table shows how the pinout on Charger 27 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
LD2-LD5 | 1 - 4 | - | Fuel Gauge LED Indicator |
LD6 | AOK | - | Input Supply LED Indicator |
LD7 | CHG | - | Charge LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | ISET SEL | Left | Charge Current Selection 1A/2A: Left position 1A, Right position 2A |
T1 | - | - | Charge/Discharge Mode Selection Button |
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
External Power Supply | 4.5 | - | 16 | V |
Charging Current | 1 | - | 2 | A |
We provide a library for the Charger 27 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 Charger 27 Click driver.
Key functions
charger27_set_mode
This function is used for the charge or discharge mode selection.
charger27_check_chg_completion
This function checks the charging completion indicator state.
charger27_check_input_supply
This function checks valid input supply indicator state.
Example Description
This example demonstrates the use of the Charger 27 Click board™ by enabling charge or discharge mode and indicating valid input supply and charging completion.
void application_task ( void )
{
if ( CHARGER27_CHG_CHARGE == charger27_check_chg_completion( &charger27 ) )
{
log_printf( &logger, " Charging.rn" );
Delay_ms( 1000 );
}
else
{
log_printf( &logger, " Charging has completed or is suspended.rn" );
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:
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.
This Click board™ is supported with mikroSDK - MIKROE Software Development Kit. To ensure proper operation of mikroSDK compliant Click board5 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.
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.