Robot Soccer Challenge

Similar documents
Technology. Using Bluetooth

Technology. Using Bluetooth

1001ICT Introduction To Programming Lecture Notes

Robot Activity: Programming the NXT 2.0

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

LEGO Engineering Conferences ROBOLAB and MINDSTORMS Education Version 4.5 March 2008

Mapping a Magnetic Field. Evaluation copy. Figure 1: Detecting the magnetic field around a bar magnet

Rescue Rover. Robotics Unit Lesson 1. Overview

The NXT Generation. A complete learning solution

Getting Started with the LabVIEW Toolkit for LEGO MINDSTORMS NXT

Using the Lego NXT with Labview.

Introduction WELCOME TO LEGO MINDSTORMS EDUCATION

Heating of Land and Water

XC2 Client/Server Installation & Configuration

Standard League WRO Football Simple Simon EV3 Training Curriculum

Acidity Tester. Project OBJECTIVES DIFFICULTY LEVEL

2012 NRC - RULES AND REGULATIONS

Simple Simon GEN II Robot Soccer EV3 -Tris 10 Training Curriculum

Farm to Fork Local Food Production and Marketing

2018 Bratney Companies 4-H Robotics Challenge

World Robot Olympiad 2018

GEN II Robot Soccer EV3 Compass Training Curriculum Brian Thomas

National Robotics Competition 2018 NRC WRO Challenge Manual

Race Screen: Figure 2: Race Screen. Figure 3: Race Screen with Top Bulb Lock

Slide 1 - Welcome to an Overview of the Student Center and New Titan Online

Tru Flight TRUFLIGHT INSTALLATION GUIDE TRUGOLF.COM

General Rules 2010: Regular category

USER GUIDE USER GUIDE

Beginner Category Tug of War 2v2

World Robot Olympiad 2019

LOS ALTOS ROBOTICS TOURNAMENT ANNOUNCEMENTS

NXT Robotics Techniques Workshop 2008

Standard League Robot Soccer EV3 Compass Training Curriculum Brian Thomas

The Mechanical Advantage

2017/2018 Robot Game Rules (updated to Jan 9, 2018)

Fencing Time Version 4.3

Using the GHIN Handicap Allocation Utility with GHP Golfer

Missions and Rules for 2009 Smart Move FLL Competition

Hockomock Summer Baseball League. Score Entry and Team Maintenance June 2018 (UPDATED: June 28 th, 2018) Matt Porro Hockomock Summer League Webmaster

ACCOUNT MANAGER REFERENCE GUIDE

Integrated Sports Systems (ISS) Inc. Meet Management Suite

Boyle s Law: Pressure-Volume Relationship in Gases

Microsoft Windows Software Manual for FITstep Stream Version 4

Fitbit Walking Challenge Participant Guide

Rulebook Revision 2016 v1.0 Published September 18, 2015 Sponsored By

The Complete 100 Day Dash Guide Updated May 7, 2013

the world s most advanced humanoid robot

Diver-Office. Getting Started Guide. 2007, Schlumberger Water Services

Integrate Riverbed SteelHead. EventTracker v8.x and above

Main Events. LEGO Creation Contest. Mindstorms SumoBots. Mindstorms Drag Racing. FLL Hydro Dynamics Robot Challenge. Angry Birds Robotics

SENSUS PRO MANAGER (for SENSUS or SENSUS PRO devices) User s Guide -- Windows. Version 2.0 Published October 17, ReefNet Inc.

Using the Sailwave Results Programme April 2016

Setting up the Ingenico isc250 Pinpad via USB in Windows 8

PEACE RIVER SENIOR MEN'S TENNIS LEAGUE

SOFTWARE FOR CONTROL OF ROBOTIC MANIPULATOR

To Logon On to your tee sheet, start by opening your browser. (NOTE: Internet Explorer V. 6.0 or greater is required.)

e d u c a t i o n NXT Solar Station

BBoard PONG game. Creative Computing #1

Robo-Ball: April 24, 2010 TEAM AND LEADER PACKET

SENSUS PRO MANAGER (for SENSUS or SENSUS PRO devices) User s Guide Palm OS. Version 2.0 Published October 17, ReefNet Inc.

How to zero calibrate your CO2 sensor with a GSS evaluation kit

ROTAX GLOBAL APP GUIDE. (revised ) GRAND FINALS EDITION

Read this first: To maximize performance and eliminate surprises, the team must take the time to read and understand FOUR documents:

Golf Genius Software

uemis CONNECT: Synchronisation of the SDA with myuemis

General Rules 2015 Season

WARRANTY, QUICK START GUIDE

Wire Buddy Manual IOpath Software

104: USING "STREAM DOWNLOADER" IN "REPLAY MEDIA CATCHER" FOR "MEDIA CAPTURE"

