l298 used for bipolar stepper control
April 17, 2009
For the project I'm working on I have designed a motor control board based on the l298 and an Attiny2313, which can be controlled using i2c.
It works pretty good but I'm having a strange issue running a 12 volts stepper:
When I'm making one single step at a time the torque of the motor is very low no matter how long I keep the coils energized. If I do multiple steps the torque is as it should be for this motor.
I think it might be related to some latency between setting the EN1 and EN2 pins high and the actual moment 12V are actually trough the driver. I got beeter results by adding a 20 ms delay after enabling the driver and before actually setting the outputs high to do the step.
Anyone had this problem before?
PS: I will post the schematic and the PCB layout tonight, I'm at work now.