How do I control a hobbyist DC motor with a TIP122 transistor?
I want to control it with the Arduino PWM pins, the power supply is 4 1.5V AA batteries connected in series giving 6v.
Also, what steps should I take to protect the arduino against and EMI from the motors?