MIT220-Robotics Boe-Bot Book Notes-Q15

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

move slower

The following code will cause the boebot to do what? PULSOUT 13, 780 PULSOUT 12, 720

it causes the Boe-Bot to move forward for 3 seconds

what does the Boe-Bot Navigation code do

this code will make the light connected to Pin 13 turn off and on every second

what does the LED Circuit Code do

it causes the servo to rotate counterclockwise

what does the first PULSOUT command of the Boe-Bot Navigation program do: FOR counter = 1 TO 122 PULSOUT 13, 850 PULSOUT 12, 650 PAUSE0 NEXT

it causes the LED lights to both blink on and off at every 1/2 second

what does the modification DO HIGH 12 HIGH 13 PAUSE 500 LOW 12 LOW 13 PAUSE 500 LOOP do

IT causes the serve to rotate clockwise

what does the second PULSOUT command of the Boe-Bot Navigation code do: FOR counter = 1 TO 122 PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT

DO HIGH 12 HIGH 13 PAUSE 500 LOW 12 LOW 13 PAUSE 500 LOOP

what modification to the LED Circuit Code makes P13 turn on/off every 1/2 second

it causes the servos to rotate near their maximum speed, so by brining the PULSOUT Duration arguments closer to the stay still value of 750, you can slow down the Boe-Bot.

The PULSOUT duration arguments of 650 and 850 causes what?

It would make it first, turn forward, secondly, left, thirdly, right, and finally, backwards

What would this code do? ' Robotics with the Boe-Bot - ForwardLeftRightBackward.bs2 ' Move forward, left, right, then backward for testing and tuning. ' {$STAMP BS2} ' {$PBASIC 2.5} DEBUG "Program Running!" counter VAR Word FREQOUT 4, 2000, 3000 'Signal program start/reset. FOR counter = 1 TO 64 ' Forward PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT PAUSE 200 FOR counter = 1 TO 24 ' Rotate left - about 1/4 turn PULSOUT 13, 650 PULSOUT 12, 650 PAUSE 20 NEXT PAUSE 200 FOR counter = 1 TO 24 ' Rotate right - about 1/4 turn PULSOUT 13, 850 PULSOUT 12, 850 PAUSE 20 NEXT PAUSE 200 FOR counter = 1 TO 64 ' Backward PULSOUT 13, 650 PULSOUT 12, 850 PAUSE 20 NEXT END

' Robotics with the Boe-Bot - BoeBotForwardThreeSeconds.bs2 ' Make the Boe-Bot roll forward for three seconds. {$STAMP BS2} {$PBASIC 2.5} DEBUG "Program Running!" counter VAR Word FREQOUT 4, 2000, 3000 'Signal program start/reset. FOR counter = 1 TO 122 'Run servos for 3 seconds. PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT END

what is the Boe-Bot Navigation code

' Robotics with the Boe-Bot - HigLowLed.bs2 ' Turn the LED connected to P13 on/off once every second. ' {$STAMP BS2} ' {$PBASIC 2.5} DEBUG "The LED connected to Pin 13 is blinking!" DO HIGH 13 PAUSE 500 LOW 13 PAUSE 500 LOOP

what is the LED Circuit Code

PULSOUT 13, 650 PULSOUT 12, 850

what two commands will make ur boebot move backwards

PULSOUT 13, 650 PULSOUT 12, 650

what two commands will make ur boebot turn left (counterclockwise)

PULSOUT 13, 850 PULSOUT 12, 850

what two commands will make ur boebot turn right (clockwise)

3 seconds

how long is the boebot going to drive using thsis code: FOR counter = 1 TO 122 PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT


Ensembles d'études connexes

05.13 Wildlife Management and Hunting Ethics

View Set

Anti-Infectives NCLEX style Q's from Lehne CH 83-88

View Set

Intro to Entrepreneurship Chapter 3

View Set

AP Computer Science Principles - Programming Review

View Set