SSC-32 connected to bot board - Need code example

I have the SSC-32 hooked up to the ABB but I need some code to try out. Can someone provide me a simple program that will move a servo left, right then center?

I’m new with the Atompro platform.

Thanks!

Well, I figured it out on my own… again… :unamused: Where are all the ABB, SSC-32 Gurus? :laughing:

I was able to serially connect the ABB to the SSC-32, my problem was not setting the Baud rate jumpers properly.

I still have a problem that remains. Although the ABB and the SSC-32 seem to be doing their job, the servo operates inconsistently. I don’t know if my power supply is to blame? I measured the voltage level on both the SSC-32 and the ABB board. Readings on both boards were the same. It fluctuated from 5.7v to 7.3v-ish. The problem I had was not being able to watch both the DMM and the servo horn at the same time to see if the voltage dip followed up with a erratic movement.

I’m thinking it’s my power supply is just not providing the reliable supply of juice needed. If I try other selections, 7.5v 100mA or 7.5v 300mA or 6v 100mA, they all provide an even worse result. The only setting on the universal wall adaptor that works so-so is 6v @ 300mA.

What’s needed to reliably run both the SSC-32 & the ABB board?

Thanks,

EDIT

Here is the code I am currently using:

[code]START:

serout p15, i38400,"#0 P1600 T1000", 13]
PAUSE 100
serout p15, i38400,"#0 P2000 T1000", 13]
PAUSE 100
serout p15, i38400,"#0 P1500 T1000", 13]
PAUSE 100

GOTO START[/code]

i,m using a bs2 so all i can say is i,m using a 6v 2800 battery from jim,
i got the smaller 6v too but havent needed it ,it powers both the ssc and the bs2 BOE ,u could also try longer pauses to make shure 1 moves finish,s before the next starts…

I was going to post Atom to SSC-32 code, but I couldn’t find Pro to SSC-32 code. :frowning:

Thats ok, no problem.

Right now I’m stuck with power supply issues. I’m not sure what is needed for optimum performance.

[code]START:

serout p15, i38400,"#0 P1600 T1000", 13]
PAUSE 100
serout p15, i38400,"#0 P2000 T1000", 13]
PAUSE 100
serout p15, i38400,"#0 P1500 T1000", 13]
PAUSE 100

GOTO START[/code]

Your pauses are only .1 seconds. The servos are not getting into position before the Atom is sending a new position. Change the pause to 1000. :wink:

As for power supply issues. To eliminate the SSC-32 resetting problems connect all VL to a 9vdc battery. Remove all VS=VL jumpers. Then no matter how much current the servos demand, the logic (microcontrollers) will remain stable. 8)

Would a 9V @ 1000mA wall adaptor be ok to use? I can use a battery but I would like to use a deicated supply.

For the VL only, a 6vdc to 9vdc 100mA would work fine. (not a typo, 100 not 1000).

For the VS a 6vdc to 7.5vdc regulated supply with 2000mA or more is required.

Thanks Jim,

This is just what I needed to know. I apparently have compounded problems. I have code issues and power issues. For the VS, I was using 6v @ 300mA my adaptor can’t go higher than 300mA output.

I need to fix the code and get my power straight. This should fix my problems.