Vibration Motor test

Let’s try our new vibration motor. It is a little device that vibrates according to the tension applied.

photo 1

Buiding Process

Note: this tutorial uses a resistance value that is too little and can cause damage to your Arduino board. Better to use a much higher value so to reduce corrent from the Arduino digital pin. Take a look at another experiment we have made that is more respectful of the Arduino board.

According to the Adafruit reference the vibration motor can be powered with a tension between 2V and 5V. The greater the tension, the greater the vibrations produced and the current consumed.

To avoid excessive current consumption (so we can use the motor with an Arduino pin) and to reduce the strenght of the vibration, we can try putting a 100-1000 ohm resistor in series.

So here’s the circuit we have prepared:


photo 1

And here’s our sample code:

#define LED 13
#define VIBRA 3

void setup() {
  pinMode(LED, OUTPUT);
  pinMode(VIBRA, OUTPUT);

void loop() {
  digitalWrite(LED, HIGH);
  digitalWrite(VIBRA, HIGH);
  digitalWrite(LED, LOW);
  digitalWrite(VIBRA, LOW);

While powering the motor we light a LED as a visual feedback of what’s happening.

Everything seems to work very well:

In this configuration, using a 220 Ohms resistor, we measure a current of ~65mA;

Note: this current is higher than the maximum amount of current we can obtain from an Arduino digital pin. This circuit configuration can damage your Arduino. Please substitute this resistor with another one with a much higher resistance value. Take a look at another experiment we have made that is more respectful of the Arduino board.

Motor Technical details

Future experiments

Take a look at this improvement we have made. We are usign a PN2222 transistor to manage the current that will flow through the motor.

If you find this article useful and you like it, please leave a comment below: let us know what do you think about it, we'd really appreciate it. Thank you very much and, as always, stay tuned for more to come!