100% found this document useful (1 vote)
1K views13 pages

Open Roberta Lab (Module)

The document provides instructions for 4 projects using the EV3 robotics platform. Project 1 teaches basic movements and turns using motor blocks. Project 2 introduces ultrasonic sensing to detect and respond to objects. Project 3 uses color sensing to follow or stop at black lines. Project 4 programs the robot to stop or move at certain angles to make patterns using gyroscopic sensing. Each project includes block programming simulations.

Uploaded by

Diaqueen Zu-yanz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views13 pages

Open Roberta Lab (Module)

The document provides instructions for 4 projects using the EV3 robotics platform. Project 1 teaches basic movements and turns using motor blocks. Project 2 introduces ultrasonic sensing to detect and respond to objects. Project 3 uses color sensing to follow or stop at black lines. Project 4 programs the robot to stop or move at certain angles to make patterns using gyroscopic sensing. Each project includes block programming simulations.

Uploaded by

Diaqueen Zu-yanz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

EV3 with

Open
Roberta
Lab
module

1
Project 1: Moves and Turns
Learn how to execute control movements.

Block 1: Press the START button.

Block 2: Robot move forward for 50 cm at the speed of 30 %,

Block 3: Robot waits for 1 second. (1 sec = 1000 millisec)

Block 4: Robot moves backward for 70 cm at the speed of 60.

Block 5: Robot waits for 1 second.

Block 6: Motor B (right) turns for 2.35 rotation at the speed of 60% which results in a
perfect U-turn.

2
Block 1: Press the START button.

Block 2: Robot turns a perfect 360-degree rotation for a distance of 41.8 cm at a motor
speed of 50%.

Block 3: Robot waits for 0.5 second.

Block 4: Robot turns right at the speed of 50% for at a distance of 1380 degrees (wheel
rotation).

Block 5: Robot waits for 0.5 second.

Block 6: Robot rotates a 180 degree semi-circle at the speed of 50%.

3
Simulation Map Project 1

4
Project 2: Objects and Obstacles
Learn how to use an Ultrasonic Sensor to detect an object and respond to it

Block 1: Press the START button.

Block 2 (forever): The program will continue to run until a STOP button is pressed.

Block 3 : The reading measured by the Ultrasonic will be displayed on the LCD screen at
the position of (2,1).

Block 4 (if) & block 5 (blue sensor block): If the sensor detects an object in a distance
less than 20 cm, then...

Block 6: A sound will be played for 1 second.

5
Reminder: Make sure the object is in-line with the robot for a better result.

Block 1: Press the START button.

Block 2: Robot starts to move straight at the maximum speed until the Ultrasonic Sensor
detects an object.

Block 3: The sensor (port 4) detects an object at a distance of less than 20 cm.

Block 4&5: Robot will immediately stop moving for 1 second.

Block: Robot will start to move in a reverse direction at a speed of 50%.

Block 7&8: When the distance between the sensor and the object becomes more than
60 cm, the robot will immediately stop.

6
Simulation Map Project 2

7
Project 3: Colors and Lines

Program a Color Sensor to stop at a black line.

Block 1: Press the START button.

Block 2 (Repeat until): The robot will continuously repeat the program until a particular
condition is met.

Block 3 (Sensor): Motor C will start to rotate at 50% speed.

Block 4: Color sensor is ready to detect any black color.

Block 5: Motor C stops right at the moment the Color Sensor detects black color.

8
Program a Color Sensor to follow a black line.

Block 1: Press the START button.

Block 2 (forever): The program will continue to run until the STOP button is pressed.

Block 3 (if) & block 4 (logic block): If the colour sensor detects a black colour, then...

Block 4 (do): Robot will move forward with the Left motor moving at 30% speed and Right
motor moving at 10% speed of distance 1 cm.

Block 5 (else): Robot will move forward with the Left motor moving at 10% speed and Right
motor moving at 30% speed of distance 1 cm.

9
Simulation Map Project 3

10
Project 4: Angles and Patterns
Program the robot to stop at a certain angle.

Block 1: Press the START button.

Block 2: Robot will turn right with the speed of 40%.

Block 3: Gyro sensor detects the change in 45-degree angle.

Block 4: Robot immediately stops moving.

Block 5: Robot moves forward with the speed of 30% for 50cm

11
Program the robot to move at a certain angle and make a pattern.

Block 1: Press the START button.

Block 2: Robot moves forward with the speed of 30% for 50cm.

Block 3: Robot turns right at the maximum speed of 100%.

Block 4: Gyro sensor detects as the turning angle reaches exactly 120 degree.

Block 5: Robot moves forward with the speed of 30% for 50cm.

Block 6: Robot turns right at the maximum speed of 100%.

Block 7: Gyro sensor detects as the turning angle reaches exactly 240 degree.

Block 8: Robot moves forward with the speed of 30% for 50cm.

Block 9: Robot immediately stops moving.

12
Simulation Map Project 4

13

You might also like