Arm CPU with constant current sources controlled by relays. Are there any libraries for this project?
Alcaline battery charger with protection against fire Are there any libraries for this project?
I most certainly hope not. If you are not capable of doing this yourself, whatever you come up with will risk fire/explosion. Especially if you are trying to charge Alkaline batteries.
A working "library", should you be able to find one, would only work (work, not 'work') if the layout was VERY carefully done by someone specializing in power control.
Erik
PS if this is a school project FIND ANOTHER SCHOOL