Utah Elementary Robotics SUMO Rules. Competition During USU Physics Lagoon in Farmington, UT. May 12, 2017 Starting at 10:30 AM

OPERATION MANUAL DIVE CALIPER NOT SCALE / IF IN DOUBT ASK* *ALL UNITS IN MM/DEGREES UNLESS SPECIF. Dive Caliper General DC-051

Old Kings Oval Electronic Scoreboard. Scoreboard Operation and Advanced Scoring Instructions

FIRST LEGO League - Massachusetts

New Cortex Software User Guide

Dance Team Tabulation Program. Instruction Manual For use with a MAC

Managing Timecard Exceptions

SunTrust. Online Cash Manager Demo. Duration: 00:04:51:00 Date: February

Texas 4-H Robotics Challenge

NXT SUMO Rules USU Physics Day Lagoon Farmington, UT

DIVE MEET SCORING INSTRUCTIONS. Day before meet

Lets Play Catch! Keeping Score in Alice. Overview. Set Up. Position the ball 20 feet away: Orienting the ball 7/19/2010

VEX IQ CHALLENGE EVENT MANAGEMENT GUIDE

MazeBot. Our Urban City. Challenge Manual

HyperSecureLink V6.0x User Guide

USTEM/SCRC Mars Space Challenge 2016

Putt Metrix for Android User Guide

Fitbit Walking Challenge Team Leader Guide

RUNNING A MEET WITH HY-TEK MEET MANAGER

ELIMINATOR COMPETITION DRAG RACE Program Manual Firm Ver 4.11

TESLAGON. ShotHelper Manual. How to install and use the Program. Version /30/2014

Software for electronic scorekeeping of volleyball matches, developed and distributed by:

Wiimote in Physical Etoys

Observing Waves, Their Properties, and Relationships

Members Online Booking

LifeBeat should be worn during daytime as well as night time as it can record activity levels as well as sleep patterns.

GA-300 Gas Analyzer. Technical Note. Overview. Front Panel. iworx Systems, Inc. GA-300

(SWI) Swiss Volley. Scoring Service. using. Data Volley 2007 Professional

v2.3 USER MANUAL

Nokia 500 Auto Navigation User Guide

Transcription:

Robot Soccer Challenge

Pre-Activity Quiz 1. What kind of wireless electrical connection can NXT robots use to communicate with other electrical devices (including other NXTs)? 2. Can you think of a way to use a Bluetooth connection to enable one NXT robot to remotely control another? Describe it. 2

Pre-Activity Quiz Answers 1. What kind of wireless electrical connection can NXT robots use to communicate with other electrical devices (including other NXTs)? Bluetooth technology is a wireless connection that enables communication between electrical devices. 2. Can you think of a way to use a Bluetooth connection to enable one NXT robot to remotely control another? Describe it. Let s call one NXT the controller and the other NXT the receiver. Answer continues on next page 3

Pre-Activity Quiz Answers (continued) When each button (orange, left, right) is pressed on the controller NXT, have the controller send a distinct message ( 1, 2, 3 ) via Bluetooth to the receiver. When no controller button is pressed on the controller NXT, have the controller send another distinct message ( 0 ) to the receiver. Program the receiver so that: when it receives 1 it moves forward when it receives 2 it moves left when it receives 3 it moves right when it receives 0 it does nothing 4

Your Design Challenge To program two NXTs (a controller and a receiver ) so that one can be used to remotely control the other via a wireless Bluetooth connection so that When you press the orange button on the controller NXT, the receiver NXT moves forward. When you press the left arrow button on the controller NXT, the receiver NXT turns left. When you press the right arrow button on the controller NXT, the receiver NXT turns right. 5

Design Challenge Objectives (continued) When we are done, we will be able to control the LEGO MINDSTORMS NXT taskbot (the receiver ) similarly to how the robot in this video is controlled: http://youtu.be/zohdekxxupo?t=1m. If several groups are able to run their programs at the same time, they can use their NXT taksbots to play soccer with a small ball. To do this, each group remotely controls its taskbot, which acts as one of the soccer players. 6

Part 1: Understanding the Programs Before you use one NXT to remotely control another, you must understand how the programs for the controller and receiver NXTs work and how they interact with one another. 7

Review: What is an electrical connection? An electrical connection is the link or bond that passes electricity between two or more things. Wireless electrical connections allow two devices to be linked remotely without being joined by a wire. 8

Review: Bluetooth with the NXT NXT robots can use a wireless connection called Bluetooth to communicate. Like many other devices (such as smartphones), the NXT can send text messages through Bluetooth. Example: If you were worried about an intruder coming into your room, you could program the NXT to use the ultrasonic sensor to watch the door to your bedroom. If the ultrasonic sensor detects the door moving, it could send you a message saying intruder alert. 9

