IR Proximity Sensor / Obstacle Detector circuit on Breadboard | LM358 Op-Amp projects

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • A tutorial on How to make an InfraRed (IR) proximity sensor circuit along with detailed explanation on how the circuit works. The sensitivity or Range of detection can be controlled by adjusting the potentiometer.
    This circuit can also function as an InfraRed receiver and Object detector.
    For circuit diagram plus more Info, visit:
    elonics.org/in...
    Components Required:
    LM 358 IC
    1 InfraRed LED PhotoDiode pair
    Resistors: 2 x 270R, 10K
    Potentiometer: 10K
    Breadboard
    Power Supply: (3-12)V
    Few Breadboard connectors
    Note: For supply voltage of 9V or more, use 1K resistor for LED and 470R for InfraRed(IR) LED.
    This channel has a lot more electronics projects & 555 timer projects. So feel free to check them.
    -----------------------------------------------------------------------
    Troubleshooting Guide:
    [Update]: • Troubleshooting IR Pro...
    Double-check all connections by referring to the circuit diagram.
    Check if the LED's are working properly. (Digital cameras can detect InfraRed light, so you can check if the InfraRed LED is working by using any digital camera)
    The IR photo-diode used in this video is white and the IR LED is black. But it can also be the other way in your case. You can determine which one is LED/Photo-diode by connecting both the diode, photo-diode pair separately to the power supply (via a 220 resistor) and see which one glows using a digital camera.
    *At one extreme position of the potentiometer's knob, the LED should be off and at the other extreme position, the LED should be on. Now you can start turning the potentiometer's knob form the extreme position where the LED is on, until the LED just turns off. Now the IR proximity sensor should work properly.
    *If the above steps doesn't help, feel free to post the problem in the comments section.
    -----------------------------------------------------------------------
    For more electronics projects, visit: elonics.org/
    Like our Facebook page: elonics/
    Follow on google plus: plus.google.co...
    Don't forget to Subscribe!

