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

Similar documents
How Do You Make a Program Wait?

Line-Follower Challenge

Line-Follower Challenge

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

C - Underground Exploration

Hare and Snail Challenges READY, GO!

LEGO Mindstorms Class: Lesson 1

An Introduction to Programming using the NXT Robot:

Robot Programming Manual

Pre-Day Questionnaire

Robotics Workshop. for Parents and Teachers. September 27, 2014 Wichita State University College of Engineering. Karen Reynolds

Line Detection. Duration Minutes. Di culty Intermediate. Learning Objectives Students will:

Erik Von Burg Mesa Public Schools Gifted and Talented Program Johnson Elementary School

Robotics using Lego Mindstorms EV3 (Intermediate)

Deriving Consistency from LEGOs

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

Design Project Introduction DE2-based SecurityBot

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

Automatic Headlights

I.1 Smart Machines. Unit Overview:

What Is Engineering? What Is Design?

The Robot Olympics: A competition for Tribot s and their humans

Robotic Systems Challenge 2013

Robotic Programming. Skills Checklist

Mindstorms NXT. mindstorms.lego.com

Nebraska 4-H Robotics and GPS/GIS and SPIRIT Robotics Projects

EV3 Advanced Topics for FLL

The light sensor, rotation sensor, and motors may all be monitored using the view function on the RCX.

Chapter 1. Robots and Programs

Robotics 2a. What Have We Got to Work With?

How Does an Ultrasonic Sensor Work?

BEGINNER PROGRAMMING LESSON

Artificial Intelligence Planning and Decision Making

The power of Math in LEGO Robotics

2015 Maryland State 4-H LEGO Robotic Challenge

understanding sensors

MADISON PUBLIC SCHOOL DISTRICT. GRADE 7 Robotics Cycle

Sample Pages. Classroom Activities for the Busy Teacher: NXT. 2 nd Edition. Classroom Activities for the Busy Teacher: NXT -

Haunted House. If you drive completely off the black paper or visit a room out of order, your turn is over. Back groun d. Back groun d B A C K G R

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

ADVANCED EV3 PROGRAMMING LESSON. Proportional Control. By Sanjay and Arvind Seshan

Arctic Animal Robot. Associated Unit Associated Lesson. Header Picture of Experimental Setup

Unit 4: Robot Chassis Construction

Program Your Robot to Perform a Task

Utah Elementary Robotics Obstacle Course Rules USU Physics Day. Competition at USU Brigham City Campus 989 S Main St Brigham City, UT 84302

Toeing the Line Experiments with Line-following Algorithms

2.4 Sensorized robots

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. LEGO Bowling Workbook

Robot Olympics: Programming Robots to Perform Tasks in the Real World

Welcome to. NXT Basics. Presenter: Wael Hajj Ali With assistance of: Ammar Shehadeh - Souhaib Alzanki - Samer Abuthaher

FLL Coaches Clinic Chassis and Attachments. Patrick R. Michaud

Introduction to Robotics Rubrics

Pre-Activity Quiz. building a robot to fight another robot by trying to push it out of a ring? in the competition? the way when racing?

HOLY ANGEL UNIVERSITY COLLEGE OF INFORMATION AND COMMUNICATIONS TECHNOLOGY ROBOT MODELING AND PROGRAMMING COURSE SYLLABUS

2018 First Responders 4-H Robotics Challenge Page 1

Robotic teaching for Malaysian gifted enrichment program

Chassis & Attachments 101. Part 1: Chassis Overview

NXT Amazing Rules USU Physics Day Lagoon Farmington, UT

1-11. Mini Sumo Bot. Building Instructions. Fun Projects for your LEGO MINDSTORMS NXT! Home Projects Help Contacts. Building: Program:

Some prior experience with building programs in Scratch is assumed. You can find some introductory materials here:

Image 1, Ref - see slide WHAT IS A ROBOT? A look at characteristics of robots using the LEGO EV3 as a specific example (50 minutes)

Robotics Links to ACARA

contents in detail PART I GETTING STARTED acknowledgments...xvii

Building Robots With Lego Mindstorms Nxt

acknowledgments...xv introduction...xvii 1 LEGO MINDSTORMS NXT 2.0: people, pieces, and potential getting started with the NXT 2.0 set...

Chassis & Attachments 101. Chassis Overview

Learning serious knowledge while "playing"with robots

LEGO BASED CHALLENGE. 1. Material

TU Graz Robotics Challenge 2017

LEGO Mindstorms EV3 Robotics Instructor Guide. Joanna M. Skluzacek, PhD. Associate Professor. Department of Youth Development

After Performance Report Of the Robot

The Texas 4-H Roundup Robotics Challenge Invitational

Your EdVenture into Robotics 10 Lesson plans

