Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Power & Batteries
  4. ›Battery Monitors and Fuel Gauges

Component guide · Intermediate · 3 min read

Battery Monitors and Fuel Gauges

Coulomb Counters, UPS HATs and Charger Modules

By Geekobot Learning Team · Updated 29 Oct 2026

On this page
Short answerWhy voltage alone is not enoughWays to estimate chargeCharger and UPS modulesReading a gauge over I2CSafetyTry itCommon mistakesFAQsParts and next steps
Short answer

Battery percentage is hard to guess from voltage alone because it changes with load and temperature. A coulomb counter such as the LTC2941 adds up the current in and out for a much better state-of-charge estimate. For projects, pick a charger or UPS module that matches your cell type, then read battery voltage or the gauge over I2C and calibrate on a full charge.

Key specs at a glance

Coulomb counter
Grove LTC2941 module, I2C, 3.3 to 5 V
UPS HAT
DFRobot Raspberry Pi 5 18650 UPS HAT, 5.1 V 5 A
Charger boards
TP4056X 50/200/500 mA, MP2636 charger with 5 V boost
Solar charger
DFRobot solar LiPo charger 500 mA
Readout
I2C registers or ADC voltage
Cells
Single Li-ion and LiPo, 18650
!Safety: Lithium cells need care

A shorted, over-charged or damaged lithium cell can get very hot and catch fire. Use a protection board or BMS, never short the terminals, charge on a non-flammable surface and do not leave a charging pack alone. Throw away cells that are swollen or dented.

01

Why voltage alone is not enough

Lithium cell voltage drops under load and rises when the load is removed, and the curve is flat in the middle. A voltage-only gauge jumps around and misreads at low temperature. See the Li-ion SoC calculator for typical voltage-to-percent values, and treat them as rough.

02

Ways to estimate charge

Choose by accuracy needed.

MethodAccuracyNotes
Voltage onlyRoughCheap; read with an ADC or divider
Coulomb counting (LTC2941)GoodNeeds a known starting point and a sense resistor
Fuel-gauge IC with modelBestLearns the cell's behaviour over cycles
UPS HAT with fuel gaugeGoodOften reports voltage and current to the host
Voltage only
Accuracy:
Rough
Notes:
Cheap; read with an ADC or divider
Coulomb counting (LTC2941)
Accuracy:
Good
Notes:
Needs a known starting point and a sense resistor
Fuel-gauge IC with model
Accuracy:
Best
Notes:
Learns the cell's behaviour over cycles
UPS HAT with fuel gauge
Accuracy:
Good
Notes:
Often reports voltage and current to the host
03

Charger and UPS modules

The DFRobot TP4056X board charges a single cell with selectable current, the MP2636 module charges and boosts to 5 V for Raspberry Pi-style loads, and the solar LiPo charger harvests small panels. The Raspberry Pi 5 18650 UPS HAT keeps the Pi running through power cuts. Match the module to your cells and read TP4056 charger, solar power and Pi power supplies.

04

Reading a gauge over I2C

  1. 1
    Connect SDA, SCL, power and ground; see I2C.
  2. 2
    Install the library and set the sense resistor and battery capacity.
  3. 3
    Charge the battery fully and set the gauge to 100%.
  4. 4
    Read the charge register during use and display a percentage.
  5. 5
    Recalibrate when the cell ages or capacity changes.
05

Safety

Protect cells with a protection circuit or BMS; see BMS boards and lithium batteries. Never charge below 0 °C. Use fuses on high-current lines.

06

Try it: Li ion soc calculator

Change the values and the diagram and results update as you type.

07

Common mistakes to avoid

  • !Trusting a voltage-only percentage under load.
  • !Forgetting to set the gauge to 100% after a full charge.
  • !Charging a cell with a module rated for another chemistry.
  • !Ignoring cell protection.
  • !Using the wrong sense resistor value.
08

Frequently asked questions

What is a coulomb counter?

A chip that adds up current flowing in and out of the battery.

