Micro Step Stepper Motor Driver
Christof Eb.
Posts: 1,225
Hi,
others are playing with stepper motors too, so perhaps this is interesting.
The microsteps lead to smoother running of the motor.
(Well, sorry, I am not the very good assembler programmer, but at least now it seems to work....)
Stepper Motor Driver with 8 Microsteps per Step. = 32 microsteps per cycle.
The outputs are directly coupled with L298 inputs. The driver has two PWM-outputs, which
output sin- waves and two direction (of current) outputs.
The second half of the sin wave is mirrored!
There is a phase shift between the sin- waves of 8 microsteps = 90°.
The circuit, that I use, can be downloaded at www.pollin.de, search for "Schrittmotorplatine".
Comments are welcome.
Does anyone have a driver circuit for high voltages for high speeds?
Have fun,
Christof
others are playing with stepper motors too, so perhaps this is interesting.
The microsteps lead to smoother running of the motor.
(Well, sorry, I am not the very good assembler programmer, but at least now it seems to work....)
Stepper Motor Driver with 8 Microsteps per Step. = 32 microsteps per cycle.
The outputs are directly coupled with L298 inputs. The driver has two PWM-outputs, which
output sin- waves and two direction (of current) outputs.
The second half of the sin wave is mirrored!
There is a phase shift between the sin- waves of 8 microsteps = 90°.
The circuit, that I use, can be downloaded at www.pollin.de, search for "Schrittmotorplatine".
Comments are welcome.
Does anyone have a driver circuit for high voltages for high speeds?
Have fun,
Christof
Comments
I am very interested in the control of stepping motors
For what kind of stepping motors is this routine?
Regards
Please forgive a stupid question... Your code looks absolutely beautiful... what do I need to test it?
Looks like you have 4 output pins... does that mean that I can use this with Parallax's steppers?
For Safari users only, google http://www.pollin.de/shop/shop.php
then hit "translate this page"
Doppel means "double," which is evidence of modesty on the part of the author[noparse]:)[/noparse]
this routine is good for bipolar step motors with two coils inside. The direction of the current in the coils are changed and switched on off. The current is switched by the L298 chip.
Best regards Christof