Vous êtes sur la page 1sur 3

ERASMUS Mindstorms NAME: Greek Team

Activity 2

GRADE: Year 4

DIFFICULTY FROM 1 TO 10: 2

Scenario. Working with the Riley Rover which has been already built. Practicing with
ultrasonic sensor and wait block. Make your robot stops when it detects an object that is
less than 30 cm away.
Make your robot:
a) move a) Use Move Steering Block and set the first
parameter On
b) forward
b) Set the steering parameter to 0
c)set the speed of the robot to 60 c) Set the speed parameter to 60

Use the appropriate block to make your Use the wait block
robot detect obstacles using ultrasonic Choose the ultrasonic sensor for the first
sensor parameter of the wait block

Make your robot stop when it detects an First parameter of wait block: ultrasonic
obstacle in distance less than 30 cm away sensor  Compare  Distance Centimeters
Set the value < (4) to the second parameter
of wait block, Compare Type.
Set the value 30 to the third parameter of
wait block, Threshold Value
Add the Move Steering Block and set the
first parameter Off

Change your program to use inches instead Set the first parameter of the wait block to
of centimeters  Distance inches

Make your robot stops when it detects an Set the value < (4) to the second parameter
obstacle in distance less than 12 inches of wait block, Compare Type.
away
Set the value 12 to the third parameter of
wait block, Threshold Value
Add the Move Steering Block and set the
first parameter Off

Ralleia Experimental Primary Schools – Evangelia Petraki


CHALLENGE: Program your robot to stop
when it detects another Ultrasonic sensor.

Ralleia Experimental Primary Schools – Evangelia Petraki


ERASMUS Mindstorms NAME: Greek Team
Activity 2

GRADE: Year 4

DIFFICULTY FROM 1 TO 10: 2

Scenario. Working with the Riley Rover which has been already built. Practicing with
ultrasonic sensor and wait block. Make your robot stops when it detects an object that is
less than 30 cm away.
Make your robot:
a) move
b) forward
c)set the speed of the robot to 60

Use the appropriate block to make your


robot detect obstacles using ultrasonic
sensor

Make your robot stop when it detects an


obstacle in distance less than 30 cm away

Change your program to use inches instead


of centimeters

Make your robot stops when it detects an


obstacle in distance less than 12 inches
away

CHALLENGE: Program your robot to stop


when it detects another Ultrasonic sensor.

Ralleia Experimental Primary Schools – Evangelia Petraki

Vous aimerez peut-être aussi