SSC32 (re)startup condition

Hi! I Couldn’t find anything about this so here we go. At startup, when powering the SSC32 up, the servos connected to it are still without power, so you can basicly still move them as if they weren’t connected at all. Once you send a (servo)command to the SSC32 they want to stay in their positions no matter what, is there a way/command to make them go ‘without power’ again just like after powering up?

Thanks.

Try doing a position to zero, like for servo 1
#1p0

Kurt

Ah yes, i could’ve thought of that. It works, thanks!

Interesting… This is an undocumented command.

The official way to turn off the servo pulses is to send #0 L or #0 H. to force the output low or high. But as you have stated, sending #0 P0 will turn the servo pulses off. :confused: While at it I tested more. I also found #0 P1 through #0 P499 makes 500uS pulses. and #0 P2501 through #0 P3000 makes 2500uS pulses. I didn’t test anything higher than 3000.

Yep, I found that out from the phoenix code:

FreeServos for LegIndex = 0 to 31 serout cSSC_OUT, cSSC_BAUD, "#",DEC LegIndex,"P0"] next serout cSSC_OUT, cSSC_BAUD, "T200",13] return
Kurt

LOL so Xan’s the culprit. :smiley:

Ah-hah! :bulb: This explains behavior I was seeing this weekend while testing servos using Lynxterm for minimum and maximum positions. I think I accidentally typed #nP5000 (I meant 500); the servo tried to go past its maximum mechanical position. I thought it would do nothing, but this explains what I saw. Thanks for testing this, Jim.