
This circuit uses an ESP32 microcontroller to control a vibration motor through an NPN transistor. The ESP32 is powered by a Li-ion battery, and a resistor and capacitor are used for current limiting and noise filtering, respectively.

A vibrator motor is a small electric motor designed to create vibrations. It achieves this by using an unbalanced weight attached to its shaft, which generates a vibrating motion when the motor rotates. Vibrator motors are widely used in various applications, including mobile devices, gaming controllers, wearables, and industrial equipment, to provide haptic feedback or alert signals.

This circuit uses an ESP32 microcontroller to control a vibration motor through an NPN transistor. The ESP32 is powered by a Li-ion battery, and a resistor and capacitor are used for current limiting and noise filtering, respectively.

This circuit is a vibrating table control system that uses an Arduino UNO to manage a DC motor via an L298N motor driver, with vibration feedback from an ADXL345 accelerometer and speed control via a potentiometer. The system includes an emergency stop feature and displays vibration and motor speed data on an OLED screen.

This circuit uses an Arduino Nano to control four vibration motors through NPN transistors, with each motor connected to a transistor and a rectifier diode for protection. The Arduino Nano receives power from a 5V battery and controls the transistors via digital pins D9, D10, D11, and D12, enabling the vibration motors to be turned on and off programmatically.

This circuit features a Wemos D1 Mini microcontroller connected to a MX1508 DC Motor Driver for controlling a DC motor, a SW-420 Vibration Sensor for detecting vibrations, and a Type-c Power Bank Module with an 18650 battery holder for power supply. The microcontroller monitors the vibration sensor and controls the motor driver based on the sensor's output, while also measuring the battery voltage through an ADC pin with a connected resistor for voltage scaling. The embedded code enables WiFi connectivity, OTA updates, and integration with Home Assistant for remote monitoring and control.
Below are the general technical specifications for a typical vibrator motor. Note that specific values may vary depending on the manufacturer and model.
Vibrator motors typically have two terminals: Positive (+) and Negative (-). These terminals are used to connect the motor to a power source or control circuit.
| Pin Name | Description | Notes |
|---|---|---|
| Positive (+) | Power input terminal | Connect to the positive voltage supply. |
| Negative (-) | Ground or return terminal | Connect to the ground of the circuit. |
Below is an example of how to control a vibrator motor using an Arduino UNO and an NPN transistor (e.g., 2N2222).
+5V (Arduino) ----->|-----> Motor (+)
Diode
Motor (-) -----------------> Transistor Collector
Transistor Emitter --------> GND
Arduino Pin (e.g., D9) ---> Resistor ---> Transistor Base
// Vibrator Motor Control with Arduino UNO
// Connect the motor to a transistor circuit as described above.
const int motorPin = 9; // Pin connected to the transistor base
void setup() {
pinMode(motorPin, OUTPUT); // Set motorPin as an output
}
void loop() {
digitalWrite(motorPin, HIGH); // Turn on the motor
delay(1000); // Keep the motor on for 1 second
digitalWrite(motorPin, LOW); // Turn off the motor
delay(1000); // Keep the motor off for 1 second
}
Motor Does Not Vibrate:
Motor Vibrates Weakly:
Motor Overheats:
Arduino Cannot Control the Motor:
Q: Can I connect the motor directly to an Arduino pin?
A: No, the motor's current draw is too high for an Arduino pin. Always use a transistor or MOSFET to control the motor.
Q: How do I adjust the vibration intensity?
A: You can adjust the vibration intensity by varying the input voltage or using PWM (Pulse Width Modulation) to control the motor's speed.
Q: Can I use the motor with a 9V battery?
A: Only if the motor is rated for 9V. Otherwise, use a voltage regulator or step-down circuit to reduce the voltage.
Q: What type of transistor should I use?
A: An NPN transistor like 2N2222 or a logic-level MOSFET is suitable for most applications.
By following this documentation, you can effectively integrate a vibrator motor into your projects and troubleshoot common issues.