Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot control servos through 32-servo-controller on Aurduino Duamilanove

I have servo (TowerPro sg90) connected to 32 servo controller (this one) through UART interface (RX-TX, GND-GND). Seller provide documentation how to connect and control my servos, but it isn't work.

Servo work if I connect it indirectly to Arduino. Controller indicate that it is working too (photo below - red led).

I already try different servos. Also try use provided software to control servos from pc through Mac/PC. But it's interface is unreadable for me. I tried different options but servos not responding.

Sketch code below (from sellers examples):

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.print("#3P500T2000\r\n");
  delay(2000);
  Serial.print("#3P1500T2000\r\n");
  delay(3000);
  Serial.print("#3P2500T2000\r\n"); 
  delay(2000);
  Serial.print("#3P1500T2000\r\n");
  delay(2000);
}

Photo of my connections:

arduino-duamilanovo+32-servo-controller+servo

Sorry if it post duplicate some, but I cannot google this problem.

like image 407
rkyr Avatar asked Oct 30 '22 17:10

rkyr


1 Answers

First, an advise: DO NOT EVER USE A SERVO DIRECTLY IN YOUR ARDUINO, your lucky it haven't burn. Now to the answer... You need to external power your servo controller. See the especifications of your servo and provide it the correct voltage.

like image 68
Rafael Marinho Avatar answered Nov 09 '22 06:11

Rafael Marinho