The Wind Turbine is built from the Lego Spike Essential educational kit. The wind turbine is rotated at a certain angle to sense the direction of the wind, after which the blades are activated.
The set includes step-by-step building instruction and an example of program (in Spike environment).