Комментарии • 808

  • @elonics
    @elonics  6 лет назад +24

    if you face any difficulties in making the circuit work as expected, watch this: ruclips.net/video/036kskbFf40/видео.html

    • @gurudeva2366
      @gurudeva2366 6 лет назад

      Could you please send me the video or circuit of ir sensor and counter

    • @luisleonardojuarez7389
      @luisleonardojuarez7389 6 лет назад

      I have a problem. Do I need an infrared diode and a photodiode? or
      An infrared diode and a phototransistor?

    • @georgeoliver652
      @georgeoliver652 6 лет назад

      Great video, Logically explained and intuitive, thankyou, subbed.

    • @محمدالقحطاني-ظ8ك3م
      @محمدالقحطاني-ظ8ك3م 6 лет назад

      Elonics - Electronics Projects on Breadboard

    • @flk9623
      @flk9623 5 лет назад

      Thanks

  • @raycodes7393
    @raycodes7393 6 лет назад +7

    There is nothing more beautiful in this world than that smoke animation that plays when you add another component to the breadboard.

  • @wizardOfRobots
    @wizardOfRobots 6 лет назад +39

    Very lucid explanation. Even though I sort of knew how this circuit worked, your explanation clarified it completely. You have a great talent at communicating ideas. Great job!

  • @fzigunov
    @fzigunov 5 лет назад +17

    Man, this idea will literally save my project! Love you

  • @Stoneman06660
    @Stoneman06660 5 лет назад +2

    Great video, mate. This is the setup I had in my head but wasn't sure how it'd work, and you've gone through it in a clear and concise manner. We even have two channels on the op amp, so we can build a dual sensor unit in this manner that doesn't require an Arduino or what not to act at the comparitor or voltage reference-measurement. Love it.

  • @Pattelito
    @Pattelito 7 лет назад +6

    The music was really nice. Thanks for explaining this. I have troublie understanding op-amps and I really need to improve my knowledge about it. great video

  • @tural.ahmatov
    @tural.ahmatov 4 года назад +8

    I wish I had an electronics teacher like you! Your content is very clear and understandable! Wish you success!

  • @Electro_Mic
    @Electro_Mic 6 лет назад

    Bonsoir, un grand merci à vous, l'animation est de grande qualité, l'explication en anglais mais on comprend quand même en visuel même pour ceux qui ne maitrise pas la l'anglais, et ça c'est super.

    • @elonics
      @elonics  6 лет назад

      Merci pour les commentaires

  • @sandeeptyagi1010
    @sandeeptyagi1010 3 года назад

    Thank You sir. I am not good in Electronics but your way of teaching is too good in-fact first time i understand full circuit.

  • @mmartinez3619
    @mmartinez3619 3 года назад +1

    Well done video. I especially like the close-up photography so actual pin locations can be followed. Furthermore, the additional video editing with directional arrows, shading, and highlighting etcetera make following the concepts much smoother. Thank you!

  • @claytonbenignus4688
    @claytonbenignus4688 4 года назад

    My review of this is from the viewpoint of a beginning hobbyist. My review is generally positive.
    On the plus side, you discuss how it works and how to put it together. This is a big plus.
    On the minus side, you do not show a schematic, which is mitigated by the link to it. Also, you did not go into detail about each pin of the LM358, although this could be mitigated by a reference to a video covering the subject.
    You get substantial extra credit for that link to the troubleshooting video. This is Gold to a beginner.
    I’m subscribing because I see tons of potential in you. You do not make annoying presentation mistakes like using messy low contrast schematics on ruled paper, the type of mistake that gives the audience eye strain. Your script is well crafted and probably rehearsed. I am expecting great things of you.

    • @elonics
      @elonics  4 года назад +1

      Thank you for the comprehensive feedback! I liked the idea of having reference videos. Will do that for the upcoming videos.

    • @claytonbenignus4688
      @claytonbenignus4688 4 года назад +1

      One more caveat: References are good, but do not over do them as DC Comics did. They had successful series in the 60s called Crisis on Earth One, Earth Two, etc. Afterward, each issue of DC had increasingly many Editors Notes until the whole thing became a monstrous unreadable mess in the 80s. DC had to redo everything because no one could read through their tangle. References are good, but don’t be tedious.

    • @elonics
      @elonics  4 года назад

      @@claytonbenignus4688 Haha, Roger that!

  • @dikshantbansal8806
    @dikshantbansal8806 3 года назад

    One of the first video in complete junk on this topic on RUclips which actually showed the correct circuit otherwise all videos show photodiode working in forward biased state. My friend I assure that I will try to have you as many subscribers and likes which you deserve and which I can!

  • @WayneTheSeine
    @WayneTheSeine 5 лет назад +2

    Great video, very well presented. For some reason mine was on and turning off with proximity. After much consternation I swapped the wiper (center tap) of the pot and put it on #3 and moved the receiver wire to #2 and lo and behold it worked. Not sure if the schematic is wrong, my LM358 is backwards or something else. Note, if I approach the circuit from one side it has a range of approx. 3 feet.

  • @WhoWantsToKnow81
    @WhoWantsToKnow81 7 лет назад +2

    If you are all are wondering why the LED is continuously on, it is because there is no barrier between the light detector (white) and IR LED (blue), so it will always pick up light...
    Some masking tape between the two - without covering the domes - should help (although I have not tested this circuit myself).

  • @madhugn
    @madhugn 7 лет назад +7

    Neat explanation. Thank you for making me understand how it works!

  • @nbk0932
    @nbk0932 Месяц назад

    Best explanation i have ever experienced

  • @SahidulIslam-ic9bz
    @SahidulIslam-ic9bz 4 года назад +1

    Thaks for this circuit. The explanation is too good. And it is very easy to understand about the circuit.

  • @rohitchaudhari5337
    @rohitchaudhari5337 4 года назад

    Your explanation is justt toooo much good...i haven't seen such video till now on RUclips....very much helpful

    • @elonics
      @elonics  4 года назад +1

      You're Welcome!

  • @KK-fh1ds
    @KK-fh1ds 5 лет назад +1

    Very clearly illustrated and well spoken. You're great man

  • @jbumstead21
    @jbumstead21 6 лет назад

    Thanks for posting this tutorial. This circuit worked for me. Although my IR receiver is black and my IR emitter is clear, which is flipped from what is shown in the tutorial. I had to adjust the 10kohm resistor to change the sensitivity for my application.

  • @maxwarfield6699
    @maxwarfield6699 3 года назад +4

    Great project and video! PLEASE make the schematic for this circuit available. Thank you kindly

    • @peatmoss4415
      @peatmoss4415 7 месяцев назад

      The link is in the description, pay attention!

  • @paulo1940
    @paulo1940 8 месяцев назад

    Thank you for such a coherent and well structured video, it is always an amazing sensation to grasp new concepts. Wish you all the best!

  • @shashwatsangle7460
    @shashwatsangle7460 6 лет назад

    Nice work
    There are lot of vedios to make circuit,but when come for explaining,nobody comes forward! Thanks

  • @rogerwalter2500
    @rogerwalter2500 7 лет назад +1

    It worked on my first attempt. I used 5V mobile charger supply to power it. Suggestion- 270R should have higher wattage, gets hot on 12V & please use different colored wire for +ve & GND.. Thanks.

    • @idreesquadri3641
      @idreesquadri3641 4 года назад +1

      Your circuit has a humongous flaw that will render this useless.
      You've labelled your photodiode as a transmitter, And you've labelled your infrared diode as a reciever. The entire circuit and theory behind this is perfect, but you have to swap these two.
      Infrared diode(transparent) positive pin to VCC, negative to R1 resistor which is then grounded.
      Photodiode(black) positive pin connected to pin3 of OpAmp as well as a resistor which is then grounded. Negative pin of photodiode to positive.

  • @ronparker6489
    @ronparker6489 3 года назад

    Thanks for the simple, accurate information regarding how these things work. But a warning! Make sure your breadboard is functioning correctly. I had one that was shorting out the pin connections. Yikes! Cheap ass board caused lots of hair loss. lol

  • @paulramasco6769
    @paulramasco6769 3 года назад

    The detailed explanation is awesome. The amount of detail to include troubleshooting in the description is great, thank you so much for putting this together.

    • @elonics
      @elonics  3 года назад

      You're welcome :)

    • @AbhaySingh-dw1qw
      @AbhaySingh-dw1qw 3 года назад

      Bro can you send me the values of all required components

  • @voiceoftruth1O1
    @voiceoftruth1O1 6 лет назад +6

    Nice animated tutorial for beginners. Thanks

  • @happymeal5458
    @happymeal5458 6 лет назад

    I LOVE YOU!!! THANK YOU SO MUCH. BUILDING THIS CIRCUIT AFTER FAILING AT SEVERAL OTHERS HAS GIVEN ME A LITTLE MORE CONFIDENCE :D

    • @elonics
      @elonics  6 лет назад

      You're welcome :)

  • @trevorscott3275
    @trevorscott3275 4 года назад +1

    You having a relaxing voice.

  • @stevendanielkussoy4859
    @stevendanielkussoy4859 4 года назад

    very helpful for me, a beginner studying basic electronics ...
    and then bro doing an electro project, gbu

  • @gabrielablanco1219
    @gabrielablanco1219 4 года назад +3

    This video saved my life last year

    • @big_o1952
      @big_o1952 4 года назад

      How?

    • @gabrielablanco1219
      @gabrielablanco1219 4 года назад

      @@big_o1952 It's complicated, but basically I used it for a very important homework

  • @NiranjanprathapTJ
    @NiranjanprathapTJ 6 лет назад +1

    Finally it worked !!!! Tnx Elonics for my College project

    • @Vikram14324
      @Vikram14324 4 года назад +1

      Bro circuit diagram plzzz

  • @kataki8024
    @kataki8024 4 месяца назад +1

    Hello, i just have a question. What exactly are the wires used in the video, and what are their names?

  • @faryyalmuzaffar7718
    @faryyalmuzaffar7718 7 лет назад +15

    it is out standing,,,,,,,,,,,,,and nicely explained....

    • @bullygram
      @bullygram 4 года назад

      Yep it is dated, but still then it's fun!

  • @shreeyashrasal8574
    @shreeyashrasal8574 4 года назад +1

    Sir ur presentation and explanation is very good👌👌👏
    please do show the circuit diagram once for easy understanding

    • @peatmoss4415
      @peatmoss4415 7 месяцев назад

      The link is in the description, pay attention!

  • @GILKUT
    @GILKUT 8 месяцев назад

    I repeated it very easily😊

  • @yofimee883
    @yofimee883 3 года назад

    Awesome ! , no BS clear explanations , Thank you

    • @elonics
      @elonics  3 года назад

      You're welcome!

  • @jatinmali9310
    @jatinmali9310 3 года назад +1

    Looks like you have mixed infrared led with infrared photodiode, but although a good project

  • @ajinkyamalgi6938
    @ajinkyamalgi6938 5 месяцев назад

    Thank You and God Bless You Sir

  • @MUTHU_KRISHNAN_K
    @MUTHU_KRISHNAN_K 2 года назад +1

    Sir, does the infrared source emit the infrared rays uniformly in all direction? If it so doesn't the photo diode should always be sensing it as the source is very close to the photo diode in this model.
    4:19 doesn't the statement should be 'voltage of inverting input is lesser than that of non inverting input'

  • @tonyhewett3729
    @tonyhewett3729 4 года назад

    That was a brilliant video with very clear explanations. Thankyou.

    • @elonics
      @elonics  4 года назад

      You're welcome!

  • @timng9104
    @timng9104 4 года назад

    pls make a op-amp series :) your 555 series is great

  • @Oddzilla51
    @Oddzilla51 2 года назад +1

    Very descriptive video! Thank you! But, is there a way to make the LED slowly brighten when movement is detected and then slowly turn off as movement stops and then be able to adjust the brighten/fade?

  • @saurabh6094
    @saurabh6094 7 лет назад

    Nice video quality,great explanation with animation...simple English....thanks

  • @F_Tandel
    @F_Tandel 4 года назад

    Very well explained. But i have little confusion the white one should be ir led and black one is ir receiver. Please clear my doubr. Thanks

  • @ponymoore6140
    @ponymoore6140 Год назад

    Good video. The addition of a schematic would be very useful.

    • @peatmoss4415
      @peatmoss4415 7 месяцев назад

      The link is in the description, pay attention!

  • @kowshikhero8806
    @kowshikhero8806 6 лет назад

    Bro it's really clear video with very nice explaination, I like your video sooo much. Your explanation of working of this project is sooo impressive. Please do more vudeo with explanations how the components are works. Please make an video how to controll water faucet using solenoid valve using LDR and Light + even using IR tx and rx with explanation.

  • @emanashraf5412
    @emanashraf5412 3 года назад +1

    What the name of IR transmitter and IR receiver in protues ??

  • @savinorojas6836
    @savinorojas6836 2 года назад

    Very good explanation. Thank you!!

  • @arjunpudu799
    @arjunpudu799 6 лет назад +1

    Bro I appreciate your efforts ,I have a request can you start make video series based on basic electronics

  • @jonk9680
    @jonk9680 4 года назад

    Thank you for an outstanding video! Clear explanation coupled to great video/graphics. Very well done.

  • @nilupulperera
    @nilupulperera 6 лет назад

    Superb! Excellent presentation in very simple way. Thank you very much.

  • @IcyBlueii
    @IcyBlueii 2 года назад

    I see that you noted this, "Note: For supply voltage of 9V or more, use 1K resistor for LED and 470R for InfraRed(IR) LED" Would I still need a 1K resistor for the LED if I was actually going to use that connection to light a LED stip up to 10 feet long? I know a single LED couldn't handle more than 5volts, but a strip should be able to handed the 12volts

    • @elonics
      @elonics  2 года назад

      LED strips usually come with resistors soldered for every 3 LEDs or so. You may check the spec and if it is rated 12V, you can skip using the resistor

  • @muhammadfawad5282
    @muhammadfawad5282 5 месяцев назад

    Thank you Elonics!

  • @NeoBit93
    @NeoBit93 6 лет назад +2

    Great tutorial, I like your video editing skills.

  • @shohagmiah4322
    @shohagmiah4322 6 лет назад

    nice project brother.....onk vlo lage apnr project gula.................

  • @moukafaslouka4796
    @moukafaslouka4796 4 года назад +1

    Cool project and great explanation!

  • @meghashyamjoshi1094
    @meghashyamjoshi1094 6 лет назад

    Very good description with video thank u so much

  • @tarunkumargoel6737
    @tarunkumargoel6737 4 года назад +1

    Sir, Your explanations are really very good !👌🏼
    Could you please explain the same IR Sensor circuit when using an LM567 IC. The LM567 is to be used as it allows usage of IR Sensor even in bright Sunlight. Thanks in advance, Sir.

  • @thetooginator153
    @thetooginator153 4 года назад

    Very nice! You explained the circuit perfectly!
    Subscribed!

  • @ekamathma7058
    @ekamathma7058 3 года назад +1

    Hello brother, where are you located in India? I want to get in touch with you for I don't know coding and I want to see how voltage change

  • @ramuurs7227
    @ramuurs7227 6 лет назад +1

    Excellent explanation sir😍😘🤗

  • @SymphonyKol_androidLover
    @SymphonyKol_androidLover 3 года назад

    awesome explanation, thanks for making the video.

  • @mostafashams8612
    @mostafashams8612 4 года назад +1

    Thank you very much for your good video.
    The LED stays on when I turn the potentiometer. Please help.

    • @Ozonised
      @Ozonised 4 года назад

      maybe check your connections:)

    • @Ozonised
      @Ozonised 4 года назад

      Here is the troubleshooting video:ruclips.net/video/036kskbFf40/видео.html

  • @himadrisingh9144
    @himadrisingh9144 6 лет назад +2

    Can you please make video showing the stimulation of the IR proximity sensor

  • @siddhivinayak1267
    @siddhivinayak1267 6 лет назад

    PERFECTLY EXPLAINED.

  • @dwagon3477
    @dwagon3477 6 лет назад

    This made it so easy to understand! Thank you!

    • @elonics
      @elonics  6 лет назад +1

      You're Welcome :)

  • @civedm
    @civedm 6 лет назад

    Im pretty sure the the black diode is the reciever, not the emitter, and is that an inductor you used to bring the black diode to ground? Im pretty sure you said its a resistor, but it looks just like an inductor.

  • @obaid5267
    @obaid5267 5 лет назад

    excellent method sir. Unique and helpful

  • @hamzahansari6900
    @hamzahansari6900 2 года назад

    What maximum distance range can we get by this.
    Pls reply
    Thank you and amazing explanation.

  • @ferko6
    @ferko6 4 года назад +1

    Thank you. Great video. Keep up the great work!

    • @elonics
      @elonics  4 года назад

      You're welcome. Sure!

  • @robindas1207
    @robindas1207 4 года назад

    great circuit and explanations

  • @sibghatullahqureshi2699
    @sibghatullahqureshi2699 4 года назад

    No words .. just Awesome.

  • @yanmyomaw3276
    @yanmyomaw3276 Год назад

    This is how engineer explain.

  • @Osamah001
    @Osamah001 4 года назад

    This how solar battery light work this is briliant.

  • @ShadabKhan-vd6qj
    @ShadabKhan-vd6qj 6 лет назад

    good demonstration...But how can i increase the range of IR sensor?/.....In my case LED glows when we close any obstacle to the sensor So the range is very low....

  • @purvamhatre1621
    @purvamhatre1621 3 года назад

    this my fav channel ❤❤❤

  • @sammetakarthik1476
    @sammetakarthik1476 7 лет назад

    conceputual and simple explation .
    thank u

  • @electronic7979
    @electronic7979 6 лет назад

    Excellent project

  • @Manoj-qf6lq
    @Manoj-qf6lq 5 лет назад

    Clearly Explained & it worked well too , Thank You brother!!!

  • @aakash512
    @aakash512 6 лет назад

    Very great explanation
    Thank you😃

  • @jaysernal8701
    @jaysernal8701 4 года назад +1

    thank you so much for this great explanation... i just want to ask how can i connect 12v relay for this project thanks?

  • @vayunandanakishore6652
    @vayunandanakishore6652 4 года назад

    Very nice explanation.

  • @haemonyang6278
    @haemonyang6278 6 лет назад

    Wow, a wonderful video . It give me some ideas about my final project! Thanks!

  • @harshalhdhake7518
    @harshalhdhake7518 3 года назад

    Saved my day thanks a lot

  • @timng9104
    @timng9104 4 года назад

    great video! it was clear and concise. Subscribed!

  • @swainscheps
    @swainscheps 2 года назад

    I went to your site and raised resistor values because my power supply is 12 volts - even with bigger resistors I keep frying 358s…

  • @il5548
    @il5548 6 лет назад

    Hello sir. It is awesome!
    When I use a LED light, it has no problem. But when I changed it into a buzzer, it does not work even when i use a 9v power supply.
    Can you please explain me why? Thanks!

  • @mohamedmehgoufel48
    @mohamedmehgoufel48 7 лет назад +1

    je vous encourage à ce mervlleux travail merci

    • @elonics
      @elonics  7 лет назад

      Je vous en prie

  • @LakhsTsoyknikas
    @LakhsTsoyknikas 10 месяцев назад

    AMAZING VIDEO GOOD WORK

  • @sourabhsagar5704
    @sourabhsagar5704 6 лет назад

    Really nice work sir , thank you for sharing such a kind information...

  • @horsegoggles
    @horsegoggles 7 лет назад

    Hi, I had to swap pins 2 and 3 on the LM358 in order to get the led to light on proximity sensing. With it hooked up as shown on the schematic, the led was lighted and proximity sensing caused it to go off.

    • @elonics
      @elonics  7 лет назад

      Hello, did you try adjusting the potentiometer before swapping pins 2 & 3?
      If the circuit worked after swapping the pins, chances are that it will also work with the original configuration.

  • @flmworks
    @flmworks 3 года назад

    Thank you for the explanation

  • @warme1332
    @warme1332 6 лет назад +1

    How long the maximum distance can the ir. Detect?
    Thanks

  • @HistorysArsenal
    @HistorysArsenal 2 года назад

    friend:don't watch that video
    it's and Indian video
    Me: and it's way better than our teacher most simplified video
    i love Indians
    they are kind and quite smart
    and this one ngl the english accent is relaxing and beautiful

  • @wouladjecabrelwen1006
    @wouladjecabrelwen1006 4 года назад

    Very interesting idea

  • @VMaster7860
    @VMaster7860 2 года назад

    Sir please explain why you have taken 270ohm only for the 2 resistances

  • @ericsandro
    @ericsandro 4 года назад +1

    Thank You. Very good! Show!

  • @navidbinahmed
    @navidbinahmed 6 лет назад

    this setup can be used for heart rate monitoring, right? the output being connected to any analogue pin of MCU.

  • @mukulkumar9664
    @mukulkumar9664 6 лет назад

    your videos are really helpful....