WindMill controlled by arduino!?

The project simply is a windmill that will move automatically to the direction of the wind to consume energy as much as possible

we came up with this design : Wind Direction Sensor >>to>> arduino >>to>> motor (the motor moves the wind mill)

what i need is the name of the wind direction sensors that will be compatible with arduino, also the name of the motors that will be compatible too!!
by the way the project is Lab-scaled so the we need a very low voltage motor

another question, will the programming will be difficult ? i have a little experience on C++

thank you so much, I really appreciate your efforts

You don't need to use C++, you can use 'C' or 'C++' or together.

You will find a lot of posts on this forum about wind direction sensors.
The most common is a rotating wind vane with hall sensors or reed switches.
You can buy those.
This is a complete wheater station: Weather Meter Kit - SEN-15901 - SparkFun Electronics
That wind vane uses a magnet and reed switches.

The motor can be anything. Your need extra hardware to control the motor, called a 'motor driver'. There are many 'motor drivers' for all sorts of motors.

Perhaps a normal DC motor with a gear is best. You need some feedback to know how the wind mill is orientated. Perhaps also with a magnet and hall sensors or reed switches, just like the wind vane.

Why do you want to electronically control the direction the windmill blades are facing? The "tail" on the traditional US Midwest farm windmill does that mechanically a whole bunch easier...

Edit: Oh, and by the way, consume or produce?

Google is your friend.

... emm suppose you're not in China...

https://www.google.com/search?q=wind+direction+sensor+arduino
https://www.google.com/search?q=motor+arduino

Thank you for your replies they were useful, i bought the weather meter and the controller, whats left is the motor !!
my problem is , I don't know what type of the motor should i use ? all I found are very small motors !! they cannot handle a wind mill !! so I need a bigger one,

I buy everything from online shopping that's why I really need to make sure of what i'm buying

again thank you so much for your supports

I found this motor

will it work with arduino?

yes it will with a proper driver.

it will consume 1A current max, so you should get a 1.5A or 2A driver for safety.