any1 can help my problem pls?
my project deal soon~
No… The setting is on the SSC-32 itself.
9 on this diagram is the location of the BAUD jumpers. You will need to remove the jumper on the right in order to set the baud rate to 38.4k.
No… That connection exists so that the Bot Board II can tell the SSC-32 what to do. It has nothing to do with a PS2 controller.
Yes, if you aren’t using a PS2 controller, you don’t need the PS2 cable to be connected.
Don’t you think it would be a good idea for you to test it using the PS2 controller before you go trying to control it from a PC application over serial port? 8)
I dont have a PS2 controller becuase i did’nt purchase when i purchase the robot.
If i get from you now and it should need some time, thats why i need to use PC to control the robot.
Now i got question about proggraming basic atom.
I follow this tutorial :
lynxmotion.com/images/html/build147.htm
Question 1:
My bot board is connecting to ssc-32 (as my hexa robot tutorial teach)
so i didnt follow the picture from BASIC Atom Pro Programming Tutorial.
Instead of connecting the 6v dc to bot board, and i connecting to ssc-32.
So i still can follow the BASIC Atom Pro Programming Tutorial right?
Question 2:
I was stuck on step 7.
Tools -> Preferences and i click on “Find Atom Pro”, it said can find atom pro 28 on COM1. And after that i press button “OK”.
But after that, i can’t click the button “program” or “debug”.
The button color is in gray color thats why i can’t click it.
May i know what problem is this?
Do you have the serial cable connected to the Bot Board?
Does the green power LED light up on the Bot Board?
Did you ensure the serial port number from your USB to serial is entered into the IDE as shown in step 5?
What brand USB to serial cable are you using?
If it’s the FTDI one we sell, did you go into the driver and set latency to minimum?
Have you looked at the serial port troubleshooting guide in step 1?
Are you saying the IDE CAN detect the atom but not program it? Then this is timing associated with USB to serial port latency in the driver, or reset hold time in the IDE.
i am using serial to serial cable thats provided when i purchase robot, i didnt use a usb to serial cable
yes i have serial cable connected to bot board
Here is my step and i am not sure am i correct…
i connect serial cable to ssc-32, in powerpod i press connect and succesful connect.
then i press “ALL=1500” and every servo are in position. Everything up to here are working fine.
without press “ALL=off”, i directly pull the serial cable out from ssc-32 and connect to bot board 2. Remove serial jummper in ssc-32 and connect yellow and black wire from ssc-32 to bot board 2. Change baud rate to 38.4k. The green LED in boat board is light up becuase i think i have provided a correct power supply to it. Then i start to program basic atom 28 using IDE.
Step 5 i have no problem, in powerpod i am using com1, so in IDE i am also using com1.
And when i click “find Atom”, it did found my basic atom 28 in com1.
and yes i have looked the serial port toubleshooting guide, i have comfirm my serial port com1 working well becuase it does work well in powerpod too.
Actually i already have successfully program my basic atom 28 once.
But after that when i hope to program in second times, it failed.
So i hope you can help a bit…
thank~
Why do you deviate from the tutorial…
The two things are completely different.
The first is to set up the offsets for the legs. When done, just turn it off…
The second is to porgram the Atom.
If I follow you correctly you still have PowerPod open when you load the IDE. Windows will not let two programs have the serial port. So if PowerPod is open the IDE can not program the atom.
If you have the wrong extension on the filename or the wrong file selected on the left work area it can cause the IDE to grey out the program option.
ok…
so after i adjust all the offset, i need “ALL=off” and disconnect it and connect serial cable to bot board 2
and after that program my atom.
assume i have succesfully program my atom
and i dont have a PS2 controller
can i use the program (as the picture i attach below) to move my robot?
just press connect and if succesfully connected so i can easily use it without any setting?
the program state that “connect to bot-board”, so is it means my serial cable no need to pull out from bot board 2 after i program it?
thank for helping all the way…
Sorry I have no experience with using the serial control method. You will have to find another person for help with that.
beside ps2 controller
if i want to program the robot to let it move it self
let say i press button A in bot board 2 and it will move forward
who can i find?
My job here is to help with the tutorials we have written. For the robot you are building, it’s the PS2 controller tutorial for hexapods. I try to help everyone always! However I do not know who can help you.
I’m not following your questions 100%, but after you program the Atom, disconnect in the IDE, then run the Serial control program.
Your serial cable stays connected to the BB2 after you program the Atom with the IDE. You just need to free up the port and then switch over to the serial control program.
Notice the baud rate specified in the program build, (build for serial control). You’ll need to use the same baud rate in the serial control program.
HTH
Alan KM6VV
KM6VV, Robot Dude
Thank for your helping…
please always assume that i am using serial to serial cable to control my robot.
but i’m still stuck and can’t use Serial control program to control my robot.
I think i have success program the atom.
After i press “program” in IDE, IDE takes few second to program my atom.
And after that my bot board speaker came out some few beep sound.
But…
Question 1a, “If all is well, you should hear a few short beeps, the legs should snap to position, and slowly lift the body up.” This is from tutorial step 11, i did success hear a few short beeps, but my robot legs have no respond at all, and of course i didn’t connect the ps2 controller.
Question 1b, If my ps2 controller is using cable and not wireless, i do not need to supply power to my ps2 controller right?
Question 1, for my case, my baud rate jumper in ssc-32, the Baud Rate is always connected as 38.4k? I let my jumper stay at baud rate 38.4k always after i finish adjust the offset in powerpod.
Question 2, In IDE program, Tools => preference => Basic, there is a debugger baud rate, what should i put for that? 115.2k or 38.4k?
Question 3, At the bottom of IDE, there is terminal 1 terminal 2 and others. Should i click terminal 1 and click connect? If yes, what baud rate i should choose? I have try few baud rate, only Baud rate 9600 give me a nice result and the output show the word “Rd”. And its keep repeat every second.
Question 4, for the serial control program, there is a button “SetUp”, and inside do have a setting for us to set Baud rate. What baud rate should i write? I not really sure the baud rate for the program becuase the program is build by using PowerPod. i have tried using different baud rate in serial control program. And also, only 9600 baud rate give me some respond. When i click the arrow “up” “down” “L3” or “R3”, its give me different sound from the speaker. But others baud rate give me no respond.
Question 5, about ps2 controller, i know not all PS2 controller can use for my hexa robot, i have a original PS2 and can i use the controller to control my robot? Or can i buy from this website? cytron.com.my/viewProduct.php?pi … Oz/mLQO70=
But i think it is same as normal ps2 controller.
i’m so sorry for so many noob question~
but just few step then i can success finish my project.
thank for helping.
Great!
Is the LED on the SSC-32 out or blinking?
Do you have power going to VS on the SSC-32?
Why wouldn’t it need power? It needs power to operate right?
Yes, this is correct.
Sigh, no one has told you to use debug. There are many issues running the debug. We just use serouts to display in the terminal window.
There is nothing to do with the terminals that will effect the robot. It is a troubleshooting tool. Nothing more.
Open PowerPod, up in the right corner click on Help, then read chapter 7, PC serial port control panel.
The original one will work. I have no idea if the one in the link will work.
question 1
if wireless controller ps2, ofcourse it need to put in battery or supply power.
but mine is using cable (ps2 cable controller) and direct plug to the cable that come with my hexa robot, and the cable direct go to bot board 2. so there is no way for me to supply power to my ps2 controller right?
actually this is a very noob question, just asking for double comfirm~
sorry…
question 2
In IDE, Tools => preference => Basic, about the debugger baud rate, i just leave it there right? no matter what value is that…
question 3
So about the terminal 1 or terminal 2 at the bottom of IDE, i just leave it there and don’t touch it right? No need to click “connect” or set baud rate?
question 4
i have read the powerpod help menu, chapter 7 about PC serial port control panel. It is really short and it didnt explain about the baud rate. and i have try all the baud rate as well. only 9600 baud rate give me some random sound when i click those button.
The PS2 controller receives it’s power from the calbe that is connected to the Bot Board. This is why the power for that port is set to 5vdc not VS. Yes it needs power.
The IDE appears to use 115.2kbaud as the default. Like I said it’s not used and it doesn’t matter.
You only need to connect, if your program is sending data to the terminal. Like I said, it’s used for troubleshooting.
From what I was able to gather by looking over the manual. The PowerPod program creates the code for the Atom Pro for receiving serial data. So it defines the baud rate. There is nothing for you to change.
I opened PowerPod and created a serial port version of the code. I scrolled down to where the serial data is handled and viola…
[code]main
;SerialQuery
serout S_OUT,i9600,“Rd”] ; ‘Ready’ to recieve data now
serin S_OUT,i9600,200000,NoData,[str DualShock(0)\7][/code]
So you can clearly see the baud rate is defined as 9600…
So now do you think you could answer the rest of my questions…
Is the LED on the SSC-32 out or blinking?
Do you have power going to VS on the SSC-32?
I not really sure the LED in ssc-32, i need to check tomorrow.
But if i am not wrong, after i program my basic atom 28, the LED in ssc-32 went out.
So what does this mean?
My connection is totally same as the picture i attach below, so i think i did have 6v power (sub-C cell, 5000mAH) connect to VS on ssc-32
Apply power. Notice SSC-32 green LED light up.
Hear beeps. Beep Beep Etc.
Watch SSC-32 green LED.
On = The SSC-32 never received any data.
Off = The SSC-32 has received data but is not currently receiving data.
Blinking = The SSC-32 is receiving data.
If on, then find wiring error.
If off or blinking, then find the power problem causing the servos to not get power.
question 1
my ssc-32 board, pin 20 got problem (left middle horizontal), so i changed it to pin 19 in ssc-32 board. and also, i change in powerpod from pin20 to pin19, then only i create my program. So thats no problem right?
question 2
the few beep beep beep is mean the program in atom start running?
I only need to program the atom 28 once only right?
so the next time, i just apply power, then notice ssc-32 light.
If off or blinking, then find the power problem causing the servos to not get power.
The power is 6v and 9v.
my 9v is using normal 9v battery that is in rectangle shape. every place also can get this
my 6v is five 1.2v sub-c cell(Ni-Mh) that connected together, current up to 100A, 5000mAH
When i adjust offset using powerpod, everything work fine.
So will my power supply still have problem?
The answer is yes to all…
It should still work then.