This was my GoTo reference for steppers:
https://groups.yahoo.com/neo/groups/DIY-CNC/info
Robert
This was my GoTo reference for steppers:
https://groups.yahoo.com/neo/groups/DIY-CNC/info
Robert
Yes, motor is rated 12VDC, 0.17A each coil current.
I also tried 28BYJ-48, cheaper and weaker 5VDC stepper from ebay. Surprisingly, they perform equally bad!
I've double checked circuit - everything is ok. Any more ideas?
Forgot to mention, even at rated voltage, motor gets noticeably warm, even when rotating without load.
Again, a motor driven with such a rudimentary drive method will have terrible performance!
As a test, take your 5V motor, use it with the ULN28xx system but use 24V as the supply voltage. I Googled the model number and found a figure of 60ohm phase resistance which would equal a current of 83mA. With a 24V supply you need to insert a 200ohm >2W resistor in each of the four wires going to the ULN chip.
If you don't have any power resistors at hand just take a bunch of ordinary 1/4W and parallel (or series) them up. 10 2k 1/4W resistors in parallell will be 200ohm 2.5W for example.
For reference, my bipolar NEMA34 motors are rated at something like 2.7V, 4.5A. I'm running those with bipolar drives from a 65V supply. Had I used a 2.7V supply their torque would fall off so fast they'd be unusable.
The motor will get warm, with or without a load - that's just how they work. A DC motor for example, running unloaded, will only PULL as much current as is needed to overcome the friction losses of the bearings and brushes etc. With a step motor you are PUSHING the motors rated current into the winding(s) (or at least you're trying to) no matter what the actual load on the motor is.
Look at Roberts link or Google Jones on stepping motor (or something like that).
/Henrik.
Although the idea of current limiting with a chopper is more appropriate in a bipolar motor, the PIC16HV616 has a comparator that can be used to measure the current of the coils through a small value resistor.
Also chips like L297/298 are designed to do just that.
Ioannis
Applied 24V
It get a bit powerful, but still something is not OK. Motor is said to have 200 steps per rotation, but I can see with naked eye how it moves with larger steps.
I have L298 too, is this schematic correct?
http://forums.parallax.com/attachmen...4&d=1405729108
I mean, will it work with above code?
No it won't. That is for two simple motors.
Search for the L297/L298 pair and see how it is done.
https://www.google.co.uk/search?q=l2...R2Pir3Oo2DU%3D
Ioannis
You won't need L297 since you already controlling it with PIC. L298 is enough. Check this link: http://www.hoelscher-hi.de/hendrik/l...pper/bistp.gif
But remember , control commands probably will change from your first one. Recheck it.
Bookmarks