As an apt conclusion to our battery charger program, we leave it up to you to experiment with automatically detecting when the charge cycle is complete, rather than just depending on a fixed time charge that we did here. We have given you a head start in this area by supplying two lines of code in the Exp_1_charge routine, which are repeated below:
' IF avgVolts.HIGHBYTE > maxVolts THEN maxVolts = avgVolts.HIGHBYTE ' IF avgVolts.HIGHBYTE =< maxVolts - 10 THEN codePtr=2:GOTO Exp1_End
Uncomment these two lines and reload the entire program and try it for yourself. Your results will depend mainly on the amount of voltage drop from maxVolts. We chose a value of 10 that corresponds to 0.20 volts (10 x 0.02 volts/A-D Converter step). Therefore to work, your batteries will have to drop at least 0.20 volts for the charge to automatically end. You can certainly change this value by making it anything you want, within reason. We wish you luck and good success in your trials.
Was this article helpful?
You can now recondition your old batteries at home and bring them back to 100 percent of their working condition. This guide will enable you to revive All NiCd batteries regardless of brand and battery volt. It will give you the required information on how to re-energize and revive your NiCd batteries through the RVD process, charging method and charging guidelines.