В момента ресурсът е наличен само на английски

EV3 basics course. Ultrasonic Sensor. Stop & Move (part3) Pro Preview

Stop on detecting an object with the Ultrasonic sensor and move after detecting there is no object. Join of the previous two video tutorials in one

  • #144
  • 14 Oct 2015
  • 3:00

Instructions for building the EasyBot are available at:

Stop & Move with Ultrasonic Sensor

Program developed with EV3-G for stop and Move with the Ultrasonic Sensor

English

The next program is the following. We move with the robot forward until it reaches my hand at a distance of about 4 inches or 10 cm and then it waits until I remove my hand and it will continue forward. Let's see how we can implement this program.

What we want to do is to move forward with motors A and D for undefined amount of time, so we don't know where the object will be, but we are waiting for the ultrasonic to detect something at a distance less than 4 inches and then we stop with the motors.

The next thing is that now we are stopped and we are again waiting until the object is removed. We are waiting for the ultrasonic sensor to detect distance greater than 4 inches.

As we detect distance greater than 4 inches we move the robot forward again with the Tank block.

So this will be our program. Let's download it to the robot and see how it works. I place my hand here.

Let's do this again because I moved my hand.

The robot moved forward until it reached distance of about 10 cm to my hand and now when I remove my hand the robot will again move forward for about a rotation.

Now let's see how we can program the ultrasonic sensor to follow my hand.

Lessons with this tutorial

This tutorial is used in the following lessons

  1. EV3 Basic Course. Introduction to robot programming, construction and sensor use / Ultrasonic Sensor

    1. ***Tutorial****

    2. ***Tutorial****

    3. EV3 basics course. Ultrasonic Sensor. Stop & Move (part3)
    4. ***Tutorial****

    5. ***Tutorial****

    6. ***Task****

    7. ***Task****

    8. ***Task****

  2. Instructors Remote Training / Ultrasonic Sensor Theory and Practice

    1. ***Tutorial****

    2. ***Tutorial****

    3. EV3 basics course. Ultrasonic Sensor. Stop & Move (part3)
    4. ***Tutorial****

  3. Instructors Remote Training / Ultrasonic Sensor

    1. ***Tutorial****

    2. ***Tutorial****

    3. EV3 basics course. Ultrasonic Sensor. Stop & Move (part3)
    4. ***Tutorial****

    5. ***Task****

    6. ***Task****

    7. ***Task****