Why does my battery percentage jump?

Voltage changes with load. Average the readings or use a gauge IC.

Can I use a TP4056 for a power bank?

It charges one cell, but needs a boost converter and protection for a complete power bank.

What does an UPS HAT do?

It keeps the Pi powered from batteries when mains power fails.

Do I need a sense resistor?

Yes, for current-based gauges.

Parts for this guide

  • Seeed Studio Grove LTC2941 Coulomb Counter Module 3.3-5V – I2C Interface
    ₹1,339View
  • DFRobot Raspberry Pi 5 18650 Battery UPS HAT (5.1V 5A)
    ₹6,735View
  • DFRobot LiPo Charger Type-C – 50/200/500mA Selectable Current, TP4056X IC
    ₹639View
  • DFRobot MP2636 Power Booster & Charger Module – 5V 2.5A Output
    ₹1,039View
  • DFRobot Solar LiPo Charger 3.7V – 500mA Max, 33x33mm Module
    ₹509View
Shop Battery Monitoring & Fuel Gauge Modules

Calculators

Li ion soc calculatorBattery life calculatorBattery charge time calculator

Terms in this guide

Coulomb counterA chip that measures the current flowing into and out of a battery and adds it up, to track how much charge is left.State of charge (SoC)The remaining battery capacity as a percentage.CC/CV chargingConstant-current then constant-voltage charging, the method for lithium cells: charge at fixed current until 4.2 V, then hold 4.2 V while current tapers.BMSBattery management system: a board that protects lithium cells from over-charge, over-discharge and over-current, and may balance cells in a pack.

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 2 to 3 hours12 V solar battery monitor: volts, amps and amp-hoursView project
Browse all 1 project

Keep learning

How-toBeginnerTP4056 Charger ModuleThe TP4056 module charges one 3.7 V lithium cell from 5 V USB at up to 1 A using the correct constant-current, constant-voltage method, stopping at 4.2 V.3 min read · Power & BatteriesComponent guideBeginnerLi-ion, 18650 and LiPo BatteriesLithium-ion cells, including 18650s and flat LiPo packs, store about 3.6 to 3.7 V nominal, charge to exactly 4.2 V and should not be discharged below about 3.0 V.4 min read · Power & BatteriesHow-toIntermediateBMS Boards for 2S, 3S and 4S Li-ion PacksA BMS (battery management system) board protects a multi-cell lithium pack: it cuts off on over-charge, over-discharge, short circuit or over-current, and many also balance the cells.3 min read · Power & BatteriesHow-toIntermediateSolar Panels and Charge Controllers for Electronics ProjectsA solar project needs a panel, a charge controller and a battery.3 min read · Power & BatteriesBuying guideBeginnerRaspberry Pi Power Supplies and CablesPower a Raspberry Pi correctly: 5 V 5 A for Pi 5, 5 V 3 A for Pi 4, USB-C PD, cables with switches, undervoltage warnings, 18650 holders and UPS options.3 min read · Boards & MicrocontrollersHow-toAdvancedBuilding Li-ion Battery PacksA Li-ion pack is cells joined in series for voltage and in parallel for capacity, for example 3S2P gives 11.1 V nominal and twice the capacity of one cell.3 min read · Power & Batteries

Sources

  • Analog Devices LTC2941 datasheet
  • DFRobot and Seeed documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerWhy voltage alone is not enoughWays to estimate chargeCharger and UPS modulesReading a gauge over I2CSafetyTry itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide5 items · ₹10,261

Seeed Studio Grove LTC2941 Coulomb Counter Module 3.3-5V – I2C Interface · DFRobot Raspberry Pi 5 18650 Battery UPS HAT (5.1V 5A) · DFRobot LiPo Charger Type-C – 50/200/500mA Selectable Current, TP4056X IC · DFRobot MP2636 Power Booster & Charger Module – 5V 2.5A Output · DFRobot Solar LiPo Charger 3.7V – 500mA Max, 33x33mm Module

Ask the Community

Ask a question