Grove Vibration Motor
Last updated
Last updated
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.
Revision
Description
Release
v0.9b
Initial public release
May 10, 2011
v1.0
Directly uses an I/O port to drive Vibration Motor
Nov 5, 2011
v1.2
Transistor added, uses bigger current to drive Vibration Motor
July 11, 2013
Grove compatible
Non-audible
Low power consumption
High reliability
!!!Tip More details about Grove modules please refer to Grove System
Item
Min
Typ
Max
Operating Voltage
3.0V
5.0V
5.5V
Control Mode
Logic Level (When Logic HIGH, the motor is ON. When LOW, the motor is OFF.)
Rated speed
9000 rpm
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.
Plug it onto the Digital port 9 of Grove - Base Shield using a Grove cable.
Plug the Grove - Base Shield onto Arduino.
Connect Arduino to PC by using a USB cable.
Copy and paste code below to a new Arduino sketch, and upload it to your Arduino.
Use the demo code shown below:
Now, feel the vibration of your motor!
1.You should have a Raspberry Pi and a grovepi or grovepi+.
2.You should have completed configuring the development enviroment, otherwise follow here.
3.Connection
Plug the sensor to grovepi socket D8 by using a grove cable.
4.Navigate to the demos' directory:
To see the code
```
import time
import grovepi
vibration_motor = 8
grovepi.pinMode(vibration_motor,"OUTPUT")
while True: try:
sudo python grove_vibration_motor.py
```
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.