Introduction
Have you ever wondered how to implement a vibration motor in your project, like you would find in a mobile phone? The newest vibration module in the DFRobot "Gravity" series gives you in-depth understanding of vibration motor principles. This module uses a high quality small vibration motor that is the size of a coin. Using the Gravity 3 pin interface, you can plug and play this module for your convenience.
Specification
- Operating Voltage: 5v
- Control mode: High-Low level/PWM signal
- Dimension: 30 x 22 mm/ 1.18 * 0.78 inches
Board Overview

Num | Label | Description |
---|---|---|
1 | Signal | Control signal input |
2 | VCC | VCC |
3 | GND | GND |
Tutorial
- Introduce working principles of the vibration module.
- Introduce control mode of the micro vibration module by simple examples and pictures.(high level work, low level stop).
- Control the module vibration intensity by PWM.
Requirements
Hardware
- DFRduino UNO x1
- Vibration Module x1
- Dupont jumpers
- Digital Push Button DFR0029-Y X1
Software
- Arduino IDE Click to download Arduino IDE
Working Principle
The vibration module uses a vibration motor as its vibration source. Vibration is created by a set of adjustable weighted blocks attached to the end of rotating shaft. The centrifugal force generated by high speed rotation of the shaft and weighted blocks creates vibration.
Control the Module by the Switch

Results: when the button of pin 8 is pressed, the vibration module will be on for 5 seconds, then stop and wait for the button to be pushed again
Control the Module Amplitude

Results: With the PWM value increases, amplitude increases
FAQ
For more questions or interesting projects, you can visit the forum! |
---|