Building Mindstorms NXT Robots Dr. David Johnson School of Computing.

Slides:



Advertisements
Similar presentations
Intermediate Robotics Getting to the Next Level Guiding Question: How might I move the robot consistently, accurately, and predictably? –Review basics.
Advertisements

How Do You Make a Program Wait?. 1. What is an algorithm? 2. Can you think of a reason why it might be inconvenient to program your robot to always go.
LabView Basics.
Mingo County Shewey Science Academy: NXT Training.
EducateNXT Line Following With One Light Sensor. EducateNXT Attach a light sensor To attach a light sensor to the EduBot, refer to pages of the.
EducateNXT NXT... an introduction The Kit and the Software.
Building Mindstorms NXT Robots Dr. David Johnson School of Computing
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
The NXT is the brain of a MINDSTORMS® robot. It’s an intelligent, computer-controlled LEGO® brick that lets a MINDSTORMS robot come alive and perform.
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.
4-H Problem-Solving, Teamwork and Fun through LEGO Mindstorm Robotics
Robotics Enrichment class Mr. Bosworth. Goals of Class Learn how to build a basic robot that performs various functions Learn how to program robot to.
Music by Touch. 1. Provide an example “stimulus-sensor- coordinator-effector-response” framework for both your (human) sense of touch and the robotic.
“LEGO MINDSTORMS Education” Rocío Buenaventura Mendieta Informática Avanzada Ing. Juan Calderón C.
Have FUN!!! Demo the power of robotics to: –improve problem solving skills –utilize math skills –develop an “engineering mindset” –improve communication/teamwork.
Robotics Abstractions: Levels of language, world view
Adapted for STLP Camp ‘10 STLP Robotics Camp June 3 & 4.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Introduction to the Basic Parts of LEGO’s NXT Robotics
Why do robots need to move?
Intermediate Programming Lesson: Improving Robot Reliability in FLL
Maze Challenge Maze Challenge activity > TeachEngineering.org
Wait Program! WAIT please!. 1. Why is it often better to use conditional commands rather than program a robot to move exact distances? 2. What is the.
Reactive robots UPNA The Public University of Navarra Material for pupils & students.
Programming a light sensor to follow a black line.
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*.]
Robotics Light sensor. Calibration. Reverse engineering challenge. Lab work: Create and show your program. Add light sensor (different orientations). Robot.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Mobile Robots Why do robots need to move?. What defines a robot? Sense – a robot has to take in information about its environment Plan – a robot has to.
Sentry System Multiple Sensors
1. True or False: All these pieces are connector pegs. A. True B. False.
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.
Girls’ Robotics Camp Spring Welcome! What are we learning? –Robotics –Application of Robotics –Programming –Out-of-the-box Thinking Let’s have Fun!
Find the Mindstorms Icon on the computer.. To start a new program click go.
4-H Problem-Solving, Teamwork and Fun through LEGO Mindstorm Robotics And FIRST LEGO League Teams.
ROBOTICS CAMP PLAN Evan Henson, Arthur Cooper, Patrick Goodwin, Michael Lucas, Trevor Swiggard, Nick Leyba.
How to Use EV3 Lessons. OVERALL STRUCTURE Beginner Lessons: These lessons will teach you to move and turn the robot, use the sensors, and use loops and.
Lesson Planning Mindstorms NXT. Points to consider before creating a lesson. Sturdy structures instructional builds  original builds Functions need to.
What is a LEGO Robotic Vehicle? Made from LEGO’s Especially “Technic” pieces Controlled by an NXT or EV3 computer Programmed by kids to do missions Not.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
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.
Mobile Robots Why do robots need to move?. What defines a robot? Sense – a robot has to take in information about its environment Plan – a robot has to.
Introduction to Robotics using Lego Mindstorms EV3 Shreya Reddy & Kiran Raja RoboAvatars Robotics.
LOGICFUSION’S HANDS-ON ROBOTICS EV3 LEVEL 2! Welcome to.
How Do You Make a Program Wait?
Robotics Abstractions: Levels of language, world view
How to design, build, and program a LEGO robot!
Introduction to LEGO Mindstorms EV3 What is in the box?
LEGO Robotics Workshop
NXT Mindstorms Kit Programming
BEGINNER PROGRAMMING LESSON
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
LEGO MINDSTORMS PROGRAMMING
Branching Error (a.k.a. the VM Program Instruction Break Error)
Deriving Consistency from LEGOs
Robotics Abstractions: Levels of language, world view
Follow the Light Follow the Light Presentation > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
This is the Lego NXT ->
Loops and Switches Pre-Quiz
Robot Programming Computer Literacy S2.
Exploring Computer Science Lesson 6-5
Forward Until Touch Robot goes forward until it hits a wall.
EV3 Programming guide to “Following”
Downloading to the NXT requires the correct hardware setup
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