LS Creative Learnings Pvt Ltd. STEM-Robotics Education. Report for Sep S.B. Patil Public School, Pune

FIRST LEGO LEAGUE. PowerUp Summer Game. Presented by FRC 6328

Welcome to Lego Rovers

E Technology: A. Innovations Activity: Introduction to Robotics

Robotics Contest Contact: Robin Schamber

MN High School Robotics 2006 MISSIONS

of Nebraska - Lincoln

GRAFFITI + Robots as Artists

A Rubik s Cube Solving Robot Using Basic Lego Mindstorms NXT kit

Robot Design.

DREAM BIG ROBOT CHALLENGE. DESIGN CHALLENGE Program a humanoid robot to successfully navigate an obstacle course.

Path Following and Obstacle Avoidance Fuzzy Controller for Mobile Indoor Robots

Curriculum Activities for Driving Course Curriculum Sample 1

Worksheet: Wheels and Distance Introduction to Mobile Robotics > Wheels and Distance Investigation

RoboCup Sumo Workshop. Margaux Edwards July 2018

Lab book. Exploring Robotics (CORC3303)

FLL Programming Workshop Series

Autonomous Aerial Robot Tournament KISS Institute for Practical Robotics

Note to Teacher. Description of the investigation. Time Required. Materials. Procedures for Wheel Size Matters TEACHER. LESSONS WHEEL SIZE / Overview

TUTA/IOE/PCU All rights reserved. Printed in Nepal Fax: My First Humanoid Robot An Experience worth Sharing with Freshmen and Sophomore

Ev3 Robotics Programming 101

Agent-based/Robotics Programming Lab II

6.081, Fall Semester, 2006 Assignment for Week 6 1

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.

THE POWER OF PERSPECTIVEI

Multi-Robot Cooperative System For Object Detection

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Transcription:

Maze Challenge

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

Pre-Activity Quiz Answers 1. What is a design challenge? A design challenge starts with problem you want to solve. You think through the challenge logically and plan a design solution. Using suitable and available materials and following the steps in the engineering design process, you create, test and evaluate your best solution to the challenge. As necessary, you iterate (repeat) this process until a successful design is achieved. 2. How do you program a robot to move 2 feet forward in a straight line? Calculate the distance that the robot moves forward for one motor rotation. Let s say, it moves X inches with one motor rotation. Then divide 2 feet, which is 24 inches, by X, that is, calculate 24/X and program the motor to rotate 24/X. 3

What Is a Design Challenge? Day 1-50 minutes In our modern world, challenges are everywhere! How can we waste less? How can we harness solar energy and other renewable energy more effectively? How can improve transportation? How can we build roads and bridges? How can we design a house that is not too expensive? How can we build smarter cars? How can we use technology to make our cars safer? These are big ideas that engineers and scientists work on to help improve the world we live in. We will investigate how to complete a few design challenges through two different methods: Creating different robot designs to help it better complete the challenges Creating programs to help the robot complete the design challenge 4

Your Engineering Challenge: To build and program a robot to travel through a maze. We will look at different robot designs (with and without sensors) in order to determine which is more reliable and which is faster. Both the design of the robot and how it s programmed are important for this challenge! 5

Let s Look at Some Basics Before we start the design challenge, it is important to understand how and why we need to be careful with designing the robot and designing its program. Also, it is very important that we understand how a robot follows instructions so we can understand how to program it. Let s do an activity to help us understand two important ideas: 1. How a robot follows instructions 2. The importance of sensors 6

Let s Look at Some Basics (continued) Maze 1 is a 3-ft wide path in a corner of the classroom. It looks like this diagram Use tape (or boxes) to mark the boundaries shown in fine lines. Blindfold a student robot and have him stand at the maze start. Have a student programmer give a series of commands to instruct the robot to complete the maze without touching the maze edges (keeping hands at his/her sides). wall end wall 6 ft 3 ft 6 ft start Command examples: go forward X steps, turn left, etc. 7

Let s Look at Some Basics (continued) What did you observe? Did the programmer get the blindfolded robot through the maze? Did the commander always tell the robot to go the correct number of steps? Often, it is easier for the programmer to give instructions if s/he can tell the robot to go forward until s/he senses something By doing it that way, the programmer does not have to worry about telling the robot exactly how many steps to move. 8

Let s Look at Some Basics (continued) Choose a different volunteer robot to be blindfolded. This time, permit the volunteer robot to stretch his/her hands out in front to sense when s/he is approaching a wall. Have another student give commands to instruct the volunteer to get through the maze wall end Now, commands such as go forward until you sense a wall are allowed. wall 3 ft 6 ft 6 ft start 9

Let s Look at Some Basics (continued) What did you observe? Was it easier to give instructions the first time or second time? It is generally easier to tell a robot to go forward until it senses something (like a wall) than to tell it exactly how far it should go before turning. This approach also tends to be faster. 10

