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
SERVICE INFO CENTER Blogpost
Join GSL ENERGY at the 137th Canton Fair – Powering the Future with Premium Energy Storage Solutions!
Discover GSL ENERGY's groundbreaking advancements in energy storage technology at the 137th Canton Fair. Witness our state-of-the-art automated production facilities and rigorous quality assurance system. Meet our team at Booth 14.3A04-05 to explore customized solutions for your energy storage needs.
25kWh Stackable Home Energy Storage System Installed in Africa

In March 2025, GSL Energy successfully installed a 25kWh stackable energy storage system in Mauritius, Africa.The system consists of five 5kWh LiFePO₄ battery packs, seamlessly integrated with a GSL inverter.his advanced energy solution has significantly alleviated the homeowner's electricity shortages, reducing reliance on costly and polluting diesel generators.By providing a stable and uninterrupted power supply, the system ensures a seamless and reliable experience for residents and guests, contributing to both cost savings and environmental sustainability.
Powering Haiti’s Future: GSL Brings Energy Freedom to a Nation in Need
Are you tired of unreliable electricity and high costs? GSL Energy is bringing a solution to Haiti with their solar energy storage systems, providing 24/7 power, lower costs, and disaster resilience. Join us in powering a brighter future and breaking free from unreliable power sources. Contact us today to be part of the energy revolution!
Revolutionizing Energy Storage: GSL Energy's 232kWh Liquid Cooling Cabinet in Dongguan
Discover how GSL Energy is revolutionizing energy storage with their state-of-the-art 232kWh Liquid Cooling Cabinet in Dongguan, China. This cutting-edge system offers advanced thermal management, high-capacity storage, seamless integration, and eco-friendly sustainability. Contact GSL Energy now for customized energy storage solutions that can transform your business's energy efficiency and support a cleaner future.
Solar Energy Storage Battery Guide: Which Type is Best for You?
Looking to maximize your solar energy efficiency and reduce costs? In this guide, GSL Energy compares the top solar energy storage batteries, with lithium-ion (LiFePO4) emerging as the best choice for residential, commercial, and off-grid applications. With GSL's industry-leading LiFePO4 technology, enjoy long-term reliability, high efficiency, and smart scalability for all your energy storage needs. Power your solar energy smarter with GSL LiFePO4 batteries today!
Why LiFePO4 Batteries Dominate Home and Commercial Battery Energy Storage Systems
Discover why LiFePO4 batteries from GSL Energy are dominating the home and commercial energy storage market. With unmatched safety, extended cycle life, and sustainable design, our battery systems offer operational excellence and peace of mind with industry-leading warranties. Join over 150,000 users worldwide who have achieved energy independence and cost savings with GSL Energy's cutting-edge technology.
Discover how a small apartment hotel in the U.S. transformed its energy infrastructure with GSL's cost-effective solar battery solutions. By installing GSL's wall-mounted energy storage lithium batteries, the hotel now enjoys reliable backup power during emergencies and significantly reduced electricity costs. With easy installation and seamless compatibility, GSL's innovative battery storage technology is the top choice for businesses looking to optimize energy management and cut down on expenses.
Deployment of 250kW/600kWh Industrial Energy Storage System in Ukraine
Introducing the Deployment of a 250kW/600kWh Industrial Energy Storage System in Ukraine. This cutting-edge system, boasting quick installation and cost efficiency, offers easy scalability and safety technology with multi-level protection. With multiple certifications, GSL-BESS50K120kWh sets a new standard for commercial and industrial energy storage solutions.
Join GSL ENERGY at the 137th Canton Fair – Explore Advanced Energy Storage Solutions!
GSL ENERGY is thrilled to invite you to the 137th Canton Fair from April 15-19, 2025, at the China Import and Export Fair Complex in Guangzhou. Visit us at Booth 14.3A04-05 to discover our state-of-the-art industrial and residential energy storage solutions. With a commendable annual production capacity of over 5.8 GWh and certifications from UL9540 and CEI-021, our customized solar battery systems promise exceptional performance, efficiency, and sustainability. Connect with our experts and explore how we can help power your business effectively—book your appointment today!
Wall-Mounted Solar Battery Installation Canada | Home Energy Storage Case Study
Upgrade your commercial energy storage with Canada's successful deployment of 6 wall-mounted solar battery units. These innovative systems offer space-saving solutions, real-time load monitoring, and seamless integration with existing PV arrays. Experience a 45% reduction in peak demand charges and 8 hours of emergency backup power for your commercial building in sub-zero climates.
no data
 Service Tel: +86-755-84515360
 Address: A602, Tianan Cyber Park, Huangge North Road, Longgang District, Shenzhen, China
GSL ENERGY - A leader of green energy provider 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