Welcome to circuitspedia.com

Infrared proximity sensor circuit

Infrared proximity sensor circuit

obstacle detector circuit

Infrared proximity sensor circuit or Obstacle detector circuit – There are 3 infrared proximity sensor circuit that can be used as an obstacle detector circuit. When an object or your hand keep in front of about 0-5 cm, then the output will High.

The infrared proximity sensor or obstacle sensor works basically on the principle of the radiation and reflection of Infrared light and rays.

In this system of IR obstacle detector or sensor, a transmitter and a receiver consist, Transmitter transmit the Infrared rays. These transmitted infrared rays reflected by the object and then these reflected rays is received by the receiver and according to the reflection of ir rays receiver activates the whole circuit and produces the output signal High or Low.


Transmitters are generally used as IR LEDs. IR LED is a special type of LED but looking the same as normal LED, This IR led transmits Infrared light or rays. Infrared lights are not visible by our eyes. IR LED is used here as the source of infrared light. The natural IR source is the sun; Sun is the largest source of infrared rays that produces a huge amount of IR rays in the environment.


Generally, Photodiode used as IR receiver but phototransistors also used in many circuits for receiving the IR signals. Photodiode Is looking the same as LED. The size and design of a Photodiode is not like a general diode. It is a special type of diode made to receive only Infrared signals. Photodiode detects only ir signal.

Photodiode converts light energy into electrical energy. Photodiode works on the principle of the photoelectric effect. This is a special type of p-n junction. The photodiode is always connected in reverse bias connection. When light (photon) falls on the p-n junction of photodiode then a very small electric field generated across this. Photodiode also called photodetector or photosensor. Current generated across photodiode is very small (in microamp).


This circuit working is very simple. the photodiode is connected between the base of transistor Q1 and VCC. when an object or any reflective material present in front of ir pair (transmitter-receiver) photodiode absorbs the ir rays and produces a small electric volt/current, which gives directly the base terminal of the transistor Q1, and then this transistor will activate. now, this transistor flows the current and gives at the base of Q2. A 56k resistor is used to remain transistor OFF if photodiode does not get ir signal.

Connect the IR LED and Photodiode in the same direction and distance between both are up to 1 to 2 inch.

This circuit is more sensitive and more reliable. This uses an LM358 Ic, here LM358 ic uses as a comparator that compares the input voltage signal with the reference input voltage. When IR rays fall on the photodiode then the voltage level of pin 3 is higher than the reference voltage at pin 2, here voltage at pin 2 is uses as a reference voltage. When the voltage at pin 3 is high output voltage at pin 1 is High or the same as VCC otherwise the output voltage at pin 1 is LOW or 0v. This output voltage activates the transistor and the load will turn on. the sensitivity of this circuit can be adjusted by the moving of the 22K preset.


IC  LM358- 1

Photodiode -1

IR LED – 1

Resistors 1K-1, 220Ω- 1, 10K-1

Transistor 2N222A – 1

Preset 22K- 1

This circuit used for connecting to an AC load directly with the Triac. AC load will be connected with this circuit so this circuit is dangerous. When the IR rays fall on the photodiode, the base of the transistor gets a small voltage that activates this transistor. After activating this transistor the positive voltage signal goes to the gate pin of the triac and now triac will Turn on and activate the load connected with this. If you are a beginner with electronics and not experienced with AC please does not try this circuit.  Here you can use an optocoupler to isolate the circuit from AC signal and for more safety.



Resistor 100Ω -1

Preset 100K -1

TRIAC BT136 -1

Transistor BC547 – 1


Also read

What is Fusible resistor

IR Based Security Alarm Circuit

Overvoltage Protection AutoCut OFF Using 741

About the Author


Hi, My name is Aman Bharti, I am interested in making and study of Electronics, circuit diagram, PCB designing and layout etc. I like to share the knowledge and all ideas with people which I get from My Experiment & from different sources. I try to provide any circuit details deeply with test results as possible. If you want to give a suggestion or comments on anything, please leave your comment in the comment box of the related page.

Leave a Reply

Your email address will not be published. Required fields are marked *