Bukit Mertajam, Penang

How to use IR sensor

Introduction

The IR Sensor Set, SN-IRS-01 consists of an IR transmitter and an IR receiver mounted side by side on a tiny PCB. With minimum interface and 5VDC power, it can be used as a reflective type IR sensor for mobile robot or low cost object detection sensor.

Now, let’s take a look on the working concept of this pair of sensor(It if also applicable for IR Sensor Set with Socket, SN-IRS-02). Bear in mind, it is yet a complete sensor. Just I highlighted, it is just a combination of Infrared transmitter and Infrared receiver, we will need to some interface and design to enable it become a sensor.

Let’s get the necessary hardware.

Hardware required:

BPS-5-3

IR sensor set

• resistor

LEDs

 

First let’s look at the connections.

DSCF8042

DSCF8046

This picture shows the connection as above.

IRs

SENSOR 1 located above is the part where voltage changes according to the IR received by IR Receiver. We can utilize this voltage changes to detect whether there is obstacle.

The Working Concept

IR Transmitter will always transmit IR light (Infrared), it is not visible to human eyes. Since the transmitter and receiver is being arrange side by side, theoretically, the receiver should not receive any or in most cases, it will receive small amount of infrared emitted by the IR transmitter. The working concept of IR receiver is similar to transistor or LDR (Light Dependent Resistor). Just imagine this. Referring to above diagram, the IR Receiver is like a transistor with the ‘base’ controlled by the IR light received. When there is no IR light receive, the ‘collector’ of transistor does not allow current to sink to ’emitter’ further to ground of circuit. It is like very high resistance from ‘collector’ to ’emitter’, blocking current going to ground. In this case, the voltage at SENSOR1 node will be high, near to 5V.

When the IR receiver receives more IR light, it changes the resistance at ‘collector’ and allow more current to sink to ground, and this is similar to low resistance at the lower part of the circuit. So if you know the voltage divider formula, I guess you understand what will happen, the voltage at SENSOR1 will drop.

We utilize this voltage changes to IR light to “know” whether there is obstacle or not. Because when there is obstacle, IR light get  reflected to IR receiver further changes the voltage, monitoring the voltage changes will get you an obstacle detection sensor 🙂

VIDEO

[youtube]http://www.youtube.com/watch?v=9bCYttiKyG8[/youtube]

 REFERENCE:

PR4

Buy

Related Posts

Comments (13)

Hi sir,

can you advise how to interface this IR sensor set to PIC 16F877A.

can it react as Proximity Detection (Reflections)? if yes, pls advise how to interface it to PIC16F877A.

otao8505,

Please discuss in our technical forum.
http://forum.cytron.com.my/

Thanks.

hi, can the IR sensor be used as vehicle sensor? because i need a sensor to sense the present of a car in my parking lot management system project.

hi

what is the output for this sensor ?

please advise me

i replace the ldr sensor to ir sensor and ldr both is use . but only one i/p pin in my ic.

our project for sicurity purpose,.

what i do??????????/

hei.. i’m a bit confuse with the diagram that shown above..
if i would like to apply my sensor to my Arduino broad..
is that 330 ohm and also 4k7 resistor necessary for this application ??

comprehensive tutorial and a hard works. many thank that you share these information with us

4k7 = 4700 ohm?

Yes, 4K7 is 4700 Ohm

please confirm me how to interface it with the microcontroller pic16f877A

Amiy Mechatronics

if u want to interface with PIC…u need to add comparator which is value of sensor can adjust using variable resistor to get how accuracy sensor detected….comparator LM324N

http://www.cytron.com.my/usr_attachment/SN-IRS-01_Schematic.pdf

[…] shows the basic steps to connect the sensor. If you’re interested to see it, please check it here. Here I’m going to show how to display the value of the IR receiver by using a […]

Leave a comment

Loading...