Ultimatum. Robotics Unit Lesson 5. Overview

Similar documents
Unit 4: Robot Chassis Construction

Activity 2 Wave the Flag. Student Guide. Activity Overview. Robotics Jargon. Materials Needed. Building the Robot

Activity 2 Wave the Flag. Student Guide. Activity Overview. Robotics Jargon. Materials Needed. Building the Robot

Lesson Idea by: Van McPhail, Okanagan Mission Secondary

Set 6: Understanding the Pythagorean Theorem Instruction

Robots in Town Autonomous Challenge. Overview. Challenge. Activity. Difficulty. Materials Needed. Class Time. Grade Level. Objectives.

Morse Code Autonomous Challenge. Overview. Challenge. Activity. Difficulty. Materials Needed. Class Time. Grade Level. Learning Focus.

The Pythagorean Theorem and Right Triangles

Square Roots and the Pythagorean Theorem

SPIRIT 2.0 Lesson: How Far Am I Traveling?

The Pythagorean Theorem

INTERMEDIATE LEVEL MEASUREMENT

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

1.1 The Pythagorean Theorem

Geometry. Teacher s Guide

Paper Folding: Maximizing the Area of a Triangle Algebra 2

Students will design, program, and build a robot vehicle to traverse a maze in 30 seconds without touching any sidewalls or going out of bounds.

Spare Parts. Contents. Contents Contents

Mathematics Geometry Grade 6AB

Deriving Consistency from LEGOs

Challenging Students to Discover the Pythagorean Relationship

ORTOP Modular Robot v3.0 Arm Assembly

FIRST Tech Challenge PushBot v4b Build Guide Horizontal Reach Robot

Student Instruction Sheet: Unit 4 Lesson 1. Pythagorean Theorem

5/6 Lesson: Angles, measurement, right triangle trig, and Pythagorean theorem

FLL Robot Design Workshop

BEST DESIGN PROCESS Page 1 of 16 BEST DESIGN PROCESS

Trade of Toolmaking Module 1: Induction & Bench Fitting Unit 8 Recessing and Assembling Parts Phase 2

Pre-Calculus Unit 3 Standards-Based Worksheet

INS TRUC T I ON M A NU A L

Activity Template. Subject Area(s): Science and Technology Activity Title: Header. Grade Level: 9-12 Time Required: Group Size:

Lesson 27: Sine and Cosine of Complementary and Special Angles

Looking for Pythagoras An Investigation of the Pythagorean Theorem

STARBASE Minnesota Duluth Grade 5 Program Description & Standards Alignment

Medb ot. Medbot. Learn about robot behaviors as you transport medicine in a hospital with Medbot!

PoeBot Building Instructions CCISD. Upper Gripper. Lower Gripper/ Spatula. PoeBot Instructions PLTW. Clear Creek ISD

Exploring the Pythagorean Theorem

Getting Triggy With It

Positive Promotion: Use the FIRST and FTC logos in a manner that is positive and promotes FIRST.

Pearson's Ramp-Up Mathematics

1. Measure angle in degrees and radians 2. Find coterminal angles 3. Determine the arc length of a circle

THE PYTHAGOREAN SPIRAL PROJECT

1. 1 Square Numbers and Area Models (pp. 6-10)

The Pythagorean Theorem 8.6.C

Escape From ENGINEERING ISLAND KU High School Design

Chassis & Attachments 101. Part 1: Chassis Overview

2. Where might you find an example of a right angle in your home? How could you check that it is a right angle?

Pre-Day Questionnaire

Construction. Student Handbook

Representing Square Numbers. Use materials to represent square numbers. A. Calculate the number of counters in this square array.

THE SINUSOIDAL WAVEFORM

STUDENT'S BOOKLET. Inclination: Explorations on Slopes Part 1. Contents. 1 Flights 2 The slope of a line. 3 How Tall are you? 4 Duplicating Squares

Book 10: Slope & Elevation

ASSEMBLY OF THE KNOCKED-DOWN LADDERS: 8 to 12 STEPS STANDARD TOP AND SAFELOCK REQUIRED TOOLS

Pre-Activity Quiz. 2 feet forward in a straight line? 1. What is a design challenge? 2. How do you program a robot to move

How to Build the Robotics++ V2 Robot. Last Edited Nov

Robotics: Urban Search & Rescue Challenge

Algebra. Teacher s Guide

Chassis & Attachments 101. Chassis Overview

Name: A Trigonometric Review June 2012

UNIT FOUR COORDINATE GEOMETRY MATH 421A 23 HOURS

