BEGINNER EV3 PROGRAMMING Lesson

Slides:



Advertisements
Similar presentations
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Turning.
Advertisements

Squaring or Aligning on a Line
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Parallel Beams INTERMEDIATE EV3 PROGRAMMING LESSON By Droids Robotics
Parallel Beam Synchronization
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Display Block.
By Droids Robotics Infrared Sensor Intermediate EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 5/26/
Menu System ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Turn Degrees My Block.
By Droids Robotics Code contributed by The Construction Mavericks
Using the Gyro Sensor and Dealing with Drift
BEGINNER PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Color Line Follower My Blocks with Inputs: Move Until Black © 2014, Droids Robotics, v. 2.0, Last edit.
Gyro Turns ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Switches.
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Move Distance My Block (Move_Inches)
Calibrating Color Sensors
Alternative Squaring on a Line
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: EV3 Basics Introduction to the EV3 Brick and Software.
BEGINNER EV3 PROGRAMMING Lesson
By Droids Robotics Line Followers: Basic to Proportional ADVANCED EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 4/5/
 By Droids Robotics Code Contributed by FLL 1920 Line Following with Two Color Sensors and Proportional Control ADVANCED EV3 PROGRAMMING LESSON © 2015.
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)
By Droids Robotics INTERMEDIATE EV3 PROGRAMMING LESSON SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Using Sensor Data and Port View.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON DATA WIRES.
By Droids Robotics INTERMEDIATE PROGRAMMING LESSON BRICK BUTTONS AS SENSORS.
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics PROPORTIONAL ULTRASONIC WALL FOLLOWER © 2015, EV3Lessons.com, Last edit 11/17/2015.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Touch Sensor.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON COLOR LINE FOLLOWER MY BLOCK WITH INPUTS: MOVE FOR DISTANCE.
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSONS
BEGINNER PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSONS
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Presentation transcript:

BEGINNER EV3 PROGRAMMING Lesson Topics Covered: Ultrasonic Sensor By: Droids Robotics

LESSON OBJECTIVES Learn about the Ultrasonic Sensor Learn how to use Wait Until Ultrasonic Block Learn the difference between the Wait Until Ultrasonic Block and the Ultrasonic Block © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

What is a sensor? A sensor lets an EV3 program measure and collect data about is surroundings The EV3 sensors include: Color – measures color and darkness Gyro – measures rotation of robot Ultrasonic – measures distance to nearby surfaces Touch – measures contact with surface Infrared – measures IR remote’s signals Our lessons will cover the 4 sensors in green. Image from: http://www.ucalgary.ca/IOSTEM/files/IOSTEM/media_crop/44/public/sensors.jpg © EV3Lessons.com, 2015, (Last edit: 2/26/15)

ULTRASONIC An ultrasonic sensor measures distance. You use it when you need to make sure you are a certain distance away from a target. The distance can be measured in inches or centimeters. To read the ultrasonic sensor, you use the Ultrasonic Block. To use the ultrasonic to do an action until a distance, you use “Wait Until” Read Ultrasonic VS. Wait for Ultrasonic © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Ultrasonic CHALLENGE 1 Challenge: Make the robot move until it is 5 inches away from the wall. Step 1: Make a new program Step 2: Set move to “on” Step 3: Set wait block to use the Ultrasonic Step 4: Set move block to “off” © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Challenge 1 solution © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Challenge 2: Dog Follower If the robot is closer than 5 inches away from your hand move backward, otherwise move forward. Step 1: Drag a loop from the orange tab Step 2: Drag switch inside loop Step 3: Set switch to Ultrasonic Step 4: Set move steering block to ON and place in TRUE Step 4: Set move steering block to OFF and place in FALSE © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Challenge 2 solution © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Robots can follow you & even dance with this code! © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Better Dog follower: The previous dog follower kept the robot moving always. This version lets the “dog” rest if it is between 4-6 inches. © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

CREDITS This tutorial was created by Sanjay Seshan and Arvind Seshan from Droids Robotics. More lessons are available at www.ev3lessons.com Author’s Email: team@droidsrobotics.org                           This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. © EV3Lessons.com, 2015, (Last edit: 2/26/2015)