How does it work?
BATT-MON 5 Click is based on the LC709204V, a 1-cell Lithium-ion/Polymer (Li+) battery fuel gauge from onsemi. This highly efficient fuel gauge monitors battery performance with exceptional accuracy and stability while consuming minimal power, making it a perfect solution for modern portable and battery-powered devices. The LC709204V uses the innovative HG-CVR2 algorithm, a proprietary technology that accurately determines a battery’s Relative State of Charge (RSOC). This algorithm ensures reliable RSOC readings even under varying and challenging conditions such as fluctuating temperatures, different load demands, aging of the battery, and self-discharge rates. With precise RSOC measurement, the LC709204V optimizes battery usage, extending the operating time of devices like wearables, PDAs, USB-related systems, and configurations such as 1-series N-parallel battery systems.
One of the standout features of the LC709204V is its ease of integration. To begin operation, the HG-CVR2 algorithm requires only a few simple parameter configurations upon battery insertion. This significantly reduces development complexity and allows for rapid deployment in various applications. In addition, the device offers State of Health (SOH) reporting, giving insights into the overall condition and longevity of the battery.
This Click board™ is designed in a unique format supporting the newly introduced MIKROE feature called “Click Snap.” Unlike the standardized version of Click boards, this feature allows the main IC area to become movable by breaking the PCB, opening up many new possibilities for implementation. Thanks to the Snap feature, the LC709204V can operate autonomously by accessing its signals directly on the pins marked 1-8. Additionally, the Snap part includes a specified and fixed screw hole position, enabling users to secure the Snap board in their desired location.
BATT-MON 5 Click communicates with the host MCU via a standard I2C interface, supporting clock speeds of up to 400kHz for fast and efficient data exchange. To ensure safety and reliability, the board includes an alert interrupt (ALR) pin, activated whenever critical conditions are detected, such as low cell voltage, abnormal temperature, or low Relative State of Charge (RSOC). This integrated alarm functionality provides timely alerts to users, helping to prevent potential issues like over-discharge or unsafe operating conditions, thereby enhancing overall battery safety.
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.
Click Snap
Click Snap is an innovative feature of our standardized Click add-on boards, introducing a new level of flexibility and ease of use. This feature allows for easy detachment of the main sensor area by simply snapping the PCB along designated lines, enabling various implementation possibilities. For detailed information about Click Snap, please visit the official page dedicated to this feature.
Specifications
Type
Battery charger
Applications
Ideal for portable devices, wearables, PDAs, USB-related systems, and configurations such as 1-series N-parallel battery systems
On-board modules
LC709204V – 1-cell Lithium-ion/Polymer (Li+) battery fuel gauge from onsemi
Key Features
HG-CVR2 algorithm for accurate Relative State of Charge (RSOC) measurements, reliable performance under varying conditions, State of Health (SOH) reporting for battery condition monitoring, built-in safety alarms, Click Snap, I2C interface, and more
Interface
I2C
Feature
Click Snap,ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on BATT-MON 5 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 |
JP1 | VIO SEL | Left | Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
BATT-MON 5 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Battery Voltage | 2.8 | 3.7 | 4.5 | V |
Battery Capacity | 50 | – | 6000 | mAh |
Software Support
BATT-MON 5 Click demo application is developed using the NECTO Studio, ensuring compatibility with mikroSDK‘s open-source libraries and tools. Designed for plug-and-play implementation and testing, the demo is fully compatible with all development, starter, and mikromedia boards featuring a mikroBUS™ socket.
Example Description
This example demonstrates the use of BATT-MON 5 Click board by reading the battery cell voltage and the relative state of charge (RSOC).
Key Functions
battmon5_cfg_setup
Config Object Initialization function.battmon5_init
Initialization function.battmon5_default_cfg
Click Default Configuration function.battmon5_write_reg
This function writes a data word starting to the selected register by using I2C serial interface.battmon5_read_reg
This function reads a data word from the selected register by using I2C serial interface.battmon5_get_alarm_pin
This function returns the ALARM pin logic state.
Application Init
Initializes the driver and performs the Click default configuration.
Application Task
Reads the battery cell voltage and the relative state of charge (RSOC) and displays the results on the USB UART approximately once per second.
Application Output
This Click board can be interfaced and monitored in two ways:
- Application Output – Use the “Application Output” window in Debug mode for real-time data monitoring. Set it up properly by following this tutorial.
- UART Terminal – Monitor data via the UART Terminal using a USB to UART converter. For detailed instructions, check out this tutorial.
Additional Notes and Information
The complete application code and a ready-to-use project are available through the NECTO Studio Package Manager for direct installation in the NECTO Studio. The application code can also be found on the MIKROE GitHub account.