CH 21 2-SPACE. Ch 21 2-Space. y-axis (vertical) x-axis. Introduction

How can we organize our data? What other combinations can we make? What do we expect will happen? CPM Materials modified by Mr.

GEARS-IDS Invention and Design System Educational Objectives and Standards

Parts and tools needed for installation- Cleaning and Painting -

Chapter 3, Part 1: Intro to the Trigonometric Functions

Parts List. Robotic Arm segments ¼ inch screws Cable XBEE module or Wifi module

Where C= circumference, π = 3.14, and D = diameter EV3 Distance. Developed by Joanna M. Skluzacek Wisconsin 4-H 2016 Page 1

Mathematics Success Grade 6

Lesson 6.1 Linear Equation Review

CSC C85 Embedded Systems Project # 1 Robot Localization

Bend-Tech Dragon Assembly Manual

Review Journal 6 Assigned Work: Page 146, All questions

Special Right Triangles and Right Triangle Trigonometry

How to work out trig functions of angles without a scientific calculator

Lesson 3 Pre-Visit Perimeter and Area

2014 New Jersey Core Curriculum Content Standards - Technology

The Mind Project s Iris 1 Robotic Arm. Assembly instructions Step 1

The Nomenclature and Geometry of LEGO

Your EdVenture into Robotics 10 Lesson plans

Trigonometric identities

Arc Trainer Main Frame Assembly

Hi everyone. educational environment based on team work that nurtures creativity and innovation preparing them for a world of increasing

RP4 INSTRUCTION MANUAL

Robotic Systems Challenge 2013

Instructors. Manual GEARED. After-School Robotics Program By Haley Hanson

Table of Contents Problem Solving with the Coordinate Plane

Building Concepts: Ratios Within and Between Scaled Shapes

6. True or false? Shapes that have no right angles also have no perpendicular segments. Draw some figures to help explain your thinking.

Trigonometry Review Page 1 of 14


2. Be able to evaluate a trig function at a particular degree measure. Example: cos. again, just use the unit circle!

ICTCM 28th International Conference on Technology in Collegiate Mathematics

Software user guide. Contents. Introduction. The software. Counter 1. Play Train 4. Minimax 6

Concept: Pythagorean Theorem Name:

C-Bot. User Guide. Cautionary and Warning Statements

Catty Corner. Side Lengths in Two and. Three Dimensions

Math 3 Trigonometry Part 2 Waves & Laws

The power of Math in LEGO Robotics

Transcription:

Robotics Unit Lesson 5 Ultimatum Overview In this final challenge the students will deploy their TETRIX rescue robot up the mountain to rescue the stranded mountain climbers. First the rescue robot has to navigate up the mountain, and then deliver supplies to the stranded mountaineers located on ledges of two different heights. The students will review the Pythagorean Theorem and trigonometry to determine the position of the rescue robot and angle of the supply delivery arm to successfully reach the specified target heights. Sample TETRIX Rescue robot Sample Code Expectations Students should be able to: Attach the TETRIX robotic arm (from Lesson 4) to the chassis (from Lesson 3). Use LabVIEW to program the rescue robot to navigate to the stranded mountaineers and reach two target heights. Use the engineering design process to solve the given challenge. Evidence Evidence of learning found in: A TETRIX rescue robot with an arm securely attached to the chassis. Commented LabVIEW code. A supply delivery arm that can reach two target heights. Engineer s journal. Copyright 2009 Center for Engineering Education and Outreach 1

Lesson 5 Ultimatum Suggested Time 180 minutes Vocabulary (See Appendix D) Pythagorean Theorem Hypotenuse Materials Each student: Engineer s Journal Each student group (4): LEGO MINDSTORMS kit TETRIX kit Computer with LabVIEW Education Edition Ruler and protractor Teacher Preparation Make copies of the Engineer s Journals. Provide small flat-head and Phillips-head screwdrivers for DC and servo motor assemblies. Build a wall with ledges at 6 and 12 for the rescue robots to reach. The wall can be constructed from boxes, LEGOs, books, etc. If you want the supply delivery arm to unload the supplies, make sure that the ledge is capable of holding * some weight. Also make sure that the wall can fall over if the rescue robot crashes into it. This will minimize the damage to the rescue robot. Set-up course where the challenge will take place. Challenge It s time to assemble your entire rescue robot and drive up the mountain to deliver supplies to the stranded mountaineers! In addition to navigating up the mountain and stopping upon arrival at the destination, your rescue robot also has to be able to deliver supplies to mountaineers stuck on two different ledges of different heights: 6 and 12 off the ground (see below). Program the rescue robot to hold the supply delivery arm up to the stranded mountaineers so that they can unload the supplies. The rescue robot should avoid collision with the wall. For a more difficult challenge, build a two degree of freedom robotic arm and program your rescue robot to deliver and unload supplies onto the ledge for the stranded mountaineers. ledges to deliver supplies to 12 6 Background rescue vehicle with delivery arm The students will need to use the Pythagorean Theorem and trigonometry to determine where the rescue robot needs to be and what angle to set the supply delivery arm so that it can reach the target. Copyright 2009 Center for Engineering Education and Outreach 2

