I want to have a vibrating motor connected to an Arduino Uno, can I use an Xbox vibration motor like this with the same code as a DC Motor? I am a complete noob and am trying to make a prototype.
u should use different code and different circuit.
using the image u can arrange the circuit.
Although an eccentric rotating mass vibration device can be driven by a single simple transistor, it can be better to use a full H-bridge, to allow shunt braking and reversing to be used.
That should work fine - just switch the digital output high to turn it on .
Not clear where the power for the motor is derived the Arduino may or may it be able to power it .
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.