Hi.
I'm trying to get a big 5.6A Nema34 motor running, via a DQ86OMA driver. The motor is: WT86STH118-6004A (http://www.wantmotor.com/ProductsView.asp?id=251&pid=88).
The motor sounds like it wants to move, in that it makes a little glitch sound whenever it receives a pulse, but the shaft doesn't rotate. I'm trying to get a single motor running, so that I can start working on a system with 6 similar motors. Any help, or just a pointer in the right direction, would be appreciated.
I've got digital 9 of the Arduino going to 'Pulse Negative' on the driver and digital 8 to 'Direction Negative', with both 'Pulse' and 'Direction' Positive to Arduino's 5V. Power to the motor, via the driver, comes from a 60V / 5.85A PSU. All as shown in the schematic.
I have the driver's DIP switches set to: SW1, SW2 and SW8 (5.7A Peak, 25600 Pulse/Rev), according to the table printed on the driver.
The hardware came to me, wired as above with (I'm told) one of the Stepper Library examples on the Arduino; the system worked - the shaft rotated back and forth - but whenever I now try any of the Stepper examples, I get the fault described above. I'm currently trying the 'Random' example from the AccelStepper library, but with the same result.
Thanks.
#include <AccelStepper.h>
// Define a stepper and the pins it will use
AccelStepper stepper(1,9,8); // Edited for Step & Direction only
void setup()
{
}
void loop()
{
if (stepper.distanceToGo() == 0)
{
// Random change to speed, position and acceleration
// Make sure we dont get 0 speed or accelerations
delay(1000);
stepper.moveTo(rand() % 200);
stepper.setMaxSpeed((rand() % 200) + 1);
stepper.setAcceleration((rand() % 200) + 1);
}
stepper.run();
}
Generated by doxygen 1.8.5