Lead acid battery charging using generator

Hello forum members I am trying to recharge four batteries of 12v each and 33Ah (12x4volt/33Ah) using arduino for computing. what programming i need to charge batteries upto a specific potential and cut off generator after that.

Thankyou. :)

Hello,

I am trying to recharge four batteries of 12v each and 33Ah (12x4volt/33Ah) using arduino for computing. what programming i need to charge batteries upto a specific potential and cut off generator after that.

What are the particulars of charging this batteries?. I mean: do you need to control the speed (corrent) of charging?. How? Do you need/want to have a log?. What are the security -if any- concerns?. Etcetera . . .

Regards

why?I mean you could do this job with two zener diodes one B.V at 12V and the other greater than 12V,one Bjt and one relay.