QB048 Vibrating Motor Module
1.Product Introduction
Vibration module is an electronic component that produces a vibration or vibration effect.
The vibration module includes a small motor as the main vibration source, which is usually an eccentric rotating motor, where the unbalanced load on the motor shaft (eccentric mass) will cause the motor to produce unbalanced centrifugal force when rotating, and this centrifugal force will be transmitted to the housing of the vibration part, resulting in vibration.
Application reference: mobile devices, game controllers, vibration feedback system and other scenarios.
2.Parameter Specification
Parameter |
Value//Description |
---|---|
Operating voltage |
3.3V~5V |
Operating temperature |
-25°C~+65°C |
operating current |
35mA |
Maximum power |
0.5W |
Control signal |
Digital signal /PWM signal |
Size |
3.16cm*2.38cm |
3.Wiring Diagram
Vibrating Motor Module |
UNO |
---|---|
VCC |
5V |
GND |
GND |
S |
Digital Pin 3 |
4.Sample Code
1//www.acebott.com
2void setup() {
3 pinMode(3, OUTPUT); // Set pin 3 as an output pin for connecting the vibration motor module
4}
5void loop() {
6 analogWrite(3, 0); // Set the output on pin 3 to 0 (no vibration)
7 delay(1000);
8 analogWrite(3, 128); // Set the output on pin 3 to 128 (medium vibration)
9 delay(1000);
10 analogWrite(3, 255); // Set the output on pin 3 to 255 (maximum vibration)
11 delay(1000);
12 analogWrite(3, 128); // Set the output on pin 3 to 128 (medium vibration)
13 delay(1000);
14}
5.Test Result
After uploading the code to the controller board, we can feel the shock of the vibration module will be strong, then weak, and repeated.
6.Related Resources
7.Get One Now
B2B Business: info@acebott.com
Individual buyer: shop on aliexpress