Quantcast
Channel: Reprap Forum - Stepper Motors, Servo Motors, DC Motors
Viewing all articles
Browse latest Browse all 549

C Driver not fully working (1 reply)

$
0
0
Hi, I wrote a driver in C for a stepper motor and it's working beautifully with one stepper motor but horribly with another one (same manufacturer, similar characteristics). I've adjusted interval between phase changes with no greater effects. The motor sometimes moves correctly, sometimes jumps around, changes direction and sometimes just vibrates in place. I've checked wiring and they are both exactly the same. I have both pairs of coils (orange-blue & red-yellow, not using white/black) set to the same conector pins. Worst case scenario is one pair is inverted (orange-blue vs blue-orange), which as far as I know would only invert rotation. I've actually tested all 8 combinations (AB CD, BA CD ... CD AB) and none of them work.

The one that works is a "Sanyo Denki 103H7123-0710"
The one that doesn't is a "Sanyo Denki 103-547-52500"

Can I check anything else? I know the motor is working fine since it's working with a previous hardware (for which I don't have the firmware source)

Thank you for your help!

Viewing all articles
Browse latest Browse all 549

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>