How does it work?
BATT-MAN 3 Click is based on the ADP5350, an advanced battery management PMIC with inductive boost LED and three LDO regulators from Analog Devices. It combines one high-performance buck regulator for single Li-ion/Li-ion polymer battery charging (also available on the left side header labeled as BUCK), a fuel gauge, a highly programmable boost regulator for LED backlight illumination, one ultralow quiescent current low dropout (LDO) regulator, and two general-purpose LDO regulators. Besides, it supports a USB connection optimized for USB 5V input.
The ADP5350 operates in trickle charge mode and constant current (CC)/constant voltage (CV) fast charge mode. It also features an internal field-effect transistor (FET) that permits battery isolation on the system power side. The ADP5350 fuel gauge is a low current consuming solution optimal for rechargeable Li-Ion battery-powered devices. Its boost regulator operates at a 1.5MHz switching frequency and can be employed as a constant voltage regulator or supplemental constant current regulator for multiple LED backlight drivers available on the VOUT4 terminal.
This LED driver can support a wide range of LED backlight configurations, either multiple LEDs in parallel or series connected on the upper-right onboard header. This Click board™ also has a feedback-sensing for the boost regulator, which can be selected for standalone mode or LED operation mode by positioning the SMD jumpers labeled as MODE SEL to an appropriate position marked as STAL and LED. An additional option has been added for the users to activate or deactivate the Boost and LED part of the board by populating or removing two jumpers, R11 and R9.
BATT-MAN 3 Click communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 400kHz. Also, it uses several GPIO pins, one of which is an interrupt pin, the INT pin of the mikroBUS™ socket, used as a ‘fault’ indicator which immediately notifies the host when a fault occurs. The ADP5350 low dropout (LDO) regulators, available on top side terminals labeled from VOUT1 to VOUT3, are optimized to operate at low shutdown current and quiescent current to extend battery life. The device also acts as a load switch that can be fully turned OFF or ON. The I2C interface enables the programmability of all parameters, including status bit readback for operation monitoring and safety control.
This Click board™ uses two LED indicators, labeled as PGOOD and BATT OK, used as power good and charging status indicator alongside the connector on the upper-left side of the board, reserved for a Li-ion/Li-ion polymer battery. PGOOD indicates a good input source, while BATT OK shows the real-time status of the battery voltage. Also, it features battery pack temperature sensing via an internal or external thermistor connected to the onboard header labeled as NTC. This sensing precludes charging when the battery pack temperature is outside the specified range. The selection of a thermistor can be made by positioning the SMD jumpers labeled as TMP SEL to an appropriate position marked as EXT and INT.
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
Buck-Boost
Applications
Can be used for rechargeable Li-Ion and Li-Ion Polymer battery-powered devices, portable customer and instrumentation devices, and many more
On-board modules
ADP5350 – advanced battery management PMIC with inductive boost LED, and three LDO regulators from Analog Devices
Key Features
Switching mode USB battery charger, boost regulator with five-channel LED driver, three 150mA linear LDO regulators, full I2C programmability with dedicated interrupt pin, LED indicators, external NTC, and more
Interface
I2C
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on BATT-MAN 3 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 | BATT OK | – | Battery Status LED Indicator |
LD3 | PGOOD | – | Power-Good LED Indicator |
JP1 | TMP SEL | Right | Battery Pack Thermistor Selection EXT/INT: Left position EXT, Right position INT |
JP2 | MODE SEL | Right | Boost Feedback Selection STAL/LED: Left position STAL, Right position LED |
J1 | NTC | Unpopulated | External Thermistor Header |
J2 | BUCK | Unpopulated | Buck Output Header |
J4 | D1-D5 | Unpopulated | LED Channels Header |
J4 | VOUT4 | Unpopulated | LED Channels Supply Voltage Header |
R9 | R9 | Populated | LDO Activation Jumper |
R11 | R11 | Populated | Boost Activation Jumper |
JP3 | VCC SEL | Right | Logic Voltage Level Selection 3.3V/5V: Left position 3.3V, Right position 5V |
BATT-MAN 3 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage VCC | 3 | – | 5 | V |
Programmable Current Limit | 100 | – | 1500 | mA |
LDO Output Current | – | 150 | – | mA |
LED Current | – | – | 20 | mA |
Software Support
We provide a library for the BATT-MAN 3 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.
Library Description
This library contains API for BATT-MAN 3 Click driver.
Key functions
-
battman3_get_battery_voltage
Read battery voltage level. -
battman3_set_ldo_vout
Set voltage output on LDO. -
battman3_set_charge_termination_voltage
Set charge termination voltage.
Example Description
This example showcases ability of device to charge battery, and outputs and supply 4 different devices with 3 LDO’s and 1 boost channel.
void application_task ( void )
{
static counter = 0;
float vbat = 0;
if ( !battman3_get_power_good( &battman3 ) )
{
battman3_ldo( BATTMAN3_DISABLE );
}
battman3_charge_status( );
if ( counter >= LOG_THRESHOLD_3SEC )
{
counter = 0;
battman3_get_battery_voltage( &battman3, &vbat );
log_printf( &logger, " > Battery voltage: %.2frn", vbat );
log_printf( &logger, "****************************************************rn" );
}
counter++;
Delay_ms( 100 );
}
void main ( void )
{
application_init( );
for ( ; ; )
{
application_task( );
}
}
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:
- MikroSDK.Board
- MikroSDK.Log
- Click.BATT-MAN3
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.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.