I am new to Arduino and also I am a super Beginner in Electronics so I am not sure whether the concept I have in my head can be achieved with an Arduino:
For my university project, I want to send a controllable pulsed (sinusoidal) DC Voltage to a 12V Motor (0.5A). I thought about using an Arduino to create a sPWM and send this signal to a Mosfet which then switches and applies this sinus waveform to the 12V supply of the Motor.
Very important: I want the Motor to rotate faster and slower in the same direction. NOT change direction.
I would want to be able to control the frequency, amplitude and mean value of the sinus Voltage.
Also the setup would run pretty long (around 1 week).
Does this make sense? Is there a better alternative than Arduino?