Introduction to LEGO RCX robotics and Robot Sumo Douglas G. Czinder IEEE SEM R&A Chairperson Ms. Susan Latos Robofest Assistant Coordinator.

Slides:



Advertisements
Similar presentations
LeJOS Java for Lego RCX CJ Chung Associate Professor of Computer Science Director of Robofest Assistants Maurice Tedder Steven Kryskalla.
Advertisements

RoboParade Workshop II CJ Chung, Ph.D. Founder & Director of Robofest and RoboParade Brought to you by a grant from.
1chung Robofest 2005 RCX code Workshop Jan 29, 2005 CJ Chung.
2012 R2R Game Judging Guidelines Updated Feb 18, 2012 Go to and click on [Robofest 2012] button. This PowerPoint file.
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Robot Shove (aka Bottle RoboSumo) Rules & Judging Guidelines North American Championship Nov 3, 2012, 2pm~6pm Lawrence Tech 1.
Chung for Robofest 05 1 Introduction to RoboLab CJ Chung Lawrence Technological University.
Introduction to LEGO NXT robotics and Robot Sumo for
Introduction to LEGO RCX robotics and Robot Sumo
Introduction to LEGO RCX robotics and Robot Sumo
Introduction to LEGO NXT robotics and Robot Sumo
1chung THANKSGIVING RoboParade CJ Chung Associate Professor of Computer Science Lawrence Tech University
RCX Workshop Day 2 Programming with Touch Sensor Light Sensor Repeat CJ Chung Associate Professor of Computer Science Lawrence Technological University.
NXTG Workshop Day 2 Programming with Touch Sensor Light Sensor Ultrasonic Sensor Repeat CJ Chung Associate Professor of Computer Science Lawrence Technological.
Each team has their own: a.Laptop computer b.LEGO NXT robot c.USB cable d.Light paper on the table to test the robot Sit Down in Teams of 2.
EV3 Workshop Curriculum Developed by Joe DeRose, Ph.D.
Graphical RobotC NXT (EV3) Robot Workshop 2015 Instructor: Dr. Fred Brauchler Assistant: Chris Parker 2/7/2015Lawrence Technological University1.
Robot C Ready, SET, Go! Workshop SDSU, Fall 2013.
Mingo County Shewey Science Academy: NXT Training.
NXTG Workshop for Bottle RoboSumo Lawrence Technological University.
EV3 Software EV3 Robot Workshop 2015
Introduction to NXT Software and Functionality Bot’oberfest October 15, 2007.
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.
Introduction to LEGO NXT robotics and Robot Sumo – Sept 20, 2008 Douglas G. Czinder IEEE SEM R&A Chairperson Professor Keith Bozin.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
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*.]
Today’s Agenda 1.Scribbler Program Assignment 1.Project idea due next class 2.Program demonstration due Wednesday, June 3 2.Attendance & lab pair groupings.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
A note on oral presentations These are the progress report presentations. Please note that the individual presentations should be ~8 min long. Since the.
Sentry System Multiple Sensors
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.
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
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
ROBOTC Software EV3 Robot Workshop Lawrence Technological University.
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.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
Presentation Outline I. Background Information II. Design Project
LEGO Robotics Workshop
LEGO MINDSTORMS PROGRAMMING
SEI Robotics Lego Mindstorm Competition
Deriving Consistency from LEGOs
8/30/2004 RoverBot Assembly The following pages show assembly plans for the RoverBot using the Consumer MindStorms or School Team Challenge Lego kit. Assemble.
By Sanjay and Arvind Seshan
Touch Sensor.
Programming Part 2 Mod Kit
Robotics Getting Started with
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.
UNCW Computer Science Jack Tompkins Daniel Heywood
Loops and Switches Pre-Quiz
BEGINNER EV3 PROGRAMMING Lesson
Robot Programming Computer Literacy S2.
BEGINNER EV3 PROGRAMMING Lesson
BEGINNER PROGRAMMING LESSON
Forward Until Touch Robot goes forward until it hits a wall.
An Introduction to VEX IQ Programming with Modkit
BEGINNER PROGRAMMING LESSON
Robofest 2008 Judging Guidelines
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.
Oregon Robotics Tournament and Outreach Program
LEGO MINDSTORMS NXT PROGRAMMING
AN INEXPENSIVE ROBOTIC KIT FOR CHILDREN EDUCATION
Presentation transcript:

Introduction to LEGO RCX robotics and Robot Sumo Douglas G. Czinder IEEE SEM R&A Chairperson Ms. Susan Latos Robofest Assistant Coordinator CJ Chung, Ph.D. Associate Professor and Director of Robofest Lawrence Technological University

This program is possible thanks to:  a grant from The Chrysler Foundation  the Southeastern Michigan Chapter of the IEEE Robotics & Automation Society

Today’s Workshop Schedule  First Hour Introduction to Robotics Introduction to Robofest and Robot Sumo Introduction to Lego Mindstorms and RCX Introduction to RCX Code programming using RIS (Robotics Invention System) 2.0 Basic programs  Motors  Wait

Today’s Workshop Schedule  Second Hour Programming with  Touch Sensor  Light Sensor Repeat (Loops) Basic Sumo Program

Today’s Workshop Schedule  Third Hour Improved Sumo program Mini Competition Tips and Ideas to improve your bot

Introduction to Robotics  What is a true robot? Autonomous robot with an on board computer Mechanical, electrical, and computational components  Six fundamental components of a robot A brain or brains – computer Body: physical chasses that holds other pieces Actuators: motors, hydraulic pistons, pneumatics Sensors Power sources Communication mechanism

