Sunteți pe pagina 1din 10

FORWARD MOTION:

Forward movement of Boe-Bot Make the Boe-Bot move in the forward direction {$Stamp bs2} Pulse_count VAR Byte FOR pulse_count = 1 TO 200 PULSOUT 12,650 PULSOUT 13,850 PAUSE 20 NEXT END

BACKWARD MOTION:
Backward movement of Boe-Bot Make the Boe-Bot move in the backward direction {$Stamp bs2} Pulse_count VAR Byte FOR pulse_count = 1 TO 250 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT END

LEFT TURN:
'Left turn 'To make the Boe- Bot turn left {$Stamp bs2} pulse_count VAR Byte FOR pulse_count = 1 TO 200 PULSOUT 12,650 PULSOUT 13,650 PAUSE 20 NEXT END

RIGHT TURN:
'Right turn 'To make the Boe- Bot turn Right {$Stamp bs2} pulse_count VAR Byte FOR pulse_count = 1 TO 200 PULSOUT 12,850 PULSOUT 13,850 PAUSE 20 NEXT END

SQUARE FORMATION:
'formation of square

'To make the Boe-Bot form a square by its movement '{$Stamp bs2} pulse_count VAR Byte FOR pulse_count = 1 TO 100 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 48 PULSOUT 12,750 PULSOUT 13,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 100 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 48 PULSOUT 12,750 PULSOUT 13,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 100 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count = 1 TO 48 PULSOUT 12,750 PULSOUT 13,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count = 1 TO 100 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20

NEXT FOR pulse_count = 1 TO 48 PULSOUT 12,750 PULSOUT 13,850 PAUSE 20 NEXT END

FIGURE DRAWN BY THE BOE-BOT DURING SQUARE FORMATION:

The Boe-Bot followed the path 1-2-3-4 and then stopped at the same position from where it had started

SINUSOIDAL MOVEMENT:
'sinusoidal movement 'To make the Boe-Bot form a sinusoid by its movement '{$Stamp bs2}

pulse_count VAR Byte FOR pulse_count =1 TO 250 PULSOUT 13,720 PULSOUT 12,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 12,780 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 30 PULSOUT 12,750 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 END

FIGURE DRAWN BY THE BOE-BOT DURING SINUSOIDAL MOVEMENT:

The Boe-Bot followed the path 1-2-3-4 .

FORMATION OF SQUARE WITH SEMI CIRCLES ON EACH SIDE:


pulse_count VAR Byte FOR pulse_count =1 TO 250

PULSOUT 13,720 PULSOUT 12,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 13,720 PULSOUT 12,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000

FOR pulse_count = 1 TO 48 PULSOUT 12,850 PULSOUT 13,850 PAUSE 20 NEXT FOR pulse_count =1 TO 250 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250

PULSOUT 13,720 PULSOUT 12,850 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 12,850 PULSOUT 13,650 PAUSE 20 NEXT PAUSE 1000 FOR pulse_count =1 TO 250 PULSOUT 13,720 PULSOUT 12,850 PAUSE 20 NEXT PAUSE 1000

FIGURE DRAWN BY THE BOE-BOT :

The Boe-Bot followed the path 1-2-3-4-5-6-7-8 .

THE BOE-BOT ROBOT.


OBJECT: TO STUDY A BOE-BOT ROBOT

NAME ROLL DEPT YEAR

:ABHISHEK SAFUI :000810701015 :ETCE :3RD YEAR 2ND SEM.

S-ar putea să vă placă și