Intermediate Robotics Getting to the Next Level Guiding Question: How might I move the robot consistently, accurately, and predictably? –Review basics.

Slides:



Advertisements
Similar presentations
Exercise 1: Install PC Software & NXT Firmware
Advertisements

Dublin Robotics Boosters NXT-Step Programming Workshop.
Building Mindstorms NXT Robots Dr. David Johnson School of Computing.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
Created by Chris Bracken
Introduction to NXT Software and Functionality Bot’oberfest October 15, 2007.
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
LEGO Mindstorms NXT Programming We will be using the Common Palette for our Robots This is how you download your program onto the brick Drag and drop a.
Menu System ADVANCED EV3 PROGRAMMING LESSON By Droids Robotics
Loops and Switches. 1. What kind of blocks are these? 2. Name two kinds of controls that can be specified to determine how long a loop repeats. 3. Give.
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
1 Oregon Robotics Tournament and Outreach Program Programming Techniques Workshop for Mindstorms  NXT 2012 Opening doors to the worlds of science and.
Have FUN!!! Demo the power of robotics to: –improve problem solving skills –utilize math skills –develop an “engineering mindset” –improve communication/teamwork.
Introduction to LEGO NXT 6 hour course. Introductions You Your Expectations.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Coding for the FIRST Tech Challenge: RobotC
ADVANCED EV3 PROGRAMMING LESSON
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
Using Waits, Loops and Switches WAIT please!. Waits, Loops and Switches Pre-Quiz 1. In programming, what is a loop? When is a loop useful? 2. How can.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Application of Data Programming Blocks. Objectives  Understand the use of data programming blocks and their applications  Understand the basic logic.
A tiny turtle robot DEI The University of Padova.
The LOGIC and MATH blocks Day 9 Computer Programming through Robotics CPST 410 Summer 2009.
Conditions and loops Day 4 Computer Programming through Robotics CPST 410 Summer 2009.
Lego MindStorm An Introduction to Blocks. Blocks Blocks are used to give instructions to your robot. There are many types of blocks You can use the blocks.
Castor Bot. Now, we will begin creating a robot Log onto your computer On your screen, click on the website labeled “castor bot” Your building instructions.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Use the book to build and mount the light sensor on your robot. This will allow the robot to remain inside the blue square (fight ring) on the tile floor.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
How to Use EV3 Lessons. OVERALL STRUCTURE Beginner Lessons: These lessons will teach you to move and turn the robot, use the sensors, and use loops and.
EV3 Software EV3 Robot Workshop
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
ROBOTC Software EV3 Robot Workshop
Mindstorm NXT-G Introduction Towson University Robotics.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
By Droids Robotics INTERMEDIATE PROGRAMMIN G LESSON COLOR LINE FOLLOWER MY BLOCK WITH INPUTS: MOVE FOR DISTANCE.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
Advanced issues in Robotics and Programming Dr. Katerina G. Hadjifotinou Experimental Junior High School of the University of Macedonia.
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Sentry System Two-Way Communication.
LEGO Robotics Workshop
Mindstorms EV3 Programming
Mindstorms EV3 Programming
Introduction To Programming with LEGO NXT 2
Robotics Getting Started with
NXT-G Programming Workshop for FLL Coaches
Beginner programming Lesson
Mindstorms EV3 Programming
Loops and Switches Pre-Quiz
Programming.
Module F: Presentation Understanding Robot Fundamentals
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Controlling your quadcopter
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Holyoke Codes LEGO ROBOTICS
EV3 Programming guide to “Following”
Lego EV3 Mindstorms SW Programming Blocks.
INTERMEDIATE PROGRAMMING LESSON
Using Waits, Loops and Switches
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Lego MINDSTORMS EV3.
Controlling your quadcopter
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Intermediate Robotics Getting to the Next Level Guiding Question: How might I move the robot consistently, accurately, and predictably? –Review basics (consistent x-y movement) –Reference Points (mechanical stops, sensors) –Videos (examples) –Programming WAIT block (simple sensors) Loop/Switch blocks Advanced blocks (Motor/Sensor/Math/etc.) MY Blocks

