Sunday 21 October 2012

IR SENSOR



Here, we are going to make an IR sensor.

We will use a pair of IR Led's to make this sensor.

Concept :- 
               Two types of infra red led's are there, One is Emitter and other is Receiver. Emitter IR emits InfraRed waves up to a short range(less than 1 meter) and Receiver IR led receives the wave and gives the output in analog form.

After getting output from IR module it is fed to the A to D converter which converts the Analog signal into Digital signal for further processing.


List of components :- 

  •            330 ohm resistance - 2
  •            10k ohm resistance - 1
  • 10k ohm variable resistor - 1
  •                               Red led -1
  •                         IR led pair -1
  •                         5v battery - 1
  •                       LM358 IC - 1
  •            Male connectors
  •          Connecting wires 

                                          

Circuit of IR module :-
negative pin of receiver is as output

A to D converter :-
                               An A to D converter is an Analog to digital converter. We will use operational amplifier for this purpose. An OP-AMP can compare the analog input from reference voltage and gives the output in form of 1 or 0.
               We will use LM358 IC for A to D converter. This IC have 2 OP-AMP. For the reference voltage we will use 10k ohm variable resistor. You can use any OP-AMP IC like - LM324, 741, LM339.

Circuit of A to D converter :-
Connect 4th pin as GND and 8th pin as VCC



Complete circuit of IR module :-

variable resistor is of 10k ohm and connect 4th pin of ic to GND and 8th pin of IC to VCC

PCB layout of complete IR module :-

DOWNLOAD THIS IMAGE AS IT IS AND PRINT YOUR PCB

THIS IS THE UPPER VIEW OF PCB, FROM THIS YOU CAN MOUNT THE COMPONENTS ON THE PCB  m2 and m1 are the male connectors




Images :-



                   
top view
AFTER FOLLOWING THESE STEPS YOUR IR SENSOR WILL BE READY TO RUN. IF YOU WILL PLACE ANY OBJECT NEAR TO THE IR LED THEN INDICATOR LED WILL BE ON.

NOTE :- If you want the long range IR sensor then you can use the monostable mode of 555 timer IC at the input of emitter IR led. Ciruit of that module will be updated soon.

Note :- We are using the blue and white pair of IR led. Blue is emitter and white is transmitter. You can cover the emitter led by any black cover from the sides(not from the front).

IF YOU HAVE ANY QUERY THAN CONTACT US OR GIVE YOUR QUERY IN THE QUERY OPTION.      
                                                            GOOD LUCK


More embedded projects >>....                             More MAT LAB projects>>...   

1 comment:

Unknown said...

Please send me the circuit using lm339 as the OP-AMP in IR sensor, as a replacement for lm358. Thank you