Some info about vibration motors!
Vibrating Mini Motor D
This Adafruit vibration motor can take voltages from 2V up to 5V, where it will draw from 40mA to 100mA. It will reach speeds of 11k RPM at its peak. If your circuit can provide more than 100mA, be sure to prevent against it with the use of resistors in series (refer to LED tutorial).
- Red wire - Vcc;
- Blue wire - Ground;
PWM control of the vibration motor
In this code example we’re going to apply PWM (refer to the LED tutorial) to control the strength of this motor.
The wires are thin, so make sure they are well connected to the breadboard!
Examples of code be found here: /examples/actuators/vibration_motors
In the end you should see something like this!