Some help with the SSC-32 / BB and PBASIC

I recently built a scratch hexapod, and now need help with a few things:

  1. Due to a slight failure in design, I needed to switch my bot’s back two legs to compensate for a weight issue (the legs are screwed right into the servo horns, making the whole robot a little off balance). The problem with this is that when I run the whole thing through the LynxTerm, the back legs go down instead of up, although besides that the tripod gait is running fine. Is there anything i can do in LynxTerm to invert the direction of these two legs?

  2. I also, more to the point of this section of the board, would like to program my hexapod to be autonomous, using a pin ultrasonic sensor that i have from parallax. I was wondering if there was any code that would work right off the bat for at least testing a tripod gait autonomously, and I could work in the sensor. i know PBASIC pretty well, and I’ve been programming in it for a long time, but I don’t know how to use the SSC-32 or BB with it. Any help would be appreciated, thanks!

I assume you are using the built in 12 servo hexapod sequencer on the SSC-32 to control this robot. There is no way to reverse a servo for only a pair of legs. You will have to change the mechanics in order to use the sequencer. :frowning:

Start here…
The tutorial has 6 Basic Atom programs for play station 2 RC, but there is a 7th one for autonomous operation. You will need to convert from Atom to BS2 if that’s what you want to use. You should be able to get your bot going with this information.
lynxmotion.com/images/html/build074.htm

Thanks, I have that Basic atom file, I am just having trouble converting it. Any tips or suggestions as to a tutorial or anything like that on converting basic atom code to basic stamp?

Nothing I can remember. You will need a copy of the Atom and BS2 manual, then you start changing command formats. Try to program, then look for errors, eliminate errors, then repeat. :stuck_out_tongue: There are more issues than just the code. The Atom has real analog inputs. So the code will never work for the GP2D12 sensors on a BS2. I’m not trying bring you down, just trying to make sure you are informed.

Yeah, I understand. Thanks for the help.