Hello Pawel,thank you for your help!I've swapped both D2, D3 (one part MBR2045CTG) and Q15 (IRFZ44N),
Oh, oops, so I swapped Q14 first... ^^I've swapped the other Diodes MBR2045CTG and the P-Channel MOSFET (IRF4905) now, but it still doesn't work.Current output: 0mA, the display says some strange values...
My multimeter beeps when I connect it to both R138 and R150.Actually I don't know what to look for when I check the voltages. VCC seems to be ok on all LM2904, some about 11V some 5V. I've also swapped all LM2904 and LM393, still the same.What else could me broken, when there comes 0 current to the battery?The ATmega32 measures the current on ADC pin PA2?
Hi PawełI don't know if its a normal behavior of LM393 4 2/2 to oscillate (measurements attached)?
Anyway, there doesn't seem to get any voltage to the battery. --> The gate of Q15 is high. Shouldn't it be low when the charger wants to charge?
Pin 1 of LM393 3 2/1 is also high, so Q16 is pulling Q15 high, so Q15 is blocking.Pin 2 is 0V and Pin 3 is oscillating like in picture Pin_6.png.
Well I found the problem:I had to increase the charge value to ~1700 to get 100mA charge current. I never thought of going that high before because discharge works at a value of about 200.
It starts to charge the battery at 1286 and I've reached exactly 100mA at 1688.I'm going to swap the components back to the originals and try to charge a 5Ah LiPo with 1C later.
I'm sorry that I've wasted your time Paweł,
thank you very much for your help
(I've learned a lot about the charging process)!
When I go to the charge menu and try to charge the battery it says "calibration error I charge".
Tomorrow I'm going to measure R150 if its value is really 0,03Ω. I don't have an mΩ-meter, so I have to unsolder it and measure the current at a voltage.
R151 near LM2904 1 2/2 is a 10k on my PCB instead of 1k.R152 is an 1k1 instead of 1k.R153 has 9.85k, should be 10k (maybe of the internals of 1 2/2?).R154 is 300Ω.
Do I have to edit the cheali sources to accept my charge values?
AREF is exactly 2.5V.On the input of LM2904 1 2/2 I measure 2.7mV for 100mA charge current and 25.5mV for 1A. So R150 seems to be an 25mOhm resistor.LM2904 1 2/2 has an amplification of 10, so I should get an output of 27mV (100mA charge current) on pin 7. But I actually get 116mV at R154 and ADC2??
Hey PawełI've swapped the LM2904 1 to a new one. Now the 100mA charge calibration value is about 480 and charging works! Thank you!The only problem I have now is that Q20 (IRF3205) gets really hot when discharging the battery. I know the discharge power has to be dissipated as heat, but it gets really hot. I'm afraid of going over 1A of discharge current. Is there a discharge current limited anywhere in the software?
Do you have a charger where a similar part like Q20 gets that hot?