DIY Battery Capacity Tester and more...

Автокөліктер мен көлік құралдары

Capabilities:
-This tester can be used for any 3.7V battery, not just 18650. You can use it for any Li-On or Li-Po batteries.
-It can measure the capacity of the batteries
-It can also charge them
-It can even prepare the batteries for long term storage.
-It can measure the internal resistance of the batteries.
-You can select charging current
-You can select discharging current
-It has overcharge and overdischarge protection.
Specs:
-Supply voltage: 5V from any phone charger
-Max charging current: 1A
-Max discharging current: 1.2A
Description of modes:
-"Capacity test" mode: Calculates the full capacity of your 18650 battery. Before you test your capacity you must fully charge your battery.
-"Charge" mode: Charges your battery until it's full.
-"Store" mode: It's not healthy for your batteries to be fully charged or discharged, so unless you are planning to use them, you shouldn't fully charge them. The best for your batteries is to be charged at approximately 50%. This mode automatically charges or discharges the battery to 50%, so that it is safer to store your batteries away.
I am buying most of my tools and components from AliExpress, if you are a new user, download the Aliexpress app and subscribe using the following link to earn 5$.
a.aliexpress.com/_mtN5u3w
List of the components that I used:
- My multimeter/thermometer bit.ly/2wPKAc7
-Batteries 18650 - bit.ly/2WoHXX1
-N-Mosfets - bit.ly/2WkiZYQ
-P-Mosfets - bit.ly/2Pq6dH1
-Battery holder - bit.ly/2MTKzZW
-Rotary encoder - bit.ly/2pm4qYF
-Arduino pro mini - bit.ly/343vT1a
-Charging module - bit.ly/345VLIG
-LCD 1602 - bit.ly/32TJMhe
-1/4W resistors - bit.ly/2qQJUQs
-2W 10Ohm resistors - bit.ly/347uVjl
-Op amp - bit.ly/36es8GQ
-I2C module for LCD - bit.ly/345Vci2
-Screw terminal - bit.ly/2pnvE10
-JST connector kit - bit.ly/2pnJKzF
-Stripboard - bit.ly/2Nh9q93
-Dupont cables - bit.ly/2qQKCNC
All necessary files and info can be found here bit.ly/2W1Iy0B
www.instructables.com/member/...

