IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.

Slides:



Advertisements
Similar presentations
Khaled A. Al-Utaibi Interfacing an LED The Light Emitting Diode (LED) Applications DC Characteristics & Operation Interfacing to.
Advertisements

EMS1EP Lecture 6 Digital Inputs
ARDUINO CLUB What we’re really doing. BASICS The setup() and loop() functions.
Electrical team Arduino tutorial I BY: JOSHUA arduini
Lab7: Introduction to Arduino
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
Panasonic EVE-KC2F2024B 24 pulses per revolution 6mm diameter flattened output shaft output type: quadrature (incremental) minimum life: 15,000 rotations.
1 Chapter 7: Navigating with Infrared Headlights Presentation based on: "Robotics with the Boe-Bot" By Andy Lindsay Parallax, Inc Presentation developed.
Digital & Analog Inputs. Review Fundamental parts of an Arduino program are … Setting output types using pinMode. Declaring variables Can write a digital.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2012 David Hall.
Using the Arduino to Make an LED Flash Work in teams of two! living with the lab digital I/O pins (I/O = input / output) USB cable plug power pins.
Living with the Lab Using Your Arduino, Breadboard and Multimeter EAS 199A Fall 2011 Work in teams of two!
Living with the lab Introduction to Arduino Programming arduino.cc Gerald Recktenwald Portland State University
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
Embedded Programming and Robotics
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2011 LWTL faculty team.
1 Ultrasonic Distance Sensor. 2 How it Works The distance sensor emits short bursts of sound and listens for this sound to echo off of nearby objects.
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Basic Circuits – Lab 2 Arduino and Sensors
Sensors Material taken from Robotics with the Boe-Bot.
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
Cascade switching of an LED EAS 199B Winter 2013.
Tweaking Your Simon Adding a photoresistor and changing code Instruction by Pete Lewis and Linz Craig.
Material taken from Robotics with the Boe-Bot
Using IR Chapters 7 & 8 of Robotics with the Boe-Bot.
ARDUINO 1. Basics  Comments  /* * Blink * * The basic Arduino example. Turns on an LED on for one second, * then off for one second, and so on... We.
Using IR Chapters 7 & 8 of Robotics with the Boe-Bot.
Microcontroller Hands-on Workshop #2 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers October 31, 2009.
Arduino libraries Datatekniker Udvidet hardware/software.
Photoresistor resistance changes dramatically with light level living with the lab Using Photoresistors with an Arduino © 2011 LWTL faculty team.
Temperature Sensor TYWu. Seeed’s Temperature Sensor Picture.
IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver Infrared (IR) light leaving an LED reflects.
Arduino + Bluetooth TYWu. Connection Arduino + Bluetooth Module.
Arduino “Getting Started” Instructor : Dr Matthew Miss Khin Yi Kyaw
ME 120: Arduino Programming Arduino Programming Part 1 ME 120 Mechanical and Materials Engineering Portland State University
Infrared Proximity Sensors & Liquid Crystal Display Instructor Dr Matthew Khin Yi Kyaw.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
1 Introduction to Coding. 2 Example Codes A lot of example codes are given with Arduino IDE A code can often be based on a previous example rather than.
IR sensors for beacon location
Light Detection Circuit
Cascade switching of an LED
Welcome to Arduino A Microcontroller.
European Robotic LABoratory
Lab 1: Arduino Basics Topics: Arduino Fundamentals, First Circuit
INC 161 , CPE 100 Computer Programming
Arduino.
Analog Input through POT
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Maxbotix Ultrasonic Distance Sensor
Arduino Analog I/O Analog input pins: 0 – 5
Ultrasonic Distance Sensor
Arduino 101 Credit(s):
using the Arduino to make LEDs flash
analog and digital measurements
IR Object Detection IR detector IR LED IR light reflected off object
Interfacing a Rotary Encoder with an Arduino
Sensors and actuators Sensors Resistive sensors
CTY SAR FCPS Shawn Lupoli, Elliot Tan
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Multiplexing seven-segment displays
Arduino 7 Segment Display Lab
Arduino Uno circuit basics
SAURABH GINGADE.
Arduino程式範例.
CTY SAR FCPS Alexander Velikanov
Presentation transcript:

IR Object Detection living with the lab IR light from LED IR light reflected off object IR LED IR receiver 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.

living with the lab 2 Panasonic PNA4602M supply voltage: 4.8V – 5.2V current: 3mA This sensor detects infrared (IR) light. However, to avoid detecting the IR component of regular sunlight or light from other stray IR sources, the sensor only looks for light coming in at 38 kHz. IR LED (not your usual LED) outputs 940 nm wavelength light We write an Arduino sketch to make this LED flash 38,000 times per second so it can be detected by the PNA4602M. The Parts

living with the lab 3 IR Light IR detector is most sensitive around 950 nm or 0.95(10) -6 m wikipedia.org Panasonic documentation for PNA4602M

living with the lab 4 Install an LED Shield It is important to install the LED in an enclosure to properly direct the IR light. Your kit includes the black pieces shown. Insert the legs of the LED through the holes in the longer black cylinder, and then install the smaller top piece over the exposed end of the LED. If you don’t have a shield, a piece of paper can be rolled up and taped around the LED. Your LED will look like this after shielding.

living with the lab 5 220Ω from digital output pin on Arduino LED Circuit IR Receiver Circuit Be sure to aim your LED and IR detector so that they have a clear view (nothing in the way) 5V 220Ω to digital input pin on Arduino

living with the lab 6 Arduino Sketch void setup() { Serial.begin(9600); // allows output to display pinMode(2, OUTPUT); // define digital pin 2 as an output (output to LED) pinMode(3, INPUT); // define digital pin 3 as an input (input from sensor) } void loop() { tone(2,38000); // output a LOW HIGH LOW sequence at 38,000 Hz int IR_status= digitalRead(3); // acquire the status of the IR sensor Serial.println(IR_status); // display the status of the IR sensor delay(100); // wait 100ms between sensor queries } nothing is detected by IR sensor something is detected by IR sensor