Presentation Outline I. Background Information II. Design Project

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Chung for Robofest 05 1 Introduction to RoboLab CJ Chung Lawrence Technological University.
Introduction to LEGO RCX robotics and Robot Sumo
RCX Workshop Day 2 Programming with Touch Sensor Light Sensor Repeat CJ Chung Associate Professor of Computer Science Lawrence Technological University.
Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
Automation and Robotics
Navigating the BOE-BOT
ENGR Robotics Project. What is a Robot? 1.A Electro- Mechanical system Plus Artificial intelligence 2.Can do certain tasks that human like Robot.
Programing Concept Ken Youssefi/Ping HsuIntroduction to Engineering – E10 1 ENGR 10 Introduction to Engineering (Part A)
Engineering H193 - Team Project Gateway Engineering Education Coalition P. 1 Spring Quarter 2008 Robot Programming Tips Week 4 Day 2 By Matt Gates and.
Wei-chih Wang, Engr. Section A ENGR Robotics Project.
An Intro to Robots and Computer Programming
©2006 CSUC Institute for Research in Intelligent Systems Introduction to Coding June 15, 2006.
Presentation Outline I. Background Information II. Design Project
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
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.
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.
Program ultrasonic range sensor in autonomous mode
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
ORTOP WORKSHOP 3 ROBOT NAVIGATION & MISSIONS ORTOP WORKSHOP 3 ROBOT NAVIGATION & MISSIONS.
Group 1 Casey Byers Nick Johnson Felix Liu Matt Long.
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
The George Washington University Department of ECE ECE Intro: Electrical & Computer Engineering Dr. S. Ahmadi Class 3.
Programing Concept Ken Youssefi/Ping HsuIntroduction to Engineering – E10 1 ENGR 10 Introduction to Engineering (Part A)
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
More LEGO Mark Green School of Creative Media. Introduction  Now that we know the basics its time to look at putting some robots (or toys) together 
Robot Report Group 7. Outline Introduction Introduction Robot Construction Robot Construction Design Specifications Design Specifications Design Process.
How to link the robot and the computer (Bluetooth) How to turn on and off How to connect the adaptor Fluke card connection Sec Getting Started How.
Lego Mindstorms Group #3 WestonJohnHamptonKyle. Outline Introduction Introduction Robot Construction & Programming Logic Robot Construction & Programming.
Preliminary Design Review (PDR) Team Amaze Me. EE 296 Project (MicroMouse) Members –Brandon Gibu –Ah Ram Kim –John-Kalani Miyajima –Justin Ogata Website.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class3/Lab 2.
1 RoboticsPresents KaaShiv InfoTech For Inplant Training / Internship, please download the "Inplant training registration form" from our website
1. 2 Quiz Preparation l Have Quiz sheet ready. l Top Center: QUIZ 2 l Upper Right: »Name (L, F, MI), »Today’s date 8/28/12 »Lab day, time »section number.
Engineering H193 - Team Project Gateway Engineering Education Coalition P. 1 Spring Quarter Observations from the Individual Competition Week 8 Day 3.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Lesson 1: Motors and Sound Programming Solutions.
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.
Automation and Robotics.  First you select the platform type so that you can use Natural Language PLTW.
Python Programming Module 4 Sensors and Loops Python Programming, 2/e1.
1 COMS 261 Computer Science I Title: C++ Fundamentals Date: September 23, 2005 Lecture Number: 11.
Introduction to Robotics using Lego Mindstorms EV3 Shreya Reddy & Kiran Raja RoboAvatars Robotics.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
LEGO Robotics Workshop
Introduction to Programming in RobotC
ORTOP Workshop 3 Robot Navigation & Missions
Deriving Consistency from LEGOs
What you asked me to teach…
Touch Sensor.
Automation and Robotics
Programming Part 2 Mod Kit
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
What is a Robot? A Electro-Mechanical system Plus Artificial intelligence Can do certain tasks that human like Robot Arm Honda Asimo Robot Fish Robot Vacuum.
Loops and Switches Pre-Quiz
Music by Touch Music by Touch Presentation > TeachEngineering.org
Automation and Robotics
Robot Engineering Group #8 March 3, Robot Engineering Group #8 March 3, 2006.
An Introduction to VEX IQ Programming with Modkit
While Loops and If-Else Structures
SENSORS.
While Loops and If-Else Structures
While Loops and If-Else Structures
While Loops and If-Else Structures
While Loops and If-Else Structures
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
My first robot programming - Simple “Go”
While Loops and If-Else Structures
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
While Loops And If-Else Structures
Getting started with LEGO EV3 Mindstorms software
Downloading to the NXT requires the correct hardware setup
Presentation transcript:

ENGR 100 - Robotics Project

Presentation Outline I. Background Information II. Design Project III. Engineering (Robot Basics) IV. Programming the RCX

Presentation Outline I. Background Information II. Design Project III. Engineering (Robot Basics) IV. Programming the RCX

All engineers listed above work together to design/build robots. Who Builds Robots? EE - designs “the brain”, sensors, actuators & wiring. ME - designs body, gearing, actuators CSE - writes software CHEM E - designs (or selects) power supply. MAT’L SCI - materials All engineers listed above work together to design/build robots.

Robotics made easy? What are some of the challenges? Design Problem - Design and build a robot to vacuum your house. What are some of the challenges?

Design Challenges for Mobile Robots Position - How does robot know where it is (or has been)? Power supply - How does it avoid running over cord? Navigation - How does it navigate around obstacles? Object Recognition - How does it recognize money, toys, even cats?

