By Mesa Robles Robotworks and Droids Robotics

Slides:



Advertisements
Similar presentations
Squaring or Aligning on a Line
Advertisements

By Droids Robotics Good Coding Practices: Start with Pseudocode BEGINNER EV3 PROGRAMMING LESSON © 2015 EV3Lessons.com, Last edit 4/1/
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.
By Droids Robotics Code contributed by The Construction Mavericks
Using the Gyro Sensor and Dealing with Drift
BEGINNER 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.
INTERMEDIATE PROGRAMMING LESSON By: Droids Robotics My Blocks Overview Step-by-Step Visual Guide to Creating a My Block with Inputs with Outputs.
ADVANCED 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
Alternative Squaring on a Line
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)
Data Logging (Part 1).
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.
Bonus EV3 Programming Lessons By Droids Robotics PixyCam for MINDSTORMS Color Identifinder.
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.
ADVANCED EV3 PROGRAMMING LESSON By Seshan Brothers Random Block.
ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics © 2015, EV3Lessons.com (last edit 4/9/2015) Stall Detection with code from Hoosier Girlz.
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Squaring or Aligning on a Line
INTERMEDIATE PROGRAMMING Lesson
Ramping Up Speed with Mesa Robot Works FLL #52.
INTERMEDIATE PROGRAMMING Lesson
Parallel Beam Synchronization
By Sanjay and Arvind Seshan
SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW
INTERMEDIATE PROGRAMMING LESSON
SIMPLE & OPTIMIZED ULTRASONIC WALL FOLLOW
By Sanjay and Arvind Seshan
INTERMEDIATE PROGRAMMING LESSON
Using the Gyro Sensor and Dealing with Drift
Parallel Beam Synchronization
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
Repeating Actions (Loops)
Line Followers: Basic to Proportional
BEGINNER PROGRAMMING LESSONS
Line Followers: Basic to Proportional
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
INTERMEDIATE PROGRAMMING LESSON
BEGINNER PROGRAMMING LESSONS
Menu System.
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Using the Gyro Sensor and Dealing with Drift
Presentation transcript:

By Mesa Robles Robotworks and Droids Robotics ADVANCED EV3 PROGRAMMING LESSON Ramping Up Speed By Mesa Robles Robotworks and Droids Robotics © 2015 EV3Lessons.com, Last edit 4/10/2015

Lesson Objectives Learn what ramp up means Learn how and when to use ramp up Learn how to use the Timer Block Prerequisites: Data Wires, My Blocks with Inputs & Outputs © 2015 EV3Lessons.com, Last edit 4/10/2015

Why Ramp Up Ramping up speed is very helpful when running fast-paced programs Usually, if the robot starts up with high speed, then there would be a small jolt in the beginning. The jolt may change the position of the robot. With the ramp up, it would start up slowly and increase speed over time (see video on the right) © 2015 EV3Lessons.com, Last edit 4/10/2015

New Tool: Timer Block The timer block is used to count time It is found in the Yellow (sensor tab) in the EV3 Software. Multiple timers are available (up to 8 timers) You can use the block to reset a specific timer back to 0 secs You can use the block to output the time since reset… If you are an FLL team, you can use timers to track time or for the ramp up code in this lesson Timer no. Elapsed time for that timer © 2015 EV3Lessons.com, Last edit 4/10/2015

Ramp Up Challenge 1 Challenge: Write a simple ramp up program that gradually increases the speed by 20 every second for 5 seconds. Pseudocode: 1. Reset timer 2. In a loop, read the number of seconds passed and multiply the power by 20. 3. Still in the loop, take the result of the multiplication and connect it to the move block. 4. Repeat the Loop for 5 seconds 5. Once the program exits the loop, stop the motor © 2015 EV3Lessons.com, Last edit 4/10/2015

Challenge 1 Solution Code by Mesa Robles Robotworks. Modified by Droids Robotics © 2015 EV3Lessons.com, Last edit 4/10/2015

Ramp Up Challenge 2 Step 1: Can you now make a ramp up program that takes 2 inputs (total duration of ramp up and how much you want the motor to ramp up per second)? Create a My Block. Step 2: Ramp up your robot, then move until a black line. © 2015 EV3Lessons.com, Last edit 4/10/2015

Creating the My Block Code by Mesa Robles Robotworks. Modified by Droids Robotics © 2015 EV3Lessons.com, Last edit 4/10/2015

Inside the My Block Code by Mesa Robles Robotworks. Modified by Droids Robotics © 2015 EV3Lessons.com, Last edit 4/10/2015

Challenge 2 Solution Code by Mesa Robles Robotworks. Modified by Droids Robotics © 2015 EV3Lessons.com, Last edit 4/10/2015

Discussion Guide What is ramping up? Ans. Ramping up is starting slow and getting gradually faster. Why should you bother? Ans. Ramping up can reduce sudden jerk in robot movement. © 2015 EV3Lessons.com, Last edit 4/10/2015

Next Steps Think about what else you might be able to use a timer block for. © 2015 EV3Lessons.com, Last edit 4/10/2015

Credits This tutorial was created by Mesa Robles Robotworks (mesarobotworks@gmail.com) Droids Robotics added content to complement the original lesson (team@droidsrobotics.org) More lessons at www.ev3lessons.com                           This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. © 2015 EV3Lessons.com, Last edit 4/10/2015