What is Robofest?  100% Autonomous  Affordable  Challenging: Unknown problem  No direct adult help allowed during the competition  Qualifiers and a World Championship  Various categories including Robot Sumo  Two divisions: 5 th – 9 th grade: Jr. Division 9 th – 12 th grade: Sr. Division

RoboSumo Push the other robot out of the Sumo ring

Specifications Junior DivisionSenior Division Sumo ring diameter77 cm (30 inches)122 cm (48 in) Maximum robot mass 1kg (2.2 lbs)2 kg (4.4 lbs) Maximum robot width and length 23 cm (9 inches)30 cm (11.75 inches) Maximum robot height no limit30 cm (11.75 inches) Robot type Any; Lego Mindstorms or NXT recommended. any

Why Sumo?  The most popular robot competition in the world  Integrator in Science Education – Math, Logic, Computers, Mechanics, and Physics  Good for rookie teams  Fun Motivator

Unknown Problem in Robofest Sumo  How to start is unknown  Need sensor(s)  Teams must bring a computer to program the unknown parts

Introduction to Lego Mindstorms  Born in USA at MIT  RJ: Roverbot Jr. Brain – RCX micro computer Body: Lego pieces Actuators: up to 3 motors Sensors: Light, touch, etc. Power source: 9V (six AA batteries) Communication mechanism: IR Left motor: A Right motor: C Light sensor on Port No. 1 Touch sensor on Port No. 2

Introduction to RCX Code Programming  RIS (Robotics Invention System) 2.0  Drag and drop program blocks: Power, Wait, Repeat, Sensors, “Yes or No”, and My Blocks  How to create the first program: Click on Create a user account Watch movie or press “enter” to skip it Click on “Program”, instead of Missions Check to skip the tutorials Click on “Program” again Click on “Freestyle” – You will see the program canvas!

First Program: Go forward for 2 seconds and stop (Instructor Slide) =  Objective Show that program on the left is equivalent to the single-step program on the right

First Program: Go forward for 2 seconds and stop =

Very Important!!!!!  “Cover your robot and IR tower when you download programs”  Save your programs  File Names should be meaningful  Use logbook and comment

Power Commands  On  On For: On + Wait + Off  Off Coast Brake  Set Power: Min 1 ~ Max 8  Set Direction:  Reverse Direction: Not recommended to use. Use Set Direction instead.

ForwardBack  Go Forward for 2 seconds,  Wait 3 seconds then  Backward for 2 seconds

ForwardBack

Making Turns  Turn left  Spin left  Face left Left wheelRight wheel Left wheelRight wheel Left wheelRight wheel stop

 Go forward for 2 seconds,  Turn Left 90 degrees, and  Go forward for 2 seconds Turn 90 left

?

Workshop Second Hour  Programming with Touch Sensor Light Sensor  Repeat (Loops)  Basic Sumo Program

Start when touch sensor is pressed; Stop after a second

Start when light sensor detects very bright light; Stop after a second (Start-Light)

Start when light sensor detects bright light; Stop after a second Can just modify this sensor: change to light sensor

Go straight until the white edge of the ring; stop Use the black View button to get the light sensor reading

Repeat  Repeat For  Repeat Forever  Repeat While  Repeat Until: sensor watcher  Objective Introduce the concept of repeating an action  Repeat For – a given number of times  Repeat Forever – indefinitely (can break out of loop using a sensor event)  Repeat While – a given setting is true  Repeat Until – a given event is triggered

Repeat  Repeat For  Repeat Forever  Repeat While  Repeat Until: sensor watcher

Make the robot move around in the ring – Basic Sumo (Sumo0)  Repeat the following forever: Go forward until the edge Backward slightly Turn right

First Sumo Competition

Workshop Third Hour  Test Sumo0 Program  Mini Competition with unknown problem  Unknown problem is when touch sensor is pressed, wait 5 seconds then start sumo0  Tips and Ideas to improve your bot

Sample ‘Unknown’ Problem: when touch sensor is pressed, wait 5 seconds, then begin Sumo0

Review of Basic Sumo (Sumo0)  Repeat the following forever: Go forward until the edge Backward slightly Turn right

Ideas to improve your SumoBot  Applying Theories learned in Physical Science Weight, Newton’s laws Friction Gearing Wheel size Power level  Detecting the opponent Touch sensor IR and light sensor  Using random numbers

Ideas to increase weight of your bot  What is the max weight of each division?  Add Lego block  Coins

Ideas to increase friction of your bot  Add more wheels  Use rubber bands

Gearing Ideas  Use gear train to increase gear ratio  Considering resources, this is not allowed for the qualifying  The winner from the qualifying may consider this idea

Changing Wheels?  Using bigger wheels  Considering resources, this is not allowed for the qualifying  The winner from the qualifying may consider this idea

Changing Power Levels?  Is it beneficial???

Changing the shape of the bot  Make it sturdy  Front part needs to be changed

Height of the robot matters??  Center of gravity

Touch Sensors  A touch sensor – front left  Another touch sensor – front right  If left sensor is pressed – turn left and push hard  If right sensor is pressed – turn right and push hard  If both left and right sensors are pressed, push straight hard

End of Today’s Workshop Feel free to contact us with any questions: Douglas G. Czinder IEEE SEM R&A Chairperson CJ Chung, Ph.D. Associate Professor and Director of Robofest