5

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.

rkyr
  • 3,131
  • 2
  • 23
  • 38
  • 1
    I'm voting to close this question as off-topic because it isn't place for such question. I will ask it again on http://arduino.stackexchange.com/ – rkyr Nov 30 '15 at 19:33
  • 1
    as you stated you should ask this else where... but if this is your entire setup you need to add power to the servo controller. Do not try to control a bunch of servos off of a USB port or though the arduino regulator... if you are lucky you will just cause the computer USB to go into a protected state... if you are not lucky you will burn out the USB port. – Matthew Whited Nov 30 '15 at 20:23
  • @MatthewWhited you are absolutely right. I asked on arduino.stackexchange and got advice about power supply. Thank you – rkyr Nov 30 '15 at 20:25

2 Answers2

2

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.

Rafael Marinho
  • 100
  • 1
  • 10
  • Here, if you need more information about this kind of board: http://letsmakerobots.com/files/32_Servo_Controller_Manual.pdf It's not the same you have, but the usage is very similar – Rafael Marinho Oct 19 '15 at 12:16
  • Sorry for my unclear words about "directly connection". I use additional board for servo connection (do not remember it's name). I'll try your manual tonight and accept if it help. Thank you. – rkyr Oct 19 '15 at 12:30
0

So I answer my own question because it's remain unanswered and confuse people.

SO isn't a place for such questions. I got an answer here.

Community
  • 1
  • 1
rkyr
  • 3,131
  • 2
  • 23
  • 38