I have the Atom Pro 28 on the ABB. The ABB’s P15 is hooked into the RXD pin of the SSC-32 via the included yellow and black 3-pin connector to 2-pin connector cable. I’m looping this in my code:
;Commands to be sent out (TXD, P15)
hserout “#”, DEC RH_CH, “P”, DEC RH_CTR, “#”, DEC LH_CH, “P”, DEC LH_CTR, “#”, DEC RTIO_CH, “P”, DEC RTIO_CTR, “#”, DEC LTIO_CH, “P”, DEC LTIO_CTR, “#”, DEC RTFB_CH, “P”, DEC RTFB_CTR, “#”, DEC LTFB_CH, “P”, DEC LTFB_CTR, “#”, DEC RK_CH, “P”, DEC RK_CTR, “#”, DEC LK_CH, “P”, DEC LK_CTR, “#”, DEC RA_CH, “P”, DEC RA_CTR, “#”, DEC LA_CH, “P”, DEC LA_CTR, “#”, DEC RFL_CH, “P”, DEC RFL_CTR, “#”, DEC LFL_CH, “P”, DEC LFL_CTR, “T”, DEC ttime, 13]
pause 3000
;Commands to be sent out (TXD, P15)
hserout “#”, DEC RH_CH, “P”, DEC RH_CTR, “#”, DEC LH_CH, “P”, DEC LH_CTR, “#”, DEC RTIO_CH, “P1638”, “#”, DEC LTIO_CH, “P1638”, “#”, DEC RTFB_CH, “P”, DEC RTFB_CTR, “#”, DEC LTFB_CH, “P”, DEC LTFB_CTR, “#”, DEC RK_CH, “P”, DEC RK_CTR, “#”, DEC LK_CH, “P”, DEC LK_CTR, “#”, DEC RA_CH, “P”, DEC RA_CTR, “#”, DEC LA_CH, “P”, DEC LA_CTR, “#”, DEC RFL_CH, “P1725”, “#”, DEC LFL_CH, “P1525”, “T”, DEC ttime, 13]
What the first hserout does is it centers my servos so that my biped scout stands straight up. The second hserout makes it shift its weight to the right.
Since I’m looping it, I can tell that the commands are being sent out of P15 correctly with and received correctly on the RXD pin of the SSC-32…
If you take a look at the Atom Pro 24 datasheet (since the 28-pin Atom Pro’s datasheet isn’t available), P14 and P15 of their development board shows the pins as multiplexed. P14 and P15 is a software I/O in one mode and a hardware RXD and TXD (respectively) when the “enablehserial” is compiled in.
But sadly, the hserout and hserin commands does not do anything to the S_IN and S_OUT. According to their documentation, those are just ports to flash the code into the Atom Pro.
For now, I have my SSC-32 configured to accept commands from the DB9. I’m going to jack in the ABB when I get all my values for my walking gait.