l am building a phoenix hexapod robot. l already established my robot by connecting the ssc32U to botboarduino and ps2 to botboarduino. after that, both card is communicated with rx-tx according to user guide…
my first question,
since in the past ,l uploaded the code to the botboarduino , now, my ssc32U’s A light is blinkig which shows data is being recieved bt ssc32 from botboarduino.However, although my all power and communication connection is true, no servo is working why ?. in the unplugged mode between botboarduino and pc, pwr ,L, tx and rx is lightining up on botboarduino and only A and power are lighting up on the ssc32… Also , if l am wrong with the rx-tx connection ,why and where is A light recieving data ?
second one,
l tried to upload the codes again to learn whether l was wrong before or not . the program now gives some errors
PS2_controller.cpp:91: error: ‘PS2X’ does not name a type
PS2_controller.cpp: In member function ‘void InputController::Init()’:
PS2_controller.cpp:123: error: ‘ps2x’ was not declared in this scope
PS2_controller.cpp: In member function ‘void InputController::ControlInput()’:
PS2_controller.cpp:155: error: ‘ps2x’ was not declared in this scope
PS2_controller.cpp:162: error: ‘PSB_START’ was not declared in this scope
PS2_controller.cpp:175: error: ‘PSB_L1’ was not declared in this scope
PS2_controller.cpp:188: error: ‘PSB_L2’ was not declared in this scope
PS2_controller.cpp:201: error: ‘PSB_CIRCLE’ was not declared in this scope
PS2_controller.cpp:218: error: ‘PSB_CROSS’ was not declared in this scope
PS2_controller.cpp:230: error: ‘PSB_SQUARE’ was not declared in this scope
PS2_controller.cpp:240: error: ‘PSB_TRIANGLE’ was not declared in this scope
PS2_controller.cpp:247: error: ‘PSB_PAD_UP’ was not declared in this scope
PS2_controller.cpp:250: error: ‘PSB_PAD_DOWN’ was not declared in this scope
PS2_controller.cpp:253: error: ‘PSB_PAD_RIGHT’ was not declared in this scope
PS2_controller.cpp:260: error: ‘PSB_PAD_LEFT’ was not declared in this scope
PS2_controller.cpp:270: error: ‘PSB_SELECT’ was not declared in this scope
PS2_controller.cpp:285: error: ‘PSB_R1’ was not declared in this scope
PS2_controller.cpp:295: error: ‘PSB_R2’ was not declared in this scope
PS2_controller.cpp:301: error: ‘PSB_R3’ was not declared in this scope
PS2_controller.cpp:308: error: ‘PSS_RY’ was not declared in this scope
PS2_controller.cpp:311: error: ‘PSS_LX’ was not declared in this scope
PS2_controller.cpp:312: error: ‘PSS_LY’ was not declared in this scope
PS2_controller.cpp:320: error: ‘PSS_RX’ was not declared in this scope
PS2_controller.cpp:326: error: ‘PSS_LX’ was not declared in this scope
PS2_controller.cpp:327: error: ‘PSS_LY’ was not declared in this scope
PS2_controller.cpp:328: error: ‘PSS_RX’ was not declared in this scope
PS2_controller.cpp:329: error: ‘PSS_RY’ was not declared in this scope
PS2_controller.cpp:334: error: ‘PSS_LY’ was not declared in this scope
PS2_controller.cpp:335: error: ‘PSS_RX’ was not declared in this scope
PS2_controller.cpp:336: error: ‘PSS_LX’ was not declared in this scope
PS2_controller.cpp:337: error: ‘PSS_RY’ was not declared in this scope
PS2_controller.cpp:343: error: ‘PSB_SELECT’ was not declared in this scope
PS2_controller.cpp:351: error: ‘PSS_LX’ was not declared in this scope
PS2_controller.cpp:352: error: ‘PSS_RY’ was not declared in this scope
PS2_controller.cpp:353: error: ‘PSS_LY’ was not declared in this scope
PS2_controller.cpp:356: error: ‘PSB_R2’ was not declared in this scope
PS2_controller.cpp:367: error: ‘PSB_SELECT’ was not declared in this scope
PS2_controller.cpp:379: error: ‘PSB_R2’ was not declared in this scope
PS2_controller.cpp:385: error: ‘PSS_LX’ was not declared in this scope
PS2_controller.cpp:385: error: ‘PSS_LY’ was not declared in this scope
PS2_controller.cpp:385: error: ‘PSS_RX’ was not declared in this scope
what should l do ? and l am using ps2 v4… thanks a lot…
edit: l uploaded the program to botboarduino by importing the ps2x. lib to the main program.
data is still being recieved ,but no servo works
thanks for answering…
l dealed with it, but now, it seems that botboarduino is sending data to ssc32u but no servo is working. what can ı do ?, do you know what the problem is ?
What code are you sending to the SSC-32U? Are you using the sample code? If so, do you have the correct soft serial pins connected between the BBduino and SSC-32U’s Tx / Rx and GND?
There’s a lot to cover in the setup, so be sure to read it all point by point.
according to ‘’ lynxmotion.com/images/html/build99f.htm ‘’, l have had all connection in there like calibration, rx-tx-groung connection,uploading the program to botboarduino… all of them are done… if l am right, ssc 32U’s A light next to crystal is blinking to me when the botboarduino is sending data, which shows that both card is working… but l think either the data type botboarduino send to ssc32u is wrong so ssc32 doesn’t get it or the code l uploaded from that link to the botboarduino is wrong.
Thank you. We can’t quite see the following in the image:
Can you confirm which pins the Tx and Rx pins are connected to on the BBduino? Tx rom the BBduino should go to Rx on the SSC-32U and vice-versa, and you seem to have GND to GND. Check the code you are using to see which pins on the BBduino are software serial input and software serial output.
How are you powering each board? We see there may be a voltage regulator involved.
can you confirm when you upload the code, that it includes all tabs associated with the sample code and uploads successfully?
l am sure the wiring connection is right … l did as you say.
2)ssc32u’s and botboarduinos’s power is given thought vs1 and vl respectively with the same source…, no another power source in both card…
Your servo connections seem ok, the code you are using is correct. What is the power supply?
Did you happen to change the baud rate on the SSC-32U? Note that the code specifies a baud rate for software serial which needs to match the one used on the SSC-32U.
We’ll get it - and thank you for your patience.
l am very excited now … my robot is working. it is getting my ps2 command. However, it is very slow and the legs are moving stupidly… you will say me calibrate your robot,but l calibrate it with lynxtermin…in addition to that ,as a consequence of working , we suppose that it should be able to move but a little bit at random… but some legs working as if there is no purpose to do…
yes l know it. l did the calibration and in lynxterm when l press the all=1500 button, all servos go that position… and it almost seems that the servos is in right position.however, when l power the robot up, some servos are working and they are moving like uncalibrated. for example, servos 00-01-02 is being located like a straight stick along the sky. after that some other servos are moving like this one but one by one… do l also have to calibrate my robot with hexapod calibration program ?
by the way, l am really greateful for answering me and for your patient…
if it wasnt you that the one l am speaking , maybe already ,l gave up doing that…
okay , when l press the all=1500 button, all servos moving that position and robot is standing by as shown in the assembly guide. l think this is not the case. if we think that all process is done, robot is supposed to move with a algortihm determined by lynxmotion. but in my robot, servos 00-01-02(right back) are moving stupidly later servos 24-25-26 (left front) is doing like that one. after these servos , there is no motion… if l play with ps2 console , servos are changing but almost the same thing… if you dont get this situation , l can upload a video showing what is going on…
sorry, I couldn’t answer as l had some exams l am student … l will upload a video showing how my robot is working stupidly after powering up. when pressing a ps2 button, movements is changing but still the same pattern.