I am a beginner with the Lynx-motion robot arm with the SSC-32. I have a little experience with the basic stamp. I want to use the basic stamp programming to control the ssc-32 and I do not know where to start. I would like to find the code that the ssc-32 looks for to move the servos on the robot arm and a wiring diagram that connects the basic stamp to the SSC-32. Any suggestions would be greatly appreciated.
The SSC-32 looks for a specific string which is described in the manual under “command formatting”:
lynxmotion.com/images/html/build136.htm
The most basic way to control a servo is to send the following string:
#3P1500<cr>
This commands the servo connected to pin 3 to move to 1500us (centered). The carriage return is necessary.
Note that you need your baud rate configured to that of the SSC-32 (via jumpers) and also ensure you have the microcontroller’s Tx and Rx pins connected correctly to the SSC’32s Rx and Tx pins (and of course GND).
You can find additional information here:
lynxmotion.com/s-4-electronics-guides.aspx
Thanks, I will study those links.
I do not see Tx or Rx pins on the Basic Stamp. I see them on the SSC-32.
I think I understand the programming. I am still puzzled by the wiring. My 6 servos are currently connected to the SSC-32 with a female three prong connecting cable: 0,1,2,3,4,5. Where do I connect the wires from the Basic Stamp to the SSC-32?
Do I eliminate the SSC-32 all together?
Hopefully this helps:
lynxmotion.com/images/assemb … oesch1.gif
The SSC-32 is used in situations where the microcontroller will simply be overloaded if it has to control many servos while doing intensive calculations (for example calculating inverse kinematics for multiple legs while working with sensor data and two-way serial communication).
Check out the Parallax application notes for serial programming on the Basic Stamp I.
parallax.com/Portals/0/Downl … pnotes.pdf
Hello, i am begginer too in building a robotic arm with ssc-32 board and i would like to know if i can send commands directly to ssc-32 board from the basic stamp programming platform without any other boards connected to the ssc-32. Is that possible or i have to buy a new board to wire it with the ssc-32?
The SSC-32 accepts serial commands, which almost all microcontrollers can provide. You should not need a third board. Be sure to connect your microcontroller’s Tx pin to the SSC-32’s Rx pin (and vice versa) and also connect GND to GND (common ground). You may also decide to power the SSC-32’s logic (VL) from the same power source as for the microcontroller. If you’re not sure of any connections, take a few photos and we’ll be happy to look them over.