IR Sensor and LED with arduino (with code explained) | All digital sensors | Arduino tutorial 4

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

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

  • @BromideBride
    @BromideBride 2 месяца назад +2

    This series [and I'm only four videos in] explains with more clarity than several books and online tutorials I've tried to follow.
    Thank you so much.

    • @techathome
      @techathome  2 месяца назад

      Thank you for your feedback ❤️.
      It motivates us to make more...

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

      ok

  • @etikalarani7231
    @etikalarani7231 3 месяца назад +1

    You are explaning very good
    like our sir👌👍👍🏻

  • @Pokemon45340
    @Pokemon45340 Год назад +2

    Hi im Trying To Make A Vending machine using arduino but i have problem with the code, i want to make it when the ir sensor detects it 2 times the light will turn on but it wont work the light keep blingking Could u Help?

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

      Can u share the code u have used over the mail

  • @romelinedelacruz172
    @romelinedelacruz172 Год назад +3

    Why can't the IR sensor detect my hand even when I put it in front of it as an object? If I adjust it, the IR sensor will detect, but it never turns off when I remove my hand. And if I adjust the IR sensor again in the opposite direction, it doesn't detect anymore. What should I do?

    • @RamaLaxmiLAKKADUSU
      @RamaLaxmiLAKKADUSU Месяц назад +1

      IR sensor was damage the IR sensor was detect 10cm range😊

  • @nelomedia805
    @nelomedia805 Год назад +1

    Hello! I presently have a working temperature sensor and would like to activate addressable LEDs at different temperature thresholds, example; blue 0-80F, green 81-120F, yellow 121-200F, orange 201-250F, and red 251F and above. Would it be possible to articulate how to do this in the code so i can add it to my existing sketch? Thank you so much

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

      Yes, that can be done using if-else statements.
      You can send your existing code on our mail: deepakhd20@gmail.com

  • @venkateshnaik4064
    @venkateshnaik4064 Год назад +1

    hi sir, iam getting out put as 0 and LED is contineously glowing even if i vary my hand infront of sensor. Please help me in this regard

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

      In the sensor there is a small potentiometer, try to rotate it on both sides and change its sensitivity

  • @tharuneee3rdyear847
    @tharuneee3rdyear847 Год назад +1

    In tinkercad, after simulation how do I active the IR sensor

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

    I have tried to duplicate this , but my sensor never goes off. I have checked the wiring and it is same as yours. I am using an Arduino Leonardo board. Any recommendation on what I am not doing correctly?

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

      On the sensor module, there is one blue colour potentiometer screw to increase or decrease the sensitivity.
      Rotate that and reduce sensitivity.

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

      @@techathome Thanks for the input. That solved the problem. But the sensor range is too short. So I am going to try a 2 piece sensor (sender - receiver). Once again thank you very much for the help.

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

      Welcome

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

    can I use multiple led lights?

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

    What are all the conponents used can you give me the name of the components used

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

    When to use analog read or write?

    • @techathome
      @techathome  9 месяцев назад

      AnalogRead - To read voltage drops from analog sensors(Potentiometer, Temperature sensor etc): ruclips.net/video/lg-QUBLm9eU/видео.html
      AnalogWrite - To generate PWM signal of required duty cycle: ruclips.net/video/WvFmYy75Ju0/видео.html

  • @chris-ut4hs
    @chris-ut4hs Год назад

    Hi, where you got that buzzer from?

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

      You can get in electronic shops
      Also in Amazon

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

    Is it the same with PIR sensor?....I tried with that but didnt work.

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

      Yes same , PIR sensor is also digital,
      digitalRead should work

  • @rohanshiragaonkar917
    @rohanshiragaonkar917 3 месяца назад

    Thank u sir

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

    The program is not been uploaded and many error are coming but the program is correct

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

      What is the error message?
      Can you also send screenshot on mail: deepakhd20@gmail.com

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

    can you give more detailed code?

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

      Code link is provided in description

  • @thejask4749
    @thejask4749 Год назад +1

    IR doesnt get the power and even the reading is zero throughout

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

      Have you connected VCC and gnd correctly?

  • @vaishnavivanga4048
    @vaishnavivanga4048 Год назад +1

    Hi Sir
    I Can't Open the link given for code and circuit...

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

      It is compressed file, you have to extract it using winRaR or any zip extractor.
      If not, send request on our mail, will share again.

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

    In online simulator , I can not find ir sensor . If you know where i can access ir sensor ,comment here please.

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

      Tinkercad it's free and has all components

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

    pls explain breadboard connections better

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

      This will help: drive.google.com/file/d/1EhloERWVGWewR_mO_GfMq2yAeKGlsLj0/view?usp=sharing

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

    Can you tell me how power on a dc motor the same way with an IR sensor?

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

      You need to add few lines to run DC motor instead of LED.
      Refer : ruclips.net/video/Y8HmbR1c7ag/видео.html