Mikroelektronika d.o.o.
Balancer 4 Click Board
Balancer 4 Click Board
Couldn't load pickup availability
Key Features:
- Two-cell Lithium-Ion batteries in series, up to 2A configurable charge current, compatible with Host-control or Standalone mode, NVDC power path management, integrated cell-balancing circuit for mismatched cells, status indicators, I2C interface, NTC, and more
- Based on the MP2672A - highly integrated and flexible switch-mode battery charger from Monolithic Power Systems (MPS)
- Can be used for portable applications, Point-of-Sale (POS) machines, general two-cell applications, and more
- mikroBUS: I2C Interface
The Balancer 4 Click Board™ is a compact add-on board optimized for overvoltage protection balancing the voltage of serially connected batteries. This board features the MP2672A, a highly integrated, flexible switch-mode battery charger for Lithium-Ion batteries with two cells in series from Monolithic Power Systems (MPS). The MP2672A has a narrow voltage DC (NVDC) power structure and monitors the voltage across each cell, equalizing the cell’s voltages if the difference between the two cells exceeds the mismatch threshold. It also has two selective operating modes with configurable output current up to 2A via register setting via I2C serial interface, alongside selectable MP2672A power supply, LED indication, and protection features allowing a reliable operation. This Click board™ is applicable for a wide range of portable applications, Point-of-Sale (POS) machines, general two-cell applications, and more.
The Balancer 4 Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a thoroughly tested product, ready to be used on a system equipped with the mikroBUS™ socket.
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980059107551.jpg?v=1685084329&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980058878175.jpg?v=1685084685&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980059074783.jpg?v=1685084509&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980058943711.jpg?v=1685084506&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980058714335.jpg?v=1685084503&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980059369695.jpg?v=1685084341&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980058222815.jpg?v=1685084338&width=1445)
![Mikroelektronika d.o.o. MIKROE-5271 Balancer 4 Click Board - The Debug Store UK](http://thedebugstore.com/cdn/shop/products/mikroelektronika-d-o-o-click-board-balancer-4-click-board-37980059140319.jpg?v=1685084333&width=1445)
How Does The Balancer 4 Click Board™ Work?
The Balancer 4 Click Board™ as its foundation uses the MP2672A, a highly integrated and flexible switch-mode battery charger for two-cell Lithium-Ion batteries in series from Monolithic Power Systems (MPS). The MP2672A features a cell balance function that monitors the voltage across each cell and equalizes them if the difference exceeds the mismatch threshold. It features up to 2A of programmable charge current for batteries with two cells in series, alongside protections like battery temperature monitoring, programmable charging safety timer protection, JEITA-compliant battery NTC monitoring, cell over-voltage protection (OVP), thermal regulation, and thermal shutdown.
The MP2672A has a narrow voltage DC (NVDC) power structure. It automatically detects the battery voltage and charges it in three phases: pre-charge, constant current, and voltage charge. With a deeply discharged battery, the MP2672A regulates the system output to a minimum voltage level, which powers the system instantly while simultaneously charging the battery via integrated FET. It also offers flexible new charging cycle initiation compatible with Standalone mode and Host-control mode of operation selectable through an onboard switch labelled as HOST SEL.
Diverse and robust protections include a thermal regulation loop to decrease the charge current if the junction temperature exceeds the thermal loop threshold and battery temperature protection compliant with JEITA standards. Other safety features include input over-voltage protection (OVP), battery OVP, thermal shutdown, battery temperature monitoring, and a configurable backup timer to prevent prolonged charging of a dead battery.
Balancer 4 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings, supporting a Standard Mode operation up to 100kHz. It also has two LED indicators, red and green, marked with CHARGE and POWER, which can visually show the existence of a valid power supply to the MP2672A and the active status of the battery charging process. Also, an NTC function is available for temperature-qualified charging, where the MP2672A continuously monitors the battery's temperature by measuring the voltage on the onboard NTC header pins.
The Balancer 4 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. It allows both 3.3V and 5V capable MCUs to use the communication lines properly. Additionally, there is a possibility for the MP2672A power supply selection via jumper labelled as VIN SEL to supply the MP2672A from an external power supply terminal in the range from 4V to 5.75V or with 5V voltage level from mikroBUS™ power rail. 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 | Battery charger |
Applications | Can be used for portable applications, Point-of-Sale (POS) machines, general two-cell applications, and more |
On-board modules | MP2672A - highly integrated and flexible switch-mode battery charger from Monolithic Power Systems (MPS) |
Key Features | Two-cell Lithium-Ion batteries in series, up to 2A configurable charge current, compatible with Host-control or Standalone mode, NVDC power path management, integrated cell-balancing circuit for mismatched cells, status indicators, I2C interface, NTC, and more |
Interface | I2C |
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 of the Balancer 4 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 | NC | ||
NC | 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 | POWER | - | MP2672A Valid Supply LED Indicator |
LD3 | CHARGE | - | Charge Status LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
JP2 | VIN SEL | Right | MP2672A Power Supply Selection 5V/EXT: Left position 5V, Right position EXT |
J1 | NTC | Unpopulated | External Thermistor Connection Header |
SW1 | HOST MODE | Right | Operation Mode Selection |
BALANCER 4 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
External Supply Voltage VIN | 4 | - | 5.75 | V |
Battery Pack Voltage | - | - | 9 | V |
Output Current | - | - | 2 | A |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the Balancer 4 Click Board™ and 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 the MikroE Github account.
Library Description
This library contains API for the Balancer 4 Click Board™ driver.
Key functions
-
balancer4_write_register
This function writes a desired data byte to the selected register by using an I2C serial interface. -
balancer4_write_and_verify_register
This function writes a desired data byte to the selected register and verifies if it is written correctly by reading it. -
balancer4_read_register
This function reads a data byte from the selected register by using an I2C serial interface.
Example Description
This example demonstrates the use of the Balancer 4 Click Board™ by configuring the Click Board™ for charging and then reading the status and fault registers.
void application_task ( void )
{
uint8_t status, fault;
if ( BALANCER4_OK == balancer4_read_register ( &balancer4, BALANCER4_REG_STATUS, &status ) )
{
log_printf ( &logger, "rn - STATUS - rn", status );
log_printf ( &logger, " Battery status: " );
if ( status & BALANCER4_STATUS_BATTERY_MISSING )
{
log_printf ( &logger, "missingrn" );
}
else
{
log_printf ( &logger, "presentrn" );
log_printf ( &logger, " Charging status: " );
switch ( status & BALANCER4_STATUS_CHG_STAT_MASK )
{
case BALANCER4_STATUS_NOT_CHARGING:
{
log_printf ( &logger, "not chargingrn" );
break;
}
case BALANCER4_STATUS_PRE_CHARGE:
{
log_printf ( &logger, "pre-chargern" );
break;
}
case BALANCER4_STATUS_CONSTANT_CHARGE:
{
log_printf ( &logger, "constant current or constant voltage chargern" );
break;
}
case BALANCER4_STATUS_CHARGING_COMPLETE:
{
log_printf ( &logger, "charging completern" );
break;
}
}
}
}
if ( BALANCER4_OK == balancer4_read_register ( &balancer4, BALANCER4_REG_FAULT, &fault ) )
{
if ( fault )
{
log_printf ( &logger, "rn - FAULT - rn" );
if ( fault & BALANCER4_FAULT_WD )
{
log_printf ( &logger, " The watchdog timer has expiredrn" );
}
if ( fault & BALANCER4_FAULT_INPUT )
{
log_printf ( &logger, " Input OVP has occuredrn" );
}
if ( fault & BALANCER4_FAULT_THERMAL_SD )
{
log_printf ( &logger, " Thermal shutdownrn" );
}
if ( fault & BALANCER4_FAULT_TIMER )
{
log_printf ( &logger, " The safety timer has expiredrn" );
}
if ( fault & BALANCER4_FAULT_BAT )
{
log_printf ( &logger, " Battery OVP has occuredrn" );
}
switch ( fault & BALANCER4_FAULT_NTC_MASK )
{
case BALANCER4_FAULT_NTC_COLD:
{
log_printf ( &logger, " An NTC cold fault has occuredrn" );
break;
}
case BALANCER4_FAULT_NTC_COOL:
{
log_printf ( &logger, " An NTC cool fault has occuredrn" );
break;
}
case BALANCER4_FAULT_NTC_WARM:
{
log_printf ( &logger, " An NTC warm fault has occuredrn" );
break;
}
case BALANCER4_FAULT_NTC_HOT:
{
log_printf ( &logger, " An NTC hot fault has occuredrn" );
break;
}
}
}
}
Delay_ms ( 500 );
}
The complete 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 the MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.Balancer4
Additional Notes and Information
Depending on the development board you are using, you may need a USB UART Click Board™, 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 Balancer 4 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.
Balancer 4 Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.