Shop OBEX P1 Docs P2 Docs Learn Events
I need to run a 12volt motor controlled by the bard of education. — Parallax Forums

I need to run a 12volt motor controlled by the bard of education.

brupbrup Posts: 14
edited 2008-04-09 14:18 in BASIC Stamp
I need to run a 12volt motor controlled by the bard of education. I have the relay and motor. The board will not activate the relay even though its a 5v relay. Any fixes will help.

[noparse][[/noparse]Subject Added By Moderator]

Post Edited By Moderator (Chris Savage (Parallax)) : 4/3/2008 2:14:55 PM GMT

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2008-04-03 13:48
    Download the "Industrial Control" tutorial from Parallax. Go to their main webpage, choose the Resources tab, select Downloads, then select Stamps in Class Downloads. You'll see the tutorial on the list. Around page 90 there's a discussion with diagrams on using relays (and solenoids and motors) with Stamps.

    You're probably trying to drive a relay that requires too much current from the Stamp to turn on. The tutorial will help you.
  • JonathanJonathan Posts: 1,023
    edited 2008-04-03 13:49
    Brup,

    The Basic Stamp cannot run a motor directly from the pins. You need to use a transistor or other switching device. I believe that the "What's a microcontroller" text has details. The Stamp pin has the 5V, but not enough current to activate the relay. You will also need a disode to protect the Stamp from transient voltages created when the relay de-activates. You can and will ruin the Stamp pin, or possible even the Stamp itself if you try to drive a relay directly from the Stamp.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-04-03 14:18
    Your duplicate post was also removed.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • brupbrup Posts: 14
    edited 2008-04-09 14:18
    thanks info helped up and running
Sign In or Register to comment.