The production of electricity by renewable means is necessary to meet the growing energy demand and to protect the environment. Wind energy is an alternative, however, in places with a limited wind resource only the installation of small horizontal Axis wind turbines (SHAWT) is profitable. At rotor height, in this size of turbines, the wind is usually unstable with gusts and turbulence due to obstacles in its path such as buildings and trees. To reduce the effects of wind, the angle of incidence of the blade with the wind must be adaptable to guarantee the nominal rotation speed. The pitch angle is the angle of blade rotation around the longitudinal axis is commonly regulated with a Proportional-Integral-Derivative (PID) feedback controller, which works correctly when the wind is stable, but not when the wind presents drastic changes in speed, as a faster response speed is required. To correct this problem, this article presents a PID controller with automatic adjustment of the gain values and offering different response times for which a fuzzy logic controller (FLC) is used. The membership functions of the FLC are determined from the measurement of the wind speed at a calculated distance, so it is possible to anticipate the response of the actuator to the arrival of a wind gust to the rotor. The algorithm is implemented in 14 kW SHAWT where the difference of performance versus a conventional controller is quantified.