View Full Version : stepper motor using serial to parallel convertor and objsect.

01-28-2008, 01:02 AM
Has any one seen or heard of a object that will control a stepper motor using a serial to parallel ic? I wish to connect several stepper motors to my propeller and yet run them independently, so i am guessing that i would be able to run at least 5 or 6 per propeller.

Currently i am running a stepper motor using the object listed in the "stepping out" by nuts and volts. It works great i just want to free up some i/i pins and run a total of 18 stepper motors - independently.

01-28-2008, 01:24 AM
Running a quick google search, I came up with this.

I may be using this in a similiar app. since it requires such few pins.

01-28-2008, 01:29 AM
If the object isn't made, I'm sure it would be easy to make. It would just require a function that takes an input of which stepper, and the phase to step to, then outputs that to the right chip, and voila. See, like I said easy LOL

Actually, my stepper's should be comming in any day now, and some Serial-Parallel IC's are on their way so I'll get started on the object. Collaboration is welcome.

Paul Baker
01-28-2008, 07:14 AM
Hi grasshopper, we ask our users not to use graphics in thier sig, it causes eye-clutter and thrashes our server's bandwidth.


Paul Baker (mailto:pbaker@parallax.com)
Propeller Applications Engineer
[/url][url=http://www.parallax.com] (http://www.parallax.com)
Parallax, Inc. (http://www.parallax.com)

01-28-2008, 08:02 AM
Great! Grasshopper, I'm in college and have some tests this week, so I should be free to openly work on this after Wednesday this week. Message me on MSN Messenger anytime. Philldapill85@hotmail.com

01-28-2008, 11:44 AM
Paul Baker (Parallax) said...
Hi grasshopper, we ask our users not to use graphics in thier sig, it causes eye-clutter and thrashes our server's bandwidth.


Yes I have since removed it. Sorry for the trouble, i wanted to experiment and did not like it either.

Back to the topic. If i can make it to my office tomorrow i will spend more time trying to address the coding. To me that seems to be the most difficult task.

Post Edited (grasshopper) : 1/28/2008 4:49:11 AM GMT

01-29-2008, 03:38 AM

I ordered a 74LS164 serial to parallel IC's and a few more L293 driver IC's. They will be here on Thursday or Friday. My problem today has been trying to figure out how to get the current stepper object converted over to a serial object using only 2 I/O pins.

1 pin for Clock and the other to send out data in a serial fashion. Ill post a schematic some time soon.

01-29-2008, 03:57 AM
It might be much easier to use an I2C port expander as the PCF8574.
See example in my I2C thread http://forums.parallax.com/showthread.php?p=703283

Post Edited (deSilva) : 1/28/2008 9:02:40 PM GMT

01-29-2008, 04:52 AM
Here is my current schematic and idea


Pins 3,4,5,6,10 will be the parallel data out to the L293's I am hoping that with this configuration I can run 3 stepper motors using only 5 I/O pins on the propeller. Of course I will be wanting to go as high as say 15 stepper motors maybe using only 2 propeller IC's

I will take a look at your example. Thanks