Presentation is loading. Please wait.

Presentation is loading. Please wait.

IR Object Detection IR detector IR LED IR light reflected off object

Similar presentations


Presentation on theme: "IR Object Detection IR detector IR LED IR light reflected off object"— Presentation transcript:

1 IR Object Detection IR detector IR LED IR light reflected off object
IR light from LED IR light reflected off object IR LED IR detector

2 DISCLAIMER & USAGE The content of this presentation is for informational purposes only and is intended for students attending Louisiana Tech University only. The authors of this information do not make any claims as to the validity or accuracy of the information or methods presented. Any procedures demonstrated here are potentially dangerous and could result in damage and injury. Louisiana Tech University, its officers, employees, agents and volunteers, are not liable or responsible for any injuries, illness, damage or losses which may result from your using the materials or ideas, or from your performing the experiments or procedures depicted in this presentation. The Living with the Lab logos should remain attached to each slide, and the work should be attributed to Louisiana Tech University. If you do not agree, then please do not view this content. boosting application-focused learning through student ownership of learning platforms

3 How it works The Components
Infrared (IR) light leaving an LED reflects off an object. The reflected light travels back to an IR receiver. The IR receiver “detects” the presence of the object. The object does not need to move to be detected. The Components Vishay TSSP58038 supply voltage: 2.7V to 5.5V current: 0.7mA IR LED (not your usual LED) outputs 940 nm wavelength light This sensor detects infrared (IR) light. To avoid detecting the IR component of regular sunlight, the sensor looks for light blinking at 38 kHz. We write an Arduino sketch to make this LED flash 38,000 times per second so it can be detected by the photoresistor.

4 IR Light IR detector is most sensitive around 950 nm or 0.95(10)-6 m
Vishay documentation for TSSP58038

5 LED Circuit IR Receiver Circuit 220Ω digital I/O pin 8 5V
Aim your LED and IR detector so that they have a clear view (nothing in the way)

6 Wrap IR LED with tape to shield it from detector
If detector can “see” the LED, it will think that an object is detected.

7 Arduino Sketch nothing is detected by IR sensor
something is detected by IR sensor void setup() { pinMode(7, INPUT); Serial.begin(9600); tone(8,38000); } void loop() { int detect=digitalRead(7); Serial.println(detect); creates a square wave through pin 8 with a frequency of 38,000 hertz (the tone command keeps working until a notone(8)is called)

8 Can you think of possible ways to change the distance at which an object is detected?
LED Circuit 220Ω digital I/O pin 8 HINT: Is there something you could change in the circuit above?


Download ppt "IR Object Detection IR detector IR LED IR light reflected off object"

Similar presentations


Ads by Google