Infrared Sensor / Obstacle Detector Circuit Using LM358

In this tutorial, I will make an infrared sensor by utilizing IC LM358 with a simple step by step process. The activity of this sensor is so basic when an object is before the sensor, the alarm or LED will glow up. We have two IR LEDs, a transmitter and a receiver. At the point when the current goes through the transmitter, it will emit IR beams. This can be seen by utilizing any camera device.

The receiver is utilized in reverse bias condition and is used to catch IR beams. The cathode(-) of the led is connected to the source (+) terminal. Being in reverse bias, the receiver will allow, in its initial state a small current to pass through it. At the point when the IR beam falls on the receiver, it will permit a higher current to go through it. Here we will use an LM358 IC, an op-amp that we will use as a comparator.

Must Read IR Sensor Using 555 Timer

Circuit Diagram

infrared sensor

Components Required

  • LM358 IC
  • IR Transmitter
  • IR Receiver
  • 10 KΩ Potentiometer
  • Led
  • Resistor (1 KΩ, 10 KΩ, 220 Ω)
  • Piezo Buzzer
  • A Switch
  • 9V Battery

Circuit Connection

We will connect the infrared transmitter in series with a 220 Ω resistor as follows. The cathode(+) of the led to the plus, and the anode(-) of the led with resistance and the resistance to ground.

Next, we will connect the receiver in reverse bias mode and in parallel with the transmitter. The anode(-) will be connected to plus and the cathode(+) in series with the 10 KΩ resistance and the resistance to the ground.

At the point when the infrared sensor doesn’t capture infrared radiation, it has an extremely high internal resistance and the output voltage will be little. Also, when it begins to capture the radiation, its internal resistance will be exceptionally low and the output voltage will get higher.

At this point, the sensor is functioning and we will add a 1 KΩ resistance in series with led. The resistor is connected to pin 1 and in series with the led that is grounded.

Working of Infrared Sensor

At first, we will put the IC LM358 on the breadboard. And then we should connect pin 8 to the power supply and pin 4 to the ground.

From that point onward, We will place the potentiometer in the breadboard and should watch that each of the three pins must be separated. We will associate the pins of the potentiometer as follows in the above circuit.

The sensing component in this circuit is the IR receiver. If the amount of infrared light will increase on their receiver, the more current will flow through it (Energy from the IR transmitter is absorbed by electrons at the p-n junction of the IR receiver, which causes current to flow through it).

When the current flows through the 10 KΩ resistor, there will create a potential difference. As the value of the resistor is constant, the voltage across the resistor is directly proportional to the current flowing, which in turn is directly proportional to the number of infrared waves on the receiver. So, when an object comes to the IR sensor, the amount of IR rays from the IR transmitter falls on the IR receiver increases, and therefore the voltage at the resistor increases.

Here in this infrared sensor, the LM358 IC is used as a comparator for comparing the sensor and reference voltage. The positive terminal of the IR receiver is connected to the non-inverting terminal of Op-Amp and the reference voltage is connected to the inverting terminal of Op-Amp.

The Op-Amp works in a way that whenever the voltage of the non-inverting terminal is more than the voltage of the inverting terminal, the output will high and the led will turn on.

When no object is near the infrared sensor, there will no output, and the led will turn off.

We can adjust the potentiometer to drive the desired distance we need to measure. In the equivalent, when the object moves a long way from the infrared sensor, the voltage at non-inverting input diminishes, which causes Op-Amp to turn the LED or alarm off.

Application of Infrared Sensor

An infrared sensor can quantify the warmth of an item just as it distinguishes the movement.

This type of infrared sensor measure just infrared radiation, instead of discharging it that is known as an inactive infrared sensor.

6 thoughts on “Infrared Sensor / Obstacle Detector Circuit Using LM358”

  1. I all the time used to read paragraph in news papers but now as I
    am a user of internet so from now I am using net for articles, thanks to web.

    Reply
  2. It is perfect time to make some plans for the future and it’s time to be happy.
    I have read this post and if I could I desire to suggest you some interesting things or advice.

    Perhaps you could write next articles referring to this article.
    I wish to read more things about it!

    Reply
  3. Mу partneг аnd I stսmbled over here different website and thought I sһould check things оut.
    I like what Ι see so now I am followіng you.
    Look forward to checking out your web page yet again.

    Reply
  4. Thanks for the circuit. I want same thing in miniature version. I want Inductive proximity sensor circuit that fits in 18mm size plastic or metal barrel. Sensing is only 8mm. DC supply is 5vdc to 40Vdc. and output required is NPN/PNP N/O or N/C. If other protections are added then it is even better. Thanks in advance.

    Reply
  5. We are а group of volunteers and opening a new scheme in our community.
    Your web ѕite provided us ᴡith valuable info to
    work on. Yoս have dߋne a formidaƅle jоb and our whole community
    will be thankful to you.

    Reply

Leave a comment