Stepper Motor via 2 bits
Rob311
Posts: 83
Im trying to control a stepper motor with only 2 inputs.
Actually Im trying to control 3 steppers with only 2 inputs each.
Im using a bs2, and I had no problem getting it working with a Darlington array and 4 inputs.
Following this idea from BASIC Stamp 1 Application Notes I can’t really get anywhere…
http://www.eettaiwan.com/ARTICLES/2002MAR/PDF/2002MAR08_AMD_MPC_AN81.PDF
·
Any comments as to if it works or doesn’t work?
Btw Im not using the uln2003, but the uln2805a (I think its 2805, its defiantly 280xA) but from what Im told there isn’t really any difference, except for the extra transistor.
Actually Im trying to control 3 steppers with only 2 inputs each.
Im using a bs2, and I had no problem getting it working with a Darlington array and 4 inputs.
Following this idea from BASIC Stamp 1 Application Notes I can’t really get anywhere…
http://www.eettaiwan.com/ARTICLES/2002MAR/PDF/2002MAR08_AMD_MPC_AN81.PDF
·
Any comments as to if it works or doesn’t work?
Btw Im not using the uln2003, but the uln2805a (I think its 2805, its defiantly 280xA) but from what Im told there isn’t really any difference, except for the extra transistor.
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
Its a 5 wire motor, 4 phases and 1 12power (i dont know if i explained it right)
But it does sound posible
2 bits can output 4 settings
aa
ab
ba
bb
Im just trying to figure out if the way they explain it in the link will work.
I tryed it and it didnt... so i dont know if i did something wrong or what.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
6+6=10 (Long live the duodecimal system)
The method used in the attached link only requires 2 pins per mottor.
· In the link, they are using two channels of the UN2003 as inverters. If you look at the state diagram, coil 1 & 3 are mutually exclusive (when 1 is on, 3 is off; when 1 is off, 3 is on) same with coil 2 & 4.
· If you are using darlington array you will either have to wire two of the channels as inverters, or use two inverters.
· So output A (let's call it) will control coil 1, and output A through an inverter will control coil 3.
· Output B will control coil 2, and output B through an inverter will control coil 4.
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module"·available from Parallax for only $28.95 http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module"·available from Parallax for only·$49.95 http://www.parallax.com/detail.asp?product_id=30015
Product web site: www.sxvm.com
Available now! Cheap 4-digit LED display with driver IC·www.hc4led.com
"I reject your reality, and substitute my own." Mythbusters
·
the problem is that im not getting the correct output from them, ill have to check my circutry
anyone have another idea how to run a 4 phase stepper motor via 2 outputs on my bs2?
perhaps logic level "and" chips to drive my transistor?