22
Hands On Activity: Robotics in the Classroom Using Lego Mindstorms (Prepared by Connie Gomez and Virgilio Gonzalez)

Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Hands On Activity: Robotics in the Classroom

Using Lego Mindstorms

(Prepared by Connie Gomez and Virgilio Gonzalez)

Page 2: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Group Discussion

• Your concepts of robotics?

• Your experiences with robots?

• Your experiences with robotics in the classroom?

• What do you want get out of robotics?

Page 4: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Robotics and the Classroom

Robotics

Page 5: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Robots and Art

Page 6: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Robots in History • Hero of Alexandria • Coin Operated Holy Water • Automated Theater

– 1st scene: Achaeans repair their ships - hammering and sawing with sounds.

– 2nd scene: Achaeans push their boats into the water.

– 3nd scene: Ships suddenly appear in the sea. Occasionally, dolphins emerge from the sea .

– 4nd scene: Nauplios, standing at the foreland with a lit torch, sends a false signal to the Achaeans abetted by goddess Athena.

– 5th scene: We can see scattered remains of the wrecked ships and Ajax swimming in the sea. While lightning strikes and the sound of thunder is heard, Ajax' figure is lost. The stage gates open and close between scenes.

Page 7: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Robotics for the Classroom • Lego Robotics

– Mindstorms kit – Competition includes

• Build an autonomous robot to carry out pre-designed missions in 2 minutes and 30 seconds

– Analyze, research, and invent a solution to a real world problem http://www.firstlegoleague.org/

• BEST Inc. – Boosting Engineering, Science, and Technology – BEST features two parallel competitions:

• A robotics game, which is based upon an annual theme with four teams competing at once in a series of three-minute, round-robin matches.

• The BEST Award, which is presented to the team that best embodies the concept of Boosting Engineering, Science, and Technology. Elements include a project summary notebook, oral presentation, table display, and spirit and sportsmanship.

– http://www.bestinc.org/MVC/

• Sea Perch – This program teaches students how to build an underwater robot (called a Sea

Perch), how to build a propulsion system, how to develop a controller, and how to investigate weight and buoyancy.

– http://seaperch.mit.edu/

• More kits/competitions are available

Page 8: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

We’ll use Legos

• Like most robotics kits

– Very complete

• Legos generally do not require cutting, soldering, or other potentially dangerous activities

• Cost isn’t unreasonable

• Kit is reusable

• There are competitions in El Paso

Page 9: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

The Challenge • Groups have to “program” a robot to go from a start

location to a finish location in the shortest amount of time.

• Rules – Must stay on the playing field

– Robot must follow the line for as long as possible

– Group members may not touch the robot while in play

9

Page 10: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Lego Mindstorms Components

10

Program Brick

Legos

Page 11: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Robot Base

11

Page 12: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Sensors

12

Touch Sensor Light Sensor Sound Sensor

Ultrasonic Sensor

Compass Sensor

Accelerometer Sensor RF ID Sensor

Servo Motor

Page 13: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Brick Information

13

NXT Intelligent Brick

• Connections for Motors • Connections for Sensors • Download files to the brick • Requires either AA batteries or rechargable Li battery

Page 14: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Programming

14

Page 15: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Programming

15

• Each block can be modified to meet your needs • This is for the “Move” block (controls a motor)

• After completing a program download it

Page 16: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Curve Turn

16

• Remember this is only one type of turn

Page 17: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Point Turn

17

Page 18: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Follow a line

• Light Sensor

• Calibrate for the room

– Tools

• Calibrate

• Min. Value

• Max. Value

18

Page 19: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Follow a Line

19

Page 20: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Follow a Line

20

Insert a Loop

Pick a switch and light sensor

Format sensor

Page 21: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Tips!....

• Find out what your sensors can do

– Decide which ones you might be able to use

• Figure out what you want your robot to do

– If I sense this, I’ll do that….

– I’ll keep doing something until I sense …..

– I’ll keep doing something for ….. long

Page 22: Hands On Activity: Robotics in the Classroomwiki.utep.edu/download/attachments/57114887/ENG101_Lego_Mindstorm_intro.pdf• A robotics game, which is based upon an annual theme with

Time to try out the NXT

• Get to know the sensors

• Get to know the program

• Ask questions along the way

• Use your resources – Help as part of the program

– Lego website (explanations about the sensors and their capabilities)

• Absolutely no flash photography during these sessions

22