Component guide · Beginner · 3 min read
Coin Vibration Motor 3V

Wiring, Driver Circuit and Haptic Code
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
A coin vibration motor is a flat 8 to 12 mm eccentric rotating mass (ERM) motor used for haptic feedback in phones, wearables and alerts. It runs on 2.5 to 3.5 V and draws about 60 to 90 mA, more than a GPIO should supply, so use a small transistor with a flyback diode. PWM sets the strength.
Key specs at a glance
- Size
- About 10 x 2.7 mm
- Voltage
- 2.5 to 3.5 V (3 V rated)
- Current
- About 60 to 90 mA
- Speed
- About 12,000 RPM
- Mount
- Adhesive back
- Leads
- Thin wires, red +, blue/black -
What the Coin vibration motor is
A coin vibration motor is a tiny flat motor with an off-centre weight inside. When it spins it shakes, which is how phones and smartwatches buzz.
The leads are fragile; tape or glue them near the motor. The motor needs a moment to spin up, so very short pulses feel weak.
For richer haptics, use a DRV2605L haptic driver which has built-in effects.
Coin vibration motor pinout
The pins on the Coin vibration motor and what each one does.
| Pin | Function |
|---|---|
| Red | + |
| Blue / black | - |
- Red
- +
- Blue / black
- -
Wiring the Coin vibration motor
Put a 1N4007 or 1N4148 across the motor and a 0.1 uF capacitor in parallel.
| Coin vibration motor pin | Arduino Uno | ESP32 |
|---|---|---|
| Red | 3.3 V or 3 V supply | 3V3 |
| Blue | NPN collector (2N2222), emitter to GND | Same |
| Base | D9 via 1k resistor | GPIO 25 via 1k |
- Red
- Arduino Uno:
- 3.3 V or 3 V supply
- ESP32:
- 3V3
- Blue
- Arduino Uno:
- NPN collector (2N2222), emitter to GND
- ESP32:
- Same
- Base
- Arduino Uno:
- D9 via 1k resistor
- ESP32:
- GPIO 25 via 1k
Example code
A minimal sketch to check the part works.
const int M = 9;
void buzz(int strength, int ms) { analogWrite(M, strength); delay(ms); analogWrite(M, 0); }
void setup() {}
void loop() {
buzz(255, 150); delay(100); buzz(255, 150); // double tap
delay(1500);
buzz(150, 600); // long soft
delay(1500);
}Setup and tuning
switch it with a small NPN transistor or MOSFET and a flyback diode; a GPIO pin should not supply 60 to 90 mA.
keep it at about 3 V; 5 V works but shortens its life.
use PWM on the transistor to set how strong the buzz feels.
give at least 50 to 100 ms per buzz; shorter pulses feel weak because the motor needs time to spin up.
stick it firmly to the case and tape the thin leads down near the motor.
What you need
Shop this list2 of 4 found in our store · ₹415
Coin Vibration Motor 3V: the part this guide coversCoin Vibration Motor 3V₹26- Uno R3 development board: the controller used in the wiring tableFind this part
ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389- 1N4007 diode: flyback protection across the motorFind this part
Alternatives and when to choose them
- Vibration and tilt sensors: sensing vibration instead.
- DC motors.
Common mistakes to avoid
- Driving it straight from a GPIO pin.
- Running it at 5 V all the time.
- Breaking the thin leads by not securing them.
- Using very short pulses that the user cannot feel.
Frequently asked questions
Can a coin vibration motor run at 5 V?
It will spin, but its life is shorter. Run it at about 3 V, or use PWM to lower the average voltage.
How do I control the vibration strength?
Use PWM on the transistor that switches it. A lower duty cycle gives a softer buzz.
How much current does it draw?
About 60 to 90 mA, which is why it needs a transistor instead of a direct GPIO connection.
Can it make different haptic effects?
For click, tap and ramp effects use a DRV2605L haptic driver, which has a library of built-in patterns.
Does polarity matter?
No. It vibrates in either direction, but keep red to + for consistency.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


