How to make a Line Follow program Using EV3 software and an NXT light sensor.

Slides:



Advertisements
Similar presentations
Robofest 2005 Introduction to Programming RIS 2.0 RCX Code.
Advertisements

Jason Howard. Agenda I. How to download robotc II. What is tele-op used for? III. How to build a basic tele-op program IV. Getting the robot to drive.
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.
Follow The Guidelines Introductory Presentation. Opening Activity Make a prediction about how light sensors will use thresholds. Keep in mind: We used.
Sensors.
Using the NXT Light Sensor. 2 Connect One Light Sensor – 1 From My Files use Left / Right NXT buttons and get to View menu and push Orange button. From.
NXTG Workshop for Bottle RoboSumo Lawrence Technological University.
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.
An Intro to Robots and Computer Programming
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.
Line-Follower Challenge. 1. How does a light sensor work? Does the light sensor detect white or black as a higher amount of light reflectivity? Absorbance?
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.
BEGINNER PROGRAMMING Lesson
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
ADVANCED EV3 PROGRAMMING LESSON
EducateNXT Robot Sumo The robot gains intelligence.
Human Vision Robot (Light Sensor) Vision White/Light: 100 Black/Dark: 0 Colors:
Programming a light sensor to follow a black line.
EV3 Workshop Oct 3, 2015 Instructor: Chris Cartwright
Change sound track. What to Learn Able to split the sound track from a video by – Right click a clip – Split audio button Know the difference of voice.
L ILY P AD T RAINING C ENTENNIAL E LEMENTARY 2012 Material by Linz Craig Revision by Sarah Bloms Additional images by Modkit & Adam Meyer.
Available at: Lesson 3.5 – Program Light Sensor in Autonomous Mode Program Light Sensor in Autonomous Mode.
Motors and Sound Troubleshooting Tips. © H-CCS Problem 1 Why can’t I download my program to the RCX?
Real-Time Data through Data Hubs. Begin by adding a basic Move block, 5 rotations 75% power.
Negative Power or Negative Rotation makes robot go backwards. But if both are negative, the robot will go forward! Move Steering Block.
According to the image, what is the file name? According to the image, what is the program name? Quiz Example.ev3 Falcon.
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.
Use the book to build and mount the light sensor on your robot. This will allow the robot to remain inside the blue square (fight ring) on the tile floor.
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.
Double click here to add event title Double click here to add event date Double click here to add event time Double click here to add event location.
Programming 101 The Common Palette Content provided by Connor Statham (9 th Grade Student) Formatting by Shannon Sieber.
The GLX!.  We will now review the most frequently used buttons on the GLX!
Bonus EV3 Programming Lessons By Droids Robotics PixyCam for MINDSTORMS Color Identifinder.
BEGINNER FLL PROGRAMMING WORKSHOP BY DROIDS ROBOTICS & EV3LESSONS.
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.
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.
BEGINNER PROGRAMMING LESSON
LEGO MINDSTORMS PROGRAMMING
INTERMEDIATE PROGRAMMING LESSON
Mindstorms EV3 Programming
Change sound track.
Follow The Guidelines.
By Sanjay and Arvind Seshan
Mindstorms EV3 Programming
Introduction To Programming with LEGO NXT 2
Mindstorms EV3 Programming
Automation and Robotics
Displaying sensor values while a robot is running
Introductory Presentation
INTERMEDIATE PROGRAMMING LESSON
Sensors and Logic Switches
Better Line Following with PID
BEGINNER PROGRAMMING LESSON
Follow The Guidelines Light Sensor
Beginner Programming Lesson
Holyoke Codes LEGO ROBOTICS
Switch Blocks check a value and choose a path based on that value
Introductory Presentation
Storing Values as Variables
Recap the basics Lesson 1.
Introductory Presentation
EV3 Programming guide to “Following”
INTERMEDIATE PROGRAMMING LESSON
Change sound track.
Obstacle Detection.
Lego MINDSTORMS EV3.
Downloading to the NXT requires the correct hardware setup
Presentation transcript:

How to make a Line Follow program Using EV3 software and an NXT light sensor

Name your program call it lineyourname so that you can recognize it on the robot. Double click where it says ‘program’ and type the new name in.

Add a loop Because you will want the actions you put in next to repeat over and over again.

Remember As the light sensor sees different light levels, the robot will wiggle from side to side as it follows one side of the line.

Add a Switch Block Or conditional, because the robot must do different actions depending on the reflected light level it perceives.

You need to check the reflected light level on the black and on the white Go to the ‘view’ menu on the robot. Make sure that you are using the port that the light sensor is plugged into. Check what number it reads over the black line. Check what number it reads over the white area. Find the average of these two numbers – that is your threshold.

Threshold: Black ______ + White _______ Total ÷ 2 = threshold

We have an NXT sensor but EV3 program That means you will have to use the sound sensor setting on your switch block. This works because the light sensor and the sound sensor both send numbers from to the CPU.

Like this:

Type your threshold here:

Make sure you have the correct port:

Add appropriate move tank blocks

If it doesn’t work… Play with your settings! Have fun!