Shop OBEX P1 Docs P2 Docs Learn Events
Stepping motor — Parallax Forums

Stepping motor

Jan DvorakJan Dvorak Posts: 44
edited 2007-03-28 21:44 in BASIC Stamp
Have you anybody tried to control 2-Phase Unipolar stepping motor with Basis Stamp 2p24? Have you got any sample circuit diagram and program?
Thank you

Comments

  • BipedguyBipedguy Posts: 40
    edited 2007-03-18 00:06
    Im working on that that same thing. Tell me if you have any updates!
  • crgwbrcrgwbr Posts: 614
    edited 2007-03-18 00:32
    Try the EDE1204 (It's made for bipoler motors, just ignore the common conection on the unipoler motors).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    NerdMaster
    For
    Life
  • T ChapT Chap Posts: 4,223
    edited 2007-03-18 01:01
    www.allelectronics.com/cgi-bin/item/EDE-1200/search/STEPPER_MOTOR_CONTROLLER_CHIP_.html

    There is a 1200 for uni, 1204 for bi polar. Your choice of driving a motor depends on the size of the motor, current limiting is needed to get any real power, but for smaller applcations you could drive a uni straigh off the Stamp using a ULN2803 transistor array. The circuits are quite simple for a unipolar, if not on the Parallax site there are tons on google, basically the same thing everywhere you look. I have used the 1204 a long time ago, they are good for low power applications. To write your own code you need to get the step sequence table, which are everywhere.

    The typical first read on steppers is to google Jones on steppers, but the datasheets I posted above have schematics for the uni driver. Search all electronics site for the 1204 if bipolar is of interest.

    Code for the ede1200 is two pins required, Step and Direction, oversimplified but, just loop some code that toggles the Step pin high and low, choose a direction on DIR. With a stepper, you cannot start it up with a full speed command, it needs to be "ramped" to full speed. The Step speed can be accomplished by inserting pauses between each cycle of high and low.

    This guy has some excellent tutorials and DIY driver boards for any type stepper, a must read site for newbies to steppers

    pminmo.com

    Post Edited (originator) : 3/18/2007 1:10:15 AM GMT
  • Jan DvorakJan Dvorak Posts: 44
    edited 2007-03-18 09:29
    and is it possible to control motor without special chip? My motor is 2,75V/2,2A
  • T ChapT Chap Posts: 4,223
    edited 2007-03-18 10:42
    Jan

    There ares ome Stamp code examples for a uni motor at this link. Maybr that will get you started. The circuit for a uni is very simple, and there should be some schematics in some of the documentation on the page.

    www.parallax.com/detail.asp?product_id=27964

    circuit below using one external low cost Darlington transirtor. These transistor could easily be substituted with 4 NPN mosfets.

    www.parallax.com/dl/docs/prod/motors/Stepper_Motor_27964.pdf

    Post Edited (originator) : 3/18/2007 10:46:44 AM GMT
  • willy1067willy1067 Posts: 107
    edited 2007-03-21 04:55
    Where can I buy the ULN2003's???
  • T ChapT Chap Posts: 4,223
    edited 2007-03-21 05:33
    www.allelectronics.com/cgi-bin/item/ULN2003/search/DARLINGTON_ARRAY_.html

    All has them in stock, they might be obsolete now, there is an 8 input version called ULN2803, I think digikey will surely have them.
  • willy1067willy1067 Posts: 107
    edited 2007-03-27 04:50
    Jan D,

    I made something very simple, it cost about $10 in Radio Shack

    see the diagram, program and picture here:

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

    soon I will make a board for it.

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

    revinc.us
    gomez-rivera.com

    Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.

    Post Edited (willy1067) : 3/29/2007 4:25:59 AM GMT
  • Jan DvorakJan Dvorak Posts: 44
    edited 2007-03-27 10:06
    it look very good, is it for 2-Phase Unipolar stepping motor? how should I wire it into my motor? what wires are the centre of phases?
  • willy1067willy1067 Posts: 107
    edited 2007-03-28 18:15
    Jan, Go back to my link, I posted a new picture for you today.

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

    revinc.us
    gomez-rivera.com

    Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.

    Post Edited (willy1067) : 3/28/2007 9:47:17 PM GMT
  • Jan DvorakJan Dvorak Posts: 44
    edited 2007-03-28 19:07
    It is good, but I found this: http://apogeekits.com/PDF_Files/Manual_K8005.pdf (page 15). Could I use the same wiring, but to use Basic Stamp?
  • willy1067willy1067 Posts: 107
    edited 2007-03-28 21:44
    I bought that at the start of my project, some how it did not work. (the motor was bad or a component)

    did you put it together already? Did it work? let me know also how you wire it to the stamp.

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

    revinc.us
    gomez-rivera.com

    Never compare yourself with anyone else, there will always be someone bigger·or·smaller·than you.
Sign In or Register to comment.