Forward Until Dark. NXT Light Sensors How does the Light Sensor detect brightness? The Light Sensor shines a red light on the surface below it and reports.

Slides:



Advertisements
Similar presentations
1 A B C
Advertisements

AP STUDY SESSION 2.
Mental Mind Gym coming …. 30 Second Challenge - Advanced Additive.
Intro to NXT Programming
WHAT DO THEY ALL MEAN?. Median Is the number that is in the middle of a set of numbers. (If two numbers make up the middle of a set of numbers then the.
David Burdett May 11, 2004 Package Binding for WS CDL.
1 st February 2013 Objective: To be able to create Frequency Polygons (grade C/D) Skills: Noticing, Making Links and Absorption By the end of the lesson:
CALENDAR.
Decimals 10ths and 100ths.
Factorise the following 10x a – 20 36m a + 27b + 9c 9y² - 12y 30ab³ + 35a²b 24x4y³ - 40x²y.
Break Time Remaining 10:00.
PP Test Review Sections 6-1 to 6-6
Multiplication Tables Test 3 and 5 Times Tables 3 and 5 times tables There are 10 questions. Each one will stay on the screen for 15 seconds. Write down.
John Ogilvie High School - CfE Physics
EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach.
Surface Area of Irregular Shapes Volume of Irregular Shapes
Interesting Integers!.
Counting Coins Using Touch Points
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
UNIT 2: SOLVING EQUATIONS AND INEQUALITIES SOLVE EACH OF THE FOLLOWING EQUATIONS FOR y. # x + 5 y = x 5 y = 2 x y = 2 x y.
Let’s take a 15 minute break Please be back on time.
Jeopardy Start Final Jeopardy Question Category 1Category 2Category 3Category 4Category
Back to menu category 1 type you categories here– delete these instructions. Final jeopardy question.
Physics for Scientists & Engineers, 3rd Edition
Powerpoint Jeopardy Category 1Category 2Category 3Category 4Category
Copyright Tim Morris/St Stephen's School
Proportional, Integral, Derivative Line Following October 5, 2013.
Dutchess Community College Fire Science program Let’s take a 10 minute break Please be back on time.
Follow The Guidelines Introductory Presentation. Opening Activity Make a prediction about how light sensors will use thresholds. Keep in mind: We used.
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.
BEGINNER EV3 PROGRAMMING Lesson
1 ©2006 INSciTE Lab Two Task: Make the program from Lab One (Move forward 5 rotations and turn right 90 degrees) into a MyBlock.
Session 2  The Touch Sensor  The Colour Sensor.
EDGE AVOIDER ROBOT USING I-BOT mini V3. EDGE AVOIDER USING I-BOT mini V3 Edge Avoider Robot is built using the IR based Line Detecting Module. The modules.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
LabVIEW Basics Review LabVIEW Robotics Fundamentals.
Robotics Light sensor. Calibration. Reverse engineering challenge. Lab work: Create and show your program. Add light sensor (different orientations). Robot.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
Sentry System Multiple Sensors
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.
Forward Until Sound Program
By Eric Greene RMS / I. S. 192 Q. Smart Start Question How would you get the robot to flirt with disaster by touching the edge of the “table” as many.
Oregon Robotics Tournament and Outreach Program RCX Basics.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
How to make a Line Follow program Using EV3 software and an NXT light sensor.
Obstacle Detection. In the previous program the robot moves forward and then checks for something in the way. As we observed it only checks for things.
Casne.ncl.ac.uk Taking care of the CrumbleBot Please do NOT stress the robot's motors 1.Do NOT push the robot 2.Do NOT hold the.
Forward Until Near Stop when near a wall.
By Sanjay and Arvind Seshan
BEGINNER PROGRAMMING LESSON
BEGINNER EV3 PROGRAMMING Lesson
Follow The Guidelines.
Touch Sensor.
BEGINNER PROGRAMMING LESSON
Creating an Arm.
Forward Until Touch Robot goes forward until it hits a wall.
Follow The Guidelines Light Sensor
Line Following Behavior
Switch Blocks check a value and choose a path based on that value
Introductory Presentation
Storing Values as Variables
Introductory Presentation
Line Following Behavior
BEGINNER PROGRAMMING LESSON
Obstacle Detection.
BEGINNER PROGRAMMING LESSON
Oregon Robotics Tournament and Outreach Program
Presentation transcript:

Forward Until Dark

NXT Light Sensors

How does the Light Sensor detect brightness? The Light Sensor shines a red light on the surface below it and reports how much of that light is reflected back. A bright surface will reflect a lot of light and give a high reading. A dark surface will reflect less light and give a low reading.

Forward Until Dark Program

Establishing The Threshold On the NXT –Select the View Mode –Select Reflected Light –Select Port 3 Position the robot over the surface to be read by the light sensor as shown in the next two slides

Establishing The Light Threshold

Establishing The Dark Threshold

Calculating The Threshold

Motor Block One Details

Light Sensor Block Two Details

Motor Block Three Details

Test Your Robot

Forward Until Light

Forward Until Light Light Sensor Block Two Details Wait for the Light Sensor on Port 3 to get a Light reading Light = Light Sensor value>Threshold value

Test Your Robot

Calculating Thresholds Quiz Would the robot classify the following Light Sensor readings as Light or Dark? a. Sensor = 15 with Threshold = 40 b. Sensor = 55 with Threshold = 40 c. Sensor = 49 with Threshold = 56 d. Sensor = 15 with Dark = 10 and Light = 30 e. Sensor = 55 with Dark = 43 and Light = 62

Calculating Thresholds Quiz Answers a. Sensor = 15 with Threshold = 40 Sensor value is less than Threshold therefore it is dark b. Sensor = 55 with Threshold = 40 Sensor value is greater than Threshold therefore it is light c. Sensor = 49 with Threshold = 56 Sensor value is less than Threshold therefore it is dark

Calculating Thresholds Quiz Answers d. Sensor = 15 with Dark = 10 and Light = 30 The threshold is (10+30)/2=20 The Sensor Value is less than Threshold, therefore it is Dark. Intuitively - the Sensor value is closer to Dark than Light, therefore it is dark e. Sensor = 55 with Dark = 43 and Light = 62 The threshold is (43+62)/2=52 The Sensor Value is greater than Threshold, therefore it is Light. Intuitively - the Sensor value is closer to light than dark. Therefore it is light.