View Full Version : Run a DC motor using I/O pins

04-14-2010, 08:40 PM
I am trying to design a vibratory system and i have connected an irregularˇmass to the rotor of an
8000rpm miniature DC motor, when i apply power the motor gives an awesome vibration.

The problem I have is that I found out there is no way i'm gonna simply run the motor by settingˇoneˇof
the BS2 pinsˇHIGH as there is only PLUS and MINUS in the motor, no way to feed in the signal!

I have a feeling that a transistor canˇbe ofˇgreat assistance but i dont know how to make exact connections
for the vibratory system. Can some1 give me a schematic of how to attain this. Relay switch can help but all
Iˇhave in possession is an NPN transistor and a PNP transistor.

Mike Green
04-14-2010, 08:53 PM
Read Nuts and Volts Column #6 (in Volume #1) for a discussion of options. The last page of the article has a schematic.

www.parallax.com/tabid/272/Default.aspx (http://www.parallax.com/tabid/272/Default.aspx)

04-15-2010, 10:28 PM
Simplest on/off control is to use the Stamp to activate a 5V, 20 mA reed relay that switches your external circuit. Radio Shack has such a relay.

ˇ"If you build it, they will come."

04-16-2010, 06:40 AM
Or see the StampˇFAQ page showing aˇgeneral purpose (non reed)ˇrelay schematic prominently at the top:


ˇ"If you build it, they will come."