New Hexapod M-AH3 recently bought not moving, but Flowbotics works

Hi everyone!

I recently bought the M-AH3 and successfully assembled it.

A minor side note, the set of screws and nuts that came with it that were for attaching the SSC and BotBoarduino seem to be the set for the AH3. It didn’t include the smaller M/F spacers for attaching the SSC to the lower frame. Had to improvise and attach the BotBoarduino to the upper frame. No Problem.

So I got everything connected, wired, and everything seems to be good except it wont walk. I am able to use the Arduino Serial Monitor window and start the servo manual thing by pressing “o”, then the servos jump into mid 1500 position, and I can hear them holding position. When I cycle through, it wiggles each servo and they all seem to work just fine. Also, when I use the Flowbotics ‘SSC-32 Servo Sequencer Utility.exe’ I can open the comm, send the letter ‘s’ for direct SSC bypass, and then the Flowbotics app can move the servos, and I can set sequences up that move the servos around, no problem. When I leave this calibration/debug mode, the servos go limp. I unplug the BotBoarduino from my laptop, and push the ‘Start’ button on the PS2 controller, and I hear the BotBoardino chime up, indicating it is “Powered On”. But the servos just stay limp! Pushing buttons on the PS2 controller, I hear the BotBoardiuno make all kinds of sounds, and the status light on the SSC flashes, but no movement. It seems the hardware is set up properly, fairly sure of this, but something in the software is not right. I am fairly familiar with c# and java, I have built other robots using servos and sensors. But I am stumped. I went through the code and set all baud rates to 115,200 to keep things constant, and set the jumpers on the SSC for this also. Tested again and everything still works in calibration, but not otherwise. Another note, when using the PS2 controller, if I am not pushing any buttons, the red status light on the BotBoarduino flashes very rapidly (my thoughts is the main program loop is looping very fast as it is not processing any commands). But when I move the left joystick around, it flashes somewhat rapidly, AND the status light on the SSC also flashes rapidly. I have triple checked my comm wire pins and I am fairly certain they’re connected right.

So close to having this thing working! Any help is appreciated! Loving this thing so far!

I do eventually plan on writing my own code for this thing, that will include use of the foot pressure sensor resistors, and also a 3 axis compass/gyroscope. Should be interesting!

Below is a cut from the software I am using. Is there a newer one? Or a better one out?

//=============================================================================
//Project Lynxmotion Phoenix
//Description: Phoenix software
//Software version: V2.0
//Date: 29-10-2009
//Programmer: Jeroen Janssen [aka Xan]
// Kurt Eckhardt(KurtE) converted to C and Arduino
//
// This version of the Phoenix code was ported over to the Arduino Environement
// and is specifically configured for the Lynxmotion BotBoarduino
//
//NEW IN V2.1 (2013-05-17)
// - setup() made more generic by replacing exact pin-n° by PS2_CMD
//NEW IN V2.X

Can you indicate which battery (batteries) you are using? The servos are large and consume a LOT of current and as such we highly recommend one 6V, 2800mAh NiMh pack for VS1 and another for VS2, and a 9V battery for VL. Be sure to set the jumpers correctly. Also, be sure to have the servos plugged into the board correctly, with the GND (black wire) facing the outside of the board. Next, be sure the baud rate jumpers on the SSC-32 is set as indicated in the sample code and ensure you have the correct microcontroller pins connected to the SSC-32. Once this is done, it’s important to wire the PS2 correctly (if you get a beep that’s a good sign).

If you can calibrate each servo via the software, that’s very good - it means the setup is configured correctly and it’s likely a different issue (ensure you have the servos as perfectly calibrated as possible mechanically and via code to get a nice smooth walking gait). If the robot stands (all 1500) but does not move, it’s likely a code issue, or the right buttons on the PS2 controller have not been pressed correctly.

Can you take a few images of the setup and perhaps we can spot something? The same code is used for all robots of this type (CH3, BH3, MAH3 etc).