I’m new to building robots and just finished putting together the BRAT. I have both the SSC 32 and the Bot Board, but I’m only using the Bot Board with the BS2. I’ve found a tutorial with SSC and BS2 but it covered little and I’m using the bot board 2 instead of the ssc. Are there any sources out there that could help me?
There is a tutorial that shows you how to use a BS2 with the SSC-32. Simplistic as it is, it does accurately illustrate how to send data from the BS2 to the SSC-32 so you can write more complex programs.
lynxmotion.com/images/html/proj51a.htm
The differences between the Mini Atom Bot Board, and the Bot Board 2 are not significant with the exception of the Bot Board 2 does not support the PS2 game controller. The BS2 never did a great job communicating with the PS2 game controller anyway so we dropped it. Probably the best way for you to get the help you need is state which tutorial or guide you are looking at, and ask the questions you need answers to so you can write your program. This will make it much easier to get you the help you need.
on the tutorial above, i noticed the use of :
serout 15,6,"#10 P1500 #11 P1500 #12 P1500 #13 P1500 #14 P1500 #15 P1500",13]
for moving the servo motors instead of PULSOUT. I can see that serout is much more efficient, but I can’t fully understand how the output works. Are the #10, #11 the I/O pins? and P1500 the pulse?
But if so, “15” after serout also indicates the Tpin. Does it matter which pin I select here then?
Thanks for your help
The above code seems to only work right if I use the SSC. However, I am only using the bot board, how can I use serout for the botboard? Or would you suggest using the SSC for an autonomous bot instead?
You stated that you have an SSC-32. Do you not want to use it for the biped? It is technically possible to control a BRAT with only a BS2, but it would be a very laborious programming chore. Your question above seems to be asking how do I use a program intended to work with the SSC-32 without the SSC-32. The answer is, you can’t. Don’t forget that the SSC-32 has very powerful hardware and software built-in to make controlling servo moves (sequence steps) as a group. This means they all start and end motion as a group even if the individual amounts the servos move is different. You just can’t do this with a BS2.
so are you suggesting that I use both the ssc and bot board w/ BS2? I just didn’t want to have too much load on the biped. How would you go about using the two of them together? Is there a tutorial for this?
The reason why I thought i could get away without an SSC was because I saw this tut:
lynxmotion.com/images/html/build130.htm
for the autonomous bot w/o SSC
I guess its only possible with an ATOM…so basically with the BS2 I can only move the servos one at a time?
I appreciate the help
That’d be the one from above…
lynxmotion.com/images/html/proj51a.htm
You got it. The Atom Pro is way different that the BS2. More speed, more memory, more hardware. The BS2 can’t do what the Atom Pro can do.
oops…I guess I didn’t read into the tut
To prevent confusion I’m reposting this post here
I tried to convert the numbers on the bot tutorials for moving forward
Code:
' {$STAMP BS2}
' {$PBASIC 2.5}
SEROUT 15,6,"#0 P1573 #1 P1292 #2 P1292 #16 P1427 #17 P1708 #18 P1708 T500",13]
SEROUT 15,6,"#0 P1427 #1 P1292 #2 P1292 #16 P1573 #17 P1708 #18 P1708 T500",13]
SEROUT 15,6,"#0 P1427 #1 P1708 #2 P1708 #16 P1573 #17 P1292 #18 P1292 T500",13]
SEROUT 15,6,"#0 P1573 #1 P1708 #2 P1708 #16 P1427 #17 P1292 #18 P1292 T500",13]
The above basically bends both knees in the same direction, this would be true even if the pin positions were switched. But if I set the value for both left and right knee and hip to be equal(instead of opposites) the biped at least looks like its walking:
I used different numbers here than above. This code allows the biped to wobble slowly forward, it could just be my servos are overloaded or the code.
[code]Code:
’ {$STAMP BS2}
’ {$PBASIC 2.5}
'SEROUT 15,6,"#0 P1500 #1 P1500 #2 P1500 #16 P1500 #17 P1500 #18 P1500 T500",13]
'The above code is not used because Lynxterm was used and Initial Pulse Width enabled
PAUSE 500
start:
'right ankle bend
SEROUT 15,6,"#0 P1700 #1 P1500 #2 P1500 #16 P1500 #17 P1500 #18 P1500 T500",13]
PAUSE 500
'stride right
SEROUT 15,6,"#0 P1700 #1 P1000 #2 P1000 #16 P1500 #17 P1500 #18 P1500 T500",13]
PAUSE 500
'plant right ankle
SEROUT 15,6,"#0 P1500 #1 P1000 #2 P1000 #16 P1500 #17 P1500 #18 P1500 T500",13]
PAUSE 500
'bend left ankle
SEROUT 15,6,"#0 P1500 #1 P1500 #2 P1500 #16 P1300 #17 P1500 #18 P1500 T500",13]
PAUSE 500
'stride
SEROUT 15,6,"#0 P1500 #1 P1500 #2 P1500 #16 P1300 #17 P2000 #18 P2000 T500",13]
PAUSE 500
'plant
SEROUT 15,6,"#0 P1500 #1 P1500 #2 P1500 #16 P1500 #17 P2000 #18 P2000 T500",13]
PAUSE 500
GOTO start[/code]
Is my use of the conversions messed up?