I'm working on a DIY solar inverter.
The goal is to make the battery connected to it rechargable by both energy from solar panels and AC mains (if there is power supply.)
My battery is 24V DC, AC main is at 220/240 V AC and I'm using an LM 317T for voltage regulation.
I'm stuck thinking about the right transformer for power rectification from AC source, since the voltage applied to the LM 317T input pin must be greater than the voltage leaving it.
Could you please suggest the right transformer?