MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.

Slides:



Advertisements
Similar presentations
Robofest 2007 NXT Programming Workshop Jan
Advertisements

EV3 Workshop Curriculum Developed by Joe DeRose, Ph.D.
EducateNXT Enter the name “Sound Graphing” for your experiment. Real-time Data Logging Click the Switch to NXT Data Logging icon in the top-left corner.
LabView Basics.
Graphical RobotC NXT (EV3) Robot Workshop 2015 Instructor: Dr. Fred Brauchler Assistant: Chris Parker 2/7/2015Lawrence Technological University1.
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University.
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Programming
EIGHTH GRADE ROBOTICS KITTATINNY REGIONAL HIGH SCHOOL MR. SHEA Introduction to Robotics Day4.
EducateNXT NXT... an introduction The Kit and the Software.
Introduction to NXT Software and Functionality Bot’oberfest October 15, 2007.
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.
Reviewing Common Blocks for St. Agnes Elementary School Teachers by Jenny Chang Feb. 26th, 2007 USC & University Neighborhood Outreach Robotics STEM program.
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.
Overview: This lesson explores the View Mode capability of the NXT and uses this to demonstrate electrical circuits using the NXT electronic components.
EG1003: Introduction to Engineering and Design Sensors.
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 NXT Introduction. Component NXT Brick Touch Sensor Light Sensor Ultrasonic Sensor Interactive Servo Motors MMN Lab.
Robotics Abstractions: Levels of language, world view
Adapted for STLP Camp ‘10 STLP Robotics Camp June 3 & 4.
Laboratory 7: Sensors Matthew R. Gaglio, Feb 2007.
GIRLS Robotic Camp. Let’s Begin Meet and Greet – Camp leaders introduce themselves – Students introduce themselves.
Programming 101 The Common Palette Content provided by Connor Statham (6 th Grade Student) Formatting by Shannon Sieber.
Adapted for STLP Camp ‘09 Mobile Robots Why do robots need to move?
Introduction to the Basic Parts of LEGO’s NXT Robotics
LabVIEW Program and Data Flow Review LabVIEW Robotics Fundamentals.
Application of Math and Science Principles Creating a robot that moves a specified distance straight ahead and Creating a robot that turns a specified.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
Robotics Overview of NXT-G Actuators in Mindstorms. Touch sensor Labwork: Right turn. Touch/bump. [Explore move versus Motor Move mini & motor mini. Motor*.]
Simple Pi Challenge! Pi = 3.14 Diameter = 5.6 cm Distance Robot Travels in 1 Rotation = 3.14 * 5.6 cm 3.14 * 5.6 = cm Circumference = Pi * Diameter.
Minds and Computers 3.1 Preview Spin left motor Spin right motor Wait until the motors have spun two rotations Stop left motor Stop right motor What five.
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
NXT Basics: Technic Building and NXT-G Erin Cejka Riecker Center for Engineering Educational Outreach Tufts University.
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.
Find the Mindstorms Icon on the computer.. To start a new program click go.
Robotics NXT-G: variables, file Rotation sensor Lab: Use buttons to hit specific ball. Homework: Postings. Start planning mapping the room.
LEGO® MINDSTORMS® NXT Move Block.
Minds and Computers 2.1 The RCX l Hitachi H8/3297 series processor l 3 inputs/sensors (1, 2, 3) l 3 outputs/motors (A, B, C) l 32k RAM/ 16k ROM ä 12 kB.
BEGINNER EV3 PROGRAMMING LESSON By: Droids Robotics Using Sensor Data and Port View.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
ROBOTC Software EV3 Robot Workshop
ROBOTC Software EV3 Robot Workshop Lawrence Technological University.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
EG1003: Introduction to Engineering and Design Laboratory 4: Sensors.
MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering.
ROBOTICS Jason Bell Brad Carlson
Lego Mindstorm Robots 9797 kit.  Students will learn how to identify how to detect a change in a condition.  Students will learn where and how to identify.
Forward Until Near Stop when near a wall.
ROBOTC for VEX Online Professional Development. Homework Questions Thoughts? Questions?
Robotics Abstractions: Levels of language, world view
Introduction to LEGO Mindstorms EV3 What is in the box?
NXT Mindstorms Kit Programming
Exploring Computer Science Lesson 6-5
Robo-Math How Far? The Distance a Robot Travels in One Rotation of the Motor = The Circumference of the Wheel Circumference (of the Wheel) = Diameter (of.
Robotics Abstractions: Levels of language, world view
Introduction To Programming with LEGO NXT 0
This is the Lego NXT ->
Introduction To Programming with LEGO NXT 2
Introductory Presentation
Music by Touch Music by Touch Presentation > TeachEngineering.org
Module F: Presentation Understanding Robot Fundamentals
Exploring Computer Science Lesson 6-5
Lego EV3 Mindstorms SW Programming Blocks.
LEGO Education - Mindstorms EV3 - Computer/control center – The Brick
Lego MINDSTORMS EV3.
LEGO MINDSTORMS NXT PROGRAMMING
Presentation transcript:

MEH108 - Intro. To Engineering Applications KOU Electronics and Communications Engineering

Connecting the NXT kit Requirements: LabVIEW 2013, NXT Toolkit for LabVIEW 2013, USB cable, NXT Mindstorms Kit

Connecting the NXT kit

Direct Mode ? or Remote Mode? In Direct Mode: You must run the program from the computer to the NXT kit using USB or Bluetooth so communication is required while running. Advantage: You can receive information from NXT or send information to NXT. In Remote Mode, You can run the program directly from NXT kit without any communication from the computer. Advantage: Use NXT kit as a robot.

Direct Mode Remote Mode Change to Remote Mode Change to Direct Mode

Direct Mode Remote Mode In remote mode: * Only NXT functions can be used !

NXT Functions NXT Programming: Basic programming used in all programming NXT I/O: Sensors, motors, sound, display, data logging Behaviour: Pre-made code for controlling robot

Example 1: Hello World (Display) * To add a new program «File >> New NXT >> Targeted VI» * NXT I/O >> Complete >> Select «Display» * To get more information: Right click >> View as icon Change to Remote Mode / Direct Mode

Example 2: Collect and Display Sensor Data Read Ultrasonic Sensor and plot the measured value on PC. Connect and configure the sensor port ! Port 1? 2 ? 3 ? 4 ? * Read sensor continuosly, * Plot the measured value, Use Direct Mode !

Sensor functions: (I/O >> Complete >> Sensors) -Read Touch (Release, Bumped, Pressed, Count), -Read Light (LED on, LED off), -Read Sound (dB, dBA), -Read Ultrasonic (cm, inch, Listen), -Read/Reset Rotation Angle, -Read NXT Brick Button, -Read/Reset Timer Example 2: Collect and Display Sensor Data

Example 3: Using Loud Speaker Sensor functions: (I/O >> Complete >> Sounds) -Tone, -Tone no wait, -Stop sound, -Is playing ? -Play note (A,B,C,D,E,F,G), -Play sound file

Sensor functions: (I/O >> Complete >> LEGO Motors) -Motor on, -Motor reverse, -Motor brake (Stop suddenly), -Motor coast, -Steering on (?) Move robot for 5 seconds Connect and configure output ports ! Port A ? B ? C ? Example 4: Move robot for 5 seconds

Using Timing/Waits Functions Sensor functions: (I/O >> Complete >> Waits) -Wait for Time (miliseconds, seconds) -Wait for Darkness/Brightness/Brightness Change, -Wait for Closer/Further, -Wait for Pressed ( Wait until button is pressed) -Wait (Button)

Example 4: Stop if ultrasonic sensor value < 30 cm

Example 5: Point Turn Point Turn Design a LabVIEW program which will perform «Point Turn» for 5 seconds.

Example 6: Gradual Turn Design a LabVIEW program which will perform «Gradual Turn» for 5 seconds. Gradual Turn

Example 7: Distance control Design a LabVIEW program which will move robot 10 cm away. Circumference = Pi x Diameter (56 mm) = 176 mm Distance / Circumference = Rotations NXT input requires rotation angle value !! If Distance = 10 cm, calculate rotation angle Distance/Circumference = 10 cm / 176 mm = 0,5681 Rotation Degrees = Rotations x 360 0,5681 * 360 = 204,516 degree

Example 7: Distance control

Example 8: 90 degree Swing turn How can robot perform 90 Degree Swing Turn? Distance between wheels: 112 mm First, 1. Calculate distance wheel needs to travel, (1/4 of circle created by robot swinging around on tire), Then, 2. Calculate Rotations, (Rotations = Distance/Circumference) 3. Calculate Degree, (Degrees = Rotations x 360)

Example 9: Behaviours->Lurch Algorithm: 1- Turn left and right motor on, 2- Wait 1 second, 3- Turn motors off, 4- Wait 1 second 5- If iteration number is not equal to 10, go to If iteration number is equal to 10, break.