Let s Look at Some Basics (continued) What else did you observe? Did you notice that the commander had to make sure to tell the robot EVERYTHING? which direction to move, how far or how long to move, when to turn, which way to turn, etc. Likewise, the LEGO MINDSTORMS NXT intelligent brick must be given exactly the same information. It knows nothing and will do exactly what you tell it to do. If you make a programming error, the robot will follow that incorrect command, and the fault is with the programmer, and not the robot! 11

Before you start Before we start our maze challenges, let s learn the relationship between motor (or wheel) rotation and the corresponding distance the robot travels. Why is this important? Because, when we have the robot travel the maze without any sensors, we must tell it how much distance to move. Use your results from the Master Driver activity to inform your programming! (Recall that this is the activity where you determined the distance traveled by the taskbot for every rotation of the NXT motor.) 12

A Real Maze Day 2-50 minutes Challenge 1: Make the LEGO robot navigate the maze without using any sensors Challenge 2: Make the LEGO robot navigate the maze using the sound sensor, the touch sensor, and ultrasonic sensor at least once each 13

finish 1 ft 4 ft The Challenges Maze Suggested dimensions for the maze are shown in the diagram below, with start and finish locations indicated. Make the maze at least 1-ft high and 1.5-ft wide 7 ft 1 ft 1.5 ft start 14

Challenge 1 To program the taskbot to travel the maze without using sensors. For this first challenge, the robot must go through the maze without using sensors! How will you program the robot to do this? Think back to the Master Driver activity and what you learned about the relationship between the number of rotations of the motor and the distance the robot moved. You will be provided with a measuring stick or tape measure for this challenge. Be resourceful! 15

Challenge 2 To program the taskbot to travel the maze using the sound sensor, touch sensor, and ultrasonic sensor each at least once. For this challenge, your robot must use the touch sensor, sound sensor and ultrasonic sensor at least once each when navigating the maze. Think back to how we did basic programming with the touch sensor, ultrasonic sensor and sound sensor, and combine that information to get the robot to travel through the maze. In the robot documentation, find information about attaching sensors to the robot. Or, come up with your own designs for 16 attachment also for this challenge. Be creative!

Post-Activity Quiz 1. What types of problems did you encounter when trying to complete the design challenges? 2. How did you change the design of your robot or your programs to help you complete the tasks? 17

Post-Activity Quiz Answers 1. What types of problems did you encounter when trying to complete the design challenges? Calculating how many rotations to use in order to have the robot move a measured distance in the maze. Recalling how to begin programming; how to program each sensor. 2. How did you change the design of your robot or your programs to help you complete the tasks? We re-attached the sensors to position them correctly to receive the necessary input information. Through troubleshooting we corrected some programming errors. 18

Challenge 1 Maze without Sensors Solution Recall the relation between rotations and distance: For each rotation, the robot travels a certain distance (inches or cms) and we can use multiplication to approximate how far the robot will travel. So, we must measure each section of the maze and guess how many rotations we need based off each distance! This may not work perfectly the first time, but the number of rotations can be modified so it eventually works. 19

end 1.75 ft 1 ft 4 ft 2.5 ft 4 ft Challenge 1 Program Solution In an effort to keep the robot as far from the walls as possible, calculate path distances so that the robot stays in the center of each corridor (.75 ft away from the wall). 7 ft 5.5 ft 1 ft 1.5 ft 1.75 ft start 20

Challenge 1 Program Solution (continued) 1 2 3 4 21

Challenge 1 Program Solution (continued) 5 6 7 8 22

Challenge 1 Program Solution (continued) 9 10 11 Note: Durations are approximate and may need to be adjusted differently for different robots. 23

Challenge 2 Maze Using Sensors Solution How to complete the maze by using the LEGO robot sound, touch and ultrasonic sensors: Remember, since we can use the sensors, we do not have to worry about distance and guessing how many rotations we need! For each section of the maze, we can program the forward and backward movement blocks using unlimited, and then immediately place a sensor block after the movement block. We must use the ultrasonic and sound sensor once in this program, then we can choose to use the sound sensor for the rest of the maze or the ultrasonic sensor for the rest of the maze or both. 24

Challenge 2 Program Solution 1 2 3 4 25

Challenge 2 Program Solution (continued) 5 6 7 8 26

Challenge 2 Program Solution (continued) 9 10 11 12 27

Challenge 2 Program Solution (continued) 13 14 15 16 28

Challenge 2 Program Solution (continued) 17 18 19 20 Note: Block 20 is not strictly necessary. 29

Vocabulary design: Loosely stated, the art of creating something that does not exist. engineering: The use of science and mathematics to solve problems to improve the world around us. 30