Botboarduino (v1.0) + SSC-32 (v2) + PS2 (v3)

I apologize for reposting topics which have already been addressed. I’ve tried the solutions from other threads, but have not had success yet.

I am trying to setup a Botboarduino (v1.0) + SSC-32 (v2) + PS2 (v3), to control a hexapod that I am building. However, I can not get the electronics to work together.

I have gone through the steps outlined in and can not get either the PS2 controller to talk or get the Hexapod Calibration software to work.http://www.lynxmotion.com/images/html/build99f.htm

At this point, I have updated the firmware on the SSC-32 to “2-07EGP_A1A” found lynxmotion.com/p-395-ssc-32- … oller.aspx.

I have also loaded the files from “Lynxmotion-3DOF-4DOF-Hex-6d37789.zip” found billporter.info/2010/06/05/p … rary-v1-0/ and copy them into my “C:\Users\Admin\Documents\Arduino\libraries” folder. I also had to set Arduino board type in the Arduino software (Tools >> Board) to “Aduino Duemilanove or Diecimila” and the processor (Tools >> Processor) to “ATmega 328”.

Using the hardware configuration found lynxmotion.com/images/jpg/bb … ps2-v3.jpg, I have connected my devices.

See hardware connection photos found (from my Drop Box):
dropbox.com/sh/qg2d9kj6fgx9 … QHYYa?dl=0

I understand the Botboarduino is supposed to beep when you press the START button on the PS2 controller, however I can not get it to do that. Further, I can not get any of the servos to move. Note, I only have 3 of the 18 servos (one 3 servo leg) connected for testing to pins 8,9,10 on the SSC-32.

I also understand that normally the “JA” jumper should not be connected to the Botboarduino, unless you are trying to get into “Calibration Mode” by holding down the “A” button on the Botboarduino and then turning on the 9 volt power to it. Once the calibration procedure is done, the “JA” jumper should be removed. However, I still can not get the Hexapod Calibration software to work.

I even tried going into the “Hex_Cfg.h” file and removing the “//” from the front of “#define cSSC_BINARYMODE 1” to enable binary mode, since I updated my SSC-32 firmware. But I never got the Hexapod Calibration software to work, so I set it back to “// #define cSSC_BINARYMODE 1”.

Am I missing any steps or doing something wrong? Do I possibly have a bad board? I just got the Botboarduino and PS2 stuff yesterday. Help please! :slight_smile:

Sorry … I had to break up what I wrote into three posts. The forums kept throwing me errors, when it was all one big post. Weird, since it was under 60,000 characters, like it says the requirements are. :frowning:

OK, so I solved the PS2 controller not talking to the Botboarduino.

I had to edit the “Hex_Cfg.h” file from the “Lynxmotion-3DOF-4DOF-Hex-6d37789.zip” found github.com/Lynxmotion/3DOF-4DOF … tboarduino to match the diagram seen here: lynxmotion.com/images/jpg/bb … ps2-v3.jpg.

EXISTING CODE:
//[Botboarduino Pin Numbers]
#ifdef BOTBOARDUINO
#define SOUND_PIN 5 // Botboarduino JR pin number
#define PS2_DAT 8
#define PS2_CMD 7
#define PS2_SEL 6 // On the PS2 receiver this pin may be called ATT (attention)
#define PS2_CLK 9

REVISED CODE:
//[Botboarduino Pin Numbers]
#ifdef BOTBOARDUINO
#define SOUND_PIN 5 // Botboarduino JR pin number
#define PS2_DAT 6
#define PS2_CMD 7
#define PS2_SEL 8 // On the PS2 receiver this pin may be called ATT (attention)
#define PS2_CLK 9

I still need help with the Hexapod Calibration tool, though. :slight_smile:

Looks like I found a workaround to my calibration issue.

I was able to use LynxTerm lynxmotion.com/p-567-free-download-lynxterm.aspx to set the initial pulse offsets to the SSC-32 register, where I believe the initial pulse offsets live for my Botboarduino (v1.0) + SSC-32 (v2) + PS2 (v3) setup.

Once in LynxTerm and connected to your SSC-32, click on the “All=1500” button. Click the Reg button, which will bring you into the Registers Tool. Click the Read button, then manipulate each servo’s offset so that the servos are in the initial state (i.e. perpendicular angles). Once you have this complete, enable the “Initial Pulse Offset” box under the Enable Register (R0) settings. Then click the Write button. Then exit out and enjoy the new calibration.

Has anyone else run into these issues? Do the Tutorials on the Lynx Motion website need updating?

If anything, I hope this thread helps someone! :slight_smile:

Happy Robot Building! :slight_smile:

Could someone maybe add a help file to the Hexapod Calibration software tool?

lynxmotion.com/showproduct.aspx?productID=854&CategoryID=15

Hey Jim,

You have it all figured out now? If you get stuck on anything else feel free to refer to my blog
ericshi.ca/blog/category/Robotics/

You might run into more issues with the PS2 V3 controller down the road.

Hi Jim,

We are glad to see you were able to fix your issue yourself and are happy you shared your results on our forum in such details. This will certainly be very helpful to other users.

We thank you for your recommendations about the Lynxmotion content about these products and we will be updating them in the near future.

Sincerely,