Vibration motor with Arduino Nano not working

I am having trouble making a simple vibration motor work with my Nano

This is my circuit and I am using a 1N4004 diode.
I think the circuit is the problem as the code is very simple and when I tried the same code with an Arduino UNO the motor worked just fine.

Never power a motor with your Arduino’s 5v pin.

That's a Fritzing, a coloured bird nest picture, a toy picture. Please use
real, properly drawn schematics. Schematics show what transistor You use and how it's connected.

Which one? Link to datasheet please.

Here is the actual schematics, not sure if it is properly drawn but I hope it is more clear


Also for the motor I bought at an electronics store so I don't have the data sheet, but here is the link for the store I bought it from

  • The Arduino 5V pin is not for use with motors.

  • Measure the motor's resistance with a DMM, what do you get ?

  • What is Vce when you try to turn on the motor ?

  • Try a 220 ohm resistor.

Thanks, well done.
The vibro motor supply should connect its negative to GND and positive, via a resistor, as @ LarryD says, to the positive of the power supply.

4 kOhm is maybe a bit too much. Try some 270 Ohm. That brings more power to the motor.

Please use autoformat, Ctrl + T in the IDE. Then copy, click the code tag symbol, </> and paste into the reply.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.