INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Move Distance My Block (Move_Inches)

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
By Droids Robotics Good Coding Practices: Start with Pseudocode BEGINNER EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 4/1/
BEGINNER EV3 PROGRAMMING Lesson
By Lego Works NXT Light Sensors on the EV3 ADVANCED EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 1/29/
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
BEGINNER PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Debugging Techniques.
Droids Robotics Workshop
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.
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics My Blocks Overview Step-by-Step Visual Guide to Creating a My Block with Inputs with Outputs.
Gyro Turns ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: Switches.
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.
INTERMEDIATE PROGRAMMING Lesson
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)
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 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.
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics © 2015, EV3Lessons.com (last edit 4/9/2015) Stall Detection with code from Hoosier Girlz.
INTERMEDIATE PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
Squaring or Aligning on a Line
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING Lesson
Parallel Beam Synchronization
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Gyro Turns © 2015 EV3Lessons.com, Last edit 12/19/2015.
Parallel Beam Synchronization
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Downloading & Uploading Files
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
Repeating Actions (Loops)
BEGINNER PROGRAMMING LESSONS
Downloading & Uploading Files
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSONS
INTERMEDIATE PROGRAMMING LESSON
Menu System.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Presentation transcript:

INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Move Distance My Block (Move_Inches)

LESSON OBJECTIVES 1.Create a useful My Block 2.Learn why creating a My Block that takes measurements made with a ruler can be useful 3.Practice creating a My Block with Inputs and Outputs © 2015, EV3Lessons.com, (last edit 2/28/2015) 2

WHY IS A MOVE DISTANCE MY BLOCK A GOOD IDEA Built-in move blocks will not take inputs (values) in centimeters or inches. Much easier to measure distance with a ruler than degrees or rotations. If you change your robot design to have bigger or smaller wheels late in the season you don’t have to re-measure every movement of your robot Instead of changing distances in every single program you wrote, just go into your cool Move Distance Block and change the value for how many inches/cm one motor rotation would take. © 2015, EV3Lessons.com, (last edit 2/28/2015) 3

MY BLOCKS WITH INPUTS AND OUTPUTS ( MOVE INCHES ) The next few slides and the corresponding code file teaches you how to make a specific Move Distance My Block called Move Inches. You can easily convert the code to use CM. In the code file, start at PHASE 1. There is also a corresponding worksheet as well as an automatic calculator that will help you in this lesson. © 2015, EV3Lessons.com, (last edit 2/28/2015) 4

PHASE 1: MEASURE WHEELS © 2015, EV3Lessons.com, (last edit 2/28/2015) 5

PHASE 2: MAKING AN INCHES TO DEGREES MY BLOCK © 2015, EV3Lessons.com, (last edit 2/28/2015) 6

PHASE 3: USING THE INCHES TO DEGREES MY BLOCK © 2015, EV3Lessons.com, (last edit 2/28/2015) 7

A LOOK INSIDE INCHES TO DEGREES © 2015, EV3Lessons.com, (last edit 2/28/2015) 8

PHASE 4: ADDING INPUTS © 2015, EV3Lessons.com, (last edit 2/28/2015) 9

PHASE 5: COMPLETED MOVE INCHES MY BLOCK © 2015, EV3Lessons.com, (last edit 2/28/2015) 10

A LOOK INSIDE MOVE INCHES © 2015, EV3Lessons.com, (last edit 2/28/2015) 11

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