SSC-32 Java control

Hi,
I am using the javax.comm api to communicate with my serial port. I have an SSC-32. This api provides only one option, ie send the data to serial port in bytes. So whatever i send , it is converter to bytes. My SSC-32’s led blinks every time i send the data, but it does not respond to any of the commands. I feel there is some problem with the format which java api is using.
I checked baud rate, stop bits and flow control etc, everything is fine, but there’s no movement in servos.
Apart from any suggestions , please do let me know in what format does the SSC-32 expect the command to be.

Shashank Bhatia

First thing I would do is verify the servo controller can be controlled via a terminal program or something similar. This will allow the elimination any hardware issues present before getting into possible software issues with the java programming.

Actually the terminal is working properly , the problem was that with
java u need to give a new line feed apart from a carriage return. I saw it
in one of the posts.
now it is working,
but there’s another problem, i m trying to update the firmware, its giving an error, it says some problem with the power source.

You are getting an error updating the firmware from the Lynx Terminal program? This is the first time I have heard this. Are you using a serial port or a usb to serial port cable. Please provide more detailed information.

I’m not familiar with that error, but you can try isolating the power problem by supplying the VL and VS seperately.
If you’ve got a power supply, try feeding the VL directly with a regulated 6V.

There’s a complete suite of Java code to control your SSC now (free).

Available here:
sourceforge.net/projects/seetron-ssc

Enjoy!

Doesn’t work with USB to Serial devices and if you actually do have a serial port it adds garbage to the string being sent and screws up the SSC-32. I’m sure it works fine with the Mini SSC but… nice try anyways :slight_smile:

Ha! Actually I got it to work by accident! USB to Serial adapters are funny beast. You have to unplug and replug them in to get Java and rxtx.org drivers to recognize them. So, if you boot with one already connected they are not recognized (if you are using the default driver in Windoze XP and the IOGear model GUC232A at least).

This program is not compiling.If it compiles also it is showin class version error.I am talking about David Ford java program for ssc 32 control.

you should checkout javarobots.org some links to some opensource software, even has the SSC-32 and group move stuff.