Ir:1Y LTE T-Mobile ooss bb-csuohio.blackboard.com ESTION The BASIC Stamp program
ID: 3770862 • Letter: I
Question
Ir:1Y LTE T-Mobile ooss bb-csuohio.blackboard.com ESTION The BASIC Stamp program shown below wil operate the Boe-Bot in a straight line. For hovw many seconds will the robot operate? Recall that for each FOR-NEXT loop, the pulse to P13 is 1.7 msthe pulse to P1 2 is 1 .3 ms, the pause duration is 20 ms. and the software overhead is 1.6 ms SSTAMP BS2) SPBASIC 2.5 DEBUG "Program Runningl counter VAR Word FOR counter 1 TO 190 PULSOUT 13, 850 PULSOUT 12, 650 PAUSE 20 NEXT END P12 servo clockwise QUESTION The Boo-Bot robot is operated in a straight line at maximum speed with the following BASIC Stamp program: (SStamp bs2 pulse count var word for pulse count = 1 to 1000 pulsout 12, 850 pulsout 13, 650 pause 20 end The servo motors driving each wheel have a maximum rotational speed of 48 rpm. If the diameter of each wheel is 1.0 cm, how much time (in seconds) is required for the robot to move a distance of 2 centimeters. Consider a program that will make your Boe-Bot navigate counter-clockwise along a circular course as shown below, Assume the diameter of the circle to be about 1 m. In the program given below, select the values for X (P13) and Y (P12) in the PULSOUT commands that will result in the desired circular motion of the Boe-Bot ,($STAMP BS2) (SPBASIC 2.5 DEBUG "Program running pulseCount VAR Word Pulse count to servVos FREOOUT 4, 2000, 3000 Signal program startiresetExplanation / Answer
a) the robot will operate foe 0.57 seconds
b) The robot will take 0.7961 =0.8 seconds to complete the distance of 2 cm
48rpm ...
diameter is 1cm
so radius 0.5cm
circumference =2*3.14*0.5= 3.14cm
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.