aq_mishu
Full Member level 4
Dear Brian,
Nice to hear that you are back...
No... that was may not be the reason for resistor burning. but not regulating. what ever i was doing, the output was constant 20v. then when i used the pinout for 317 (on test), it started working. i saw that following the 338 datasheet killed much of my time.
about adc, well, when no current is flowing, it is showing me 0. so (adc + offset) * scale factor will not give me 0 at 0 current... but well, it will give me correct value when some current flows... i'm planning to find out the error value using a dmm that can measure current. i'll first short the sense resistor 0.1ohm and then i'll measure using it. the load will be a 1ohm 10 watt resistor. output voltage will be somewhat 3.5 to 4v. then i can get the error.
i charged a battery last night (over night) and it was drawing only in max 600mA and after fully charged, it showed 0A. the batttery was a 7ah ups sla battery. it was old and thus i think the current cunsumption rate was this low. (because when i connected a 1ohm 10w instead of the batt, 3A current passed). is my thinking right???
one thing last, this charger can charge a battery that is not completely dead. if that happenes, then first i have to apply constant current at a high volt to start the initial reaction. then i can come to 14.6 const v and then finally float v 13.8v. so currently it is 2 stage charger that is capable of charging a running batt (though now i am planning to convert it for 3 stage with menue driven option...).
sincerely
Mishu~
Nice to hear that you are back...
No... that was may not be the reason for resistor burning. but not regulating. what ever i was doing, the output was constant 20v. then when i used the pinout for 317 (on test), it started working. i saw that following the 338 datasheet killed much of my time.
about adc, well, when no current is flowing, it is showing me 0. so (adc + offset) * scale factor will not give me 0 at 0 current... but well, it will give me correct value when some current flows... i'm planning to find out the error value using a dmm that can measure current. i'll first short the sense resistor 0.1ohm and then i'll measure using it. the load will be a 1ohm 10 watt resistor. output voltage will be somewhat 3.5 to 4v. then i can get the error.
i charged a battery last night (over night) and it was drawing only in max 600mA and after fully charged, it showed 0A. the batttery was a 7ah ups sla battery. it was old and thus i think the current cunsumption rate was this low. (because when i connected a 1ohm 10w instead of the batt, 3A current passed). is my thinking right???
one thing last, this charger can charge a battery that is not completely dead. if that happenes, then first i have to apply constant current at a high volt to start the initial reaction. then i can come to 14.6 const v and then finally float v 13.8v. so currently it is 2 stage charger that is capable of charging a running batt (though now i am planning to convert it for 3 stage with menue driven option...).
sincerely
Mishu~