Simple Stepper Motor controller?
eagletalontim
Posts: 1,399
I have a stepper motor from an Oki printer that is rated at 7.2V and 12.9 ohms. I am wanting to simply spin the motor with an SX28. There are 4 leads on it so I have plenty of pins on the SX to do other things with it as well. No telling where it will go, but I need help with the circuitry and possibly some simple code to run the stepper. I am bad with interrupts so any advice is helpful!
Comments
Have you identified the leads yet? You have two coils forming coils 1 and 2, and using a DMM you can find which leads go to coils 1 and 2. I think you can just call one coil's leads a and b, but figuring out coil 2's a and b is something I am not sure of.
With a stepper or servo, YOU tell it where to go!
If you need to reverse polarity, you'll likely need H-bridges.
BTW this thread has a video of a stepper being driven by the Pololu driver I mentioned:
http://forums.parallax.com/showthread.php?136319-GM8-Motor-Output-Shaft-Coupling-(Video)&p=1061845#post1061845
I am really pleased with that driver.