# Title: MCP73871 Click Board™ ## Description: The features this device has, coupled with the ability to simultaneously power up the system load and charge the connected battery, make this click a perfect solution for powering up many different battery-operated builds and projects, which use a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source. How Does The MCP73871 Click Board™ Work? The MCP73871 Click Board™ uses the MCP73871 device, a system load sharing and Li-Po/Li-Ion battery charge management integrated circuit from Microchip. This device completely manages the power distribution, utilizing many different steps in this process. The input voltage is constantly monitored and with no battery connected or with a battery element which is deeply depleted, the power to the connected load will be delivered straight from the external power supply, provided from the 5V rail of the mikroBUS™ socket. The current that can be delivered in this mode, depends on the limiting factor selected by the PRG2 pin. If the PRG2 pin is set to a LOW logic level, the current will be limited to 80mA - 100mA. If the PRG2 pin is set to a HIGH logic level, the current supplied to the load will be limited to 400mA - 500mA. There are several conditions set by the MCP73871 device, that define the behavior of the power management logic. If there is a Li-Po/Li-Ion battery connected to the battery connector, the charging procedure will go through the following steps: If the connected battery is deeply depleted and the CE (Charge Enable) pin is set to a HIGH logic level, the preconditioning mode is activated. The charging current is only a fraction of the regulated charging current, used for fast charging, preventing battery damage and overheating. If the battery voltage is above the preconditioning threshold voltage set by the MCP73871 device, the fast charging will begin, and the charging current is set by the PRG2 pin, like described above and a voltage equal to 4.35V, as per factory settings of the MCP73871 IC. When the charging complete conditions are met, the charger circuit will stop the charging process. The battery voltage is monitored, and when it falls under the recharge threshold, another charging cycle will be repeated. During all the charging modes, the temperature of the MCP73871 die is monitored, so the charging current is regulated accordingly. The overtemperature protection will put the device in the shutdown mode, preventing damage. If the Timer is enabled by the TE pin, it will be used to limit the charging time, if the battery voltage never reaches the end-of-charge condition. The MCP73871 power-sharing system logic, enables to simultaneously charge and power up the system load, connected to the onboard output screw terminal. The power-sharing system is active at all times and always prioritizes connected load over the battery charging. Li-Po/Li-Ion battery can be connected to the onboard 2.54mm two-pin header. There are three LEDs that are used to indicate power good status, as well as the charging status. The status LED signalization is explained in the Status LED table, below. SPECIFICATIONS Type Battery charger Applications The MCP73871 Click Board™ is a perfect solution for powering up many different battery-operated builds and projects, which are powered up by a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source while charging the battery. On-board modules Microchip's MCP73871 - Stand-Alone System Load Sharing and Li-Ion/Li-Po Battery Charge Management Controller Key Features Ability to simultaneously power up the system load and charge the connected Li-Ion/Li-Po battery by applying optimized battery charging algorithm. Interface GPIO Compatibility mikroBUS Click board size M (42.9 x 25.4 mm) Input Voltage 5V PINOUT DIAGRAM This table shows how the pinout on MCP73871 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes Set Charging Current PG2 1 AN PWM 16 TE Enable Safety Timer NC 2 RST INT 15 NC Charge Enable CE 3 CS RX 14 NC NC 4 SCK TX 13 NC NC 5 MISO SCL 12 NC NC 6 MOSI SDA 11 NC NC 7 3.3V 5V 10 +5V Power Supply Ground GND 8 GND GND 9 GND Ground MCP73871 CLICK ELECTRICAL SPECIFICATIONS Description Min Typ Max Unit Charge Current (if PG2 is low) 80 100 mA Charge current (if PG2 is high) 400 500 mA ONBOARD SETTINGS AND INDICATORS Label Name Default Description LD1 PWR - Power LED indicator, green LD2 PG - Power good LED, blue LD3 STAT2 - Status LED, green LD4 STAT1 - Status LED, red J1 VBAT - Battery connector TB1 VOUT - External load connector STATUS LEDS TABLE Charge Cycle State STAT1 STAT2 PG Shutdown (VCC=VBAT) Off Off Off Shutdown (CE=L) Off Off On Preconditioning On Off On Constant Current On Off On Constant Voltage On Off On Charge Complete - Standby Off On On Temperature Fault On On On Timer Fault On On On Low Battery Output On Off Off No Battery Present Off Off On No Input Power Present Off Off Off ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Battery Charger, Click Board, Maxim Integrated, MikroE, Power Management ## Price range: 13.3 - 13.3 GBP ## Link: https://thedebugstore.com/products/mikroe-2858-mcp73821-click-board-uk ## Compare-at price range: 19.0 - 19.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Maxim Integrated Device Support - Development Boards & Tools | Debug Store](https://thedebugstore.com/a/llms/collections/devices-maxim-integrated) - [Power Management Click Boards™](https://thedebugstore.com/a/llms/collections/power-management-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Battery Charger Click Boards™](https://thedebugstore.com/a/llms/collections/battery-charger-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [Battery Charger Click Boards™](https://thedebugstore.com/a/llms/collections/battery-charger-click-boards) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-2858, Available: yes, Inventory: 1 ## Metafields - full_description:
The features this device has, coupled with the ability to simultaneously power up the system load and charge the connected battery, make this click a perfect solution for powering up many different battery-operated builds and projects, which use a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source.
The MCP73871 Click Board™ uses the MCP73871 device, a system load sharing and Li-Po/Li-Ion battery charge management integrated circuit from Microchip. This device completely manages the power distribution, utilizing many different steps in this process.
The input voltage is constantly monitored and with no battery connected or with a battery element which is deeply depleted, the power to the connected load will be delivered straight from the external power supply, provided from the 5V rail of the mikroBUS™ socket. The current that can be delivered in this mode, depends on the limiting factor selected by the PRG2 pin. If the PRG2 pin is set to a LOW logic level, the current will be limited to 80mA - 100mA. If the PRG2 pin is set to a HIGH logic level, the current supplied to the load will be limited to 400mA - 500mA.
There are several conditions set by the MCP73871 device, that define the behavior of the power management logic. If there is a Li-Po/Li-Ion battery connected to the battery connector, the charging procedure will go through the following steps:

