Infra Red Proximity Sensor Using LM358
Infra Red Proximity Sensor Using LM358
by ElectroMaker958
Before we proceed, I Recommend you to watch the full video first. There you will find full process about making of
this simple circuit on a breadboard. Visit my channel 'ElectroMaker' For more details.
IC1- Any OP-Amp IC Will work like LM324, LM358, L3- Normal LED (Any color, Color doesn't really
CA3130 etc. (We are using it as a comparator) matter)
R2- 100 - 1K
use this two voltages to trigger an LED? The best positive terminal of the photodiode (voltage depends
way is to compare those two different voltages. And on infrared light) to non-inverting input (Pin 3) So
we will do it by using an component called whenever the voltage at Pin 3 gets higher than the
'Comparator' which is just an op-amp without any Pin 2, the Pin 1 (output of the comparator) goes high
feedback attach b/w it's output and non- inverting (The output voltage will be your input voltage itself +
input (one marked with + sign), it works as a little voltage loss which is tiny and barely noticeable,
comparator. In simple terms, If the voltage at the non- and when Pin 2 is higher that Pin3, the output goes
inverting input (one marked with the +) is higher than Low (0V) Now you know why we call that
the voltage at the inverting input (one marked with -), potentiometer as a sensitivity control. If you have
the output will go high (output positive voltage) and doubt in something, Feel free to ask us in the
Vice- Versa. So we connect the middle pin of the comment section of our videos.
potentiometer (adjustable output voltage) Inverting
input (Pin 2 of the LM358 that we are using) and the
If your circuit doesn't work, Follow the steps below. If any battery along with a 1K OHM Series resistor and
it doesn't help, Feel free to ask us in comment section seeing it through a digital camera (It looks pinkish in
of our videos. color and is not visible by naked eye)
1. Check the IC (OP-AMP)(COMPARATOR) 6. Make sure that your potentiometer is connected the
right way
2. Make sure you have connected the pins of
comparator the right way 7. If your LED OR BUZZER Blinks or sounds
continuously than turn your potentiometer more
3. Make sure other connections are okay towards Positive power supply
4. Make sure your Photodiode is okay, Try using 8. Make sure your power supply is connected the
another one right way, Your circuit may be damaged by exposing
it to high voltages or reverse polarities.
5. Make sure your IR LED Is okay by connecting it to
Looks nice, what range do you have with the sensor?