Connecting dc motor to Basic Stamp
Joch119
Posts: 7
I was using the Board of Education with the Basic Stamp and was trying to have a small dc servo motor that runs on 5-6V operate using the I/O pins. This servo only has two wires (power, ground). I plugged the ground into the Vss on the board and the power into P0 in the I/O pins. I then ran a basic program in the Stamp Editor that has (HIGH 0) and the motor doesn't turn on. If I connect one end into Vdd and the other into Vss in the board, the motor works. I even checked the voltages in Vdd vs. I/O Pin 0 and they were the same at 4.9V. How can I get this motor to work using the I/O pins?
Thanks for the help
Thanks for the help
Comments
A good junction transistor for loads up to 200 mA or so would be the 2N3604. Connect it as shown with a resistor in the base lead and a diode across the motor as shown.