If I don't find a suitable chip, I will make a linear charger. I already started designing it for 1A (don't want to go over that because of heat dissipation). It is basically a modified dummy load that Dave designed. OP-AMP forces a voltage on a power resistor via FET, and instead of load there is a battery. Then other OP-AMP subtracts 2 voltages from battery terminals and gives a battery voltage on the output. That output goes to the input of comparator, and when it reaches 13,2V (that is set on the other comparator input) it will pull the OP-AMP input low via transistor, which will force 0V on a power resistor, and the charging will stop.
Can you also tell me at what voltage should it stop charging? I was thinking like 13,2V. I don't want to fully charge the battery to 100%, and stress it. I just want to be able to "top-up" the battery a bit, so it becomes usable, and to revive some flat batteries if possible.
And, will the battery voltage while charging be "clean"? There is voltage ripple from the adapter and current ripple from the OP-AMP regulating voltage on the power resistor. So, I don't even know if I could correctly detect those 13,2V on the battery with comparator. Maybe it will just keep turning the charging on and off because of ripple.
P.S. Microcontrollers? I don't know programing. Not a single command. In fact, I hate it.
Don't stop at 13.2 V. With lead batteries, you MUST charge them fully, rather than letting them sit around partially discharged. If they sit partially charged (or discharged), then lead sulfates begin to form on the plates. The sulfates are an excellent electrical insulator, and will destroy the battery. If the sulfation is not too bad, you can use a desulfator to break it down (returning the sulfur to the acid) but a very heavily sulfated battery is beyond repair. So, if you want to give your batteries a long and stress-free life, keep them FULLY charged, and charge them immediately after using them.
The standard "float" voltage is 13.8 V, but that is for 22 deg C ("room temperature"), and the voltage varies with temperature. At higher temperature, the voltage needs to be reduced slightly, and at a lower temperature, it needs to be increased slightly. You can
permanently connect a charger at the float voltage without damaging the battery, and keep it fully charged at all times. To keep your batteries in good condition, they should either be floated continuously or be periodically charged up to keep them fully charged.
The "fast" charge voltage is about 14.4 V (again varying with temperature a little). You can apply 14.4 V until the current drops to 0.05 C (so for a 20 AH battery, that is 1 A). Then you
must reduce the voltage to the float voltage for last part of the charge. Otherwise you will damage the battery, albeit slowly.
I'd recommend just float charging. It takes only a little longer and is easier on the batteries. You will need to limit the initial charge current to about 0.1 C (so 2 A for a 20 AH battery). The easiest way to do this is a constant current/ constant voltage power supply. Set the current limit to the desired charge current, and the voltage to the float voltage (13.8 V adjusted for temperature if needed). The voltage on the battery will slowly increase over time until it reaches ~13.8 V, then the current will slowly drop over time until it reaches nearly zero. At that point, the battery is fully charged and you can either remove the charger or just leave it on.
You can buy inexpensive adjustable constant current/voltage buck converter (step down switching) power supplies on ebay or wherever. They will work fine. Some have a special LED to indicate when the charge is complete. This usually lights up at 1/20 of the initial charge current, and is adjustable on some. (pay more attention to the output power, not output current when looking at these modules. At 14 V and 3 A, you need over 40 W of output power... look for 50 W or better modules). I quickly searched and found this:
http://www.ebay.com/itm/DC-7-40V-12v-to-1-2-35V-5v-24v-Buck-Converter-LED-Drive-Constant-Current-Voltage-/171923708476 which may or may not be suitable for your needs. It's just an example.
You can find float voltage vs. temperature charts with google.