This document describes the design and implementation of a controller-based buck-boost converter for a small wind turbine. The converter helps maximize the effective use of power from the wind turbine by boosting lower voltages and bucking higher voltages to maintain a stable output of around 48V for charging batteries. A microcontroller senses the input voltage and controls PWM signals to drive MOSFET switches in the buck-boost converter in either buck or boost mode as needed. Simulation and hardware results show the converter performs as intended, maintaining an output around 48V over a wide range of input voltages from 10V to 70V. This ensures batteries can be charged efficiently from the variable voltage output of the small wind turbine.