Пікірлер: 190

  • @fadlmorsy8181
    @fadlmorsy81813 жыл бұрын

    This is beyond perfect. Just a minor error I saw when reviewing the charging code you added. The part where the current is calculated, Starting with the second "esle if", the "Rprog

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Thank you for your kind words and your positive feedback. You are absolutely right, there are many typos on that part of the code. I will fix them and reupload it.

  • @sasiskas
    @sasiskas4 жыл бұрын

    - Uploaded new *Version (v2.0)* with software and hardware updates. Biggest update is that you can adjust the charging current. More details about the changes can be found in the changelog in the dropBox folder. - I uploaded new *version (v1.1)* arduino code, which now also measures the internal resistance of the battery. - I just uploaded the schematics to the DropBox folder in the video description (I didn't realize that all this time I forgot to upload them)

  • @Andrea-ni6tu

    @Andrea-ni6tu

    4 жыл бұрын

    Hope to see this on github!

  • @cekpi7

    @cekpi7

    4 жыл бұрын

    I have a question about internal resistance measurements, if i understand correctly you measure voltage before and after applying known load to calculate internal resistance? I started planning my own discharger, however yours seems to be better in any aspect (except i would add sd card reader so i can see data on my pc later).

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    @@cekpi7 The voltage of a battery drops when it is loaded. So you need to measure the battery voltage without a load (Vo), and the battery voltage (Vr) with a known load (R). Then using Ohms law you can calculate the Current C=Vo/R. Finally you can calculate the internal resistance (Ri) using Ohms law again. Ri=(Vo-Vr)/C. In other words, you can just calculate the internal resistance using a multimeter and a power resistor. 😁

  • @cekpi7

    @cekpi7

    4 жыл бұрын

    @@sasiskas Yes, that's how i'm doing it right now, went through your code and assumed you are doing it same. Thanks for fast reply :).

  • @manoftheday1

    @manoftheday1

    3 жыл бұрын

    Good day sir , please and please any idea code to make discharge more than one cell please.

  • @idhamsatria1288
    @idhamsatria12883 жыл бұрын

    awesome, thank you for your kindness

  • @youall21
    @youall212 жыл бұрын

    hi. really amazing project. can i ask what i need to change to make this to measure or charge 24 battery at once?

  • @jmadera_6
    @jmadera_63 жыл бұрын

    Hey, can this be modified to work with battery packs of unknown capacity? I've got a huge battery pack out of a believe a scooter..I would like to see what it can hold/output, and I would also need a way to charge it..I would also need a way to adjust output to match my application if possible....?

  • @koshan12
    @koshan123 жыл бұрын

    first off all amazing work, second can i use the v2 software without the change in hardware because i saw some bugs fixed

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Thank you. yes you can. But you won't be able to adjust the charging current. It's goings to be 1amp, all the time.

  • @brayden3139
    @brayden31392 жыл бұрын

    Great job man

  • @Happiness50057
    @Happiness500572 жыл бұрын

    Pls add programmable cut off voltage though rotary encoder in capacity testing mode, because I also went to test capacity of 8.4v battery or 12.6v Battery

  • @GapRecordingsNamibia
    @GapRecordingsNamibia4 жыл бұрын

    HI Sasiskas, I would like to find out, If using an Arduino mega do you think this could be scaled up to do more cells like 8 at a time instead of just one at a time? thank you for this well thought out project. Also Could one add time to the unit?

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    Hello, yes it is possible. -You need 2 analog pins and 2 digital pins for each battery. -But you will also need 3 Mosfets and heatsinks (2 N-Channel 1 P-channel Mosfets), 10resistors (or 1 power resistor) and one Op Amp for each battery (if it's a dual channel Op-Amp, you can use one Op-Amp for 2 batteries) - You also need to modify the code. That's my first thought..you might also need something else. But generally it is possible.

  • @GapRecordingsNamibia

    @GapRecordingsNamibia

    4 жыл бұрын

    @@sasiskas Thank you for the quick reply, I'll take a look at the schematic, Do you perhaps have a description/ explanation of the schematic and what the various components are doing? Sorry for bugging.

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    @@GapRecordingsNamibia Unfortunately no. It needs time, if I ever do it, I will let you know...but I can't promise anything.

  • @GapRecordingsNamibia

    @GapRecordingsNamibia

    4 жыл бұрын

    @@sasiskas No Problem, Thank you for sharing..

  • @davidkinuthia1052
    @davidkinuthia10523 жыл бұрын

    Hallo sir I have made your project and it's working I used TP5410 and also changed the irf 44n to irrf3205 and it's working fine not getting hot during charging thankyou for the tutorial it has really help me alot sir

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    you are welcome. glad I could help

  • @theflamecoreguy7929
    @theflamecoreguy7929 Жыл бұрын

    Sir can we set any cut off voltage in it? Because I need to charge my drone batteries and as u know I can't overcharge any cell they need to be balanced

  • @renatocanhaify
    @renatocanhaify3 жыл бұрын

    Good Morning ​I am putting together the system you put on. I'm doing it in stages to understand the circuit. I started with the battery discharge system. I did not understand the function of the LM358 connected to analog port A0. I know that the analog port A0 is for measuring the battery voltage but why the connection with the LM358's non-inverting port? Wouldn't it be easier to connect the A0 directly to the battery positive? I also did not understand the need for a second IRLZ44N MOSFET whose output is connected to gate of the LM358. The function of the potentiometer is also a mystery to me. I would also like to know how you can perform a constant current discharge. ​Thank you very much for your help.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    1. Pin A0 is connected to battery positive , using a voltage divider. That was done to protect your Arduino in case you accidentally use a battery with a voltage higher that 5V. In other words, yes you can connect the A0 directly to the battery positive but you will be missing a "safety feature". 2. The LM358 works as a voltage comparator. When V+ (1v) is higher than V- (0V) then the Output is High (~4V) and makes the Drain to Source path of the Mosfet conductive(MOSFET is ON), so current flows through the resistors. When current flows through the resistors the V- is higher than V+ then the Output is LOW and MOSFET is OFF.....then again the V+ is Higher than V- and you end up with a loop of ON and OFF of the MOSFET with a very high frequency (~100Khz). In a few words, V- always tries to stay at the same level as V+ (1V). Knowing the Voltage(1V), and the resistance(1 Ohm), I just use Ohms law to calculate the discharge Current of the battery (1A). So by adjusting the potentiometer, you can set the discharge Current for your battery.

  • @renatocanhaify
    @renatocanhaify3 жыл бұрын

    Thank you for your project , it is helping me a lot. I put everything on the protoboard and started testing with the load. I noticed that the current does not appear on the display. I put my ammeter in series and at the beginning of the load the current was 240 mA. When the load advanced the current went to 150 mA. I tried to vary the current by moving the trimpot but it didn't change anything. - I haven't finished the first load yet, but as I'm hurried I start asking: Is it possible to control the charging current? Should the current remain constant during charging? I noticed that the display is missing the current value during charging, I will try to change it. I ask this because I intend to change the program to get voltage values ​​as a function of time to have the charge and discharge curves of the batteries but for that I need constant charge current.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    for controlling the charging current you need to change the resistor Rprog of the TP4056 module (you can use a trim pot) For more information look at page 2 of the datasheet. dlnmh9ip6v2uc.cloudfront.net/datasheets/Prototyping/TP4056.pdf

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Regarding the discharge current, I don't know why you have problems. I you follow my instructions everything should work normally

  • @livebangla2723
    @livebangla27232 жыл бұрын

    Thanks, sir

  • @reimarengellage3676
    @reimarengellage36764 жыл бұрын

    It would be even much better if you'd included the battery resistance too! Anyway, it's a really interesting tool already. Thank you very much.

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    Thank you for your comment. It's a good idea. It's actually an easy modification, I might do it (and upload it)....if I'm not too lazy 😬

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    Thank you for your idea, I just did it. I uploaded v1.1

  • @bhaibolte8052
    @bhaibolte80524 жыл бұрын

    Bro, can we use 3s batteries if one cell is not working. My batteries is showing 8.4V. instead of 11.1. is it save to use it

  • @bruntalddpaliva7843
    @bruntalddpaliva78433 жыл бұрын

    Hi, great idea. Is it possible to use a 10 ohm / 5W resistor (or 2 in parallel) as a load or must there be 10 parallel that you have in the diagram?

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Nice question. I used 10 x 10ohm resistors in parallel. Which is equal to 1ohm of resistance. I used 10x10ohm 2watt resistors instead of one 1ohm 10watt (you cant use one 5watt resistor, it can't handle the wattage) for two reasons: 1. because it is cheaper than using one high wattage resistor 2. because ten resistors in parallel have better precision than only one resistor. So yes, you can use only one resistor if you want, but it is going to be more expensive and less precise.

  • @ludekmatuska7936

    @ludekmatuska7936

    3 жыл бұрын

    However, this would mean that after switching on the FET transistor, a current of 3.7 A flows to the ground (the tested battery has, for example, 3.7 V), even though you set the discharge current to approximately 800mA on the trimmer. Heb ik gelijk? P.S. I have 2 x 10 ohm / 5W on hand and I wanted to avoid a large number of load resistors. (of course at the expense of accuracy) I'm writing off from a private account, so a different icon....:-)

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    @@ludekmatuska7936 No, the maximum discharge current is 1.2A it is adjusted using trim pot, which is controlling the amplifier which controls the mosfet. two 10ohm resistors in parallel equal 5ohms. You need 1 ohm for this project. If you don't want to use many resistors, then you can use a 1ohm 10W resistor or two 2ohms 5W resistors in parallel.

  • @ludekmatuska7936

    @ludekmatuska7936

    3 жыл бұрын

    @@sasiskas Oki, thx... :-)

  • @thienanpham7466
    @thienanpham74663 жыл бұрын

    hi tks for the video, can i ask that will it be possible if i replace the irlz44n with irfz44n or something else man ?

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    yes irfz44n is just fine

  • @tohtorizorro
    @tohtorizorro2 жыл бұрын

    why not include the timer in the code so there would be no need to use an external one?

  • 3 жыл бұрын

    Hi! I would like to know if it is possible to make a charger for AA AAA and 9V batteries with some software modification? I want to make a universal charger, but with the option for the right kind of battery. There are many automatic charges on the market, but all of them force the batteries and decrease there's life. They stand for to be a smart charge, but they don't. Thank you for share this project :)

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    You can do it, by editing the code. You just need to make an initial menu for selecting the battery type. And associate each battery type with min and max voltage. You will also have to do some hardware modifications in order to bypass the tp4056 battery protection (over charge and over discharge). Unfortunately I don't have enough time to do it at the moment...I might do it some time in the future, but don't rely on me.

  • @ABID5
    @ABID54 жыл бұрын

    good sense of humor! what if the power is down and do you loose the capacity reading?

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    thnx. If you mean that there is a power outage while the capacity is being measured, then yes, you will lose any progress that you have made. In that case you will have to restart the capacity measurement from the beginning. If you live in an areal with unstable electricity and you want to be safe, you can power the capacity meter from a battery...it only needs 5V to operate.

  • @ABID5

    @ABID5

    4 жыл бұрын

    and if we use eeprom to store the latest mAh reading and at startup (if power down) we show the previous mAh reading, can you do that?

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    @@ABID5 Sorry for the late reply. It can be done but it's not a good idea. Because in order to work, you need to save the latest mAh at least every second. But the EEPROM memory has a specified life of 100,000 write/erase cycles. That means that after approximately 10 battery capacity test you can say RIP to your arduino :) (10 tests x 3 hours = 108000 secs)

  • @Jeimes42
    @Jeimes424 ай бұрын

    Hello, greetings from Brazil. Thank you for the project, I really liked it and I want to do it I'm starting out in the Arduino universe and I'm not able to use the encoder, do you have an alternative version with 3 buttons? I am also unable to make this change

  • @josephcaporaso4774
    @josephcaporaso47742 жыл бұрын

    Hello, I have assembled your circuit on pcb and it seems that the results are correct. However, in discharge mode, if I understood the code correctly, it seems that the discharge stops at 2.3V. Shouldn't the process be cut off at 3V?

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    So after all it was the bad connections that caused the issues. The safest lowest voltage is ~2.8V (at idle). So 2.3Volts during discharge is equal to approximately 2.8V at idle. This is something that can be changed within the code, if you believe that it too low.

  • @josephcaporaso4774

    @josephcaporaso4774

    2 жыл бұрын

    @@sasiskas Ok, fine . Thank you :)

  • @jatinmali9310
    @jatinmali93103 жыл бұрын

    Can we select charging current and cut off voltage, please implement these features in next version

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    thnx for your comment. The cut off voltage can't be adjusted. The charging speed can be adjusted, I will include it, in the next update.

  • @SolarMinerPH

    @SolarMinerPH

    2 жыл бұрын

    @@sasiskas If I want to make the the cutoff voltage adjustable can it all be done on the software sie/code or I also need to change something on the hardware side?

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    It is only a software mod. You basically have to control the N- mosfet for the overdischarge protection, and the P-mosfet for the over charge

  • @arianyholanda8120
    @arianyholanda81202 ай бұрын

    Hello, I have a question about the project. I would like to test batteries that have 8V, would this be possible? Do I need to make any modifications?

  • @sasiskas

    @sasiskas

    2 ай бұрын

    Yes, a lot! The voltage divider must be changed. The firmware must be edited. Charging won't be possible with the used module, so you need to completely disable it. These are radical changes, unless you don't know how to do it, you shouldn't try it.

  • @arianyholanda8120

    @arianyholanda8120

    2 ай бұрын

    @@sasiskas Regarding the module and the firmware, I was already imagining that changes would be necessary, but I didn't understand how I should modify the voltage divider? Thank you very much for answering my question.

  • @sasiskas

    @sasiskas

    2 ай бұрын

    @@arianyholanda8120 if you connect directly the 8v to Arduino, you will fry it. You need to use a voltage divider in order to reduce the voltage that Arduino reads. I used R3 and R4 as you can see in the schematic. In my case it wasn't necessary since the battery voltage was below 5V, i just used that as a safety precaution, in case someone used a battery with higher voltage. It's been a long time since I made that, but you need to make sure that you have the correct resistor values for your voltage divider, for your battery's voltage. And if remember correctly, i also used the voltage divider in my code. You will also have to adjust that

  • @arianyholanda8120

    @arianyholanda8120

    2 ай бұрын

    @@sasiskas I understand, thank you very much!

  • @Sht97
    @Sht97 Жыл бұрын

    Hello sir, can you do this project for st7735 tft display if you have time? Thanks in advance.

  • @huntervertigo177
    @huntervertigo1773 жыл бұрын

    sir I'm having some trouble finding IRLz44 can i use irfz44 by increasing the voltage from 5 to 9 volts?

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    You don't need to change the voltage. In theory irfz44 should work just fine. Just give it a try without changing the voltage

  • @huntervertigo177

    @huntervertigo177

    3 жыл бұрын

    @@sasiskas Okay!

  • @paul.alarner6410
    @paul.alarner64103 жыл бұрын

    does this neef capacitors on the inputs from the rotary encoder?,mine does crazy even when im not turning the encoder,but behaves like i am,driving me crazy.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    no, just two 10k resistors as shown in the instructions. What kind of rotary encoder do you use? did it come with a pcb? or did it come without a pcb? I suggest that you use one without a PCB , like I did on my video

  • @paul.alarner6410

    @paul.alarner6410

    3 жыл бұрын

    @@sasiskas its one i salvaged from an old radio,i just have wires soldered to the pins,they are about 10cm long,i wondered if they are picking up noise,once a menue item is selected it works fine,thanks for your time.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    @@paul.alarner6410 It's not the length of the wires... something must be wrong with your encoder. It's either faulty or a different type

  • @paul.alarner6410

    @paul.alarner6410

    3 жыл бұрын

    @@sasiskas maybe i will swap it for push buttons

  • @0lz179
    @0lz1795 ай бұрын

    I made this tester and when i was done i tried using it, but the push button of the rotary encoder is not working. I tested the button with a multimeter and it seems to be working. What could be the problem here?

  • @sasiskas

    @sasiskas

    5 ай бұрын

    Make sure that the correct i/o pin of the Arduino is used. And that it is used according in the Arduino code. If the code says pin 2 and you connected it to pin 3, it won't work.

  • @arminkiaei9748
    @arminkiaei97484 жыл бұрын

    great!

  • @piranon
    @piranon3 жыл бұрын

    Hi, i tried to do your project, but i made a mistake, could find it. In charging mode i can measure the outgoing charging voltage at the drane-pin of the IRF but no current!? The voltage at the gate does what it should do. When i put the battery+ directly to the bat+ from the TP4056 its red led is on and the battery charges with the current given from the poti. If everything is connected as shown in the diagram, there is no charging current and the blue and red LEDs on the TP4056 starts to flicker slightly. Is that because of a defect in the IRF or TP4056? Discharging works fine. Would be happy about a solution, thanks.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Hello, I need some information in order to help you. Which version did you build? Did you use an IRZ9540? Did you make the necessary modifications to the TP4056 module (remove the programming resistor).

  • @piranon

    @piranon

    3 жыл бұрын

    @@sasiskas Hi, now i found out that the TC4056 seems to be in a standby or shutdown-mode. The blue TC4056 Led is always on and red Led is off. When the Bat. is directly connectet to another tp4056 with soldered 10k poti and 1.2k resistor in series blue LED goes on and red off, its working and the charging current can also be changed with the poti. Im still waiting for the delivery of the TCP4056-modules for next test...Do you know a solution for my problem? Thx.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    @@piranon it seems that there is a problem with the mosfet that is responsible for controlling the charging. make sure that you use a P channel mosfet and not a N channel mosfet. make surely that your mosfet is not faulty. make sure that the connections of your mosfet are correct.

  • @teroglist4o

    @teroglist4o

    Жыл бұрын

    Yep same here, i was having a problem of only charging with 0.1A , in the end it was 9540N not fully in conductive state with logic levels (lol) i buy 2 more 9540s from to different suppliers and same thing. I tested them alone with the 1ohm resistor and now i doesn`t conduct 5A when gate is on GND it same 0.1A. So i go with IRF4905 and is working but i have drop of about 0.2V on D-S of the P-FET so TC4056 stop charging to early. I have problem with inaccurate readings as general battery voltage is off, current reading are off. For example in discharge rate current on the lcd goes to 1,2A but on max poti read with amp meter close to 1.3A witch is normal because battery voltage readings are off. I am now trying to how to calibrate readings. If sasiskas explain in more detail how to calibrate (maybe tolerance i resistor values) in the code it will be perfect.

  • @sasiskas

    @sasiskas

    Жыл бұрын

    @@teroglist4o const float RES = 1; // Value of your resistor. Suggested Value is 1 Ohm. Change it, if you use a different resistor value.

  • @ichalssy
    @ichalssy3 жыл бұрын

    Is it ok to use 2W, 10Ohm Resistor with 5% Tolerance? Thank you

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Yes you can. It is ok

  • @aecioresende
    @aecioresende2 жыл бұрын

    Good afternoon. Can I use Arduino Nano instead of Arduino pro mini? thanks

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    Yes, no problem

  • @aecioresende

    @aecioresende

    2 жыл бұрын

    @@sasiskas Thank you very much for the answer, I loved the video, very instructive, thank you very much, success for you.

  • @josephcaporaso4774
    @josephcaporaso47742 жыл бұрын

    Hello, I did the assembly but I can't get a correct voltage from the battery. Indeed, when I compare with a multimeter, I have a difference of about 400 mV. Still, I use precision resistors (1% and 0.1%) and I adapted this in the code. Do you have an explanation? Thank you in advance.

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    Which voltage are you trying to measure? The battery has a different voltage when charging, when discharging and when it is idle.

  • @josephcaporaso4774

    @josephcaporaso4774

    2 жыл бұрын

    @@sasiskas The voltage of the 18650. I thought the voltage would be the same as the voltage on the pin A0. Why not?

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    @@josephcaporaso4774 when in "capacity test" mode, the voltage measured on the 18650 (using a multimeter) should be the same as the one that you see on the lcd screen

  • @josephcaporaso4774

    @josephcaporaso4774

    2 жыл бұрын

    @@sasiskas Precisely, in my case, it's not the same . What are the possible causes?

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    @@josephcaporaso4774 I honestly can't think of anything... voltage measurement using Arduino is pretty basic, and it should just work. Try chekcing if your connections are solid?

  • @f.k2906
    @f.k29062 жыл бұрын

    hi, thanks for your nice project. I build this circuit but have a problem. when I run test capacity mode the battery only discharges to 2.2 v and when reach this number the discharging process still running but nothing happens to battery capacity.

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    Hello, the battery shouldn't discharge below 2.2V volts. If the battery discharges below 2.2volts it will get ruined. The code is written in such way, in order to prevent the battery from over discharging.

  • @f.k2906

    @f.k2906

    2 жыл бұрын

    @@sasiskas thanks for the reply. but in your video in the capacity tester menu when the test was over the voltage of the battery in your screen was 0.0 v .in my case it is 2.2v. I am using 2.01 Arduino code. also in charging mode, it only charges the battery to 4v , not 4.2v. thanks again

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    @@f.k2906 in the video I was using code v1. To be honest I don't remember how v.2 should behave. I will give it a try and I will let you know

  • @f.k2906

    @f.k2906

    2 жыл бұрын

    @@sasiskas thanks

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    @@f.k2906 hello, sorry for the late response. I have just checked it. When the discharge process ends, voltage should be 0. So in your case, something seems to be wrong

  • @koshan12
    @koshan124 жыл бұрын

    nice project but either i cant find the easyeda scheme or there isnt and in the video you said and used 10*10ohm resistors but in the discription it says 100ohm resistors

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    Thank you for letting me know, I really don't know what happened. - I just uploaded the schematics to the DropBox folder. - I also uploaded new version (v1.1) arduino code, which now also measures the internal resistance of the battery. - Regarding the resistor, the description says 10 Ohm, not 100 Ohm. it is 10pcs x10 Ohm resistors in parallel. Thanks again for letting me know

  • @koshan12

    @koshan12

    4 жыл бұрын

    @@sasiskas thank you for the fast responce and one last question. is it possible to make the arduino to count the time for the discharge or charge and yeah. sry about the resistor thing. now i noticed

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    Yes it is possible, but there is really no point in wasting LCD space for that. You know the capacity of the battery, you know the discharge and charge rate...so you can simply calculate it. battery capacity in mAh/discharge rate in mA = discharging time battery capacity in mAh/charge rate in mA (always 1000mA) = charging time for example a 3000mah battery needs 3 hours to charge at 1A and 3 hours to discharge at 1A. for example a 3000mah battery needs 3 hours to charge at 1A and 6 hours to discharge at 0.5A. for example a 3000mah battery needs 3 hours to charge at 1A and 2.5 hours to discharge at 1.2A.

  • @koshan12

    @koshan12

    4 жыл бұрын

    @@sasiskas wow. i knew that but the way you said it was simple yet so much easier ot underestand

  • @livebangla2723
    @livebangla27232 жыл бұрын

    I can't download video description links, ‍sir help me

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    Try to use a VPN.

  • @Happiness50057
    @Happiness500572 жыл бұрын

    sir showing wrong voltage when load is on, can I Connect voltage devider(voltage sensor) separately from battery terminal ?

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    A battery has different voltage when idle, when under load and when charging. If you are saying that the voltage if different when you are testing the capacity compared to the voltage when the battery is idle, then it's normal

  • @Happiness50057

    @Happiness50057

    2 жыл бұрын

    @@sasiskas I checked voltage different because of wire resistance in load condition, my planing is connecting 2 seprate wire from battery terminal to voltage divider, because of under load condition voltage also drooped in voltage sensor resistor, is it possible sir?

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    @@Happiness50057 just use a thicker wire and you will have lower resistance. For 1-2amps you don't need a very thick wire. There are many online calculators where you can calculate how thick your wire should be. Probably 16awg should be good

  • @mokshpatel6986
    @mokshpatel69864 жыл бұрын

    Sir can you make. Battery capacity in percentage + real time apna drow + how much left battery capacity. Thank you 🙂

  • @luq3913
    @luq39132 жыл бұрын

    Hi Sir, the last second link in the video description was blocked ... I really need that code

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    www.dropbox.com/sh/p27b7yk9mzy445n/AACQ4cMBXZK_nM6Hisck9juQa?dl=0

  • @adams7720
    @adams77202 жыл бұрын

    Hello Sir, ai went to use button switch insted of rotary encoder switch , 1 button for selecting mode and 2nd button for entering inside the mode( ok button) , I thing 2 Button is enough and cost effective , more simple connection as compare to rotary encoder. So pls tell me how do I do that

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    In my code I have 3 conditions for navigating in the menu. Rotary encoder turn left, rotary encoder turn right and press of the button. The easiest thing you can do is to use three buttons in order to substitute the rotary encoder.

  • @adams7720

    @adams7720

    2 жыл бұрын

    @@sasiskas I understand the press switch connection(GND and pin D4) , but don't understand the connection of another 2 switch , I Connect another 2 switch to arduino pin D2 and D3 with 10k pull up resistor , But not working , pls help me 😔😔

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    You obviously need to edit the code as well. Read the code abd see how the button works in my code and then try to replace the code for left and right with similar code

  • @jantrisko
    @jantrisko4 жыл бұрын

    Very nice project :) Can You share EasyEDA scheme?

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    Thank you for your kind words. Everything can be found in the video description

  • @kosmos8460
    @kosmos84608 ай бұрын

    Однозначно 👍

  • @paul.alarner6410
    @paul.alarner64103 жыл бұрын

    is there someting wrong with your dropbox,it gets to about 10mb then fails for me,done that 7x now.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    try using a VPN, probably there is something wrong with your connection. If you still have issues, I'll upload it on a different platform later...

  • @biladz1772
    @biladz17723 жыл бұрын

    Can i use that code for my arduino nano?, Because i just have that one

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Yes you can. There is no problem

  • @biladz1772

    @biladz1772

    3 жыл бұрын

    @@sasiskas thanks alot sir , 👍

  • @pripun1457
    @pripun1457 Жыл бұрын

    If the usb cable released. Is the capacity battery still working?

  • @sasiskas

    @sasiskas

    Жыл бұрын

    No.

  • @pripun1457

    @pripun1457

    Жыл бұрын

    @@sasiskas can you make diy tutorial charger like phone mobile mr :D?

  • @sasiskas

    @sasiskas

    Жыл бұрын

    @@pripun1457 that's just a switch mode power supply. There are plenty of sources online. But why would you need that?

  • @pripun1457

    @pripun1457

    Жыл бұрын

    @@sasiskas i have project need charge system like that. I confuse to make best schematic. I need to know capacity battery when charging or not. I use Hotchip HT4928S. Or do you have reference for my idea?

  • @huntervertigo177
    @huntervertigo1773 жыл бұрын

    I can't open the 2nd last link please give me the link of the code and version 2.0

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    www.dropbox.com/sh/p27b7yk9mzy445n/AACQ4cMBXZK_nM6Hisck9juQa?dl=0 If you still have trouble opening the link, then there is something wrong with your computer or internet connection. You can try using a VPN if you have a problem.

  • @MrBobWareham
    @MrBobWareham3 жыл бұрын

    WHY DONT YOU USE A DRILL BIT TO REMOVE THE COPPER?

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    just used the first thing that I found.

  • @manoftheday1
    @manoftheday13 жыл бұрын

    Good day sir , please and please any idea code to make discharge more than one cell please.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    it's not only about code. You also need extra hardware.

  • @manoftheday1

    @manoftheday1

    3 жыл бұрын

    @@sasiskas That should not be a problem even if i lose some function like charging, i just want to be able to discharge more than one cell using your code . i can scale it up from there. thank you.

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    with an Arduino pro mini you can discharge up to 3 batteries at a time. I might work on it when I have some free time.

  • @manoftheday1

    @manoftheday1

    3 жыл бұрын

    @@sasiskas please do am in dear need of one , or can you help with how to update your code for two cells i should be able to go up from there.

  • @budihartanto4032
    @budihartanto403210 ай бұрын

    Halo, its can test for lithium ion batteries?

  • @sasiskas

    @sasiskas

    10 ай бұрын

    Yes

  • @budihartanto4032

    @budihartanto4032

    10 ай бұрын

    @@sasiskas sorry i mean this is can test for lithium polymer batteries?

  • @sasiskas

    @sasiskas

    10 ай бұрын

    @@budihartanto4032 yes I say thay in the video description. li-on and li-po batteries

  • @budihartanto4032

    @budihartanto4032

    10 ай бұрын

    @@sasiskas great! Thankyou sir🙏

  • @gaminginsrilanka1262
    @gaminginsrilanka12623 жыл бұрын

    7.8v ni-mh battery work ?

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    Not with this code. If you edit the code it will work

  • @micaiahadams659
    @micaiahadams6592 жыл бұрын

    Sir, this is one of the best DIY on KZread. Please can you recommend me to a website, tutorials, or a kid that can teach me how to program Arduino to this level? I'll appreciate it a lot sir thanks in advance.

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    You can watch videos from Programming Electronics Academy

  • @micaiahadams659

    @micaiahadams659

    2 жыл бұрын

    @@sasiskas thanks for your reply, I'll appreciate it if you have any links because I have read and downloaded so many books and videos, but not much value in them like what you have here. I hope you understand my point thanks 🙏

  • @EmreArslanElektronik
    @EmreArslanElektronik3 жыл бұрын

    hello i can't find the arduino code, can you help me

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    sure, bit.ly/2W1Iy0B

  • @rev.kenshostad2888
    @rev.kenshostad28884 жыл бұрын

    I have an idea that will take your item to the next level, as there are several or you that are working on these types of things, I will have to check with the copywrite laws and then send you the information, do you think you would be interested in a collaboration?

  • @samizaeem2318
    @samizaeem23184 жыл бұрын

    can you give me the code please

  • @sasiskas

    @sasiskas

    4 жыл бұрын

    it's in the video description

  • @samizaeem2318

    @samizaeem2318

    4 жыл бұрын

    @@sasiskas thanks

  • @samizaeem2318

    @samizaeem2318

    4 жыл бұрын

    @@sasiskas thanks

  • @samiurrahmanarjon1253
    @samiurrahmanarjon12533 жыл бұрын

    Sir please help me find the codes 🙏

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    www.dropbox.com/sh/p27b7yk9mzy445n/AACQ4cMBXZK_nM6Hisck9juQa?dl=0 If you still have trouble opening the link, then there is something wrong with your computer or internet connection. You can try using a VPN if you have a problem.

  • @samiurrahmanarjon1253

    @samiurrahmanarjon1253

    3 жыл бұрын

    @@sasiskasthank you very much sir

  • @samiurrahmanarjon1253

    @samiurrahmanarjon1253

    3 жыл бұрын

    Uncommanding the "void buzz" can I add a buzzer to pin 9?

  • @sasiskas

    @sasiskas

    3 жыл бұрын

    @@samiurrahmanarjon1253 yes but you need to edit the code

  • @samiurrahmanarjon1253

    @samiurrahmanarjon1253

    3 жыл бұрын

    @@sasiskas thank you sir

  • @livebangla2723
    @livebangla27232 жыл бұрын

    code sir pleas

  • @sasiskas

    @sasiskas

    2 жыл бұрын

    It's in the video description

Келесі