Use an alternator and a battery. The alternator has a regulator to stop the 12V BATTERY from overcharging