Reminder KIDS DO THE WORK!!! Encourage kids to ask questions, do research, experiment, discuss observations, etc. Mentor with questions Use simple exercises to demo key concepts/programming skills Have fun!!!

BOT BASICS (NXT Curriculum) Bot calibration –5 rotation test n = D/C –360° test n = (A/360)(2πd/C) Initial Placement – X - Y position – angle Mission mapping

Reference Points Final position error depends upon: – initial placement (x, y, angle) – distance/angle measurements – bot calibration Problem: long distances, multiple turns lead to large final position errors

2011 FLL Table

Angle Errors 2 Degrees Left 2 Degrees Right Error = ± 50

Positional Error Reduction Solution: identify intermediate reference points (keep MOVE distances short) Use: - mechanical stops (walls, other) - sensors

Demo Videos (identifying reference points) 2011 SRES FLL - Supai Youtube (253 pts) ASU BEST Mohave Robotics Club

Simple Sensors WAIT blocks (ultrasonic, light, sound, touch) Basic operation: move unlimited until sensor is triggered and stop SENSOR ISSUES: placement on bot limitations

Challenges/Exercises (WAIT Blocks) closest to the wall using ultrasonic – limitations??? find a line (find multiple lines) –light sensor needs calibration –color sensor (no calibration FLL challenges –FLL table (issues??) –FLL/Avnet challenges

Discussion Learning??

Moving with LOOP Block (vs WAIT Block) Sensors (ultrasonic) Logic

Moving with LOOP Block II Multiple Sensors (with COMPARE block)

Line Following (LOOP/SWITCH/SENSOR BLOCKS)

Challenges follow a line (or find a line and follow it) use touch sensor to square up to a wall FLL challenges (i.e. pill push) FLL table challenges

Discussion Learning??

11/13/2013 Advanced Programming - Tony Ayad 17 VARIABLE block The variable block is a bucket where you can store information and retrieve it at a later time. There are three types: Number, Text, and Logic MATH block The math block allows the addition, subtraction, division or multiplication of two numbers. COMPARE block The compare allows you to determine if one number is greater than, less than or equal to another number. Input Output Output (True or False) Input Advanced Blocks

VARIABLES – how to create your own variables To create your own variables 1. Select File Menu and "Define Variables" option 2. Type the name of the variable, then select its type. 11/13/2013 Advanced Programming - Tony Ayad 18

Data Hubs and Data Wires Data Hub is another way of providing input data into a Block. Most blocks have a tab at the bottom and when clicked the block expands to show its data "hubs" The MOVE block has are several data hubs that correspond to its input fields Data wires connect data hubs; you create a data wire by drawing it out of a blocks data hub. 11/13/2013 Advanced Programming - Tony Ayad 19 Power Direction Duration degrees Next Action (brake or coast) Steering Left Motor Right Motor Other Motor Data Wire

Move Input Distance I (Variable & Math Blocks, Wiring) Input distance Convert distance to degrees & Input to MOVE block

Distance-Power Example II (Variable & Math Blocks, Wiring)

MY Blocks Condenses multiple blocks to a single block (a sub-routine) multiple use of same coding sequence reduces memory needed

MY Block Example Select blocks

Create MY Block

Name Variables in MY Block Name Values

Before After

MY Block Use Use for repeated operations –find a line –line following –etc. Include variables into MY blocks (repeated operations with different parameters) Where ever

SCC Avnet Competition Tasks (located at trigger points): - raise flag - pill push - grab Trophy Complete course Issues: Line Geometry/Trigger Points are NOT predefined

SCC Avnet TechGames Show program build Show videos

Exercises Create a MY Block –follow line & find trigger points –design your own challenge Create MY block with 1 or more variables –follow line & use variable distance ultrasonic –design your own challenge

Reminder KIDS DO THE WORK!!! Encourage kids to ask questions, do research, experiment, discuss observations, etc. Mentor with questions Use simple exercises to demo key concepts/programming skills Have fun!!!

Info Sources –NXT Programs = Robot Building Instructions –Oregon FLL Video NXT Tutorial –Introductory Robotics Curriculum –Intermediate Robotics Instruction Youtube.com (NXT programming) books –Kelly, James LEGO MINDSTORMS NXT-G Programming Guide