ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)

Slides:



Advertisements
Similar presentations
Squaring or Aligning on a Line
Advertisements

BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
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
Using the Gyro Sensor and Dealing with Drift
BEGINNER PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Picking Up and Moving an Object
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)
Calibrating Color Sensors
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.
Data Logging (Part 1).
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 Seshan Brothers Random Block.
TABLET LESSONS INTRODUCTION TO THE EV3 BRICK AND SOFTWARE By Sanjay and Arvind Seshan.
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
Gyro Turns © 2015 EV3Lessons.com, Last edit 12/19/2015.
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
Downloading & Uploading Files
BEGINNER PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
Downloading & Uploading Files
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Menu System.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER EV3 PROGRAMMING Lesson
INTERMEDIATE PROGRAMMING LESSON
Presentation transcript:

ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics 1 Data Logging (Part 2)

 Learn what data logging is  Learn the different ways of doing data logging on the EV3  Learn how to use the Data Logging Block  Prerequisites: Must own Edu version of EV3 Software © 2015 EV3Lessons.com, Last edit 11/15/ Lesson Objectives

 The EV3 software provides a simple way to continuously record sensor readings to a file and to plot the values later. This is called Data Logging.  Why use Data Logging:  Great for science experiments. In Part 1, we will show how you can record values like temperature for a science project.  Great for understanding robot programming blocks. In Part 2, we will show how to use data logging to measure the difference between turns.  Great for understanding sensor behavior. In Part 3, we will show how to use data logging to understand the details of sensors such as the gyro sensor. © 2015 EV3Lessons.com, Last edit 11/15/ What is Data Logging?

1. Live Data Logging: Real time data collected directly in the EV3 software 2. Remote Data Logging: Use the the brick to collect data, and transfer the data to the computer for analysis 3. Brick Data Logging: Run the experiment directly from the brick 4. Autonomous. Collect data with the Data Logging block. The data is stored on the brick. © 2015 EV3Lessons.com, Last edit 11/15/ How do you Data Log on an EV3? Lesson 1: Temperature Sensor Experiment Lesson 2: Differences Between Turns There are 4 ways to data log using the EV3 MINDSTORMS:

Data Logging block is in the blue tab © 2015 EV3Lessons.com, Last edit 11/15/ Autonomous Data Logging File name Port Add more sensors Pick the sensor and what you want to measure Autonomous Data Logging requires the Data Logging Block

 To use this block, simply drag a Data Logging Block in front of the code you want to log and turn it “on”. To stop logging, add another Data Logging Block set to “off”.  Pick all the other parameters – the ports, the sensors you want to log, what you want to record (rotations/degrees, etc.)  Download and run program © 2015 EV3Lessons.com, Last edit 11/15/ How do you use the Data Logging Block? OnOff

© 2015 EV3Lessons.com, Last edit 11/15/ How to View your Data If you want to get the file from your brick to the computer: 1)Click on the Brick Information Icon 2)Press the Open Browser Memory Icon. 3)Find the correct.rdf file. If you want to view the data file from either the brick or the computer: Tools  Datalog File Manager  Select BRICK or COMPUTER and pick the correct file 1 2 3

 Make four different programs that do a pivot turn and compare the data from the rotation sensor © 2015 EV3Lessons.com, Last edit 11/15/ Challenge 1: Comparing Turns

STEP 1: In the Data Logging My Block, select the sensor you are reading, the ports they are in. STEP 2: Select the duration and rate STEP 3: Remember to stop data logging at the end of your code STEP 4: Remember to change the name of the file each time otherwise they will all be called MyData. STEP 5: Import your data file and compare the graphs. Which type of pivot turn is the most reliable? © 2015 EV3Lessons.com, Last edit 11/15/ Steps to Remember

Below, we ran all 4 together, but you will find it easier to run each method separately (because you can avoid adding motor resets) © 2015 EV3Lessons.com, Last edit 11/15/ Challenge 1 Solution Method 1Method 2Method 4Method 3 Motor C line Motor B line In Method 4, Motor C is dragged along. Methods 1 and 2 are very similar. Method 3 appears to be the most reliable. You may not notice much difference in real life, but the data log shows us the true reading.

 This tutorial was written by Sanjay Seshan and Arvind Seshan from Droids Robotics  More lessons at © 2015 EV3Lessons.com, Last edit 11/15/ 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