Could one of you knowledgeable folks please share a bit of wisdom with me?
I am trying to operate a simple arm-type hobby robot, using an SSC32-U. I initially have been using the Flowbotics Servo Sequencer utility dashboard to operate the SSC32-U directly, to test a number of moves, after which I save each sequencer pattern, and separately record/tabulate the servo positions for each move. I now want to run sketches on an Arduino to control the SSC32-U board and operate the robot to follow these sets of prestablished servo moves. I can get the robot to move just fine running off the Arduino, as long as I use separate, discrete servo moves with commands of the type:
Serial.write("#1P1500\r");
Which, of course, centers servo #1.
I also sometimes add the time variable if I want a slower move, as in:
Serial.write("#2P1740 T4000\r");
I haven’t been using this command, but I think I have read that you can also achieve the same thing with:
Serial.println(#2P1740 T4000);
As I understand it, though, I should also be able to make combined servo moves. I have tried what I thought was the proper syntax, as in, to center all servos:
Serial.write("#0P1500 #1P1500 #2P1500 #3P1500 #4P1500 #5P1500 #6P1500\r");
However, combined move commands written as shown always result in over-travel and resultant mechanical crashes.
Can someone please point out what dumb newbie mistake I am making with the command syntax?
Thanks!