Lesson 5 Ultimatum Real World Connection Sometimes it is not possible for engineers to measure every single parameter they are interested in without affecting the experiment. Just like you infer how far the rescue robot travels based on the motors power setting and time, engineers often infer the information they want based on what is known. As you can see on the previous page, the robot s arm is the hypotenuse of the right triangle that is formed between the robot arm, the wall, and the space between the wall and the rescue robot. The students can measure the length of the supply delivery arm and the height of the wall. Using this information they can calculate the unknown parameters: a and θ. b a c θ Pythagorean Theorem: 2 2 2 a + b = c Trigonometry: opposite b sin ( θ ) = = hypotenuse c Determining servo position: 1. Measure the length of the arm (c). 2. Calculate the vertical distance from the height of the supply delivery arm pivot to the ledge (b). 3. Use trigonometry to determine θ. 4. Convert θ to position. (Note: 0-180 degrees corresponds to a position of 0-255.) Determining position of rescue robot: 1. Use Pythagorean Theorem to determine how far the supply delivery arm pivot needs to be from the wall (a). 2. Since the TETRIX kit does not come with encoders, the students will need to infer the distance the rescue robot travels based on time (for a given DC motor power setting). As in Lesson 1, the students can plot the distance travelled versus time to determine the relationship between the two. Note: Do not use the Wait for Away function because there is a bug in function and does not work correctly. Copyright 2009 Center for Engineering Education and Outreach 3

Lesson 5 Ultimatum Instructions Part I: Introduction 10 minutes 1. Introduce the challenge to the students. 2. Show them the course that the rescue robot has to navigate to complete the challenge. Building Tip The students may need to modify their robotic arm design when they interface the arm with the chassis. Math Tip If the students built their rescue robots based on the sample build instructions provided in Lessons 3-5, then the rescue robot (and the arm) is not perfectly level. The rescue robot will have a 10 degree incline. The students will need to add 10 degrees to their calculated angular position when they write their program. All the calculations should be made from the supply delivery arm pivot point. The students should subtract the height of the pivot point from the height of the ledge. Part II: Building 30 minutes 1. Depending on how comfortable you and/or your students are with the TETRIX construction set, you can either give your students the building instructions for how to attach the sample robotic arm to the sample rescue robot chassis (see Appendix B) or let your students figure out how to attach the robotic arm they designed and built in Lesson 4 to the chassis they built in Lesson 3. 2. After the students are done attaching the arm, ask them to draw their final design in their Engineer s Journal. The students should label their drawing and provide short descriptions of the functionality of the major parts of their rescue robot. See Appendix A for the list of TETRIX component names. Part III: Calculations 20 minutes 1. If your students have not yet learned the Pythagorean Theorem or trigonometry (or if they need a math review) show them how they can use these mathematic tools to determine the unknown parameters: distance the arm pivot needs to be from the wall and the angle the arm needs to be held at. 2. Have the students calculate the distance the rescue robot has to travel and the angle the arm needs to be held at to reach the following target heights: 6 inches, 12 inches. 3. After the students calculate the angular position of the arm, they should convert the angles to position (note: 0 180 degrees correspond to a position of 0-255 on the servo motor). For more information on the HiTechnic servo motors, read the servo motor context and detailed help. Copyright 2009 Center for Engineering Education and Outreach 4

