Sorry if this is a rather basic question
The project I am working on needs to use haptic feedback. The best motors for my purpose are the small flat coin ones, similar to these ones
I need to be able to vary the speed in order to vary the intensity of the feedback. Immediate thought was to connect to the PWM outputs of my arduino and use a voltage divider to reduce the 5v output to the rated 3v.
Simply put, is this safe? Is it overkill for that matter or can I (safely!) use the PWM functionality to do the same job? If not, am I looking at adding a controller?
In my current non-variable solution, I have the motors connected to a transistor supplying from the 3.3v output and activated by a normal signal pin with a diode in place to prevent feedback into the arduino when the motor is stopped.