C programming a stepper motor
Rbolick
Posts: 1
I am trying to teach students as how to connect a unipolar stepper motor (Mouser Part # 619-27964) to the Parallax Propeller Activity board using a ULN2003 darlington chip. Once connected in the breadboard I need help in programming it to step at various torques. The information on the torques are on the steppers data sheet, but I am not a very good C programmer.
Can someone help with a very simple C program( which libraries are needed and where to obtain them, and where to put then on my computer) that is documented so I can follow and make alterations in torques?
Thanks
Can someone help with a very simple C program( which libraries are needed and where to obtain them, and where to put then on my computer) that is documented so I can follow and make alterations in torques?
Thanks
Comments
Edit: I am not sure if the attached project will help you out or not. It is in VC# and when I tried to build I got some usb errors. The file says it was created August of this year but I know that is wrong since it has been at least a couple years since I worked on it. I will try to find my notes on what I was doing and trying to accomplish so I can help you out more.
Just for fun, I translated Parallax's example BS2 Stepper code (@: http://www.parallax.com/downloads/stepper-motor-basic-stamp-example-code) to C. It uses just the simple tools library in SimpleIDE. Not sure if this actually works, as I don't have the ULN chip but it's an example of BASIC to C translation for a stepper motor...
dgately