Lesson 5 Ultimatum Programming Tip Remember to include the watchdog loop if you want to run your DC motors for more than 2.5 seconds. Classroom Tip The performance of the robot may vary depending on battery level. Make sure that both the TETRIX and NXT battery packs are fully charged. Activity Tip The calculated wait for time and servo arm position will serve as a good first estimate of what values the students should input into their rescue robot program. The students will most likely have to adjustment their values to get the supply delivery arm to the actual ledge. Some of the factors that can result in a difference between the calculated values and the actual values are: Inertia Environmental factors (e.g. surface the car is on) Battery power Part IV: Programming, Testing, Redesigning 100 minutes 1. First the students need to write a program that will allow them to determine how far the robot drives per unit of time. The students should write a short program that will allow them to turn on the HiTechnic DC motors for a set amount of time. Encourage the students to keep track of time versus distance in a table as shown below. Then, students can create a graph with this information to find the exact time needed to travel the distances they determined in Part III. Time (s) Distance (in) Distance (in) 16 14 12 10 8 6 4 2 0 0 1 2 Time (s) 2. As a class, make a flow diagram of the program for the rescue robot. For example, the rescue robot has to: a. Navigate up the ledge without falling off the ledge. b. Stop when it reaches the mountaineers. c. Deliver supplies to mountaineers on one ledge. d. Deliver supplies to the mountaineers on the other ledge. 3. Once the students have a flow diagram of their program, they can go ahead and program their robot to complete the rescue mission. 4. Have the students test their programs and debug the code until they have a robot that can repeatedly accomplish the mission. 5. The students should add comments to the code to document their work. 3 Copyright 2009 Center for Engineering Education and Outreach 5

Lesson 5 Ultimatum Activity Tip Part V: Class Discussion / Reflection 20 minutes 1. When all the students have completed the challenge, have the students present their design and demonstrate their final solution. Ask the students: a. What programming challenges did they face? The calculated wait for time and servo arm position will serve as a good first estimate of what values the students should input into their rescue robot program. The students will most likely have to adjustment their values to get the supply delivery arm to the actual ledge. Some of the factors that can result in a difference between the calculated values and the actual values are: Inertia Environmental factors (e.g. surface the car is on) Battery power b. What aspect of the challenge gave them the most trouble? c. Did they redesign their robotic arm? If so, how did they redesign it? 2. Ask the students to compare their calculated values to the actual values they used. What could have caused the difference? Discuss. 3. Review the engineering design process and ask the students to identify which steps they completed and which ones they skipped. How might the skipped steps have been helpful? Extensions 1. Programming: Program the robot to maneuver around unpredictable objects it may encounter on the path. 2. Building: Build a rescue robot that can climb up stairs (instead of a flat or inclined surface). 3. Teamwork: Work with another group on transferring supplies between robotic arms. Copyright 2009 Center for Engineering Education and Outreach 6

Lesson 5 Ultimatum Sample Project and Photos Photo of sample TETRIX rescue robot: delivery arm rescue vehicle chassis Sample code: This program turns the DC motors on for a set period of time. It can be used to determine how far the robot travels per unit of time. Copyright 2009 Center for Engineering Education and Outreach 7

Lesson 5 Ultimatum Sample Project and Photos This is a sample flow diagram of the code: Copyright 2009 Center for Engineering Education and Outreach 8

Lesson 5 Ultimatum Sample Project and Photos In the following sample code, the rescue robot first executes ledge and mountaineer detection. Once the rescue robot knows it has arrived at the designated location, it backs up to the 12 ledge mark, lifts the arm up, waits 3 seconds, backs up to the 6 ledge, lowers the arm, waits 3 seconds, and then returns the arm back to the resting position. Copyright 2009 Center for Engineering Education and Outreach 9

Lesson 5 Engineer s Journal Ultimatum 1. Sketch your final rescue robot and label your drawing (chassis, DC motor, servo motor, gears, arm, container, etc.). Also include a short description of the functionality of each part. Copyright 2009 Center for Engineering Education and Outreach 10

2. Calculate the distance your rescue robot has to travel and the degrees the arm needs to be held at to reach the following target heights: 6 inches, 12 inches. Show your math and include units. Horizontal distance the arm pivot needs to be from the wall. Target height = 6 inches Angle the arm needs to be at to reach the target. Convert the angle to a servo position (0-255). Horizontal distance the arm pivot needs to be from the wall. Target height = 12 inches Angle the arm needs to be at to reach the target. Convert the angle to a servo position (0-255). Copyright 2009 Center for Engineering Education and Outreach 11

3. For a DC motor power setting of 15, calculate the exact time it takes for the rescue robot to travel the distances that you calculated in the previous step. Target height = 6 Horizontal distance = Target height = 12 Horizontal distance = Time = Time = 4. Draw a flow diagram of the program you will write to complete the challenge in this lesson. Copyright 2009 Center for Engineering Education and Outreach 12

