Skip to main content

Grove - Vibration Motor

This is a mini vibration motor suitable as a non-audible indicator. When the input is HIGH, the motor will vibrate just like your cell phone on silent mode.

Version Tracker

v0.9bInitial public releaseMay 10, 2011
v1.0Directly uses an I/O port to drive Vibration MotorNov 5, 2011
v1.2Transistor added, uses bigger current to drive Vibration MotorJuly 11, 2013


  • Grove compatible
  • Non-audible
  • Low power consumption
  • High reliability
More details about Grove modules please refer to [Grove System](


Operating Voltage3.0V5.0V5.5V
Control ModeLogic Level (When Logic HIGH, the motor is ON. When LOW, the motor is OFF.)
Rated speed9000 rpm

Platforms Supported

ArduinoRaspberry Pi
The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Getting Started

If this is the first time you work with Arduino, we firmly recommend you to see [Getting Started with Arduino]( before the start.

Play With Arduino

To make it vibrate is just as easy as to turn on an LED. Here is an example showing how to turn on the vibration motor.


  • Step 1. Prepare the below stuffs:
Seeeduino V4.2Base ShieldGrove - Vibration Motor
enter image description hereenter image description hereenter image description here
Get One NowGet One NowGet One Now
  • Step 2. Grove - Vibration Motor to D2 of Grove-Base Shield.
  • Step 3. Plug Grove - Base Shield into Seeeduino.
  • Step 4. Connect Seeeduino to PC via a USB cable.


If we don't have Grove Base Shield, We also can directly connect Grove - Vibration Motor to Seeeduino as below.

SeeeduinoGrove - Vibration Motor
Not ConenctedWhite


  • Step 1. Copy the code into Arduino IDE and upload. If you do not know how to upload the code, please check how to upload code.
int MoPin = 2;    // vibrator Grove connected to digital pin 9

void setup() {
pinMode( MoPin, OUTPUT );

void loop() {

digitalWrite(MoPin, HIGH);

digitalWrite(MoPin, LOW);

  • Step 2. Now, feel the vibration of your motor!

Play with Codecraft


Step 1. Connect Grove - Vibration Motor to port D2 of a Base Shield.

Step 2. Plug the Base Shield to your Seeeduino/Arduino.

Step 3. Link Seeeduino/Arduino to your PC via an USB cable.


Step 1. Open Codecraft, add Arduino support, and drag a main procedure to working area.

If this is your first time using Codecraft, see also [Guide for Codecraft using Arduino](

Step 2. Drag blocks as picture below or open the cdc file which can be downloaded at the end of this page.


Upload the program to your Arduino/Seeeduino.

When the code finishes uploaded, you will feel the vibration motor vibration.

Play With Raspberry Pi


  • Step 1. Prepare the below stuffs:
Raspberry piGrovePi_PlusGrove - Vibration Motor
enter image description hereenter image description hereenter image description here
Get One NowGet One NowGet One Now
  • Step 2. Plug the GrovePi_Plus into Raspberry.
  • Step 3. Connect Grove - Vibration Motor ranger to D8 port of GrovePi_Plus.
  • Step 4. Connect the Raspberry to PC through USB cable.


  • Step 1. Navigate to the demos' directory:
cd yourpath/GrovePi/Software/Python/
  • Step 2. To see the code
nano   # "Ctrl+x" to exit #
import time
import grovepi

# Connect the Grove Vibration Motor to digital port D8
vibration_motor = 8


while True:
# Start vibrating for 1 second
print 'start'

# Stop vibrating for 1 second, then repeat
print 'stop'

except KeyboardInterrupt:
except IOError:
print "Error"
  • Step 3. Run the demo.
sudo python

Schematic Online Viewer



Grove - Introduction in a Vibration Motor - only for adults: Beginner-Example

Inspired by OVERWATCH, we have made a very cool Wooden Laser Gun toy for fun these day!

The Wooden Laser Gun and the Gun Target are all based on an Arduino board called Seeeduino Lotus. The laser emitter on the Laser Gun is controlled to fire laser pulse to "activate" the Gun Target. And there are 3 light sensors on the Gun Target to detect the laser pulse. It seems very simple right? If you are interested in our project, please make one for yourself or your child! It's worth to spend one day DIY it as a Xmas present.

Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...