Society of Robots - Robot Forum

Software => Software => Topic started by: Techman09 on November 04, 2008, 07:56:34 PM

Title: Axon ----> SSC-32
Post by: Techman09 on November 04, 2008, 07:56:34 PM
Hello SOR.
I intend on using an arm from lynxmotion that comes with the SSC-32 servo controller.
I also will use the axon mcu for the overall project.

Was wondering if someone would help me conceptualize how one would use the serial communication
to trigger arm movement sequences to the SSC-32 through serial (UART).

In my head I imagine something like:

if sensor value == x then
trigger sequence one.........

Anyone got any example code for these two boards interfaced together??
I am sure it is not that difficult, but could definitely use the insight.
Title: Re: Axon ----> SSC-32
Post by: airman00 on November 04, 2008, 08:50:05 PM
yea its just a regular UART connection.
I've had some experience with the SSC-32 and its really easy to use. You just output serial to it and it operates. Couldn't be easier
Look at the Axon documenation for more info on using the rprintf macro. Thats the one you want to use.
http://www.societyofrobots.com/axon/axon_function_list.shtml#uart

Then just output the commands you need - offhand I remember something like "S1 P1500 T100" or something similar to that.
Title: Re: Axon ----> SSC-32
Post by: Admin on November 06, 2008, 01:22:49 AM
what airman00 said


Another option is to just not use the SSC-32. About ~6 months ago a client had me make him a robot arm on a budget, so I took the Lynx arm, removed the SSC-32, and controlled it with my Axon directly. Within ~2 hours of starting I had the arm fully wired up and controllable from the Axon. The arm also had sensors on it.

Unfortunately I'm under contract to not release any info/code/videos on it until next year, or I'd have posted it ages ago for you.