Can the Blinking LED code, pulse step/dir stepper motor drivers?
Bill C Cooley
Posts: 18
Hello Everyone,
As I'm just beginning, I was doing the Blinking LED example, when it dawned on me that I am producing a square wave of sorts. Is this pulse or square wave able to run the stepper motor drivers looking for step and direction pulses? To be exact the 'Little Step-U' when in slave mode.
While my project does include some serial delivered locations, I also require a Jog mode.
My level is Beginner. I will include my crude code, and a schematic. (No I'm not, couldn't figure it out)
My project is a colored film between to rollers that scroll back and forth to position a color in front of a light. There is a metallic sticker on the film to locate home and 6 colored frames. The Jog function is to load the film.
As I'm just beginning, I was doing the Blinking LED example, when it dawned on me that I am producing a square wave of sorts. Is this pulse or square wave able to run the stepper motor drivers looking for step and direction pulses? To be exact the 'Little Step-U' when in slave mode.
While my project does include some serial delivered locations, I also require a Jog mode.
My level is Beginner. I will include my crude code, and a schematic. (No I'm not, couldn't figure it out)
My project is a colored film between to rollers that scroll back and forth to position a color in front of a light. There is a metallic sticker on the film to locate home and 6 colored frames. The Jog function is to load the film.
Comments
Like all Parallax products, it comes with good code examples...
http://www.parallax.com/product/27938
I have one with and one without the enable pin Little Step does not. But most tutorials say they don't use it. What does the enable input do?
Bill
If not Enabled, the device won't listen to instructions. If Enabled, it is active and ready to listen. You can just set it up to always be enabled... unless you have a good reason to disable (like saving battery power).
Since you are just starting out, you might get better help in the LEARN forum.