BEGINNER EV3 PROGRAMMING Lesson

Slides:



Advertisements
Similar presentations
BEGINNER EV3 PROGRAMMING Lesson
Advertisements

BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Display Block.
Menu System ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics
BEGINNER PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Switches.
Calibrating Color Sensors
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 INTERMEDIATE EV3 PROGRAMMING LESSON SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW.
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.
BEGINNER PROGRAMMING LESSON
By Sanjay and Arvind Seshan
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
Proportional Control with the Sound Sensor
By Sanjay and Arvind Seshan
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
By Sanjay and Arvind Seshan
SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
Beginner Programming Lesson
BEGINNER PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
Repeating Actions (Loops)
Beginner Programming Lesson
Line Followers: Basic to Proportional
BEGINNER PROGRAMMING LESSONS
BEGINNER PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
Proportional Control with the Sound Sensor
Line Followers: Basic to Proportional
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSONS
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
Menu System.
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Presentation transcript:

BEGINNER EV3 PROGRAMMING Lesson Topics Covered: Switches By: Droids Robotics

Lesson Objectives Learn how to make your robot decide what to do out of different choices Learn how to use a Switch Block © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Switch Blocks Run this code if the answer is yes Asking the robot a question and doing something different based on the answer Example: Does the robot see a line? Or not? Basically a YES/NO QUESTION Switch blocks are found in the orange/flow tab The question being asked: is the touch sensor pressed Run this code if the answer is no © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Switch Block CHALLENGE 1 Challenge: Write a program that changes the display based on if the touch sensor is pressed or not pressed. If pressed, your EV3 is happy! Display a smiley face. If not pressed, the EV3 is sad! Display a sad face. Hint: You will need to use the display block, loops and switch blocks! © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Challenge 1 SOLUTION Display Block Touch Sensor Wait Block Selected Loop Display Block © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Switch Block Challenge 2 Can you write a program that display big eyeballs if you touch it once and a sad face if you touch it a second time and toggles back and forth. © EV3Lessons.com, 2015, (Last edit: 2/26/2015)

Challenge 2 solution © 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)