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

Slides:



Advertisements
Similar presentations
Squaring or Aligning on a Line
Advertisements

BEGINNER EV3 PROGRAMMING Lesson
By Droids Robotics Good Coding Practices: Start with Pseudocode BEGINNER EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 4/1/
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/
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Turn Degrees My Block.
By Droids Robotics Code contributed by The Construction Mavericks
BEGINNER PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Picking Up and Moving an Object
BEGINNER EV3 PROGRAMMING Lesson
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
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.
INTERMEDIATE PROGRAMMING Lesson
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON MOVE DISTANCE MY BLOCK (MOVE_CM)
BEGINNER EV3 PROGRAMMING Lesson
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 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 FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
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.
BEGINNER EV3 PROGRAMMING Lesson
By Sanjay and Arvind Seshan
By Sanjay and Arvind Seshan
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
Parallel Beam Synchronization
BEGINNER PROGRAMMING LESSON
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Beginner Programming Lesson
BEGINNER PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Parallel Beam Synchronization
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
Beginner Programming Lesson
Line Followers: Basic to Proportional
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSONS
BEGINNER PROGRAMMING LESSON
BEGINNER PROGRAMMING Lesson
Line Followers: Basic to Proportional
BEGINNER PROGRAMMING LESSONS
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Advanced Programming Lesson: Parallel Beams
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Presentation transcript:

BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Turning

LESSON OBJECTIVES 1.Learn to turn the robot a desired number of degrees 2.Learn the differences between Spin and Pivot Turns 3.Learn how to program two different type of turns 4.Learn to write pseudocode © EV3Lessons.com, 2015, (Last edit: 2/26/2015) 2

PIVOT VS. SPIN TURNS 180 Degree Pivot Turn 180 Degree Spin Turn Notice where the robot ends in both pictures after a 180 degree turn. In the Spin Turn, the robot moves a lot less and that makes Spin Turns are great for tight positions. Spin turns tend to be a bit faster but also a little less accurate. So when you need to make turns, you should decide which turn is best for you! Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) B C Start Position End Position Motors B and C Move B C Motor B Moves Start Position End Position B C B C 3

HOW TO MAKE PIVOT AND SPIN TURNS Steering Value Pivot Turn RightPivot Turn LeftSpin Turn RightSpin Turn Left Change Steering value here Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) B C B C B C B C 4 Move Steering Block

MAKING A PIVOT TURN FOR 90 DEGREES Program your robot to turn 90 degrees....Does the robot actually turn 90 degrees if you just pick 90 degrees for distance? Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) B C B C ? 5 Ans. NO! Solution on next page

HOW DO YOU MAKE THE ROBOT TURN 90 DEGREES? Ans. Try using the port view to measure the turn and then input the correct number of degrees. Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) 6

TEACHER INSTRUCTIONS Split up class into groups as need. Give each team a copy of the Turning Challenge Worksheet. Challenge Details are on Slide 8 Discussion Page Slide 9 Challenge Solution on Slide 10 Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) 7

TURNING CHALLENGES Challenge 2 Your robot baseball player must run to second base, turn around and come back to first. Go straight. Turn 180 degrees and return to the same spot. Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) 8 B C Challenge 1 Your robot is a baseball player who has to run to all the bases and go back to home plate. Can you program your robot to move forward and then turn left? Use a square box or tape Start and End position First Base B C Second Base

CLASS DISCUSSION GUIDE Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) 9 Did you try PIVOT and SPIN turns? What did you discover? Pivot turns were fine for Challenge 1, but for Challenge 2, if we used Pivot turns, we were farther away from the base. What situations would one work better than the other? Spin turns are better for tight turns (places where there is not enough space) and you stay closer to your original position. What is PSEUDOCODE? Why do you think programmers find it useful? (pseudocode is from the worksheet) Pseudocode allows programmers to write out their code in plain English before you code in a programming language. It lets you plan and think before you sit down to code. It lets you share your ideas with others you are working with in a common language.

CHALLENGE SOLUTIONS Challenge 2 You probably used a spin turn because it is better for tighter turns and gets you closer to the starting point! Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) 10 Challenge 1 You probably used a combination of move steering to go straight and do pivot turns to go around the box. B C Start and End position First Base B C Second Base

TURNING AN ATTACHMENT ARM, NOT JUST THE WHEELS Attach a medium motor to Port A or a large motor to Port D as needed. Move Steering vs. Motor Block For moving your wheels you should use a Move Steering Block that syncs both wheel motors (see intermediate lesson called Move Blocks to learn about sync) For moving your attachment your arm, you use either a Medium Motor Block or a Large Motor Block because you don’t need to sync your motors. Medium Motor Block Large Motor Block Copyright © EV3Lessons.com 2014 (Last edit: 2/26/2015) 11

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