The MCP73871 power-sharing system logic, enables to simultaneously charge and power up the system load, connected to the onboard output screw terminal. The power-sharing system is active at all times and always prioritizes connected load over the battery charging. Li-Po/Li-Ion battery can be connected to the onboard 2.54mm two-pin header. There are three LEDs that are used to indicate power good status, as well as the charging status. The status LED signalization is explained in the Status LED table, below.
| Type | Battery charger |
| Applications | The MCP73871 Click Board™ is a perfect solution for powering up many different battery-operated builds and projects, which are powered up by a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source while charging the battery. |
| On-board modules | Microchip's MCP73871 - Stand-Alone System Load Sharing and Li-Ion/Li-Po Battery Charge Management Controller |
| Key Features | Ability to simultaneously power up the system load and charge the connected Li-Ion/Li-Po battery by applying optimized battery charging algorithm. |
| Interface | GPIO |
| Compatibility | mikroBUS |
| Click board size | M (42.9 x 25.4 mm) |
| Input Voltage | 5V |
This table shows how the pinout on MCP73871 click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
| Notes | Pin | ![]() |
Pin | Notes | |||
|---|---|---|---|---|---|---|---|
| Set Charging Current | PG2 | 1 | AN | PWM | 16 | TE | Enable Safety Timer |
| NC | 2 | RST | INT | 15 | NC | ||
| Charge Enable | CE | 3 | CS | RX | 14 | NC | |
| NC | 4 | SCK | TX | 13 | NC | ||
| NC | 5 | MISO | SCL | 12 | NC | ||
| NC | 6 | MOSI | SDA | 11 | NC | ||
| NC | 7 | 3.3V | 5V | 10 | +5V | Power Supply | |
| Ground | GND | 8 | GND | GND | 9 | GND | Ground |
| Description | Min | Typ | Max | Unit |
|---|---|---|---|---|
| Charge Current (if PG2 is low) | 80 | 100 | mA | |
| Charge current (if PG2 is high) | 400 | 500 | mA |
| Label | Name | Default | Description |
|---|---|---|---|
| LD1 | PWR | - | Power LED indicator, green |
| LD2 | PG | - | Power good LED, blue |
| LD3 | STAT2 | - | Status LED, green |
| LD4 | STAT1 | - | Status LED, red |
| J1 | VBAT | - | Battery connector |
| TB1 | VOUT | - | External load connector |
| Charge Cycle State | STAT1 | STAT2 | PG |
|---|---|---|---|
| Shutdown (VCC=VBAT) | Off | Off | Off |
| Shutdown (CE=L) | Off | Off | On |
| Preconditioning | On | Off | On |
| Constant Current | On | Off | On |
| Constant Voltage | On | Off | On |
| Charge Complete - Standby | Off | On | On |
| Temperature Fault | On | On | On |
| Timer Fault | On | On | On |
| Low Battery Output | On | Off | Off |
| No Battery Present | Off | Off | On |
| No Input Power Present | Off | Off | Off |
The MCP73871 Click is a fully integrated solution for system power delivery and Li-Po/Li-Ion battery charge management. The Click features many Li-Po/Li-Ion battery charging optimizations, used to maximize the battery life. Some of the MCP73871 Click features include constant current and voltage charging algorithms, over-voltage protection, automatic end of charge control, automatic recharge feature, preconditioning for depleted cells and thermal management.
All these features, coupled with the ability to simultaneously power up the system load and charge the connected battery, make this Click a perfect solution for powering up many different battery-operated builds and projects, which use a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source.
MCP73871 Click uses the MCP73871 device, a system load sharing and Li-Po/Li-Ion battery charge management integrated circuit from Microchip. This device completely manages the power distribution, utilizing many different steps in this process.
The input voltage is constantly monitored and with no battery connected or with a battery element which is deeply depleted, the power to the connected load will be delivered straight from the external power supply, provided from the 5V rail of the mikroBUS socket. The current that can be delivered in this mode, depends on the limiting factor selected by the PRG2 pin. If the PRG2 pin is set to a LOW logic level, the current will be limited to 80mA - 100mA. If the PRG2 pin is set to a HIGH logic level, the current supplied to the load will be limited to 400mA - 500mA.
There are several conditions set by the MCP73871 device, that define the behavior of the power management logic. If there is a Li-Po/Li-Ion battery connected to the battery connector, the charging procedure will go through the following steps:.
The MCP73871 power-sharing system logic, enables to simultaneously charge and power up the system load, connected to the on-board output screw terminal. The power-sharing system is active at all times and always prioritizes connected load over the battery charging. Li-Po/Li-Ion battery can be connected to the on-board 2.54mm two-pin header. There are three LEDs that are used to indicate power good status, as well as the charging status. The status LED signalization is explained in the Status LED table, below.
- amazon_main_image: https://www.thedebugstore.com/images/product/lg-mcp73871-click-board.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-2858 - backorder_label: If no stock shown above, check availability - badge: - widget:We provide a library for the MCP73871 Click Board™ on our LibStock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
void mcp73871_enablePinControl(uint8_t pinState)- Controls the enable pin, enabling or disabling the click as needed
void mcp73871_progPinControl(uint8_t pinState)- Sets the input current to either 100 or 500 mA
void mcp73871_timerPinControl(uint8_t pinState)- Enables or disables the safety timer
The application is composed of three sections:
void applicationTask()
{
//Enables the click - Note: this is already done in driver initialization
mcp73871_enablePinControl(1);
//Sets input current to 100 mA - Input value of 1 sets the current to 500 mA.
mcp73871_progPinControl(0);
//Enables safety timer
mcp73871_timerPinControl(0);
}
The full application code, and ready to use projects can be found on our LibStock page.
The MCP73871 Click Board™ is supported with mikroSDK, the MikroElektronika Software Development Kit.
- attachments: [{"download_file":[{"download_file":"MCP73871 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Microchip MCP73871 Battery Charge Management Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - key_feature_2: Ability to simultaneously power up the system load and charge the connected Li-Ion/Li-Po battery by applying optimized battery charging algorithm. - key_feature_3: Based on the Microchip's MCP73871 - Stand-Alone System Load Sharing and Li-Ion/Li-Po Battery Charge Management Controller - key_feature_4: A perfect solution for powering up many different battery-operated builds and projects, which are powered up by a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source while charging the battery. - key_feature_5: mikroBUS: GPIO Interface - device_vendor: Microchip Technology - device_type: MCP73871-3CAI/ML - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241545478333","gid://shopify/Collection/447762530527"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":"The features this device has, coupled with the ability to simultaneously power up the system load and charge the connected battery, make this click a perfect solution for powering up many different battery-operated builds and projects, which use a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"How Does The MCP73871 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"MCP73871 Click Board™","bold":true},{"type":"text","value":" uses the MCP73871 device, a system load sharing and Li-Po/Li-Ion battery charge management integrated circuit from Microchip. This device completely manages the power distribution, utilizing many different steps in this process."}]},{"type":"paragraph","children":[{"type":"text","value":"The input voltage is constantly monitored and with no battery connected or with a battery element which is deeply depleted, the power to the connected load will be delivered straight from the external power supply, provided from the 5V rail of the mikroBUS™ socket. The current that can be delivered in this mode, depends on the limiting factor selected by the PRG2 pin. If the PRG2 pin is set to a LOW logic level, the current will be limited to 80mA - 100mA. If the PRG2 pin is set to a HIGH logic level, the current supplied to the load will be limited to 400mA - 500mA."}]},{"type":"paragraph","children":[{"type":"text","value":"There are several conditions set by the MCP73871 device, that define the behavior of the power management logic. If there is a Li-Po/Li-Ion battery connected to the battery connector, the charging procedure will go through the following steps:"}]},{"type":"list","listType":"unordered","children":[{"type":"list-item","children":[{"type":"text","value":"If the connected battery is deeply depleted and the CE (Charge Enable) pin is set to a HIGH logic level, the preconditioning mode is activated. The charging current is only a fraction of the regulated charging current, used for fast charging, preventing battery damage and overheating."}]},{"type":"list-item","children":[{"type":"text","value":"If the battery voltage is above the preconditioning threshold voltage set by the MCP73871 device, the fast charging will begin, and the charging current is set by the PRG2 pin, like described above and a voltage equal to 4.35V, as per factory settings of the MCP73871 IC."}]},{"type":"list-item","children":[{"type":"text","value":"When the charging complete conditions are met, the charger circuit will stop the charging process. The battery voltage is monitored, and when it falls under the recharge threshold, another charging cycle will be repeated."}]},{"type":"list-item","children":[{"type":"text","value":"During all the charging modes, the temperature of the MCP73871 die is monitored, so the charging current is regulated accordingly. The overtemperature protection will put the device in the shutdown mode, preventing damage."}]},{"type":"list-item","children":[{"type":"text","value":"If the Timer is enabled by the TE pin, it will be used to limit the charging time, if the battery voltage never reaches the end-of-charge condition."}]}]},{"type":"paragraph","children":[{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The MCP73871 power-sharing system logic, enables to simultaneously charge and power up the system load, connected to the onboard output screw terminal. The power-sharing system is active at all times and always prioritizes connected load over the battery charging. Li-Po/Li-Ion battery can be connected to the onboard 2.54mm two-pin header. There are three LEDs that are used to indicate power good status, as well as the charging status. The status LED signalization is explained in the Status LED table, below."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nBattery charger\nApplications\nThe MCP73871 Click Board™ is a perfect solution for powering up many different battery-operated builds and projects, which are powered up by a rechargeable Li-Po/Li-Ion battery, but can also switch to an external power source while charging the battery.\nOn-board modules\nMicrochip's MCP73871 - Stand-Alone System Load Sharing and Li-Ion/Li-Po Battery Charge Management Controller\nKey Features\nAbility to simultaneously power up the system load and charge the connected Li-Ion/Li-Po battery by applying optimized battery charging algorithm.\nInterface\nGPIO\nCompatibility\nmikroBUS\nClick board size\nM (42.9 x 25.4 mm)\nInput Voltage\n5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on "},{"type":"text","value":"MCP73871 click","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nSet Charging Current\nPG2\n1\nAN\nPWM\n16\nTE\nEnable Safety Timer\nNC\n2\nRST\nINT\n15\nNC\nCharge Enable\nCE\n3\nCS\nRX\n14\nNC\nNC\n4\nSCK\nTX\n13\nNC\nNC\n5\nMISO\nSCL\n12\nNC\nNC\n6\nMOSI\nSDA\n11\nNC\nNC\n7\n3.3V\n5V\n10\n+5V\nPower Supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"MCP73871 CLICK ELECTRICAL SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Description\nMin\nTyp\nMax\nUnit\nCharge Current (if PG2 is low)\n80\n100\nmA\nCharge current (if PG2 is high)\n400\n500\nmA"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD SETTINGS AND INDICATORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED indicator, green\nLD2\nPG\n-\nPower good LED, blue\nLD3\nSTAT2\n-\nStatus LED, green\nLD4\nSTAT1\n-\nStatus LED, red\nJ1\nVBAT\n-\nBattery connector\nTB1\nVOUT\n-\nExternal load connector"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"STATUS LEDS TABLE"}]},{"type":"paragraph","children":[{"type":"text","value":"Charge Cycle State\nSTAT1\nSTAT2\nPG\nShutdown (VCC=VBAT)\nOff\nOff\nOff\nShutdown (CE=L)\nOff\nOff\nOn\nPreconditioning\nOn\nOff\nOn\nConstant Current\nOn\nOff\nOn\nConstant Voltage\nOn\nOff\nOn\nCharge Complete - Standby\nOff\nOn\nOn\nTemperature Fault\nOn\nOn\nOn\nTimer Fault\nOn\nOn\nOn\nLow Battery Output\nOn\nOff\nOff\nNo Battery Present\nOff\nOff\nOn\nNo Input Power Present\nOff\nOff\nOff"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:The MCP73871 Click Board™ is a fully integrated solution for system power delivery and Li-Po/Li-Ion battery charge management. The Click Board™ features many Li-Po/Li-Ion battery charging optimisation, used to maximise the battery life. Some of the MCP73871 Click Board™ features include constant current and voltage charging algorithms, over-voltage protection, automatic end of charge control, automatic recharge feature, preconditioning for depleted cells and thermal management.