Hi all,
I am new to using the ssc32 and needed some guidance in somethings and have been unable to find a good resource.I am trying to figure out how to make servos all move in sync and I find that what is P1200 for example on one servo is not the same on another servo of the same type.I was wondering if it was possible to set a point of reference on a group of servo’s? So what I am trying to do or have done thus far is that I have a quad that I am working on as my first project and am just making the servos move from left to right.The front two making a claping motion towards one and other and the rear two doing the same.The servos I have are the Futaba s3004 and they have a 180 range of motion so while speaking in degree’s I thought that I could have the start positions for the front servos me like servo left 45 and servo right 135 and the end postion left servo 180 and the right servo 0.I thought that Serial.println("#1 P750 #2 P1750 T500"); followed by Serial.println("#1 P2000 #2 P1000 T500"); would do that but it does not. The code is running through and Arduino to the ssc32.
Your first resource should be the SSC-32 user guide:
lynxmotion.com/images/html/build136.htm
Specifically servo move / group move:
lynxmotion.com/images/html/b … htm#srvmov
If you are using the SSC-32, you need to use the position offset command (done only once at the start of the code).
Alternatively you can use Lynxterm to position each servo correctly then modify the firmware.
With special thanks to Xan, we’ll soon be releasing quadruped code for the BotBoarduino as part of the new QBK-02 kit which you’ll see appear in the following category in the coming weeks:
lynxmotion.com/c-26-quadrapods.aspx
So I was able to to figure out a few of my issue’s but as far as the offset thing goes I am not sure how to implement that on the Arduino end of it. Would you have a example of what the code would look for # PO … # PO , I mean would it just look something like this Serial.println("#1 PO10"); ?
Exactly. You’ll see the servo move slightly to the new zero position. You only need to do that once.
The alternative is to use Lynxterm, read the offsets, reposition all the servos and upload the new firmware.