Bluetooth Program Overview In this activity, we need one NXT to be the remote control device (the controller ) and the other to be the vehicle that responds to the controller (the receiver ). So one NXT, the controller, sends messages via Bluetooth when you press different buttons on the NXT brick. The other NXT, the receiver, receives those messages via Bluetooth and is programmed to move forward, left, right or backwards when it receives the messages. 10

Controller Program Go forward: send 1 Turn Left: send 2 Turn right: send 3 If no buttons pressed: send 0 When any one of the three LEGO brick buttons (see above) is pressed, we want the controller to send a corresponding message ( 1, 2, or 3 ) to the receiver. When no buttons are pressed, the controller sends the message 0. 11

Receiver Program When the receiver NXT receives the 0 message via Bluetooth, it knows that the controller NXT does not have any buttons being pushed and stops moving. When the receiver receives 1, it knows that the controller s orange button is being pushed and the receiver moves forward. When the receiver receives 2, it knows that the controller s left button is being pushed and the receiver turns left. When the receiver receives 3, it knows that the controller s right button is being pushed and the receiver turns right. 12

Summary: NXT Interactions Using Bluetooth Controller Program Receiver Program controller button pushed Via Bluetooth, the controller sends this message Via Bluetooth, the receiver receives this message no button 0 0 orange 1 1 receiver action does not move moves forward left 2 2 turns left right 3 3 turns right 13

Part 2: Running the Programs! Now that you understand how the programs work, let s download them onto the NXTs! Once groups have the controller/receiver programs working and have some practice with remotely controlling their taskbots, we ll organize a game of robot soccer! 14

Change the Receiver NXT Name Since the class will have more than one NXT robot using Bluetooth at the same time, it is best to change the receiving NXTs names to something unique so that they are easily recognizable from each other. To do this, follow the instructions below and on the following slides: Turn on the receiving NXT and use the USB cord to plug it into the computer. Launch LEGO MINSTORMS NXT software on the computer. Open a new or existing program. 15

Change the Receiver NXT Name (continued) Look for a gray panel of buttons to appear in the bottom right corner of the screen. Click on the button with a picture of the NXT brick on it. 16

Change the Receiver NXT Name (continued) A window appears (see below). Select the robot name that you want to change (on the screen this is Control ) > click the Connect button. 17

Change the Receiver NXT Name (continued) Next, place the cursor inside the orange box and type in the unique name of the robot (in the example, My Robot ) > then hit the enter button. Close the window; your NXT has been renamed. 18

Downloading Instructions Now you are ready to download the controller and receiver programs onto both NXT bricks. Note: These two programs are provided so you do not have to create them no programming is necessary for this challenge. 1. Download the receiver program, Receiver.rbt, onto the NXT that will be receiving messages, which should be an NXT on a taskbot that can move. 19

Downloading Instructions (continued) 2. Download the controller program by performing these steps: Open the controller program, Controller.rbt, on the computer and highlight the second block. In the field next to Connect To, type in the unique name you gave your receiver robot. 20

Downloading Instructions (continued) Download the controller program, Controller.rbt, onto the NXT that you want to use as a remote control device. (This order is important ) Begin running the receiver program on the receiving NXT. Then run the controller program on the NXT that remotely controls it. Have fun! 21

Post-Activity Quiz 1. Explain how we used messages sent over a Bluetooth connection to enable one NXT to be used to remotely control another. 2. What ideas do you have for how you might change the programming to accomplish different tasks using two NXT bricks? 3. In your own words, what are the steps of the engineering design process? Which is your favorite step? 22

Post-Activity Quiz Answer 1. Explain how we used messages sent over a Bluetooth connection to enable one NXT to be used to remotely control another. Let s call one NXT the controller and the other NXT the receiver. When each button (orange, left, right) is pressed on the controller, it sends a distinct message ( 1, 2, 3 ) via Bluetooth to the receiver. When no button is pressed on the controller, it sends another distinct message ( 0 ) to the receiver. We programmed the receiver NXT so that when it receives 1 it moves forward when it receives 2 it moves left when it receives 3 it moves right when it receives 0 it does nothing 2. What ideas do you have for how you might change the programming to accomplish different tasks using two NXT bricks? Answers will vary. 3. In your own words, what are the steps of the engineering design process? And which is your favorite step? The main steps: 1) understand the problem or challenge, 2) brainstorm and research to generate solution ideas and preliminary designs, 3) choose the best solution to pursue as the definitive design, 4) create a prototype, 5) test it and make improvements, 6) present the results and final solution. 23

Vocabulary Bluetooth technology: A type of wireless electrical connection used for communication between two devices. electrical connection: The link or bond that passes electricity between two or more things. soccer field 24