01-10-2017 01:13 PM
I am learning how to control a stepper motor with labview and an arduino. I have the EasyDriver that the example VI is made for. I am not able to reverse the motor. The motor will only turn one way. I have programmed the motor with just the arduino and am able to reverse the motor easily. Anyone know how to fix this?
01-10-2017 01:24 PM
Did you try a duty cycle of less than 50%? That should reverse the stepper. Also, did you try to have the number of steps as negative? That should help you reverse the stepper.
01-11-2017 07:39 AM - edited 01-11-2017 07:41 AM
I figured it out. Somehow the pin definintions inside the VI got flipped. I must have absent mindedly switched them and saved the VI. It is all working correctly now.
Before if I put in a negative number for the steps it would turn the same direction as a positive number. I understood that a negative number means reverse and a positive number means forward.