loading

 sales@gsl-energy.com     0086 13923720280

arduino true battery capacity tester (li-ion/nimh/nicd/pb)

If anyone sees my last instructions
They can now upgrade to computerized hi-
Technical version capable of measuring almost any type of rechargeable or unrechargeable battery (
But in the process it consumes a charge from them).
It can even connect to the pc and provide you with the full \"data-
Chart of emissions and total capacity.
Please note that this is my first Arduino project (
I don\'t count my \"flashing LED \").
This is the chart obtained during the drain cycle from the text file sent to PCduring.
I really wanted to get this Diecimila copy Arduino board bit and it took me about 2 weeks to get it by mail so I had to start with my own bread --
Arduino board, so I bought a version of the atlag168 and thought I could get it to run without any components. .
It doesn\'t work for me, I just need to buy another batch of 16 Mhz crystals and two 22 pf hats. .
Then I got the next one. . .
I basically take the garbage apart and add components one by one. . .
Most of the information can be found on the Arduino web page: there\'s really everything you need.
It took me about a week to get it up and running (
Boot loader/build ISP cable and RS232 cable. . . )-
You can read all the information about this on the website above.
Add a \"on\" resistor ~ The FET of 8 mOHM is quite simple (
There is no force separation on It)and a 2. 2 10 w resistors.
I connect the two A/D pins of the Arduino to the resistor pole and subtract these values to get the exact voltage drop on the resistor.
Now I sample them every second and calculate the current (I=DeltaV/R).
I also added a buzzer to indicate when the charge will end and stop the discharge.
So I also connected to the LCD (
I separated it from the rest of the garbage)
Found the data.
There is a cool driver on the Arduino web page online and start coding.
Automatically detect battery type according to voltage.
Will it detect whether it is NiMH/NiCD or Li-
Ions within the voltage range.
Then start the discharge cycle.
Discharge can be from 30-
120 minutes depending on the battery capacity, but in the end you will get a real indication of the battery capacity/quality.
Do you want to make air with that battery?
Or no receiver?
This is a schematic diagram of the discharge circuit. . .
Very simple, 2 A/D are connected on both sides of the resistor/Vr = VbatVfet.
/Code for this library: Liquid crystal LCD Display (
12, 11, 5, 4, 3, 2);
/Initialize the library with the number of interface pinsint sensorPin = 0;
/Select the input pin for the potentiometer (pin 23)
Int sensor2Pin = 2;
/Select the input pin for the potentiometer (pin 23)Int ledPin = 13;
/Select pin for LEDint SPKPin = 6;
Int sensorValue = 0;
/Stores variables from values of sensor int sensor2Value = 0;
/Variables to store values from sensor floating threshold = 2700;
/Lithium minimum voltage LiMaxThreshold = 4200 for load removal;
/Maximum lithium voltage nmhminthresold = 950 for load removal;
/NMH minimum voltage floating NMH maximum threshold for load removal = 1600;
/NMH maximum voltage selection threshold for load removal = 5000; int i;
Int BatVoltage = 5000;
Voltage = 5000;
Long total current = 0;
Boolean one = false;
Long, unsigned PrevMillis;
Unsigned long Milli; void CL2(){lcd. setCursor(0, 1);
/The first line of char LCD. print(\"\"); lcd. setCursor(0, 1);
/Line 2 first char}void setup(){Serial. begin(9600);
/Start the serial port to send data to PC pinMode during Operation (ledPin, OUTPUT);
Activation led and enable OF/FET pinMode (SPKPin, OUTPUT);
Activation led and enable for/FET LCD. begin(24, 2);
/Set the number of rows and columns of the LCD: LCD. print(Bat pressurized water reactor Tester [Active]\");
/Print a message to the LCD. lcd. setCursor(0, 1);
/The first line of char LCD. print(
\"Detect Bat type. . . \");
/Print voltage value delay (2000); lcd. setCursor(0, 1);
/The first line of char LCD. print(\"\"); lcd. setCursor(0, 1);
/Write the first char number in the second line (ledPin, HIGH);
/Set the LED on sensorValue = analogRead (sensorPin);
/Read value from sensor: digitalWrite (ledPin, LOW);
/Set LED off/detect battery type BatVoltage = sensorValue * 4. 887; if (
Batvolage> 4500){lcd. print(\"Warning high-V! \"); done = true; }else if (
BatVoltage> minthresold){lcd. print(\"Type:Li-Ion Bat \");
SelectedMinThreshold =; }else if (
BatVoltage> nmhminthresold){lcd. print(
\"Type: NiMH/Cd Bat\";
Select threshold = nmhminthresold; }else{lcd. print(
[Unknown bat V

GET IN TOUCH WITH Us
recommended articles
SERVICEs INFO CENTER Inverter Compatibility
Why On-Site Engineering Support Matters for Battery Energy Storage Systems
A BESS project involves more than battery hardware. Explore why on-site engineering support, BMS verification, commissioning, and system integration matter for reliable energy storage—and how GSL Energy supports projects in the Middle East.
GSL ENERGY and Garman Energy Sign Strategic Partnership to Advance Energy Storage Solutions in Yemen
Shenzhen, China — GSL ENERGY, a global manufacturer of lithium battery energy storage systems, has officially signed a strategic cooperation agreement with Garman Energy (Hamoud Garman Brothers Trading Co., Ltd.), a Yemen-based energy company, to accelerate the adoption of advanced energy storage solutions and support sustainable energy development in Yemen.
GSL ENERGY Launches 125kW/418kWh Liquid-Cooled C&I Energy Storage System to Accelerate Global Energy Transformation
GSL ENERGY launches a 125kW/418kWh liquid-cooled C&I energy storage system with a high-voltage LiFePO₄ battery, smart EMS, flexible expansion, and advanced safety protection for global industrial and commercial applications.
10kWh GSL ENERGY Battery Storage System Installed with GoodWe Inverter in the Philippines
A residential energy storage project in the Philippines featuring two GSL ENERGY 5kWh wall-mounted LiFePO₄ batteries connected in parallel with a GoodWe hybrid inverter. The 10kWh battery system provides reliable solar backup power with a compact and efficient installation design.
Air-Cooled Commercial ESS Installation Guide: How to Ensure Proper Battery Cabinet Clearance and System Performance
Proper installation is essential for maximizing the safety, efficiency, and service life of commercial energy storage systems. This guide explains the recommended clearance requirements for air-cooled commercial ESS cabinets, including the 914mm spacing needed around the battery enclosure to ensure effective airflow, heat dissipation, and convenient maintenance. Learn how professional C&I BESS installation practices help improve system reliability across solar storage, microgrid, and industrial energy applications.
Thailand Commercial Energy Storage Project: GSL Energy Deploys 186kWh High Voltage BESS with 50kVA Deye Inverter
GSL Energy successfully deployed an 186kWh high-voltage LiFePO₄ energy storage system integrated with a 50 kVA Deye hybrid inverter in Thailand, providing a reliable commercial and industrial (C&I) energy storage solution. The system is designed to support solar energy utilization, peak shaving, backup power, and intelligent energy management, helping local businesses improve electricity efficiency and enhance energy independence. Built with advanced high-voltage battery technology and a smart power conversion platform, this project demonstrates GSL Energy's capability in delivering safe, scalable, and customized BESS solutions for Southeast Asia’s growing renewable energy market.
GSL Energy Completes New Battery Shipment, Demonstrating Strong Manufacturing and Global Energy Storage Supply Capability
GSL Energy has completed another shipment of LiFePO₄ battery storage systems, highlighting its strong manufacturing capability, strict quality control, and reliable supply chain support for global residential, commercial, and industrial energy storage projects.
Yemen Water Plant Deploys 2MWh High Voltage Battery Energy Storage System with GSL Energy and Deye
A water treatment plant in Yemen adopts a 2.49 MWh high-voltage battery energy storage system from GSL Energy, integrated with Deye hybrid inverters to build a reliable solar microgrid solution for industrial energy supply.
Malaysia Remote Village Uses 300kWh Solar Battery Storage System to Build Reliable Off-Grid Microgrid
GSL Energy installed a 300kWh off-grid solar battery storage system in Malaysia, combining solar PV and LiFePO4 batteries to provide reliable electricity for remote villages and microgrid applications.
  Tel: +86 755 84515360
 Address: A602, Tianan Cyber Park, Huangge North Road, Longgang District, Shenzhen, China
GSL ENERGY - A leading green energy supplier in China since 2011

0086 13923720280

Solar energy storage battery manufacturer contact information
Contact us
whatsapp
Contact customer service
Contact us
whatsapp
cancel
Customer service
detect