Shop OBEX P1 Docs P2 Docs Learn Events
Basic Motor control — Parallax Forums

Basic Motor control

ArchiverArchiver Posts: 46,084
edited 2001-04-01 23:11 in General Discussion
Hello,

I have a very basic question. I am looking to run a Radio Shack 12V
DC motor from my stamp. I only need it to actually have 3-5V
supplied to it. Can I wire the motor directly to the Stamp I/O pin
without a problem? I just need the motor to turn continuously for a
long period of time while the Stamp does other activities. I am
looking for the simplest (and cheapest) method possible, but I don't
want to risk damaging my stamp. Any suggestions would be
appreciated.

P.S. - What is the simplest method if I want to supply 3 volts to the
motor instead. I am not looking to dynamically change the voltage
supplied to the motor. After I determine the correct voltage (trial
and error), it does not need to change.

I have the Basic Stamp IISX. THANK YOU!

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-04-01 21:47
    >I have a very basic question. I am looking to run a Radio Shack 12V
    >DC motor from my stamp. I only need it to actually have 3-5V
    >supplied to it. Can I wire the motor directly to the Stamp I/O pin
    >without a problem?

    No. You will need a transistor or a relay to drive it as the Stamp
    cannot supply the required motor current. To reduce the motor
    voltage, you can increase the size of the base resistor of the transistor
    so that it doesn't turn on quite so hard. Also, be sure to use a snubber
    diode across the motor. There are many references to motor control
    methods out there - check the Parallax website for links or manuals
    with details.

    Carl
  • ArchiverArchiver Posts: 46,084
    edited 2001-04-01 23:11
    No. The stamp pins are designed for signal level output. To drive anything
    more than an LED, you need a relay or transistor to control the device.

    Original Message

    > I have a very basic question. I am looking to run a Radio Shack 12V
    > DC motor from my stamp. I only need it to actually have 3-5V
    > supplied to it. Can I wire the motor directly to the Stamp I/O pin
    > without a problem? I just need the motor to turn continuously for a
    > long period of time while the Stamp does other activities. I am
    > looking for the simplest (and cheapest) method possible, but I don't
    > want to risk damaging my stamp. Any suggestions would be
    > appreciated.
Sign In or Register to comment.