Presentation on theme: "Introduction to LEGO RCX robotics and Robot Sumo"— Presentation transcript:
1Introduction to LEGO RCX robotics and Robot Sumo Workshop Day 1CJ ChungAssociate Professor of Computer ScienceLawrence Technological University
2This program is possible thanks to: a grant from Detroit Auto Dealers Association (DADA) Charitable Foundation Fund,which is a fund of the Community Foundation for Southeast Michigan.For more details, check out a press release at:
3Schedule First Workshop Day (3 hours) Second Workshop Day (3 hours) Third Workshop Day (2 hours)Meetings with your school staff/teachers to improve your sumoBot (3 hours x 2 meetings suggested)Official Competition at your school to select one team to advance to the World Robofest Championship on April 26. Guests will be invited.
4Workshop First Day (3 hours) Introduction to RoboticsIntroduction to Robofest and Robot SumoIntroduction to Lego Mindstorms and RCXIntroduction to RCX Code programming using RIS (Robotics Invention System) 2.0Basic programsMotorsWait
5Introduction to Robotics What is a true robot?Autonomous robot with an on board computerMechanical, electrical, and computational componentsSix fundamental components of a robotA brain or brains – computerBody: physical chasses that holds other piecesActuators: motors, hydraulic pistons, pneumaticsSensorsPower sourcesCommunication mechanism
6What is Robofest? 100% Autonomous Affordable Challenging: Unknown problemNo direct adult help allowed during the competitionQualifiers and a World ChampionshipVarious categories including Robot SumoTwo divisions:5th – 9th grade: Jr. Division9th – 12th grade: Sr. Division
7RoboSumoPush the other robot out of the Sumo ring
8Specifications Junior Division Senior Division Sumo ring diameter Junior DivisionSenior DivisionSumo ring diameter77 cm (30 inches)122 cm (48 in)Maximum robot mass1kg (2.2 lbs)2 kg (4.4 lbs)Maximum robot width and length23 cm (9 inches)30 cm (11.75 inches)Maximum robot heightno limitRobot typeAny;Lego Mindstorms or NXT recommended.any
9Why Sumo? The most popular robot competition in the world Integrator in Science Education – Math, Logic, Computers, Mechanics, and PhysicsGood for rookie teamsFun Motivator
10Unknown Problem in Robofest Sumo How to start is unknownNeed sensor(s)Teams must bring a computer to program the unknown parts
11Introduction to Lego Mindstorms Born in USA at MITRJ: Roverbot Jr.Brain – RCX micro computerBody: Lego piecesActuators: up to 3 motorsSensors: Light, touch, etc.Power source: 9V (six AA batteries)Communication mechanism: IRLeft motor: ARight motor: CLight sensor on Port No. 1Touch sensor on Port No. 2
12Introduction to RCX Code Programming RIS (Robotics Invention System) 2.0Dag and drop program blocks: Power, Wait, Repeat, Sensors, “Yes or No”, and My BlocksHow to create the first program:Click onCreate a user accountWatch movie or press “enter” to skip itClick on “Program”, instead of MissionsCheck to skip the tutorialsClick on “Program” againClick on “Freestyle” – You will see the program canvas!
13First Program: Go forward for 2 seconds and stop =
14“Cover your robot and IR tower when you download programs” Very Important!!!!!“Cover your robot and IR tower when you download programs”Save your programsFile Names should be meaningfulUse logbook and comment
15Power Commands On On For: On + Wait + Off Off Set Power: Min 1 ~ Max 8 CoastBrakeSet Power: Min 1 ~ Max 8Set Direction:Reverse Direction: Not recommended to use. Use Set Direction instead.
16ForwardBack Go Forward for 2 seconds, Wait 3 seconds then Backward for 2 seconds