Stepping motor
Jan Dvorak
Posts: 44
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
Thank you
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
NerdMaster
For
Life
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
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
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.
http://cgi.ebay.com/ULN2003-ULN2003AD-IC-DARL-TRANS-ARRAY-16-SOIC_W0QQitemZ190086054146QQcategoryZ36332QQrdZ1QQssPageNameZWD1VQQcmdZViewItem
http://cgi.ebay.com/ULN2003-ULN2003AD-IC-DARL-TRANS-ARRAY-16-SOIC_W0QQitemZ190086054146QQcategoryZ36332QQrdZ1QQssPageNameZWD1VQQcmdZViewItem
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
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
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
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.