5. What are the actual distances your rescue robot travelled and the degrees the arm needs to be held at to reach the target heights 6 inches and 12 inches? Include units. Target height = 6 Target height = 12 Actual horizontal distance the arm pivot needed to be from the wall = Actual horizontal distance the arm pivot needed to be from the wall = Actual angle the arm needed to be at to reach the target = Actual angle the arm needed to be at to reach the target = 6. What was the difference between the calculated values and the actual values used? Include units. Target height = 6 Target height = 12 Distance difference = Distance difference = Angle difference = Angle difference = 7. What factors might have caused the difference between the calculated values and the actual values? Copyright 2009 Center for Engineering Education and Outreach 13

8. What are some of the challenges that you encountered in this activity? 9. What did you learn from this activity? 10. What steps of the engineering design process did you use? Copyright 2009 Center for Engineering Education and Outreach 14

Appendix A TETRIX Kit Components and Descriptions Copyright 2009 Center for Engineering Education and Outreach 15

Appendix A TETRIX Kit Components and Descriptions Copyright 2009 Center for Engineering Education and Outreach 16

Appendix A TETRIX Kit Components and Descriptions Copyright 2009 Center for Engineering Education and Outreach 17

Appendix A TETRIX Kit Components and Descriptions Copyright 2009 Center for Engineering Education and Outreach 18

Appendix A TETRIX Kit Components and Descriptions Copyright 2009 Center for Engineering Education and Outreach 19

Appendix B Sample TETRIX Building Instructions TETRIX rescue robot: Parts needed: 1 TETRIX car assembly (from Lesson 3) 1 TETRIX arm assembly (from Lesson 4) 1 220 mm tube 1 HiTechnic servo controller 1 Servo bracket 6 5/16 socket head cap screws (SHCS) 6 Kep nuts 4 1/2 socket head cap screws (SHCS) 2 1 standoffs Copyright 2009 Center for Engineering Education and Outreach 20

Appendix B Sample TETRIX Building Instructions Step 1: Disassemble Robotic Arm from Base Take the arm you built in Lesson 4 off the base. Keep the arm intact, as you will use it in this section. Note: you will also need the servo controller and corresponding wires. If this is already attached to the system, you can leave it attached. detached arm servo controller with wires Step 2: Attach the Arm to the Rescue robot a. Use two screw-kep nut combinations to attach the single-servo bracket to the rescue robot chassis as show below. rescue robot chassis with servo bracket close-up of servo bracket Copyright 2009 Center for Engineering Education and Outreach 21

Appendix B Sample TETRIX Building Instructions b. Attach the 1 standoffs to the DC motor controller as shown below. c. Attach the servo controller to the DC motor controller standoffs using two screws. rescue robot chassis with servo controller attached close-up of servo controller attachment Copyright 2009 Center for Engineering Education and Outreach 22

Appendix B Sample TETRIX Building Instructions d. Attach the arm to the servo bracket using 4 screw-kep nut combinations. complete rescue robot with arm close-up of servo in servo bracket Copyright 2009 Center for Engineering Education and Outreach 23

Appendix C Engineering Design Process Massachusetts Science and Technology/Engineering Curriculum Framework, October 2006. 1. Identify the need or problem. 2. Research the need or problem a. Examine the current state of the issue and current solutions b. Explore other options via the internet, library, interviews, etc. 3. Develop possible solution(s) a. Brainstorm possible solution(s) b. Draw on mathematics and science c. Articulate the possible solution(s) in two or three dimensions d. Refine the possible solution(s) 4. Select the best possible solution(s) a. Determine which solution(s) best meet(s) the original need or solve(s) the original problem 5. Construct a prototype a. Model the selected solution(s) in two and three dimensions Copyright 2009 Center for Engineering Education and Outreach 24

Appendix C Engineering Design Process 6. Test and evaluate the solution(s) a. Does it work? b. Does it meet the original design constraints? 7. Communicate the solution(s) a. Make an engineering presentation that includes a discussion of how the solution(s) best meet(s) the initial need or the problem b. Discuss societal impact and tradeoffs of the solution(s) 8. Redesign a. Overhaul the solutions(s) based on information gathered during the tests and presentation Copyright 2009 Center for Engineering Education and Outreach 25

Appendix D Glossary Hypotenuse: The longest side of a right triangle. Pythagorean Theorem: The square of the hypotenuse of a right triangle equals the sum of the squares of the two sorter sides (a 2 + b 2 = c 2, where a and b are the short sides a right triangle and c is the hypotenuse). Copyright 2009 Center for Engineering Education and Outreach 26