SSC32 Connected, Servo Not Moving

Hello all,

I am having trouble with my SSC-32.

I have connected the SSC32 to an arduino mega, and it is receiving data (the LED blinks every time a message is received). I am powering the SSC32 with the arduino, and I am powering the servos with a separate battery (connected to VS1, a 6V battery).

However, the servo I have connected is not moving. The board receives the messages from the arduino and does nothing.

I am using the following code with the arduino:

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

void loop() {
move(1, 2000, 100);
move(1, 1000, 100);
}

void move(int servo, int position, int time) {
Serial.print("#");
Serial.print(servo);
Serial.print(" P");
Serial.print(position);
Serial.print(" T");
Serial.println(time);
delay(time);
}

I don’t see where you are sending a CR to tell the SSC-32 to chew on the data that was sent. :wink:

I also tried using this code, taken from this page, using this downloaded library:

blog.martinperis.com/2011/05/lib … ssc32.html

#include <SSC32.h>

/*
Tests the SSC32 library. By Martin Peris (martinperis.com)
This example code is in the public domain.
*/

SSC32 myssc = SSC32();

void setup() {

//Start comunications with the SSC32 device
myssc.begin(9600);

}

void loop() {

//Move motor 0 to position 750
//The first command should not define any speed or time, is used as initialization by SSC32
myssc.servoMove(0,750);

delay(1000);

//Move motor 1 to position 750
//The first command should not define any speed or time, is used as initialization by SSC32
myssc.servoMove(1,750);

delay(1000);

//Move motor 0 to position 1500. It will take 5 seconds to finish the movement.
myssc.servoMoveTime(0,1500,5000);

delay(5500);

//Move motor 1 to position 900. It will take 5 seconds to finish the movement
myssc.servoMoveTime(1,900,5000);

//Move both servos to position 750 at the same time.
//The movement will take 5 seconds to complete
//Notice that currently motor 0 is at position 1500 and motor 1 is at position 900,
//but they will reach position 750 at the same time
myssc.beginGroupCommand(SSC32_CMDGRP_TYPE_SERVO_MOVEMENT);
myssc.servoMoveTime(1,750,5000);
myssc.servoMoveTime(5,750,5000);
myssc.endGroupCommand();

delay(5500);

}

And I still have the same problem. I don’t understand what I’m doing wrong…

To clarify the first bit of code I sent: The final print command is Serial.println, which appends a CR to the end of the message.

Thanks.

Are you able to communicate with the ssc-32 using lynxterm?

Are you able to read the firmware back from the ssc-32 with your microcontroller?

Can you submit an image of the wiring so we can check for errors?

“Are you able to communicate with the ssc-32 using lynxterm?”

I haven’t attempted it. My SSC32 is a 3rd party USB version.

“Are you able to read the firmware back from the ssc-32 with your microcontroller?”

I have no idea what that means.

“Can you submit an image of the wiring so we can check for errors?”

Yes:

http://a2.sphotos.ak.fbcdn.net/hphotos-ak-ash4/s720x720/417774_10150513450735723_513095722_9303851_961003588_n.jpg

I apologise for not making the image closer - the image becomes less focussed the closer the camera gets.

I have the TX from the arduino connected to the RX on the SSC32, and I have ground connected to ground.

I have the positive and negative leads from the power harness connected to VS1 (with the VL = VS1 jumper removed), and I have power from the arduino connected to VL and ground.

Go to the place you ordered the knock off ssc-32 and ask them for support!

That’s not very nice :frowning:

Especially considering much of the robot is made from Lynxmotion products. The only reason I bought this servo controller is because it was listed as SCC-32 compatible, and it was available (where the ‘original’ wasn’t). At the time, I didn’t even know there was such a thing as ‘some other’ version.

Thanks anyway, though.

I’m sorry you bought an unauthorized copy of my board. Not only do I not want to help you make their board work, I do not know anything about it…

You should make them provide support, not me!