Infrared Obstacle Avoidance module for Arduino with code

Поделиться
HTML-код
  • Опубликовано: 28 ноя 2024

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

  • @pryansh_
    @pryansh_ 3 года назад +2

    it was so helpful sir thanks for passing on this information

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

    thank you so much my friend, im from Argentina but my grandfather was Russian... i don´t know if you are from there, but for your accent i think so.

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

      You are welcome. I am glad you liked it. I am Canadian. and I am Afghanistani Persian. , Thanks. Ahmad

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

    Sir can we use it for spectacles?

  • @jonathanlawler5894
    @jonathanlawler5894 6 лет назад +4

    This is actually really helpful in helping me with a project, thanks so much!

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

      You are welcome.

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

      Robojax I have one question, why is there no output? Doesn't the sensor have to send out and then have that bounce back? (I'm using a slightly different sensor but basically same idea as what you are doing).

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

    thanks for your lessons

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

    May I please know what is the distance in millimeters between each and every hole for the PCB design.

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

      Do a Bing/Google image search for this module, I am sure you will find tones of images with the all specs

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

    Hello, can it be used as a counter of objects passing through?

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

      Hello, yes you can

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

    very helpful sir

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

      Glad to hear that

  • @AnoopKumar-lx8zj
    @AnoopKumar-lx8zj 6 лет назад +1

    Very nice explanation. Very helpful to understand.

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

    Which module I need to buy automatic spray using ir sensor

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

      this sensor can send signal. Now you need to control a relay and the relay can turn ON and OFF your spray machine. Here is my video on Relay ruclips.net/video/g6k8sPJyif8/видео.html

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

    thank you so much my friend..im from indonesia...

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

      You are welcome. Ahmad from Canada.

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

    Hi. Is it possible to determine the length of time that there is an obstacle in front of the IR module? Thank you.

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

      Hello, yes it is possible. Just search for "millis" on my channel. Here is how to Find Specific RUclips Video in a channel bit.ly/findRUclipsVideo if you want to learn Arduino ***** Free Arduino Course worth $200****
      Arduino Step by Step Course (over 100 lectures) Starts here robojax.com/L/?id=338

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

      @@robojax Thank you for the reply. I have watched the "millis" video and on the examples 2 and 3, you have used pushbutton. My project involves IR sensors instead of push button, what would be the IR equivalence of "buttonPushed"?

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

    Hi
    Can you help me please?
    I want some distance sensor for (20cm) with adjustment option if there is, and with dry contact open/close.
    so, when it detects Obstacle it will open the dry contact and automatically close it when it will stop detect the Obstacle
    can you help me to find the item that I need on AliExpress?
    Thanks
    Yossi

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

      Hi, with this you can't do it precisely. Please use laser distance sensor VL53L0X ruclips.net/video/0GxFoq_zPt4/видео.html

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

    Do I always need an Arduino board to program an obstacle sensor?

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

      Yes arduino constantly read the infrared result that is coming out of the sensor and taking action. you can take action like turning ON or OFF something like motor or light or anything else.

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

    thank you so much. this vid really help me

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

      you are welcome.

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

    my output on the serial monitor is indicating obstacle on the way with and without an obstacle, what might be the problem?

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

      You have to adjust the potentiometer. Perhaps you skipped the video. Watch it again.

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

    maximum range for detection is 10cm ?

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

      I believe I demonstrated it. I don’t remember.

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

    What is the maximum range of IR module u used.?

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

      I have mentioned in the video. Please watch the video fully. I will reply to all Subscriber's 🔔 questions. So make sure to Subscribe.😊

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

    Sir how do I increase the range to, say, 1 metre or so?

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

      get laser sensor such as VL53L0X and I have tones of videos. Here is how to find Specific RUclips Video in a channel bit.ly/findRUclipsVideo

  • @Mira-wy3zl
    @Mira-wy3zl 6 лет назад +1

    what if i'm using AtmelStudio for programming?

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

      then you would have to write your code acceptable for that IDE

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

    sir i m waiting for 2nd part of this video putting condition in if statement.....

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

    Is there a script that I can use with a Raspberry Pi ? Thanks !!

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

      seems like basic pin read, try using a python lib to read pins

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

    May I know what are the components used

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

      I have added link under video in description to purchase this module.

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

    good content

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

      I am glad you like it.

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

    Actually my IR sensor cannot detect beyond 5 cm

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

    Very helpful explanation

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

      you are welcome.

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

    great explanation! very, very helpful

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

      you are welcome

  • @Daniel-ns5vb
    @Daniel-ns5vb 5 лет назад

    Hi, i followed your code but thing is when i put my hand near the sensor the second light wont show means it is not detecting

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

      Hi, Yes it is not detected. You have to adjust the potentiometer until you see it is sensing.

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

    How far is the sensor reading range?

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

      I believe I have mentioned it in the video. Watch it again without skipping .

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

    thanx, friend!

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

      You are welcome.

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

    its nice work ......sorry can u help me a lot ..............pls suggest me how i get a source code

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

      Code is shown snag.gy/t94goi.jpg

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

    Well done!

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

    ya but sir where to put the ir sensor wires in the arduino?

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

      OUT pint is connected to pin 8 of arduino.

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

    how it comes that the output of the comparator is High when an object is detected but the output of the IR sensor is Low in the same case ?

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

      it is how the circuit is designed. and arduino is here to help and use the output of this when it is LOW or HIGH

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

      Robojax can i get a link for the good circuit please ? I still don’t undertand how the circuit is in the last step, where the output is not the same as the comparator output.

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

      Robojax and please why the led is turning on when the output is 0V ( low because object is detected ) ? And when it’s high ( 5V no object ) the led is off ?

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

    can I know how to get this output on the cloud and to the MySQL database

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

      you will need Either or Wifi module. or use another board ESP8266 which has Wifi ruclips.net/video/pLvqh57T3s4/видео.html or use ESP32 which has WiFi and Bluetooth ruclips.net/video/--Fj8QDlGuQ/видео.html and I have tones of videos for both programmed with Arduino IDE. They are much better than Arduino UNO

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

      @@robojax thank you very much

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

      you are welcome.

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

    HOW CAN I MEASURE THE DISTANCE WITH THIS TYPE OF VARIABLES . PLEASE

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

      use VL53L0X ruclips.net/video/S2jaAQEv3Yo/видео.html or ruclips.net/video/QI9541YQq7M/видео.html as this module is not for measuring distance.

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

    cool stuff, thanks

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

      You are welcome.

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

    Good review , thx

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

      You are welcome.

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

    Hi Sir. Please tell me how you made sure no interference from the surroundings leaked into the sensor module?

    • @robojax
      @robojax  4 года назад +2

      make a paper barrel like pen and insert the receiver (the black) so it receives only from the front.

  • @SNiPEX-n1e
    @SNiPEX-n1e 6 лет назад

    Sir do you have IR sensor Switch with Arduino? when i send something in front of IR sensor it switch on the relay and again i send something in front of IR sensor it switch off Relay.

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

      This is exact video you are looking for ruclips.net/video/qhThpxiXubI/видео.html
      just use your module.

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

    wheres the video of the continuation of this code? You said you will continue adding some code that turns certain angle if obstacle is detected.

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

      please type the time like 02:32 so I can check it.

  • @Ramon-ei5bc
    @Ramon-ei5bc 4 года назад

    does anyone have the data sheet for the sensor? I couldn't find it in the amazon page

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

      is has infrared transmitter (emitter) and receiver. and you won't find datasheet. the IC has datasheet and that is it.

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

    Which one is POSITIVE(+) and which one is NEGATIVE(--)

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

      Wow! I just watched the video and yes I have forgotten to mention that. Pin VVC is Positive and GNG is NEGATIVE. Thank you for asking.

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

    How can we operate it without Arduino ?

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

      power it up with 5V and use the output for whatever purpose you need. I have explained what output does in the code section.

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

    Sir,nice project. Did you find circuit diagram for this sensor module ? I was looking on internet, but it wasn't successful :(

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

      The same sensor is used in over 20 different sensor. All with OPAmP. I don't have it. but it is very easy to draw it. You should be able to do it in 15 minutes. Just get a magnifying glass and read the value and draw it. the only value you won't be able read it is the capacitors.

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

    Is this FC51 infrared obstacle avoidance module?

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

      what model of infrared obstacle avoidance module you used?

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

      There is no model. It is sold under the name "Infrared Obstacle avoidance" on eBay and AliExpress.

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

      Thank you very much :)

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

      You are welcome.

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

    Sir by this Tx pin of my arduino is passing current and because of this my arduino is not accepting any other code plz tell me how to fix this problem

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

      sorry did not understand what you meant. the pins of this module don't need much current (like nothing) except the VCC or 5V pin.

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

    How do I increase distance???!

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

      use VL53L0X ruclips.net/video/0GxFoq_zPt4/видео.html

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

    how to send "Obstacle on the way" message to another arduino device through bluetooth?

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

      that is interesting, you can use Bluetooth board. that in interesting project.

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

    Hey man i am working with Arduino project can you help me with coding?

    • @robojax
      @robojax  5 лет назад +1

      Hey, I am sorry I have got full time job and family responsibilities and got no time off help. If you wan to learn Arduino step by step in a course, I have just launched my course on Udemy and I am sure you can learn from ground up here bit.ly/rj-udemy

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

      @@robojax Ok, i will go though this couse

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

    So interesting can you help with the correct diagram for the circuit?

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

      I have not see the diagram but you could do a google search.

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

    I tried to use this sensor, it looks like it's very inefficient ...

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

      this is the cheapest way for obstacle avoidance. yes it has cons but it is the best and most used in robotics projects.

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

    In ISIS proteus this module is inversed ?

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

      I have not use Proteus. It is very expensive.

  • @Arunkumar-nt7ov
    @Arunkumar-nt7ov 6 лет назад

    Nice man

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

      You too. Thanks.

  • @Josh.Universe
    @Josh.Universe 5 лет назад

    Ohhh Super goof thisf

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

    Having sun light problems...non stop running at sun light

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

      Interesting issue. never thought of that. Change the sensitivity and see if you can fix it. Or cover the side where sunlight is coming.

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

    Hello
    build bms battery manegemnt angine

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

      Hello, Thank you for your suggestions. I will look into it. Very important topic.

  • @k10-s7q
    @k10-s7q 3 года назад

    voice kinda hard to unrstand

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

      I have provided subtitle in about 40 languages. so turn on the subtitle in your language