ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Operating a stepper motor powered rotational stage using Arduino and LabVIEW

I am trying to control a stepper motor using a LabVIEW VI(see below), an Arduino Uno, and an Adafruit Motor shield. This is the motor I am currently using https://ozrobotics.com/shop/nema-17-stepper-motor-bipolar-l33mm-with-gear-ratio-271-planetary-gearbo... which has a step angle of 0.067 degrees. I am trying to create a while loop that moves the motor a total of 6 degrees over 32 iterations, so each angle step is 6/32 or 0.1875 degrees. While the motor does move, when we use larger angular increments, the angle to which it rotates is noticeably incorrect. As for the 0.1875-degree increment that we need, the motor does not move at all. The planetary gear degree and the rotational stage gear ratio were taken into consideration so I am not sure what else to do to fix this. Any help or suggestions would be appreciated. Thank you. 

0 Kudos
Message 1 of 1
(1,027 Views)