Years ago I built a battery cycler. I used the LM431 circuit with relays and load resisters. And since I was building that circuit for RC transmitter and receiver NiCad batteries, I built two in the same project box. And every now and than I cycled those batteries to check their capacities. Never has any issue with them going bad either... Thumbs Up for a more modern version using the Arduino micro controller.
To correctly measure the battery capacity, you need the discharge current to be stable, and as the battery discharges, the current starts to drop, you need to create a current stabilization program in the sketch and control it using a PWM transistor to discharge through a resistor
The code you have given is wrong..i tried doing this experiment and nothing is showing in the lcd display..why can't you give correct details of the code?
Great stuff, although why does the battery power the arduino and lcd when they arent plugged in? Is there anyway to avoid this? I tried disconnecting the ground from the battery to the arduino and that worked but that just gave an incorrect voltage reading. hmmm Also the first if statement that checks for low battery should set the stop_cal variable to true, just so it doesnt start discharging a battery its shouldnt even for 1 loop. Not a big deal but not ideal, if you change your update time for whatever reason you could be discharging a low voltage battery for a long time before the program finds out. Which leads me to the last issue, in the last if statement, when it checks to see if its done and turns on the green light, shouldnt the mosfet pin be set low there? Unless im missing something the mosfet will stay on and continue to drain the battery after everythings done and stop_cal is set to true. This was my first project after blinky sketch so thanks for the easy to understand tutorial, i was a hobby programmer in my first life and now just getting into electronics, so it took some other videos to udnerstand whas going but im glad you kept it simple, other then a few bugs it works well and pretty good overall coding. Thanks again for this. Oh and its is very accurate, i have a scope with sensitive mV measurement and the votage measurement across the 1ohm resistor in mV almost matched perfectly the programs calculated mAh , since its 1ohm resistor the math is easy with the mV across it being exactly the mAh running through it, an easy way to verify that the programs calculated mah matches another source without hookuping up an amp meter, just check the voltage drop across the 1 ohm shunt resistor and that is the mAh .
@@ketto2.078 in the code we have to give refference voltage of a particular charger output voltage that we connect, as we all know every 5v charger have different output like 5.10 or 5.15, this will make the difference in calculating, so we had to use only one particular charger that we had measured its voltage and write it in the code, if we use internal voltage reference then we can use any charger without writing writing its voltage in the code.
Your doing a good job. I monitor channels like yours carefully looking for new talent. You impress me. Some thoughts: Focus on schematics. It’s the only way to actually learn and teach. If you can, use spoken audio. If English is an issue then use a little bit of robo-voice. It’s ok to tell viewers your working on your English. Nobody cares. You’re probably fine already but feel inhibited. Get passed it. In the mean time drop the music volume by 80% and add bits of recorded sound from elsewhere as well as real sounds of your work. Be honest with your audience about trying to learn. You have no concept at all how many millions of people out here will help you. Hey, I’d send you a beginners kit of tools, books and supplies myself. Tens of thousands will do the same. Connect with other channels. Places like BigClive, EEVBloog, Couriousmarc, etc.,etc. are everywhere. Look for people you can communicate with. But most of all, start learning. For real. How does a transistor actually work? Why use a series diode with a Zener, what does EMI mean? Go for it. You have a future.
Years ago I built a battery cycler. I used the LM431 circuit with relays and load resisters. And since I was building that circuit for RC transmitter and receiver NiCad batteries, I built two in the same project box. And every now and than I cycled those batteries to check their capacities. Never has any issue with them going bad either... Thumbs Up for a more modern version using the Arduino micro controller.
To correctly measure the battery capacity, you need the discharge current to be stable, and as the battery discharges, the current starts to drop, you need to create a current stabilization program in the sketch and control it using a PWM transistor to discharge through a resistor
Congratulations on the project!!
Simple and nice will do one for my own, almost 30 batteries to be tested.
Will it really work for 30 batteries? If so, how?
@@harshithajr1799 he check one at a time not all of them
The code you have given is wrong..i tried doing this experiment and nothing is showing in the lcd display..why can't you give correct details of the code?
Great stuff, although why does the battery power the arduino and lcd when they arent plugged in? Is there anyway to avoid this? I tried disconnecting the ground from the battery to the arduino and that worked but that just gave an incorrect voltage reading. hmmm Also the first if statement that checks for low battery should set the stop_cal variable to true, just so it doesnt start discharging a battery its shouldnt even for 1 loop. Not a big deal but not ideal, if you change your update time for whatever reason you could be discharging a low voltage battery for a long time before the program finds out. Which leads me to the last issue, in the last if statement, when it checks to see if its done and turns on the green light, shouldnt the mosfet pin be set low there? Unless im missing something the mosfet will stay on and continue to drain the battery after everythings done and stop_cal is set to true. This was my first project after blinky sketch so thanks for the easy to understand tutorial, i was a hobby programmer in my first life and now just getting into electronics, so it took some other videos to udnerstand whas going but im glad you kept it simple, other then a few bugs it works well and pretty good overall coding. Thanks again for this. Oh and its is very accurate, i have a scope with sensitive mV measurement and the votage measurement across the 1ohm resistor in mV almost matched perfectly the programs calculated mAh , since its 1ohm resistor the math is easy with the mV across it being exactly the mAh running through it, an easy way to verify that the programs calculated mah matches another source without hookuping up an amp meter, just check the voltage drop across the 1 ohm shunt resistor and that is the mAh .
I am new to circuit making, can you explain to me the operating principle of the mosfet in the circuit?
Nice Project! But I have a small doubt, If we need to check the Capacity of 4S Lipo batteries (16.8v). Will it work ?
Check one cell at a time.
Yeah, no other way, unless you want to burn your ino
HELLO
YOU CAN MODIFY FOR TWO 3.7V CELLS IN SERIES
THANK YOU
Why you used 100 Ohm resistor on pin V0, thank you for respond ?
Hello friend, can you do me a favore and make this project for st7735 tft display if thats okay? thanks.
why we cannot use Arduino internal voltage reference value
you use both the voltage drop of the battery and on the second terminal of the shunt resistance to measure the current through the resistor.
@@ketto2.078 in the code we have to give refference voltage of a particular charger output voltage that we connect, as we all know every 5v charger have different output like 5.10 or 5.15, this will make the difference in calculating, so we had to use only one particular charger that we had measured its voltage and write it in the code, if we use internal voltage reference then we can use any charger without writing writing its voltage in the code.
Your doing a good job. I monitor channels like yours carefully looking for new talent. You impress me.
Some thoughts:
Focus on schematics. It’s the only way to actually learn and teach.
If you can, use spoken audio. If English is an issue then use a little bit of robo-voice. It’s ok to tell viewers your working on your English. Nobody cares. You’re probably fine already but feel inhibited. Get passed it. In the mean time drop the music volume by 80% and add bits of recorded sound from elsewhere as well as real sounds of your work.
Be honest with your audience about trying to learn. You have no concept at all how many millions of people out here will help you. Hey, I’d send you a beginners kit of tools, books and supplies myself. Tens of thousands will do the same.
Connect with other channels. Places like BigClive, EEVBloog, Couriousmarc, etc.,etc. are everywhere. Look for people you can communicate with.
But most of all, start learning. For real. How does a transistor actually work? Why use a series diode with a Zener, what does EMI mean? Go for it.
You have a future.
Thank you