Tableau à clic BATT-MON 3
Tableau à clic BATT-MON 3
La carte Click Board™ BATT-MON 3 est une carte complémentaire compacte représentant une solution avancée de surveillance de batterie. Cette carte comprend le BQ35100, la jauge de charge de batterie et le moniteur de fin de service de Texas Instruments. Le BQ35100 fournit une jauge de charge hautement configurable pour les batteries au lithium non rechargeables (primaires) sans nécessiter de décharge forcée de la batterie. Il utilise des algorithmes de jaugeage TI brevetés pour prendre en charge l'option de remplacement d'une ancienne batterie par une nouvelle de manière transparente. Il fournit des résultats précis avec une consommation d'énergie moyenne ultra-faible, ainsi qu'une interface I2C via laquelle l'hôte peut lire les données collectées. Cette carte Click™ peut être utilisée dans des systèmes de batterie adaptés aux applications de charge dynamique et de changement de température ambiante important, pour les rapports d'état de batterie et les diagnostics avec détection précoce des pannes pour les systèmes de débitmètres, ou pour prolonger l'autonomie de la batterie avec une jauge de batterie précise dans diverses applications.
La carte Click Board™ BATT-MON 3 est supportée par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est livrée sous forme de produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The BATT-MON 3 Click Board™ Work?
The BATT-MON 3 Click Board™ is based on the BQ35100, battery fuel gauge, and end-of-service monitor from Texas Instruments that provides gas gauging for lithium thionyl chloride (Li-SOCl2) and lithium manganese dioxide (Li-MnO2) primary batteries without requiring any forced discharge of the battery. The lithium primary gas gauging function uses voltage, current, and temperature data to provide accurate results alongside an ultra-low average power consumption. It also uses patented TI gauging algorithms to support the option to replace an old battery with a new one seamlessly.
This device measures the BT input using the integrated delta-sigma ADC, scaled by the internal translation network, through the ADC. A calibration process determines the translation gain function. It can also operate in three distinct modes: accumulator (ACC), state-of-health (SOH), and end-of-service (EOS) mode. The device can be configured and used for only one of these modes in the field, as it is not intended to be able to switch between modes when in regular use.
The BATT-MON 3 Click Board™ communicates with MCU using the standard I2C 2-Wire interface to read data and configure settings with a maximum frequency of 400kHz. The BQ35100 is intended for systems where the battery electronics need to consume a low average current. This board is designed to be fully powered OFF when not required by controlling the enable pin routed to the PWM pin of the mikroBUS™ socket. When this pin is low, the Click board™ is fully powered down with no measurements being made, and no data is retained unless in a flash.
An alarm and interrupt function is also available that outputs an interrupt signal to the ALR pin of the mikroBUS™ socket based on a variety of configurable status and data options. This feature is also indicated by a red LED marked as ALR. Besides, this Click board™ also features battery pack temperature sensing through an integrated temperature sensor or an external NTC thermistor connected to the onboard header labelled as NTC, using the integrated delta-sigma ADC where only one source can be used at a time.
The BATT-MON 3 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library that contains easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Battery charger |
Applications | The BATT-MON 3 Click Board™ can be used for dynamic load and large ambient temperature change applications, for battery status reporting and diagnostics with early failure detection for flow meter systems, or to extend battery run-time with accurate battery gauging in various applications |
On-board modules | BQ35100 - battery fuel gauge, and end-of-service monitor from Texas Instruments |
Key Features | Fuel gauge and battery diagnostics that predicts end-of-service or early battery failure, ultra-low average power consumption to maximize battery run time, I2C interface, programmable alarm with interrupt capability, and more |
Interface | I2C |
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 of the BATT-MON 3 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 | EN | Enable | |
NC | 2 | RST | INT | 15 | ALR | Interrupt | |
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 | ALR | - | Alarm LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
J1 | NTC | Unpopulated | External Thermistor Connection Header |
BATT-MON 3 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Battery Capacity | 100 | - | 32.000 | mAh |
Resolution | 14 | - | 15 | bits |
Operating Temperature Range | -40 | +25 | +85 | °C |
Software Support
We provide a library for the BATT-MON 3 Click Board™ as well as 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 MikroE Github account.
Library Description
This library contains API for the BATT-MON 3 Click Board™ driver.
Key functions
-
battmon3_read_voltage
This function reads the battery voltage in millivolts. -
battmon3_read_current
This function reads the battery current load from BATT+ to GND in milliamps. -
battmon3_read_used_capacity
This function reads the used battery capacity in mAh.
Example Description
This example demonstrates the use of the BATT-MON 3 Click Board™ by measuring the battery voltage, current and used capacity, as well as the chip internal temperature.
void application_task ( void )
{
uint16_t voltage;
int16_t current;
float temperature, used_capacity;
if ( BATTMON3_OK == battmon3_read_voltage ( &battmon3, &voltage ) )
{
log_printf ( &logger, " Voltage: %u mVrn", voltage );
}
if ( BATTMON3_OK == battmon3_read_current ( &battmon3, ¤t ) )
{
log_printf ( &logger, " Current: %d mArn", current );
}
if ( BATTMON3_OK == battmon3_read_temperature ( &battmon3, &temperature ) )
{
log_printf ( &logger, " Temperature: %.3f Crn", temperature );
}
if ( BATTMON3_OK == battmon3_read_used_capacity ( &battmon3, &used_capacity ) )
{
log_printf ( &logger, " Used Capacity: %.3f mAhrnn", used_capacity );
}
Delay_ms ( 1000 );
}
The full 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 MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.BATTMON3
Additional Notes and Information
Depending on the development board you are using, you may need a 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
The BATT-MON 3 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.
Software Support
We provide a library for the BATT-MON 3 Click Board™ as well as 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 MikroE Github account.
Library Description
This library contains API for the BATT-MON 3 Click Board™ driver.
Key functions
-
battmon3_read_voltage
This function reads the battery voltage in millivolts. -
battmon3_read_current
This function reads the battery current load from BATT+ to GND in milliamps. -
battmon3_read_used_capacity
This function reads the used battery capacity in mAh.
Example Description
This example demonstrates the use of the BATT-MON 3 Click Board™ by measuring the battery voltage, current and used capacity, as well as the chip internal temperature.
void application_task ( void )
{
uint16_t voltage;
int16_t current;
float temperature, used_capacity;
if ( BATTMON3_OK == battmon3_read_voltage ( &battmon3, &voltage ) )
{
log_printf ( &logger, " Voltage: %u mVrn", voltage );
}
if ( BATTMON3_OK == battmon3_read_current ( &battmon3, ¤t ) )
{
log_printf ( &logger, " Current: %d mArn", current );
}
if ( BATTMON3_OK == battmon3_read_temperature ( &battmon3, &temperature ) )
{
log_printf ( &logger, " Temperature: %.3f Crn", temperature );
}
if ( BATTMON3_OK == battmon3_read_used_capacity ( &battmon3, &used_capacity ) )
{
log_printf ( &logger, " Used Capacity: %.3f mAhrnn", used_capacity );
}
Delay_ms ( 1000 );
}
The full 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 MikroE Github account.
Other MikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.BATTMON3
Additional Notes and Information
Depending on the development board you are using, you may need a 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
The BATT-MON 3 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.
Tableau à clic BATT-MON 3
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.