Presentation Outline I. Background Information II. Design Project III. Engineering (Robot Basics) IV. Programming the RCX

Project Objectives The goals of this project are for students to: Build a programmable robot. Learn how robotics involves a multitude of skills and knowledge from many subject areas. Experience the design process. Be introduced to basic computer programming. Get excited about Science and Technology.

Problem Definition The objective of this project is to build a computer controlled robot that can safely deliver an immobile person through an obstacle course in the shortest amount of time. To simulate real world situations, the robot must be able to climb a small ramp, cross a street without getting hit by a car, turn corners, fight off aggressive animals, climb stairs and free itself from a sandpit.

Obstacle Course Layout 8 ft 4 ft 1 ft 1ft 2 ft 68” 8 1/3 ft Defender Free Zone

Programming Tasks The RCX can store 3 different programs: Program 1 - Robotic Wheelchair (do first!) Program 2 - Car Program 3 - Defender (be creative!)

Scoring 10 pts 1 1ft ft 10 pts 10 pts 10 pts 10 pts Additional points each round - 10 pts for Crosswalk, 10 pts for Car, and 20 pts for Defender (that stops wheelchair). Base Pts – At some point before competition day, each team’s robot must complete the entire course (high score recorded)!

Rules (see handout for complete listing) Robotic wheelchairs cannot be touched once competition has started. Malfunctioning defenders and cars will be removed from course. Max robot dimensions at start of competition - 1 ft x 1 ft x 1 ft Wheelchairs and cars sending messages will be disqualified.

Design Approaches "Top-down" design "Bottom-up" design the process of starting with the goal of the project and then developing a solution. "Bottom-up" design the process of first learning about the available materials and then determining what can be done with them.

Robotics Project Schedule Nov. 19 Gears/ Programming Due: Programming Assignment (HW)   Nov. 21 Build a Simple Pathfinder Due: Web Site Research (HW) Nov. 23 HOLIDAY! Nov. 26   Program Simple Pathfinder Nov. 28 Program Pathfinder Nov. 30 RCX Code/NQC Due: Simple Pathfinder (HW) Dec. 3 Robot Construction Dec. 5 Dec. 7 Robot Testing Due: Draft Report Dec. 10 Dec. 12 Robot Competition Due: Final Robot Due Mon. Dec. 17: Robot Report (25%)& Reflection Paper (10%)

Homework Assignments Go forward. Go backwards. Maneuver a 30 o turn. Simple Pathfinder Tasks Go forward. Go backwards. Maneuver a 30 o turn. Avoid obstacles. Halt for 5 s after crossing dark line. Stop and go after receiving signal from Master Controller.

Presentation Outline I. Background Information II. Design Project III. Engineering (Robot Basics) IV. Programming the RCX

Robot Basics - Sensors & Motors Input/Output Ports Touch sensors Light sensors Motors RCX signals Tips - Use view mode to check light sensor. Battery power affects speed of motors. Batteries run out fast! Don’t block infrared sensor.

Robot Basics - Gears Speed Torque (climb over obstacles) Turns Tips - Try different size gear combinations, different types of gears (worm), and different motor placement (rear wheel drive or 4 wheel drive).

Example of 4 wheel drive 4 wheel drive

Robot Basics - Control Structures No matter what language you use, there are 3 basic control structures for organizing the programming commands: Sequential Repetition (Loops) Conditional

Sequential Sequential statements are defined as a list of commands that are executed in order. For example: Set Forward Direction Go forward for 3 s Stop

Repetition For example: Repetition statements allow for a series of commands to be repeated for a set number times. For example: Repeat 3 times Set forward direction Move forward for 3 s Stop End Repeat

Conditional Conditional statements allow for two (or more) different sets of commands to be executed depending on a condition. For example, If certain conditions are true - one set of commands will be execute. Else if any (or all) are false - another set of commands will be executed.

Example of Conditional Statements For example - If the light is <50% Set Direction Forward Move Forward for 3 s Stop Else If light is >= 50% End

Quiz What are the 3 types of control structures? Which would work best for the following situations - Robotic wheelchair executes a left turn. Robot wheelchair backs up if it hits the wall. Car moves back and forth across crosswalk.

Presentation Outline I. Background Information II. Design Project III. Engineering (Programming and Gears) IV. Programming the RCX

How To: Write Programs Click on “Program RCX.” Stack puzzle pieces. Move unused pieces to the trash. Download program to the RCX.

RCX Programming Commands: Tell robot what to do (e.g. stop, go, turn, etc.). Sensor Watchers: Test conditions (e.g. light, touch, count) and determine actions based on conditions. Stack Controllers: Allows robot to repeat commands or wait until condition is true. My Commands: Makes several actions a “subroutine” which can be used as a single command. See handout for more information!

Demo Robot Robot backs up for 1 s. Both motors stop in preparation of power change. Power increases to overcome wheel friction when turning. Wheel A changes to forward, so robot turns to the right for .1 s. Power decreases to protect sensors when robot bumps objects. Wheel C changes to forward, so robot moves forward.

RCX Program Code Commands Sensor Watchers Stack Controllers “My Commands” NEW See “Info on RCX Code” link on web site.

How To: Download Firmware click on “Getting Started” and then “Set Up Options”

How To: Download Firmware

How To: Download Programs Select button to download Select program number (1-5)

How To: Save Programs

Features of RCX software Multi-threaded language Different parts of the program execute at the same time. Can cause unexpected results! Loops in main program interfere with subprogram. Variables limited to 1 or 0 Use counter as variable. Not Quite C (NQC) language allows for more variables.

NQC (Not Quite C) Programming