Charger 12 Click

Please inform me as soon as the product is available again.
₹1,809.00 *

Prices incl. VAT plus shipping costs

Out of Stock

  • MIKROE-3744
  • MIKROE-3744
Charger 12 Click  is a single lithium-ion (Li+) cell or three-cell NiMH/NiCd battery... more
Product information "Charger 12 Click"

Charger 12 Click is a single lithium-ion (Li+) cell or three-cell NiMH/NiCd battery charger. This click can be used for Low-Cost Li-Ion battery chargers, or Power Tools, toys, backup energy storage solutions, etc. Charger 12 click is based on MAX1501 controller which has some extra features enabling charging without too much hassle. This click board has charging current control which uses SPI interface through MCP4161 IC, which is an 8-bit digital potentiometer. On the board, there is a Power LED and two extra LED’s which can be used for charging indications.

Charger 12 click is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.

As a Lithium Ion batteries require a very accurate current and voltage for charging, Charger 12 click can be a perfect solution for such a task. Charger 12 click is equipped with a highly integrated Li-Ion battery charger, supporting intelligent, constant-current, constant voltage (CCCV), temperature-regulated battery charger charges a single lithium-ion (Li+) cell or three-cell NiMH/NiCd batteries. This click has a charging current control IC over SPI interface which ensures perfect and efficient charging. Charger 12 click can be used as a part of the power supply and distribution system in many applications: different kinds of handheld appliances, portable media players, portable audio players, and other general-purpose battery-operated electronic devices.


Charger 12 click is based on the MAX1501 - highly Integrated, linear battery charger with thermal regulation for portable applications, from Maxim Integrated. MAX1501 is an efficient Lithium ion battery charger, thanks to Microprocessor-Controlled specific charge algorithms for Li-Ion batteries to achieve optimal capacity and safety in shortest charging time possible. Along with its small physical size, the low number of external components makes this IC ideally suitable for various applications. The 4.2V factory preset reference voltage simplifies design. The fast charge constant current is set by a digital potentiometer. On this Click it is MCP4161 – an 8-bit digital potentiometer from Microchip, with external 1.5KΩ resistor in series. Thanks to proprietary programmable die temperature regulation, MAX1501 can limit the charge current based on the temperature during high power or high ambient conditions. This thermal regulation optimizes the charge cycle time while maintaining device reliability.

Shop Click Boards Power Management Charger 12 Click

The MAX1501 IC is designed with reliability in mind: the IC prevents draining the battery below the critical level, protects it from overheating (if thermistor is used), offers prequel charging (for deeply depleted batteries), features an overvoltage protection, charging status monitoring and so on. The Click board™ itself is equipped with a set of indicators used to monitor both charging process and power distribution.

  • CHARGE LED indicates the charge-in-progress status.
  • FAULT LED indicates an error during charging process.

The digital potentiometer on Charger 12 click is MCP4161 which offers a wide range of product offerings using a SPI interface. WiperLock technology allows application-specific calibration settings to be secured in EEPROM. This digital pot is tied with charger IC over its wiper (P0W) pin. By assigning values on MCP4161 from 0 to 10 kilo ohms battery charging can be controlled. As there is a 1.5K resistor in series it can never be 0 ohms on MAX1501 chargers PROG pin. However, maximum resistance cannot exceed 11.5 kiloohms. Fast charging can be regulated with 10K on PROG pin to get 130 mA. To get 1000 mA digital potentiometer needs to go down to 0 ohm, along with external resistor, which makes 1,5 K. Communication with digital potentiometer on this Click and that way controlling the charger is done through SPI interface.

On the left side of the click board is an input screw terminal with corresponding markings, where the recommended external voltage of 6V can be applied. The left screw terminal is reserved for a Lithium Iron Phosphate battery with GND and VBAT+ markings. When connected to power source, the green PWR LED will indicate it. Red LED1 and green LED2 can be used for visual charge monitoring. As those two LEDs are multipurpose, they can be used for various things.

The voltage range which can be used to power up the BATT-MON click, allows for it to work with both 3.3V and 5V capable MCUs. It can be selected by soldering a small SMD jumper, labeled as VCC SEL to the correct position.



Type Battery charger
Applications Charger 12 is a perfect choice for development lithium-ion (Li+) cell or three-cell NiMH/NiCd battery charging applications.
On-board modules MAX1501, highly Integrated, linear battery charger with thermal regulation for portable applications, from Maxim Integrated.
Key Features Intelligent, constant-current, constant voltage (CCCV), temperature-regulated battery charger
Interface GPIO,SPI
Click board size M (42.9 x 25.4 mm)
Input Voltage 3.3V,5V



This table shows how the pinout on Charger 12 click corresponds to the pinout of the mikroBUS™ socket (the latter shown in the two middle columns).

NotesPinMikrobus logo.pngPinNotes
  NC 1 AN PWM 16 MOD Mode Select Input
Charging Enable CHE 2 RST INT 15 VOK Input Voltage Range
Chip Enable SDN 3 CS RX 14 NC  
Serial Clock SCK 4 SCK TX 13 NC  
  NC 5 MISO SCL 12 NC  
Serial Data In SDI 6 MOSI SDA 11 NC  
Power Supply 3.3V 7 3.3V 5V 10 5V Power Supply
Ground GND 8 GND GND 9 GND Ground


We provide a library for the Charger 12 click 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.

Library Description

Library contains functions for getting and setting GPIO pin states Library contains function for mode selection Library contains function for SPI transfer operation Library contains function for SPI get register operation Library contains functions for incrementing and decrementing wiper position

Key functions:

  • uint8_t charger12_mode_select( uint8_t mode_select ) - selects device operation mode by setting RST(CHGEN) and PWM(MODE) pins
  • void charger12_spi_increment_wiper( void ) - increments wiper position by sending 8bit increment wiper command
  • void charger12_spi_decrement_wiper( void ) - decrements wiper position by sending 8bit decrement wiper command

Examples description

The application is composed of three sections :

  • System Initialization - Initializes GPIO pins, SPI and LOG modules
  • Application Initialization - Iniztializes SPI driver
  • Application Task - Executes additional functions based on user input
void applicationTask( )
uart_ready = UART_Data_Ready( );
if (uart_ready == 1)
uart_char = UART_Read( );
switch (uart_char)
case '+' :
charger12_case_Plus( );
case '-' :
charger12_case_Minus( );
case '1' :
charger12_case_One( );
case '2' :
charger12_case_Two( );
case '3' :
charger12_case_Three( );
case '4' :
charger12_case_Four( );
default :
mikrobus_logWrite( "> Invalid command", _LOG_LINE );

Additional Functions :

  • charger12_case_Plus() - Increments Wiper position
  • charger12_case_Minus() - Decrements Wiper position
  • charger12_case_One() - Selects 1st mode of operation
  • charger12_case_Two() - Selects 2nd mode of operation
  • charger12_case_Three() - Selects 3rd mode of operation
  • charger12_case_Four() - Selects 4th mode of operation

The full application code, and ready to use projects can be found on our LibStock page.

Other mikroE Libraries used in the example:

  • SPI
  • UART
  • Conversions

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.


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.

Related links to "Charger 12 Click"
Read, write and discuss reviews... more
Customer evaluation for "Charger 12 Click"
Write an evaluation
Evaluations will be activated after verification.
Please enter these characters in the following text field.

The fields marked with * are required.