Building Mindstorms NXT Robots Dr. David Johnson School of Computing

What Is a Robot?

Resources for Learning About Robots Web –Wikipedia –New Scientist robots.htmlhttp:// robots.html –Youtube Many! –MAKE magazine –Boy Scout badge guide is quite nice and cheap Consider exercising your team’s FLL skills by having them look at some of these resources

Some Example Robots Big Dog – Planetary Exploration – Home assistance – Hobby –

What Is a Robot? Sense –Update information about the world Plan –Modify original plan in response to this sensed information Act –Move in the world or make a change in the world

Mindstorms NXT Can it? –Sense –Plan –Act

Mindstorms NXT It can –Sense Light intensity and color Sound intensity Button presses Distance to nearby objects Wheel revolutions –Plan –Act

Mindstorms NXT It can –Sense –Plan Small computer brain –“the brick” Graphical programming language –Act

Mindstorms NXT It can –Sense –Plan –Act Three motors that turn

Goals For Today Raise your comfort level with Mindstorms –Building –Programming –There is no substitute for doing it Try some common tasks –Wheeled robot –Respond to sensors Maybe a taste of competition…

Testing Equipment Plug in motors, sensors A critical thing to know is the view program –Let you read values from sensors without writing a custom program

Building Not “normal” LEGO pieces –Based on the Lego Technic build system –Pegs and holes Can be frustrating –Stable One peg makes a rotary joint Multiple pegs lock two pieces in place –Strong Keep in close to the main body The wheel axes must not be wobbly and flex!

Building Resources There are lots of instructions for building things online – –Have the team try some out Learn things that work Then modify –Don’t get too distracted with NXT guitars, guns, etc. –5 minute bot A quick base Probably not good to adapt for competition

Programming Programming teaches –Breaking complex problems into solvable parts –Precise thinking and specification –Creative experimentation to discover and isolate problems Programs are designed on a base computer –Downloaded by USB cable to the brick

Programming the Brick LEGO Mindstorms NXT –Default language for programming Mindstorms Designed to be friendly –Nice tutorials Try them with your team –Not based on traditional programming languages –Easy to do very basic things More difficult to advance It does have some subtle actions that can cause confusion

Learning to Use the Tutorial Each tutorial is structured as –Challenge –Build –Program The mobile base from the tutorials is not my favorite –Takes too long to build –Difficult to modify

A Quick Programming Tour Control goes along the path Each block performs some action –Most blocks are very flexible –Learn the options at the bottom panel –Many actions continue until A sensor is triggered Time has passed A commanded result is finished

A Quick Test Attach a motor to the brick (ports A,B,C) Attach a touch sensor to the brick (ports 1,2,3,4) Write a program –Move block Set duration to unlimited –Wait until touch –Move block Set the brakes Download to brick Run it

Additional Resources There is a lot to learn, but you can get started pretty quickly I recommend –Winning Design! LEGO Mindstorms NXT: Design Patterns for Fun and Competition Most FLL-centric of the books Beginning to medium skill level –If you don’t have prior experience, I think you would be foolish not to look at this book. Parts of my FLL camp notes –More for getting a novice team started

Let’s have a competition! Go through maze Stop before unknown finish “wall” How to solve? –Detect or dead reckoning Development cycle –Build, test, adjust, repeat –Most kids do not understand how to test and modify something until it works

Teams!