LESSON 08 Using the Gyro Sensor. LESSON 08 Using the Gyro Sensor.

Slides:



Advertisements
Similar presentations
Autonomy using Encoders Intro to Robotics. Goal Our new task is to navigate a labyrinth. But this time we will NOT use motor commands in conjunction with.
Advertisements

Program ultrasonic range sensor in autonomous mode
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
What’s in the Box?
Deriving Consistency from LEGOs What we have learned in 6 years of FLL by Austin and Travis Schuh © 2005 Austin and Travis Schuh, all rights reserved.
LESSON 05 Using the Touch LED The Touch LED The purpose of this lesson is to introduce students to the Touch LED Sensor and how they can be used on a.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
LESSON 01 Basebot Build. LESSON 01 Basebot Build.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
Project Overview  An introduction to 3D printing  Designing 3D printing parts  Redesigning the Clawbot  3D printing new Claw components  Assembling.
Project Overview  Introduction  Clawbot Build  Design Modification  Design Development  Programming  Sensors  Advanced Sensors  Open design challenges.
More Number Patterns (Can you find the rule?). Mental Maths Learning Objectives To be able to add and subtract 9 and 10 rapidly.
LESSON 05 Using the Touch LED. LESSON 05 Using the Touch LED.
VEX IQ Curriculum Simple Machines & Motion Lesson 04.
Project Overview  An introduction to 3D printing  Designing 3D printing parts  Redesigning the Clawbot  3D printing new Claw components  Assembling.
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.
Project Overview  Introduction  Frame Build  Motion  Power  Control  Sensors  Advanced Sensors  Open design challenges  Project evaluation.
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
Project Overview Introduction & Product Analysis
Project Overview Introduction Clawbot Build Design Modification
Project Overview Introduction to Factory Automation Numerical Control
Project Overview CNC Introduction Applying CNC Designing for CNC
Project Overview Introduction Clawbot Build Design Modification
LESSON 08 Using the gyro Sensor. LESSON 08 Using the gyro Sensor.
Project Overview Introduction & Product Analysis
VEX IQ Curriculum It’s Your Future Lesson 11 Lesson Materials:
Project Overview Structural part Introduction Laser cutting & forming
Using the Bumper switch
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
An Introduction to VEX IQ Programming with Modkit
Lesson Materials: Lesson hand-outs as desired Student Matching Exercise for Unit Student Matching Exercise Answer Key for Lesson Pencils or pens Internet.
Project Overview An introduction to 3D printing
Deriving Consistency from LEGOs
VEX IQ Mix & Match Curriculum
Using the Colour Sensor
Project Overview Introduction Frame Build Motion Power Control Sensors
An Introduction to VEX IQ Programming with Modkit
Mindstorm Robots 4th Grade Lesson 1.
Project Overview Introduction Frame Build Motion Power Control Sensors
Chain Reaction Challenge
Project Overview Introduction Clawbot Build Design Modification
Project Overview Introduction Clawbot Build Design Modification
Two-Gear Gear Trains Using different size gear allows change in speed
Project Overview Introduction Clawbot Build Design Modification
Using the Bumper switch
Project Overview Introduction Clawbot Build Design Modification
What’s in the Box?
Autonomy using Encoders
Project Overview Introduction Clawbot Build Design Modification
Using the Distance sensor
LESSON 01 Basebot Build. LESSON 01 Basebot Build.
Using the Gyro Sensor and Dealing with Drift
An Introduction to VEX IQ Programming with Modkit
LESSON 03 Turning In Place. LESSON 03 Turning In Place.
Using the Gyro Sensor and Dealing with Drift
By Sanjay and Arvind Seshan
Plenary
Lesson 3: Sensor Wait-for’s Programming Solutions
Prepare to Learn Explain the Physics of the picture you printed for homework to the person next to you. Be prepared to feedback to the whole class.
What’s in the Box?
Mechanisms Automation and Robotics VEX
An Introduction to VEX IQ Programming with Modkit
Project Overview Introduction to Factory Automation Numerical Control
An Introduction to VEX IQ Programming with Modkit
Project Overview Introduction & Product Analysis
Getting started with LEGO EV3 Mindstorms software
Using the Gyro Sensor and Dealing with Drift
Plenary
Plenary
Presentation transcript:

LESSON 08 Using the Gyro Sensor

Lesson Introduction The purpose of this lesson is to introduce students to the Gyro Sensor and how to use it in a program.

The Gyro Sensor Learning objective: Students will understand how the Gyro Sensor works

Fitting the Gyro Sensor Learning objective: Students will understand how to attach the Gyro Sensor to the Basebot Task 1: The build – Fitting the Gyro Sensor Fit the Gyro Sensor in the front position as shown on the picture here This can be done using four of the 1x1 connector pins Once in position on the robot, connect the Gyro Sensor to the Brain using a Smart Cable of appropriate length. Fit the Gyro Sensor Cable into Port 4 of the Brain For the Experiment you will need to set up a pointer as shown in the photograph opposite using:

Gyro Sensor Test Task 1: Using the ‘getGyroDegrees’ command with Power Learning objective: Students will be able to program the Basebot using the Gyro Sensor and ‘getGyroDegrees’ command Task 1: Using the ‘getGyroDegrees’ command with Power Complete the Task 1 experiment using the Gyro commands varying the power values but keeping the angle value constant Task 2: Using the ‘getGyroDegrees’ command Varying Angle with Power constant Complete the Task 2 experiment using the Gyro commands varying the angle values but keeping the power value constant What do the result tell you about using the Gyro sensor?

Gyro Sensor Test Test Setup: On a flat surface set up a cross with the back wheels on one line and the pointer pointing down the perpendicular line. Run the Program and measure the actual rotational angle of the robot.

Lawn Mower Challenge The Challenge: People are always looking for easier ways to do manual, time consuming work. One such task is mowing large fields. On a flat surface set up a field adding blocks to form a grid pattern. You need to create a program using the Gyro Sensor that allows the Basebot to drive around the field passing through each of the grid sectors.

Lawn Mower Challenge

Lawn Mower Challenge Part Sample Solution

Lesson - Plenary As a class, let us consider the following questions? A. How does the Gyro Sensor work? B. Why do we need to reset the Gyro Sensor value at the beginning of the program? C. How does the speed of rotation and affect the angle turned? D. Where else might the use of a Gyro Sensor be useful?

Summary Today you have: Learning objective: Students will understand how the Gyro Sensor works. Students will understand how to attach the Gyro sensor to the Basebot. Students will be able to program the Basebot using the Gyro Sensor and ‘getGyroDegrees’ command. Students will be able to design a program for the Basebot to take part in the Lawn Mower Challenge. Today you have: Learnt how to control the robot using a Gyro Sensor Looked at how Gyro Sensors can be used to help program robots Programmed the Basebot using the ‘getGyroDegrees’ command