NXT Programming by Paul Cain.

Slides:



Advertisements
Similar presentations
© 2006 Carnegie Mellon Robotics Academy Designed for use with the LEGO MINDSTORMS ® Education NXT Software and Base Set #9797 Tree Surveying Existing Design.
Advertisements

Robot Soccer Challenge
Bluetooth Remote Control
Remote Control Using Bluetooth. 1. Give two examples of electrical connections. 2. What is the difference between wired and wireless connections? 3. What.
EducateNXT NXT... an introduction The Kit and the Software.
 LEGO MINDSTORMS is a programmable robotics construction set that gives you the power to create and command your own LEGO robots. The new LEGO MINDSTORMS.
Computational Neurobiology Center, College of Engineering, University of Missouri, Columbia MO DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Building Mindstorms NXT Robots Dr. David Johnson School of Computing
Robotics Using Lego Mindstorms Cindy Brock Technology Coordinator Presbyterian Day School Memphis,
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.
Control Using Sound. 1. What is sound? 2. How does the LEGO sound sensor sense sound? 2 Control Using Sound Pre-Quiz.
Computer Science Lego Robotics Lab 07 Page 51. CS Lego Robotics Lab 07 (Updated ) Objectives: 1.Extend the Lego robot with three sensors. 2.Program.
Computer Science, Software Engineering & Robotics Workshop, FGCU, April 27-28, 2012 Nicholas Alteen Evan McKeon Michael Humphries Computer Science Program.
Why do robots need to move?
Somerset Berkley Regional High School Robotics Engineering with LabView Mobile Burger King.
Overview: The goal of this lesson is to transition from discussing robots in general to the specifics of NXT robot. Objectives: Students will be able.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with Lab View.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with LabView.
An Autonomous Self-Parking Vehicle William Whitney (Mentor: Dr. Jeff Gray) Background: NXT and Robot C The vehicle was constructed using the Lego Mindstorms.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with LabView Lauren Marques, Miranda Chace, and Ashley Frank.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Somerset Berkley Regional High School Robotics Engineering with LabView.
Introduction to LEGO Mindstorms EV3 What is in the box?
2.8 NXT Test Programs (Try Me Mode) U2C8
DAY 2 – 50 minutes HOW DOES A ROBOT MOVE?
Introductory Presentation
VEX IQ Curriculum Smart Machines Lesson 09 Lesson Materials:
Exploring Computer Science Lesson 6-5
Unit 3: Lesson 1 - The Need for Programming Languages
Introductory Presentation
Ball Roller Coaster It will keep two balls busy rolling down the track over and over again.  The ULTRASONIC sensor tells the NXT when to use the lift motor.
Introductory Presentation
What Is an Electric Motor? How Does a Rotation Sensor Work?
Mindstorms EV3 Programming
Java on the LEGO Mindstorms EV3
Understanding Communication with a Robot? Activity (60 minutes)
Image 1, Ref - see slide What is a Robot?
Introduction To Programming with LEGO NXT 0
Mindstorms EV3 Programming
Image 1, Ref - see slide What is a Robot?
Robot Soccer Challenge
Introduction to EV3.
Introduction to robotics
Introduction to NXT.
DT-Assessment Frame Work Term2
Mindstorms EV3 Programming
Introductory Presentation
UNIT 3 CHAPTER 1 LESSON 4 Using Simple Commands.
What is a Robot?.
An Introduction to VEX IQ Programming with Modkit
Warm Up- What is a robot? Describe in one sentence what you understand by the term ‘robot’ 2. What are the main parts of a robot? What do people do to.
Maze Challenge Maze Challenge activity > TeachEngineering.org
ROBOT DESIGN JUDGING Without A ROBOT Game Table
How cells grow, replicate DNA, and divide
How we investigate and learn answers to questions.
Building Your Robocar Day 1.
U3L1 The Need For Programming
Unit 3: Lesson 1 - The Need for Programming Languages
Somerset Berkley Regional High School
Somerset Berkley Regional High School
Loops and Switches How Do You Make Loops and Switches? lesson > TeachEngineering.org Center for Computational Neurobiology, University of Missouri.
Teaching Your Robocar To Move
Downloading to the NXT requires the correct hardware setup
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

NXT Programming by Paul Cain

Programming With Lego NXT Simple Motors Sensors Color Pressure Ultrasonic Others depending on kit Many Homebrew opportunities - Talk about what can be done with NXT programming - NXTs have simple motors that allow them to move - The color sensor allows the NXT to determine the color of something it is looking at - The pressure sensor senses whether it is being pressed - The ultrasonic sensor is like sonar - Other kits may come with other sensors - NXTs have many homebrew opportunities, meaning the NXTs can be customized in ways that the manufacturer did not intend in order to open up new and innovation possibilities. This may void the warranty. Examples will be shown below. http://upload.wikimedia.org/wikipedia/commons/c/cc/Nxt- brique.jpg

Graphical NXT Programming - This program shows how the robot can back into a garage using the ultrasonic sensor. Briefly, explain this program and what each of the blocks mean. It is not necessary that they understand everything because this is just meant to give them an idea of what graphical NXT programming is like.

Text-Based NXT Programming Ada C++ Objective C Java Haskell Perl Python MATLAB Many others... http://en.wikipedia.org/wiki/Lego_Mindstorms#Programmin g_languages_2 - NXTs can also be programmed in many of the traditional text-based languages for those who have the skills. The example on the screen is Java. http://lejos.sourceforge.net/nxt/nxj/tutorial/Preliminaries/ecl_proj ect_pc11.png

Lego Pinball Machine - This is an example of a clever use of the Lego NXT. - You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=hbGTGc3cZnU

Android Remote Control with Bluetooth - This is an example of a clever use of the Lego NXT. -You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=fPV9YG6XnG4

Lego Desert Eagle -You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=LAQmMlSd-Mo

Lego Automatic Toilet Flusher - This is an example of a clever use of the Lego NXT. - You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=xvZU2PchUmY

Lego Safe - This is an example of a clever use of the Lego NXT. - You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=XjWt4O4bSjQ&feature=related

Giant Thermometer - This is an example of a clever use of the Lego NXT. - You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=plQ8Y3XAKvA

Lego Centrifuge - This is an example of a clever use of the Lego NXT. - You only need to show enough of this video to give an idea of what's going on in here. How much of the video to show depends on the time constraints and how interested the students look. http://www.youtube.com/watch?v=-k2xWoyP-SA&feature=related

Demonstration Demonstration of the movements listed in the handout Plug one of the completed robots into your computer, open up the NXT software, and demonstrate the movements listed in the day 2 handout, showing how the different blocks and different settings for a single block change the way the robot moves.

Challenges Challenge 1: Drive into Garage Challenge 2: Back into Garage Challenge 3: Two Laps around a Track Challenge 4: Two Laps backwards around a Track - Explain the 4 challenges as described in the handout. - Give each student a handout. - Divide the students into groups if there are not enough robots for each person. - Give each group a 5 minute bot, which should have been assembled by you or someone else already. - Have the students begin the challenges. The students should have around 30 minutes to do the challenges. - Leave this slide on the screen while the students work to give them a quick reference for what they should be doing. - Wander around answering questions as needed.

Review/Discussion What was your favorite one of the NXT devices I showed you? What do you think of NXT programming? Was it easy? hard? fun? Any other comments? - Do the review/discussion 5 or 10 minutes before the end of the lesson - Try to get a few students to answer each of these questions