From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-23-2014 06:10 PM
I am trying to run a stepper motor using LIFA's "Arduino Stepper Motor.vi" but can't get the VI to control my motor.
Specifications:
Stepper Motor: NEMA-17 size - 200 steps/rev, 12V 350mA, https://www.adafruit.com/product/324
Arduino Board: Arduino Uno, http://arduino.cc/en/Main/arduinoBoardUno
Motor Driver: EasyDriver Stepper Motor Driver, https://www.sparkfun.com/products/10267
Power Supply: 9.6V, 300mA wall wart
I have tested my stepper motor using the example Arduino code, but I want to control the motor with LabVIEW. I have flashed the LIFA_Base firmware on the Arduino and then tried to run the "Arduino Stepper Motor.vi"...but nothing happens. I am attaching a screen shot of the VI (slightly modified to show that I am using COM5 for my case) and a picture of my electrical setup.
Please help me identify my problem. Thanks!
Note: I apologize for the poor picture quality (but it's been labeled for clarity)
06-27-2014 07:06 PM
Try swapping the step and dir leads at either the Arduino board or at the easy stepper board. The default settings in the VI show 2 at the top and 3 at the bottom of the input pin control. This setting outputs the step signal on Arduino's pin 2 and the direction signal on pin 3, Whereas the Fritzing diagram shows the Arduino's pin 3 is the step signal and pin 2 is the dir signal.
hrh1818
12-05-2014 02:57 AM
HOW TO CONTROL A PICK AND PLACE ROBOT USING STEPPER MOTOR
12-05-2014 06:28 PM
That is an extremely broad question. One that doesn't have a simple answer. If you have issues with some code using LIFA, please start a new discussion and explain what exactly you are having trouble with.