ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics © 2015, EV3Lessons.com (last edit 4/9/2015) Stall Detection with code from Hoosier Girlz.

Slides:



Advertisements
Similar presentations
Squaring or Aligning on a Line
Advertisements

By Lego Works NXT Light Sensors on the EV3 ADVANCED EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 1/29/
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.
Using the Gyro Sensor and Dealing with Drift
By Mesa Robles Robotworks and Droids Robotics
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.
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics Move Distance My Block (Move_Inches)
Alternative Squaring on a Line
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Topics Covered: EV3 Basics Introduction to the EV3 Brick and Software.
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)
BEGINNER EV3 PROGRAMMING Lesson
By Droids Robotics INTERMEDIATE EV3 PROGRAMMING LESSON SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW.
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.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON COLOR LINE FOLLOWER MY BLOCK WITH INPUTS: MOVE FOR DISTANCE.
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING Lesson
Ramping Up Speed with Mesa Robot Works FLL #52.
By Sanjay and Arvind Seshan
Parallel Beam Synchronization
By Sanjay and Arvind Seshan
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
By Sanjay and Arvind Seshan
Gyro Turns © 2015 EV3Lessons.com, Last edit 12/19/2015.
INTERMEDIATE PROGRAMMING LESSON
Using the Gyro Sensor and Dealing with Drift
Parallel Beam Synchronization
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
Gyro Move Straight & Gyro Wall Follow
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
Repeating Actions (Loops)
Line Followers: Basic to Proportional
BEGINNER PROGRAMMING LESSONS
Lesson 6: aligning on Walls & MODELS
Line Followers: Basic to Proportional
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSONS
Menu System.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Presentation transcript:

ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics © 2015, EV3Lessons.com (last edit 4/9/2015) Stall Detection with code from Hoosier Girlz

© 2015, EV3Lessons.com (last edit 4/9/2015) Lesson Objectives 1. Learn what stall detection is and why it is useful 2. Learn how stall detection can help your robot recover from failures 3. Learn how to move on the next block when your robot is stalled Prerequisites: Math Blocks, Data Wires, Logic Blocks, Loops, Move Block Lesson

 Stall detection is a program that stops your motor when the motor gets stuck  If you are an FLL team, you usually have to grab your robot and get a touch penalty if your robot stalls  When you use stall detection techniques, your robot will move on to the next program block  In the video, the robot needs to move the arm down before it says “Good job”. However, if the motor stalls, it will never say “Good job.” © 2015, EV3Lessons.com (last edit 4/9/2015) What is Stall Detection and Why Use It? Click on Video to learn about Stall Detection

© 2015, EV3Lessons.com (last edit 4/9/2015) Move Degrees vs. Move Seconds  In our lesson on Move Blocks (Intermediate tab), we said that if you use Move Degrees, your motor may get stuck  We told you that Move Seconds helps avoid stalls, but is not as accurate  Are these the only choices?  How can you use Move Degrees and prevent stalls?  We show you how in this lesson

 In this lesson, you will need an arm connected to a motor  We have set our code to use a medium motor connected to motor A – this can be changed to suit your team’s needs  Follow along using the EV3 Code provided. Start with Step 1 © 2015, EV3Lessons.com (last edit 4/9/2015) Requirements

© 2015, EV3Lessons.com (last edit 4/9/2015) Step 1: Move Until Stall

© 2015, EV3Lessons.com (last edit 4/9/2015) Step 2A: Move Degrees + Stall Detection

© 2015, EV3Lessons.com (last edit 4/9/2015) Step 2B: Alternate Move Degrees + Stall Detection These blocks are just for the video

1. What is a stall? Ans. When you motor gets stuck and the program never moves on to the next block. 2. Why is stall detection useful? Ans. When the robot stalls, it gives up on that block of code and moves on to the next block of code © 2015, EV3Lessons.com (last edit 4/9/2015) Discussion Guide

 This tutorial was created by Sanjay Seshan and Arvind Seshan from Droids Robotics.  The Code was created by both Hoosier Girlz and Droids Robotics.  Step 1 and 2a by  Step 2a and 2b by  More lessons at © 2015, EV3Lessons.com (last edit 4/9/2015) Credits This work is licensed under a Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License.Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International License