Need help to control a nema 34 motor

Hi guys,

I am working on a project that involves a nema 34 motor, I am looking for someone who can help me to control it with Arduino UNO,

I already have the following items for this project;

Nema 34 Motor 4 wires 1.8deg, 8.6 NM Stepper Driver for above Power supply for above Arduino UNO

If someone living in or around Wolverhampton, UK, please let me know.

What have you tried so far?

You looked at the Playground?

You looked at the site of the stepper driver manufacturer?

And btw, "Nema 34" tells nobody anything other than how far apart the mounting holes are: you'll need to provide some electrical info like voltage, what the wiring is and so on.

Which motor? Current and voltage?

Which stepper driver? What are the power supply ratings?

I have an engine, I'm trying to get it to run. I have a carburetor, and tires, and a key.

1, Stepper Motor

1, Technical Specifications Part No.: WT85STH118-6004A Frame Size: NEMA34 Step Angle: 1.8 degree Voltage: 3.08V Current: 5.6A/phase Resistance: 0.55 Ohm/phase Inductance: 5.5 mH/phase Holding torque: 8.4N.m 1232oz-in Rotor inertia: 3600g-cm2 Number of wire leads: 4 Weight: 3.8kgs Length: 118mm

DQ860MA microstepping driver;

Features

?14 selectable resolutions

?Supply voltage up to +80VD

?Suitable for-2-phase and 4-phase motors

?Output current up to 7.8A,5.86A rated current, 256 Microstep.

?Dip switch current setting 8different values

?Optically isolated input signals

?Pulse frequency up to 200KHz

?Automatic idle-current reductiOn

?Small size (107*97*48),Weight:0.6KGS

POWER SUPPLY:

350W/60VDC,5.9A

You would first need to wire everything up according to the motor driver data sheet, and set current limits appropriately. An Arduino could be used to provide pulses to the DIR and PUL inputs, which would cause the motor to step in the selected direction. More info here: http://www.cnczone.com/forums/stepper-motors-drives/184890-information-dq860ma-analog-stepper-driver.html

If the driver takes step and direction inputs you should be able to control it with the AccelStepper library. You need to use the DRIVER option.

It should also work with this very simple code - assuming you match the pins tp the code

// testing a stepper motor with a Pololu A4988 driver board or equivalent
// on an Uno the onboard led will flash with each step
// as posted on Arduino Forum at http://forum.arduino.cc/index.php?topic=208905.0

byte directionPin = 6;
byte stepPin = 5;
int numberOfSteps = 100;
byte ledPin = 13;
int pulseWidthMicros = 20;  // microseconds
int millisbetweenSteps = 25; // milliseconds


void setup() 
{ 

  Serial.begin(9600);
  Serial.println("Starting StepperTest");
  digitalWrite(ledPin, LOW);
  
  delay(2000);

  pinMode(directionPin, OUTPUT);
  pinMode(stepPin, OUTPUT);
  pinMode(ledPin, OUTPUT);
  
 
  digitalWrite(directionPin, HIGH);
  for(int n = 0; n < numberOfSteps; n++) {
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pulseWidthMicros);
    digitalWrite(stepPin, LOW);
    
    delay(millisbetweenSteps);
    
    digitalWrite(ledPin, !digitalRead(ledPin));
  }
  
  delay(3000);
  

  digitalWrite(directionPin, LOW);
  for(int n = 0; n < numberOfSteps; n++) {
    digitalWrite(stepPin, HIGH);
    delayMicroseconds(pulseWidthMicros);
    digitalWrite(stepPin, LOW);
    
    delay(millisbetweenSteps);
    
    digitalWrite(ledPin, !digitalRead(ledPin));
  }
  
}

void loop() 
{ 

}

…R

Can A4988 driver is sufficient to run Nema 34???

From reply #1

And btw, "Nema 34" tells nobody anything other than how far apart the mounting holes are

Nema: Can A4988 driver is sufficient to run Nema 34???

Only if the motor requires a current on about 1.3 amps or less. I the motor requires more than that.

To get a proper answer please post a link to the datasheet for the motor.

By the way you have added your question to a 3 years dead Thread and you do not appear to have read the Thread.

...R Stepper Motor Basics Simple Stepper Code