Propeller BOE-Bot
Nishi .
Posts: 23
Hi I've been working with my BOE-Bot for a while and decided to experiment with propeller by upgrading the Board Of Education to a Propeller Robot Control Board.
I downloaded the 'Spin Stamp Code for the Boe-Bot' @ http://obex.parallax.com/objects/155/
but when running 'ServosP13CcwP12Cw.spin'
...the right wheel goes Counter Clockwise and the left wheel goes Counter Clockwise (bare in mind Ive been using 850,650 2ith BS2)
I try
But the right wheel goes Counter Clockwise and the left wheel goes Counter Clockwise
I try with 650,850 same result?
am I missing something obvious?
Post Edited (Nishi .) : 1/16/2010 10:18:09 PM GMT
I downloaded the 'Spin Stamp Code for the Boe-Bot' @ http://obex.parallax.com/objects/155/
but when running 'ServosP13CcwP12Cw.spin'
''Robotics with the Boe-Bot - ServosP13CcwP12Cw.spin ''Run the servo connected to P13 at full speed counterclockwise ''and the servo connected to P12 at full speed clockwise CON _clkmode = xtal1 + pll8x _xinfreq = 10_000_000 VAR long Pause, Pulsout OBJ Debug: "FullDuplexSerialPlus" PUB ServosP13CcwP12Cw Debug.start(31, 30, 0, 9600) Pause := clkfreq/1_000 Pulsout := clkfreq/500_000 dira[noparse][[/noparse]12..13]~~ outa[noparse][[/noparse]12..13]~ Debug.str(string("Program Running!")) repeat outa[noparse][[/noparse]13]~~ waitcnt(Pulsout * 850 + cnt) outa[noparse][[/noparse]13]~ outa[noparse][[/noparse]12]~~ waitcnt(Pulsout * 650 + cnt) outa[noparse][[/noparse]12]~ waitcnt(Pause * 20 + cnt) '******************************************************************************************** ' Robotics with the Boe-Bot - ServosP13CcwP12Cw.bs2 ' Run the servo connected to P13 at full speed counterclockwise ' and the servo connected to P12 at full speed clockwise ' {$STAMP BS2} ' {$PBASIC 2.5} 'DEBUG "Program Running!" 'DO 'PULSOUT 13, 850 'PULSOUT 12, 650 'PAUSE 20 'LOOP
...the right wheel goes Counter Clockwise and the left wheel goes Counter Clockwise (bare in mind Ive been using 850,650 2ith BS2)
I try
waitcnt(Pulsout * 750 + cnt) outa[noparse][[/noparse]13]~ outa[noparse][[/noparse]12]~~ waitcnt(Pulsout * 750 + cnt)
But the right wheel goes Counter Clockwise and the left wheel goes Counter Clockwise
I try with 650,850 same result?
am I missing something obvious?
Post Edited (Nishi .) : 1/16/2010 10:18:09 PM GMT