Phoenix code my MG90 hexapod

I just dont understand what im doing wrong. When you mess with it using lynxterm all the lights come on and flash as if its getting data. The pins are hot but no movement. It even twitches when power is addedto the VS1.

It is likely an issue with the baud rate. Please follow the baud rate setup as outlined in the SSC-32U user guide and ensure the baud rate in the software is the same baud rate as is set on the SSC-32U.

I just checked every baud rate listed in the set up. Still no go.

Also when i hit REG at the bottom of lynxterm it says “can’t find SSC-32 card”

Ok i looked at the lynxmotion ssc-32u user manual and found out how to change the baud rate on the board manually and i set it to 115200 and then clicked on 115200 on the lynxterm setup and now i have the servis moving. Albeit slow using the slider but they are moving.

Good news! Now that you know you can control them, check that the main battery is fully charged.

Ok got everything put back together. Ended up switching to a smaller bot. Also managed to get the lynxmotion SSC-32u and the PS2 wireless head to fit between bottom and top decks so now i plenty of romm to put the batteries.

Ok so i reset the baud rate to 38400 since the code uses that baud rate. I then checked to make sure there was no binding and tgat everything had free motion using the slider on lynxterm. So eveything works on the SSC-32.

Ive got the legs as close to perfect as i can. For some reason the calibrate program will not recognize there is board. Ive held the button while then adding power and no go.

Also my PS2 controller comes on with a flashing green and red light then turns off. Ive checked the batteries and even put new ones in but it keeps doing the same thing. Every now and then it will flash after hitting a button.

These are my connections

This first pic shows my botboard connections. Red=TX Orange=RX Yellow=GND

i1254.photobucket.com/albums/hh601/Duhjoker1/Quadruped/46FED9FD-9A20-487F-BCEA-589B068D0557_zpsn5xkruuo.jpg

This pic shows the connection to the SSC-32u

i1254.photobucket.com/albums/hh601/Duhjoker1/Quadruped/23711981-F8DF-43F7-87E5-9DDA00985146_zpsaayviuj5.jpg

Shows the PS2 to botboarduino

i1254.photobucket.com/albums/hh601/Duhjoker1/Quadruped/284CD548-B015-4A43-B942-32D7C65972BA_zpsmnp1ibok.jpg

It sounds like baud rate issues. When you connect the SSC-32U to the computer, you need one baud rate, but when you have the BotBoarduino sending commands, the baud rate needs to be 38400.

I do have the SSC-32u board at 38400

To confirm, you have the walking code uploaded to the BotBoarduino, and everything connected to the board, the servos are calibrated. When you power everything, then turn on the PS2, then press start on the PS2, do you hear a beep from the robot?

Actually im not using the speaker. The jumper is still in place. I know im supposed to connect a wire to pin5 but where the other end goes IDK.

I wasnt able to use the calibration program but i have all the servos and legs positioned correctly.

I was afraid i hit the reset button so i Re-uploaded the walking code. I also noticed i had left some 4dof functios un-commented so i commented // them out.

So now i have the firmware loaded i turn on the bot the servos twitch and i turn in the PS2 but still no movement.

Ok in the config file in the board set up, it gives a set up for the botboarduino and the SSC-32u

And a set up using botboard arduino pro mini using the SSC-32u

Should i be commenting // out the biard set up im not using?

Under input classes do i need to comment // out use commander and define PS2?

Did you press the “start” button on the remote control? The standard code uses the speaker, so if you have modified it to remove that functionality, it’s harder to troubleshoot.
If you are changing the configuration to something other than a BotBoarduino + SSC-32 (for example a Pro Mini) you may need to modify the code a bit (as well as the connections).
Which version of the PS2 do you have? Does the receiver have two red lights? Can you provide an image?

like i said yesterday i dont know how to use the speaker. I know one end of a wire goes onto pin 5 on the botboarduino but where the other end goes i have no idea. The info i found for the speaker is kinda vague.

I am using the Botboarduino and the SSC-32u. The last pictures i posted show all the connections except the servo wire connections.

The controller is a Lynxmotion PS2 controller V1 connected to a level shifter thats been connected to the Botboarduino according to the hex_config.h.

Ok you never answered my two questions. Since im not using the arbotix commander do i need to comment that controller out and define PS2?

And since im using the Botboarduino do i need to comment out the other microcontroller parameters?

The code for using the speaker is built into the Phoenix walking algorithm; you don’t need to add any code.

Ok; when you power the robot and the PS2 transmitter, do both the red and green lights on the PS2 receiver become solid?

It should not need to be commented out. The code was meant to be used “as is”.

No.

We await your reply regarding the LEDs.

I just want to thank you real real quick. You guys are great with customer service and i do appreciate your help.

Ok what i meant about the speaker was that i dont know how to physically enable it by wiring it. Ive been looking at tutorials and none that ive found show how to do that.

Heres a short video of the bot powered then me turning on and trying to use the PS2 handle.

https://www.youtube.com/watch?v=lBXNGE96YvY">http://youtu.be/lBXNGE96YvY

Sorry it took so long.

Just to make sure im using the right firmware code, could you link me to the right code?

https://www.youtube.com/watch?v=�tween%

Ok i removed the boards from the bot and wired everything back the way i had it. For some reason ive lost power on the VS2 side of the SSC-32u. I tested it and it putting out 1.5v on that side.

Here are the pics you requested of the wiring.

i1254.photobucket.com/albums/hh601/Duhjoker1/Quadruped/B7556559-64D4-4758-B585-D3479B9CBBE0_zpscvhz7d87.jpg

i1254.photobucket.com/albums/hh601/Duhjoker1/Quadruped/170D09F2-D13D-48F2-8BEA-DEB020E9246A_zpsfmbrekgb.jpg

i1254.photobucket.com/albums/hh601/Duhjoker1/Quadruped/5A09DECC-9732-42EE-8C3D-9660EE8B6434_zpsahlecndh.jpg

Here is a video of me testing everything

youtu.be/8lO5cCFrWio

Sometimes the green lights stay on for a few seconds but it never moves when use the D-pad or analogs

I have not removed any of the jumpers and wanted to mention that im getting no sound from the speaker and have not changed the code or anything on the config file for the speaker. I left it the way it was.

And if you dont mind could you link me to the right code for my bot. Just wanna make sure im using the right one since there seem to be som many variations for different types of hex’s.

Oops i must have moved the VS1 VS2 jumpers to the wrong position. Switched them back should have full power again. Everything else still holds true. Have not changed the code or messed with the speaker jumper.

Both videos are private so we cannot see them.
Regarding the VS1 = VS2 jumper, the two should be in the opposite direction compared to what you have in the last photo (rotate them both 90 degrees).
The sample code for using a PS2+ BotBoarduino + SSC-32/32U: github.com/Lynxmotion/3DOF-4DOF … tboarduino
The guide: lynxmotion.com/images/html/build99f.htm
The first issue to resolve is that of the PS2. If the green LED on the PS2 receiver is not solid, then it’s an issue with the code or the PS2 level shifter to BotBoarduino.
We do not see the receiver and transmitter themselves to confirm which versions they are.
Don’t worry about the jumper of the speaker or how to use it (so long as you have not removed or displaced any jumpers on the BotBoarduino you’re fine).

Sorry bout that, I keep forgetting i have to mark them public on youtube. They should be able to view now.

These are the product numbers for the Ps2 handle and level shifter

RB-Lyn-666 = level shifter
RB-Bat-51= Lynxmotion Ps2 controller and wireless head V1