Communication ECA Phase IV Class 4: Driving Reversely 20181003

In this Lesson, students will use the Brick Status Light and Display Block to program their wheeled robot to simulate visual signals for pedestrians, other car drivers, and passengers when reversing. Students will also use the Touch Sensor to simulate forward and reverse gears. Touch Sensor can detect when the sensor’s red button has been pressed or released.

Program 1: Bump and Reverse
There are three different modes of the Touch Sensor, i.e., pressed, released, bumped (Pressed and Released Just Before).

  1. Start the Program.
  2. Drive forward in a straight line at the desired speed.
  3. Wait for the Touch Sensor (simulating changing to reverse gear) to be “bumped”.
  4. Stop the motors.
  5. Wait for 1 second.
  6. Activate the “reverse lights” (amber lights on EV3 Brick).
  7. Reverse direction of travel for 2 seconds。

Program 2: Bump, Wait for Reverse Gear

Introduce the use of the button on the EV3 Brick to act as the “reverse” gear.

  1. Start the program.
  2. Drive forward in a straight line at the desired speed.
  3. Wait for the Touch Sensor (simulating change to reverse gear) to be “bumped”.
  4. Stop the motors.
  5. Wait for the Brick Button (simulating change to reverse gear) to be pressed.
  6. Activate the “reverse lights” (amber lights on the EV3 Brick).
  7. Reverse the direction of travel for 2 seconds.

Leave a Reply

Your email address will not be published. Required fields are marked *

Play2Learn Education