I am currently building my first real microcontroller project. I am trying to drive a stepper motor! ![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
I am using ATMEL at89c2051 to try to drive an h546 stepper motor (datasheet active-robots.com/products/motorsandwheels/stepper-motors/datasheets/103h546-0440.pdf )
I am using an l293d with inputs connected from pins p2 and p5 of the microcontroller. Now I have a couple of questions. Since I am using a unipolar stepper motor is there any other motor driver other than the l293d (which is an h-bridge and usually used for bipolar) which is more siutable for me? On the net everyone suggests using ULN2003 or so but my motor is rated 1A so i think I can't use this chip, can I?
One problem I am encountering is that for some reason whilst the motor is turning, some pins on the microcontroller turn high - even when these are unconnected! I am suspecting that the problem might be because I am not using any protection diodes at all (and the back emf some how freaks the microcontroller -excuse my terminology
. Could this be the problem? If so where should I connect these diodes and what ratings should these have? - Aren't these diodes included in the l293d itself? Or could this problem solely be because the microcontroller is faulty?
Finally please keep in mind that I am a total beginner and newbie in the area so please excuse my ignorance :S
thanks in advance
darren
I am using ATMEL at89c2051 to try to drive an h546 stepper motor (datasheet active-robots.com/products/motorsandwheels/stepper-motors/datasheets/103h546-0440.pdf )
I am using an l293d with inputs connected from pins p2 and p5 of the microcontroller. Now I have a couple of questions. Since I am using a unipolar stepper motor is there any other motor driver other than the l293d (which is an h-bridge and usually used for bipolar) which is more siutable for me? On the net everyone suggests using ULN2003 or so but my motor is rated 1A so i think I can't use this chip, can I?
One problem I am encountering is that for some reason whilst the motor is turning, some pins on the microcontroller turn high - even when these are unconnected! I am suspecting that the problem might be because I am not using any protection diodes at all (and the back emf some how freaks the microcontroller -excuse my terminology
Finally please keep in mind that I am a total beginner and newbie in the area so please excuse my ignorance :S
thanks in advance
darren