Delta ADSA B2 ac servo motor

Hello,
Has anyone made a Delta AC Servo control with Arduino?This is my wirin scheme:

And code:

byte dirPin = 9;
byte stepPin = 8;

digitalWrite(dirPin, HIGH);

for (int n = 0; n < 1000; n++) {
digitalWrite(stepPin, HIGH);
delayMicroseconds(500);
digitalWrite(stepPin, LOW);
delayMicroseconds(500);
}

Delta Asda B2 doesn't want to work! Arduino pin9 - dir pin, pin8 - step pin. My connection is as follows: Arduino pin9 => pin43 CN1,Arduino pin8 => pin39 CN1, Arduino GND => pin41.37 CN1.
Is the connection method correct? Should I change parameters in DELTA ASDA B2 control?

I have not and I will not try without more information. Post a link to the technical information on the hardware and let us know what Arduino you plan on using. It is doing what your code is telling it, nothing. You need to define your output pins.

The pins are defined, I have only leaked the part of the code that is for driving the motor:

byte dirPin = 9;
byte stepPin = 8;


void setup() {
  Serial.begin(115200);
  Serial.setTimeout(30);
 
  pinMode(dirPin, OUTPUT);
  pinMode(stepPin, OUTPUT);
}


void loop() {
digitalWrite(dirPin, HIGH);

for (int n = 0; n < 1000; n++) {
digitalWrite(stepPin, HIGH);
delayMicroseconds(500);
digitalWrite(stepPin, LOW);
delayMicroseconds(500);
}
}//end loop()

This is user manual:
https://drive.google.com/file/d/10JjOjzuqWW6BTvNOnDX88QIdYBZuoIik/view?usp=sharing(https://drive.google.com/file/d/10JjOjzuqWW6BTvNOnDX88QIdYBZuoIik/view?usp=sharing)

Page 67 - wiring diagram

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.