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

Getting started with LEGO NXT Mindstorms software This is intended to be a short introduction to the LEGO Mindstorms software and programming the LEGO.
LabView Basics.
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University.
Building Mindstorms NXT Robots Dr. David Johnson School of Computing.
Mingo County Shewey Science Academy: NXT Training.
Robotics Lego NXT Mindstorms.
EducateNXT NXT... an introduction The Kit and the Software.
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.
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.
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.
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.
Robotics NXT sensors Back to Light sensor: red vs blue ball.
Introduction to Lego Mindstorms NXT
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.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
2 3  A machine  Built to help us  Autonomous (not remote control)  If we want robots to do things for us, we have.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
More LEGO Mark Green School of Creative Media. Introduction  Now that we know the basics its time to look at putting some robots (or toys) together 
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University.
Robotics in the Classroom Using Lego Mindstorms. Getting to know Lego Mindstorms We all are familiar with Legos We need to add motors and a brain.
Real-Time Data through Data Hubs. Begin by adding a basic Move block, 5 rotations 75% power.
Sentry System Multiple Sensors
Somerset Berkley Regional High School Robotics Engineering with LabView.
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!
4-H Problem-Solving, Teamwork and Fun through LEGO Mindstorm Robotics And FIRST LEGO League Teams.
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.
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.
1 RoboticsPresents KaaShiv InfoTech For Inplant Training / Internship, please download the "Inplant training registration form" from our website
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
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.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
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.
Advanced issues in Robotics and Programming Dr. Katerina G. Hadjifotinou Experimental Junior High School of the University of Macedonia.
4-H Problem-Solving, Teamwork and Fun through LEGO Mindstorm Robotics And FIRST LEGO League Teams.
Robotics Abstractions: Levels of language, world view
LEGO Robotics Workshop
NXT Mindstorms Kit Programming
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Branching Error (a.k.a. the VM Program Instruction Break Error)
Deriving Consistency from LEGOs
Understanding Communication with a Robot? Activity (60 minutes)
By Sanjay and Arvind Seshan
Robotics Abstractions: Levels of language, world view
This is the Lego NXT ->
Beginner programming Lesson
Building a competition robot
Loops and Switches Pre-Quiz
INTERMEDIATE PROGRAMMING LESSON
INTERMEDIATE PROGRAMMING LESSON
Robot Programming Computer Literacy S2.
Exploring Computer Science Lesson 6-5
EV3 Programming guide to “Following”
Building a Competition Robot
Getting started with LEGO EV3 Mindstorms software
Downloading to the NXT requires the correct hardware setup
Presentation transcript:

Building Mindstorms NXT Robots Dr. David Johnson School of Computing

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

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

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

Mindstorms NXT Is it a robot? Can it –Sense? –Plan? –Act?

Mindstorms NXT It can –Sense Light intensity and/or 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 Make sounds Put words and pictures on its display

Robot Design Judging Teams demonstrate their robot on a field Discuss challenges and solutions Judges have a base rubric plus comments –How are sensors used? –Is the robot solidly built? –Modular design –Programming innovation Does something stand out? –Reuse an attachment for different purposes –Go over obstacles instead of around –Programs that adapt to different risk levels

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 Need to plan to make a solid robot –Stable One peg makes a rotary joint Multiple pegs lock two pieces in place –Strong Keep in close to the main body The wheel axles 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 –5 minute bot5 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-G –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) Attach a touch sensor to the brick (port1) Write a program –Move block Set duration to unlimited –Wait until touch –Move block Set “Direction” to stop Download to brick Run it Let’s do this together

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.

Some Quick Hints Light sensors can be tricky Light changes –Time of day –Clouds –Flash photography Isolate the sensor from the world

Using the Touch Sensor Add a bumper

Making Turns What would this do? Some help –

Driving Straight Some teams never get a robot to drive straight –Makes testing a nightmare –Use the field to square- off –Return to base so error doesn’t accumulate –See lAO9Ho-N58 Things to try –Check balance of robot Are the wheels equally spaced? Axles straight? Weight balanced? –Check motors Match up best two Move block tries to compensate –Check tires

Let’s have a competition! 1.Hit paper target 2.Go through maze –Stop before unknown finish “wall” Development cycle –Build, test, adjust, repeat –Most kids do not understand how to test and modify something until it works Quit or start new each time –Really work with them on iterative improvement

Teams! 2 or 3 per kit Start with the bot –5 minute bot Start building and testing the program Compete! Or, cooperete? Also, check out the School of Computing technology camps –