I'm looking for the absolute simplest, cheapest (and safest) way to turn a standard DC motor on an off with the 5V signal from an arduino. No speed control, no bidirectional control, just on and off without anything catching on fire.
I'v read that a circuit like this might work. -5V to motor with reverse-bias diode across terminals -motor to MOSFET drain -MOSFET source to ground -MOFET gait to microcontroler 5V signal with inline resistor R1 (10K) -R2 (220K) from MOSFET gait to ground -maybe some sort of capacitor across motor terminals as well
I also have a bunch of transistors if those help (2n3904, 2n3906, 2n2222, 2n4401)
Also, what would I need to change if I eventually want to move to a 12V motor? How to I calculate resistor values?
Thanks for any help on this!