Upon obtaining our generator, we encountered a predicament: the output voltage was alternating current (AC), whereas we needed direct current (DC) to charge the batteries and illuminate the LEDs.
After a thorough investigation, we determined that a bridge rectifier offered the most effective solution. Consisting of four diodes, the bridge rectifier facilitates the conversion of AC to DC while rectifying the direction of power flow, thus safeguarding other components from potential harm.