Computer Science Teachers Association Academy Lego Robotics Wayne Summers – Chair / Rodrigo Obando – Assoc. Chair TSYS Department of Computer Science Columbus State University January 25, 2007
WELCOME 2/23/2019
AGENDA Time Topics Facilitator 9 – 9:30 Introductions / Overview Wayne Summers 9:30 – 10:15 Assembly of Robots Yan Bai , Rodrigo Obando, Shamim Khan 10:30 – 12:15 Programming the Robots Kicking the Ball Rodrigo Obando, Shamim Khan 12:15 – 1:15 LUNCH 1:15 – 4:00 Follow a line Push a brick Pick an object Lydia Ray, Yan, Bai, … 4:00 – 4:30 Q&A discussion with faculty and students Roundtable discussion with faculty and students 2/23/2019
Introduction to Robotics Mindstorms Lego Robot http://mindstorms.lego.com/ NXT tutorial: http://www.ortop.org/NXT_Tutorial/html/essentials.html
Content Rational-Why Lego Robots Lego Robot Construction Robotic Programming Test Your Robot 2/23/2019
Rational-Why Lego Robots MINDSTORMS Education Video http://mindstorms.lego.com/Overview/ 2/23/2019
Lego Robot Kits Gears Belts Standard Lego Components Connectors Motors Sensors 2/23/2019
Lego Robot Kits 2/23/2019
Robotic Programming 2/23/2019
Hardware: Intelligent NXT Brick 32-bit ARM7 microprocessor 256 Kbytes FLASH, 64 Kbytes RAM Bluetooth wireless communication using NXT software only. USB 2.0 port 4 input ports, 6 wire digital platform 3 output ports, 6 wire digital platform 2/23/2019
Lego Robot Kits (Cont’d) • Motors are what make your robot move. • Motors can run forward or backward and at different power levels. • Motors are connected to the microprocessor with motor cables. 2/23/2019
Lego Robot Kits (Cont’d) • Sensors give your robot information about itself and its environment. • The touch sensor detects if the robot has run into something. • The light sensor measures the amount of light in the room. • The rotational sensor measures how many times the robot’s wheels have turned. 2/23/2019
LEGO™ Parts - Beams Beams are structural components. • They are named by the number of LEGO™ “bumps” on the top. • Beams have holes. Axles or pegs can be placed in the holes. 2/23/2019
LEGO™ Parts – Plates and Bricks Plates are flat. • Plates can have holes. • Plates and bricks are named by the number of LEGO™ “bumps” on each side. • Bricks are rectangular pieces. • Bricks are used for structural support. 2/23/2019
LEGO™ Parts – Plates and Bricks 2/23/2019
LEGO™ Parts – Axles Axles are used to attach wheels and gears. • Axles are named by how long they are in LEGO™ “bumps.” For example, a #8 axle is the same length as a 1 x 8 beam. 2/23/2019
LEGO™ Parts – Wheels • Wheels come in a variety of sizes. • Large wheels make your robot go fast. Small wheels make your robot go slow. • There are two types of tires. Tractor tires have a checker-board tread. Regular tires have a wider, race car tread. • Treads can be used for tank robots. 2/23/2019
LEGO™ Parts – Gears • Gears are wheels with teeth that mesh together. • Gears are used to change the speed and strength of your robot. • They are named by the number of teeth they have. 2/23/2019
LEGO™ Parts – Bushings and Pegs • Pegs are used to connect beams together. • Bushings are used to hold wheels or gears on their axles. 2/23/2019
Lego Robot Construction General Construction NXT Models & Building Guides - http://www.legoeducation.info/nxt/resources/building-guides/ Robot Driving Base Construction Wheels Construction Tracks Construction Watch a video on Robotics 2/23/2019
NXT Navigation Menu 2/23/2019
Driving Base http://legoeducation 2/23/2019
Motor Module http://legoeducation 2/23/2019
Ball Stand – http://legoeducation 2/23/2019
LEGO Mindstorms NXT Software (NXT- G) 2/23/2019
Robotic Programming (Cont’d) 2/23/2019
Robotic Programming (Cont’d) 2/23/2019
Test Your Robot Following a line Picking up an object Pushing the brick 2/23/2019
Test Your Robot (Cont’d) Pushing the brick Steps: The robot moves forward until it detects the dark line. (See instructions in Robot Educator >> Home >> Common Palette >> 16. Detect Dark Line >> Programming Guide). The robot follows the dark line until it comes in a straight line with the brick. (See instructions in Robot Educator >> Home >> Common Palette >> 17. Follow A Line >> Programming Guide). Either fix a distance or fix a time for following the line so that the robot stops as soon as it comes in a straight line with the brick. The robot takes a 90 degree turn towards the brick. (See instructions in Robot Educator >> Home >> Common Palette >> 08. Drive In Squares >> Programming Guide). The robot moves forward until it encounters the brick. When it comes to the brick, it pushes the brick to the end of the table. (Calculate the distance the robot will travel to reach the end of the table and stop.) Fence Brick Step 1 Step 2 Step 3 Step 4 2/23/2019
RESOURCES Mindstorms http://mindstorms.lego.com/ MINDSTORMS Education NXT - http://www.legoeducation.info/nxt/ Kristie Brown http://www.legoeducation.typepad.com/southeastatlantic/ NXT Tutorial (videos) http://www.ortop.org/NXT_Tutorial/ Microsoft Robotics Studio - http://msdn.microsoft.com/robotics/ Lejos (Java for the NXT) - http://www.lejos.org Labview - http://www.ni.com/academic/mindstorms/ NXT Programming Software - http://www.teamhassenplug.org/NXT/NXTSoftware.html 2/23/2019
RESOURCES Learn how to program efficiently with NXT Edu software - http://legoeducation.typepad.com/robotics_education_initit/files/efficientNXTcode.pdf Classroom Management - http://legoeducation.typepad.com/classroom_management/ Carnegie Mellon Curriculum - http://www-education.rec.ri.cmu.edu/roboticscurriculum/index.html Robotics Academy - http://www-education.rec.ri.cmu.edu/ 2/23/2019
Competitions / Training First Lego League (9-12 yrs old) http://www.usfirst.org/ FLL World Festival (Atlanta - April 12-14, 2007) RoboCup Junior http://rcj.sci.brooklyn.cuny.edu/ RoboCup (Atlanta - June 7-July 10, 2007) http://www.robocup-us.org/ RoboCup Junior Workshop 2/10/2007 - http://coweb.cc.gatech.edu/ice-gt/464 2/23/2019
Videos Mindstorms Autofabrik - http://www.youtube.com/watch?v=GQ3AcPEPbH0 Inchworm NXT - http://www.youtube.com/watch?v=hPaFbUm2Ux4 Remote Robotic Dog Treat Dispenser via IM - http://www.youtube.com/watch?v=72STco-yoew FIRST Lego League (FLL) Ocean Odyssey - http://www.youtube.com/watch?v=Qv38vW93_gQ First Lego Leagues 2006 - http://www.youtube.com/watch?v=rh6gQknnBR8 Lego Tractor Dance - http://www.youtube.com/watch?v=mB2U2p72s-A 2/23/2019