Shop OBEX P1 Docs P2 Docs Learn Events
$10 Stepper Motor Controller — Parallax Forums

$10 Stepper Motor Controller

willy1067willy1067 Posts: 107
edited 2010-03-16 03:34 in Robotics
Fisrt, it is not $10.00 if you dont have a BS2 Board...·· lol··· also·some wire and a·old floppy audio cable.

But, if you go to Radio Shack, you can get:
(4) IRF510 Mosfets
(1) pack of diodes

One circuit shows you how it's working with LED's·· the other is to connect directly to a Stepper Motor

Also included a Very.... Very Low tech drivers for it. (if any of you programmer develop a better way to control the stepper motor, please post it)

The PAUSE COMMAND is what controls the speed, change to less to go faster, more to go slower.

Post Edited (willy1067) : 12/21/2007 10:50:00 PM GMT
2451 x 1888 - 600K
2377 x 1783 - 742K
1363 x 2022 - 167K

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2007-03-28 21:05
    I like that you did a preliminary "dry run" with LEDs.

    I see the tabs of your FETs are "perilously" close to each other (as a note to the unwary, each tab is each FET's Drain electrode.)
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-03-28 21:22
    Curious…Your code shows LOOP at the beginning of the code (sort of) and DO at the end…The two are reversed so I am surprised your code does not generate a LOOP without DO error.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-03-28 22:39
    I would recommend attaching the actual code file to the original message to avoid confusion. Take care.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • DaveyJonzeDaveyJonze Posts: 5
    edited 2008-09-30 20:44
    This circuit is fantastically simple!· I have some questions about possible mods:

    Could this be ran·using a battery instead of a power supply to make it mobile?

    and could this setup be repeated 4 times on the same homework by using all 16 I/O pins and 16 FETs to run 4 steppers at different rates?
    ·
  • willy1067willy1067 Posts: 107
    edited 2008-10-11 18:11
    You can use a Motorcycle battery with one of those cell phone charger to supply the BS board.

    for controlling more motors, try my other project;



    ·http://forums.parallax.com/showthread.php?p=641605

    Post Edited (willy1067) : 10/11/2008 6:21:34 PM GMT
  • willy1067willy1067 Posts: 107
    edited 2009-04-10 04:20
    Keep using this circuit, it's great, easy and simple.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Fernando Gomez


    ·http://pinellas-sign-manufacturer.com

    Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.
  • SRLMSRLM Posts: 5,045
    edited 2009-04-10 05:20
    @willy

    You should consider submitting this to Gadget Gangster (http://gadgetgangster.com/) If you sign up on the site Nick will send you a free pack of boards. Something like the half board would be perfect.
  • willy1067willy1067 Posts: 107
    edited 2009-04-12 03:02
    SRLM;

    That sounds as a good idea, maybe after I finish few other projects I am working on.

    Thanks

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Fernando Gomez


    ·http://pinellas-sign-manufacturer.com

    Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.
  • CounterRotatingPropsCounterRotatingProps Posts: 1,132
    edited 2009-05-27 23:04
    Willy, I second SRLM's suggestion --- I would definately buy the kit ... even though this is pretty simple, the time saved is worth it in this price range.

    thanks for doing this and posting here... you just solved a problem for me.

    - Howard in Florida
    ~~~~~~~~~~~~

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    No matter how much you push the envelope, it'll still be stationery.
  • HumanoidoHumanoido Posts: 5,770
    edited 2009-05-28 02:42
    Willy
    Excellent stepper motor project and glad to see you're still here to answer questions since 2007. This would be a good project for adding additional stepper-motor-driven axes to pick and place industrial robots or basic hobby robot arms.
    humanoido
  • hinvhinv Posts: 1,255
    edited 2009-06-25 04:04
    Anybody know what it would take to run this on a propeller?
    I am guessing lower value resisters since the prop is running at 3.3V instead of 5V, but I don't know how to calculate that since I am not that familiar with FETs.

    Thanks,
    Doug
  • logan996logan996 Posts: 281
    edited 2010-03-03 21:45
    wow! this is pritty cool! is there any way you could do this with a BS1? and then use a BS1 to control 2 accurately? this would be a perfect kit to make!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    "When the government is afraid of the people there is liberty, when the people are afraid of the government, there is tryanny"


    ·Thomas Jefferson
  • VaatiVaati Posts: 712
    edited 2010-03-15 21:58
    This is very nice... Even though this thread is about 2 years old, I'm glad I found it--it's a nice starting point for a CNC milling machine circuit. smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!

    (no longer new) SD Card Adapter·Now available!· Add extra memory to your next Propeller project with ease!
  • P!-RoP!-Ro Posts: 1,189
    edited 2010-03-16 03:34
    You still have that stuck in your head, huh? Well best of luck to you, and if you succeed I just may try it myself! You never know, after that maybe even you will wish to place a gas engine on a robot?

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    PG
Sign In or Register to comment.