IR-Photo Diode Sensor

IR-Sensor imageThis Sensor module works on the principle of Reflection of Infrared Rays from the incident surface. A continuous beam of IR rays is emitted by the IR LED. Whenever a reflecting surface (white/obstacle) comes in front of the Receiver (photo diode), these rays are reflected back and captured. Whenever an absorbing surface (Black/No Obstacle) comes in front of the Receiver, these rays are absorbed by the surface and thus unable to be captured.

 

FEATURES:

  1. Active Low on object detection
  2. 3 pin easy interface connector
  3. Indicator LED
  4. Potentiometer for changing the range of detection

Applications:

  1. Line Follower sensor
  2. Obstacle Avoidance Robot
  3. Edge avoiding robot
  4. Anti-falling robot
  5. Light/Fire sensing

Capture

Basic Block Diagram:

Basic Block Diagram

IR LED:

IR LED

IR LED is used in this circuit to transmit infrared light.

An Infrared light-emitting diode (IR LED) is a type of electronic device that emits infrared light not visible to the naked eye.

The wavelength and colour of the light produced depend on the material used in the diode. Infrared LEDs use material that produces light in the infrared part of the spectrum, that is, just below what the human eye can see. Different infrared LEDs may produce

infrared light of differing wavelengths, just like different LEDs produce light of different colours.

Since the human eye cannot see the infrared radiations, it is not possible for a person to identify whether the IR LED is working or not, unlike a common LED. To overcome this problem, the camera on a cell phone can be used. The camera can show us the IR rays being emanated from the IR LED in a circuit.

Photo-diode:

Photodiode

Here Photo diode is used to capture reflected light of IR LED.

A semiconductor diode that, when exposed to light, generates a potential difference or changes its electrical resistance.

A Photo diode is a reverse biased silicon or germanium pn junction in which reverse current increases when the junction is exposed to light.

When no light is incident on the pn junction of photo diode, the reverse current is extremely small. This is called DARK CURRENT.

When light is incident on the pn junction of the photo diode there is a transfer of energy from the incident light (photons) to the atoms in the junction .this will create more free electrons (and more holes) these additional free electrons will increase the reverse current.This electrical energy can be recorded as voltage drop fluctuations by using a series resistor in the outer circuit and taking voltage readings across it.

.

Analog to Digital Converter:

It is clear that the output of the Photo diode is an analog voltage. If you want to use this sensor as an analog output sensor then there is no need to use any comparator. We can give this analog value directly to Microcontroller’s ADC pin.

analog ir module

Some Microcontrollers do not have ADC peripheral (For example 8051) and also sometimes we want to feed pre-processed data to microcontroller (Hardware/Software trade off). So if you want digital output from this sensor, we can use Comparator for that.

.

Op-amp

.

V0 = High when V+ > V-

V0 = Low when V+ < V-

.

.

FUNCTION OF THE COMPARATOR:

logic

LM-358 (Op-Amp IC):

The LM-358 IC consists of two independent operational amplifiers which were designed specifically to operate from a single power supply over a wide range of voltages.

Here Op-amp is used as comparator.

Pin configuration of LM-358 is giving as follows-

Capture

LED:

One Light Emitting Diode is used in this circuit for indicating the output logic of this IR sensor.

More Images:

cover - Copy

Schematic:

IR-Photo Diode Sensor - Copy

PCB Layout:  DOWNLOAD

       1.  Bottom Copper Layer-                    2.   Silk Screen Layer –                   3.   Bottom & Silk screen layer-

IR PCB LAYOUT

 

 

 

 

 

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

 

About Piyush Gupta

M.Tech in Embedded System Technology
This entry was posted in What is this and tagged , , , . Bookmark the permalink.

35 Responses to IR-Photo Diode Sensor

  1. Pingback: Line Follower Using 2051 | For electronics

  2. tony says:

    Hello,
    Can you tell me a solution for how to exclude background light from falling on IR photo diode. apart from fixing a black tape around the photodiode

  3. Pingback: TSOP based IR Sensor | For electronics

  4. manjunathan says:

    How to increase the current,when less intense of ir light in the ir photo diode

    • sorry for late reply, I was quite busy from last few months….
      well about your question—
      If you want to increase current from IR LED then you should decrease the resistance which is connected in series with that LED.

  5. can i use 7805 voltage regulator to get 5v from 9v battery? shall i use the ground terminal of battery to ground the other components of the circuit?

  6. AYUSH TIWARI says:

    thanks for giving such a lucid description of ir emitter & receiver.Sir i live in raebareli where this photodiode is not available so please can you tell me where i can get it and what is the reasonable price for the emitter and receiver.Thank you once again.

    • Piyush Gupta says:

      Hello Ayush, Thanks for your complement.
      About your question- you can go to Naka, Lucknow. There are many shops from where you can buy these types of components. You can buy online also. You will get a pair of a IR Transmitter & Receiver in approx Rs 20.

  7. premal says:

    how to make analog ir sensor modul

  8. hieupm says:

    Can I know which type resistors you use? 470,1k and 100k(as in schmatic) or 1k,1m(as in pcb layout)? Thanks for reading?

  9. pankajparmar says:

    Photo diode is available in diffrent types?

  10. Hello,
    I’ve tried to do this IR sensor, but I have a little problem, when I put it IR led next to IR receiver it doesn’t work, by the other hand if I place them face to face it works perfect. Could you please help me to solve this problem cause I need to put them side to side, not face to face.

  11. Sadikan says:

    Dear sir I like to know more about photodiodes

  12. Carlo says:

    sir I want to know how can i invert the output. I want to use this in my obstacle avoiding bot the problem is when the led is on the dc motor is on and when the LED is off the motor is off, how can i invert the logic behind, so that I can make it when there is an obstacle the led is on and the motor will going to turn off and when the led is off the motor is on. please help me.

    • Piyush Gupta says:

      Answer of your question –
      You can invert the output logic by swapping the inputs to op-amp. In circuit given in post, photo-diode output is connected to non-inverting input and 10K potentiometer is connected to inverting input of op-amp.
      You can swap connections,,,, connect photo-diode output to inverting input and potentiometer to non-inverting input of op-amp.

      My suggestion –
      Do not change sensor circuit,,,, change the way you are connecting motor to sensor.
      And also it will be better to use TSOP photo-diode sensor as ambient light will disturbe ir-photo-diode sensor.

      Send me circuit, how are you connecting motor and sensor. You can post your question with circuit on my Facebook page or group.

  13. Ishan Badgainya says:

    The above circuit gives me two voltages.
    0.7V when IR does not detect object
    3.7V when it detects something.

    How can I reduce the 0.7V to 0V ?
    Preset does not helps.

  14. Ryan says:

    Does any kind of photodiode works as an IR receiver? I’ve bought a photodiode that has smaller size (really small) than the common photodiodes I’ve seen on the internet like the one similar above which actually just looks like an LED and the problem is that it seems to be only working with a normal light from the background and doesn’t work with the IR LED.

  15. Prashant says:

    Sir, is the output voltage of an active IR receiver enough to drive an LED? i.e. without converting analog signal to digital signal?

  16. noman ali says:

    SIR CAN I USE THIS CIRCIUT FOR CAR SPEED MEAUSRMEANT??

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s