Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked — Edited

Ssc-32U Servo Controller Script

Hey Everyone,

I can't seem to figure out why my servo Controller isn't working. I have put in the start up and opened up the control in EZ Builder and it still doesnt seem to work.
I have power to it from a port on EZB (D18 UART 2) and have it connected to a battery source. (I even tried it to UART 0)

I have tried Baud Rate 38400 and 115200 and it seems to work but when I try to move a servo it doesnt allow me to even adjust it. It keeps it at 90 degrees both ways and force quits EZ Builder.

The codes I have are:


Any Help is appreciated

Thank you!

AI Support Bot
Related Content
What baud rate did you set the ssc-32 to? Have a look at the pdf file of the ssc-32 on how to set the baud rate...
Also do not power your ssc-32 through the ezb4... Power it directly from the battery or power supply... You only need two wires from the ezb4 to your SSC-32... Use the dedicated UART port 0 so you know you are connecting TX on the ezb4 to RX on the SSC-32... Then ground to ground...

1) Set the ssc-32 at 38400 baud via the PDF manual...
2) Add the ssc-32 control to your ARC project...
3) Plug a servo into the SSC-32 port 0
4) Add a horizontal or vertical servo control setting the port to V0... don't try to move it yet

5) In an INIT script run this



6) Now try and move the servo
@Richard R

Thank you for the tip. I did all those steps and messed with the SSC 32 settings earlier so it is at the correct baud rate. And it does allow me to move the settings, but the servo doesn't move itself.. I did test it and each servo I tried does work plugged into EZB port, but not the servo Controller, everything else works though..

Here is the code I also have tried and still nothing (along with the servo not moving with me dragging the degrees manually)


$pos = "P800"
$m_speed = "S600"

wiring details ?

UART0 Tx on EZB to RX on SSC-32U
UART0 GD on EZB to GD on SSC-32U

SSC-32U VL positive and negative plugged into 12v battery (Same as EZB, but seperated)
Can't use 12V for regular servos my friend... You need 6V - 7.4V for the SSC-32.
Better use a another servo... 12V may have killed the one you were using...
Original poster is using the scc32 control. There's no need for code. Why are you writing code? There's no mention of uartinit or anything for using the control. Follow the manual of the control. Push the question mark on the control to read the manual as mentioned everywhere in the software and website.

Do not use code to initialize anything.

The only time you ever need code is if you're using the servo() command.

Here's the direct link to the ssc32 manual if you push the question mark: http://www.ez-robot.com/Tutorials/Help.aspx?id=216

Where in that manual page does it mention uartinit?
SSC-32U now has 6v power. Everything else still the same. The problem still seems to be the same (still tested the servo and works with the EZB). My script still fine?
It's a good idea to first understand how to move a servo and what a servo control is. Select the learn section, choose your product (I suspect ezb v4 in this case) and read the tutorials.

Again, reread my previous post! Do not inituart. Do not write code. I have no idea why anyone is telling you to write any unit code.

Add the control. Look at the control manual page. Follow the instructions. Stop writing init code. Read the manual for the control. There is no reason to write any init code.

Where did you find any reference to writing init code for the ssc32 control?
@DJ Sures

I have tried different ways and it still doesnt seem to work. I have researched and looked at different examples to get a better visual and still in the same spot.

I even tried servo command:


That's all you need. Those commands will work. If they do not work, check the configuration menu of that control. Check to see that the correct port is specified.

If that still doesn't work, check the configuration of your ssc33

If it still doesn't work, check the wiring.

Those are the ONLY three things you need to check.

1) control configuration
2) ssc configuration
3) wiring

That's it.
@DJ Sures

Gotcha, Thank you very much.