As the question says: I'm building a circuit to run a DC motor whenever motion is detected by a motion sensor. Now as this image suggests:
I need a diode + resistor + transistor to get this thing to turn with an Arduino but I can do the same with a battery and connecting each of the terminals to the + and - of the battery. I understand this might be for speed control? Or turning the motor different ways?
But if I just need it to spin at 100%, would all this be needed?
I tried hooking up the motor directly with a resistor to the 5 V + GND of the board while it was on but no joy. I am (obviously) doing something wrong but wanted to use this problem as a way to learn circuits better.