THE LIGHT SENSOR The Light Sensor gives your robot some kind of vision. It can distinguish between light and dark assigning a number between 0 (completely.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
Sensors For Robotics Robotics Academy All Rights Reserved.
Index  INTRODUCTION  HARDWARE DESCRIPTION  BLOCK DIAGRAM  COMPONENT LIST  ADVANTAGES AND APPLICATIONS  CONCLUSION.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Potentiometer Electric circuit Cell or Battery Resistor Switch Bulb Earth/Ground LED.
Schematic Overview. Abstract  Design and build a compact robot to traverse a maze  Use the robot to generate an ASCII representation of the entire maze.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
BEGINNER EV3 PROGRAMMING Lesson
ROBOT BOMB REMOVER CHALLENGE 7. BOMB REMOVAL CHALLENGE Using the color sensor, you will program distinguish bombs and to remove them from the room. When.
Connecting VEX and ROBOTC
LEGO Mindstorms NXT Carnegie Mellon Dacta Lego Timothy Friez Miha Štajdohar SOURCES:
Introduction to Sensors
Introduction to Arduino Prepared by R. Lamond.  “Arduino is an open-source electronics prototyping platform based on flexible, easy- to-use hardware.
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.
Embedded Programming and Robotics
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?
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Write a program that will automatically control the brightness of a light based on the surrounding light level. Automatic Night Light.
Sensors Material taken from Robotics with the Boe-Bot.
ECE 1020 FINAL PRESENTATION TA: Allen Guan and Sibel Ahmed Shehzad Mufti.
Programming Concepts Part B Ping Hsu. Functions A function is a way to organize the program so that: – frequently used sets of instructions or – a set.
The George Washington University Electrical & Computer Engineering Department ECE 002 Dr. S. Ahmadi Class 2.
The Battle Roach Robot Carla J. Araile, New York City College of Technology Undergraduate Student Anthony Francis, New York City College of Technology.
Available at: Lesson 3.6 – Program Line Follower in Autonomous Mode Program Line Follower in Autonomous Mode.
Sensors I Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Electronic Parts.
THE TOUCH SENSOR The Touch Sensor, shown in the picture, gives the robot the sense of touch. It gives too different signals when the orange part is ether.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
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.
Photos and Sensor Instructions
18240 Element two - Components INPUTS OUTPUTS PURPOSE TYPICAL USE.
INTERNET OF EVERYTHING SDU 2016 Week 4. Simple Digital and Analog Inputs  The Arduino’s ability to sense digital and analog inputs allows it to respond.
Enables your robot to see, recognize, avoid objects, and detect movement. It uses the same scientific principle that bats use. It measures distance in.
SnackBot Creator: Chris Shepherd 7/7/05. Sensors/Behaviors Regular Regular Bump: Obstacle Avoidance Bump: Obstacle Avoidance IR: Obstacle Avoidance IR:
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.
LINE FOLLOWER ROBOT Guided By: Made By: Mrs. Geetali Saha Parth Patil ( ) Arsh Patel( ) KishanPatel( )
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
Electrical signaldigital signal Actuators and acting.
Connect VEX and ROBOTC Electrical Engineer Responsibilities © 2011 Project Lead The Way, Inc.Automation and Robotics VEX.
Electrical Engineer Responsibilities
Diodes Part II Intro to ECSE Analysis K. A. Connor
PRESENTATION ON Line follower robot.
NXT Mindstorms Kit Programming
By Sanjay and Arvind Seshan
Assist. Prof. Rassim Suliyev - SDU 2017
BEGINNER EV3 PROGRAMMING Lesson
Electrical Engineer Responsibilities
3 PHASE SEQUENCE CHECKER BY LED INDICATION
Sensors For Robotics Robotics Academy All Rights Reserved.
Introduction To Programming with LEGO NXT 0
Sensors For Robotics Robotics Academy All Rights Reserved.
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Electrical Engineer Responsibilities
RESISTORS A resistor is used to reduce the flow of electricity in an electric circuit. Resistorscome in fixed or variable types.
BEGINNER PROGRAMMING LESSON
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Learning Outcomes List all Edison’s Sensors and actions
Forward Until Touch Robot goes forward until it hits a wall.
Storing Values as Variables
BEGINNER PROGRAMMING LESSON
Actuators and acting electrical signal digital signal.
Robotics Week 6 line follower
ECE Computer Engineering Design Project
UNIT 5 Analog signals.
Build a Remote Sensing Satellite
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
BEGINNER PROGRAMMING LESSON
Presentation transcript:

THE LIGHT SENSOR The Light Sensor gives your robot some kind of vision. It can distinguish between light and dark assigning a number between 0 (completely dark) and 100 (maximum light). It can also detect the light intensity of colored surfaces thanks to its Light Emitting Diode, so that it is possible to recognize colors.

SENSOR HARDWARE SCHEMATIC The circuit is not so simple, but it is easy to recognize the LED and the light sensor. On the right the input port connection is drawn. The NXT Light Sensor has a range of states between 0 and 100. The lower the number, the darker the reading is.

Connecting the light sensor to the NXT The input port and the cable have six connections. The connection can be used to get digital, analog and I2C signals and to supply power to the connected sensor.

What can you do with a light sensor? You can use the Light Sensor detect the light in a room. The Light Sensor can be use to follow a black line on a white floor. You can write a program that makes your robot move on a table without fall down.

NXC, is a high-level programming language for NXT. NXC has a syntax similar to C language. Before using a sensor you have to declare its connecting input: SetSensorLight( port number S1 to S4 ); To read a value and store it in a variable: x = Sensor(port number); Programming the Light Sensor with NXC

EXAMPLE PROGRAM task main() { SetSensorLight(S1); int x; while(true) { ClearScreen(); x=Sensor(S1); NumOut(10,LCD_LINE1,x); Wait(200); }