Gumstix Console-VX to Lynxmotion SSC-32

I just got a gumstix board and need to get it talking to the lynxmotion SSC-32 but nothing seems to work! I log onto my gumstix board via hyperterminal and try to echo commands to each port with no luck! Currently I’m just using three wires from the rs232 on the gumstix to the serial connector on the SSC-32. When I get my camera working I will post a pictures of the hookup. Has anyone done this or offer any advice?

Echo Commands:

echo "#0 P1500 T1000" > /dev/ttyS0
echo "#0 P1500 T1000" > /dev/ttyS1
echo "#0 P1500 T1000" > /dev/ttyS2

You might try connecting the tx and rx pins on the gumstix board rs232 connector and see if hyperterminal receives what it sends.

I’ve tried that with the two that were not connected to the log in session. Both displayed nothing on hyperterminal. Last night I was able to get the wireless working on it and SSH into the gumstix, so that will allow me to try the third rs232. I’ll try it this afternoon and tell you how it goes.

Did you try just connecting the RX and TX (nothing else) between the Gumstix and SSC-32? RX --> TX and TX --> RX. The SSC-32 does not do hardware flow control.

8-Dale

I connected the TX --> Rx and ground with some spare wire.

You will also need GND, of course, so three wires for bi-directional communication. I missed adding GND in my last post, sorry.

8-Dale

Success! kinda… I got the gumstix talking and the SSC-32 receiving the commands BUT the SSC-32 is not moving the servos. Whenever I send the signals the LED (D1 on the SSC-32) lights up. Commands are the same as before only I found out I am communicating on ttyS0

echo "#0 P1500 T1000" > /dev/ttyS0

You have to be sure a CR (Carriage Return, Ascii 0x0D) is sent at the end of each command. Otherwise nothing will happen.

8-Dale

echo "#0 P1500 T1000" > /dev/ttyS0

I opened a hperterminal to see what it was outputting and sure enough everything was tabbed after the commands, then i used this:

echo -e "#0 P1500\r" > /dev/ttyS0

and I got just that on a new line each time. Then I tried connecting it to the SSC-32 and the LED stays on until I execute the command, then turns off and blinks each time another command is sent. BUT still no servo movement :frowning:

SUCCESS! I got everything up and running now. I can get movement from the Gumstix to the SSC-32!!! Turns out the it was connected wrong on the gumstix/SSC-32. I’ll post pictures… once I find a camera. Next I am going to write some code for movements. I’ll post that once I have it running and maybe even a youtube vid if I feel adventurous. Though I think that will be move a topic for the “Projects” section of the forum. Thank you everyone for the help!