Arduino IR Remote Control LED | Arduino IR Receiver

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

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

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

    Nice video! do you know if there is a "correct" position to orientate the IR Reciever? or if it works if it is hidden in a case? is for a project, an iron man helmet that can be oppened with a IR remote control, and i don't know where to put the IR reciever inside the helmet, i mean, if i can let the reciever hidden inside the helmet, or if it has to be expossed for the signal

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

      If the IR receiver is located inside the box, you'll want to create a small hole to ensure the IR receiver is visible. And the remote orientation will be directly to that hole.

  • @denielabunyawan1657
    @denielabunyawan1657 4 дня назад

    Hello, can you show me all of the code in order? Because i cant really get the order of code you made

  • @bababoyynpc5349
    @bababoyynpc5349 11 месяцев назад +1

    How can I have a button to have all the leds on and another button to have all the leds off? thanks for helping

  • @olaf9704
    @olaf9704 5 дней назад

    Where is the remote key code? Is that all remote have the same code?

  • @Afzalexe-y2z
    @Afzalexe-y2z Год назад +2

    ? Mark is coming on serial monitor screen Iam not able to recieve the unique codes

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

    Thanks You very much for this informative Video. feom india.🕉💖

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

    Thank You for this Video, it was very informative.
    Have a Nice Day / Night

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

    Thank you worked nicely !

  • @KabirSinghBedi-u6h
    @KabirSinghBedi-u6h 11 дней назад

    how can i get the code
    that i have donwloaded

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

    HI, What if I want to turn "ON" all LEDs using 1 button and Turn it "OFF" using another 1 button?
    Thanks in Advanced :)

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

      #include
      int RECV_PIN = 11;
      IRrecv irrecv(RECV_PIN);
      decode_results results;
      int LED1 = 2;
      int LED2 = 3;
      int LED3 = 4;
      void setup()
      {
      pinMode(LED1, OUTPUT);
      pinMode(LED2, OUTPUT);
      pinMode(LED3, OUTPUT);
      Serial.begin(9600);
      irrecv.enableIRIn();
      }
      void loop() {
      if (irrecv.decode(&results)) {
      if (results.value == 0xFD00FF) { // button 1 code
      digitalWrite(LED1, HIGH);
      digitalWrite(LED2, HIGH);
      digitalWrite(LED3, HIGH);
      } else if (results.value == 0xFD40BF) { // button 2 code
      digitalWrite(LED1, LOW);
      digitalWrite(LED2, LOW);
      digitalWrite(LED3, LOW);
      }
      irrecv.resume(); // Receive the next value
      }
      }

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

    Harus pake andruino ya kalo tanpa andruino apa bisa

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

    👌👌👌👍👍👍👍

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

    Is there a circuit diagram?

  • @Afzalexe-y2z
    @Afzalexe-y2z Год назад +1

    ? Mark is coming on serial monitor screen

    • @venugopalswamy6076
      @venugopalswamy6076 7 месяцев назад +1

      i also get error

    • @shineetejol
      @shineetejol 6 месяцев назад +1

      Same question mark is coming in serial monitor

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

    I followed exactly what you did and my LED just pulses while I hold down the button and stops when i let go

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

      hummm. have you upload my code? Please check your connections again

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

    Sir when I'm doing the coding it's not running and in error it appears as Serial port is not selected!!! How can I remove this error and run the program that you have given on the link

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

      first select the serial port from the tools menu in arduino ide. select the com port on which your arduino is connected

  • @Emir-jt2fy
    @Emir-jt2fy 2 года назад

    hi , i copied your code , it appears this to me : 'IrReceiver' was not declared in this scope

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

      have you install the ir remote library?

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

    good project bro:))

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

    Mine is only showing zeros what should I do

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

      Make sure that the signal wire is appropiadley conected

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

    Trap drill BGM for an Arduino tutorial lmao

  • @КириллШавалеев-ч5ж
    @КириллШавалеев-ч5ж 3 года назад

    Thank You! 👍

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

    i cant get codes i get symblos like ?????? every button i prees

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

      I had the same issue at first, in the right lower section of the serial monitor some numbers are displayed, make sure it matches the number in Serial.begin (115200)

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

    good

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

    Bro My serial monitor is not printing. Its only showing this-"□□□□□□□.□□□□......"

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

      change the baud rate from bottom right corner of serial monitor. it must be 115200.
      because I defined in the sketch Serial.begin(115200)

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

      @@AhmadLogs thx i had the same problome

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

      @@SAUCE30 so nice of you

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

    Code kaha hai

  • @abolfazl.h589
    @abolfazl.h589 3 года назад

    VERY GOOD BUT IS PROBLEM IN DOWNLOAD LINK FOR CODE , GOOD JOB, KEEP IT

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

      thanks a lot. Check now the link is working

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

    Likes

  • @Afzalexe-y2z
    @Afzalexe-y2z Год назад +1

    ? Mark is coming on serial monitor screen Iam not able to recieve the unique codes

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

      Probably too late but make sure your monitor is set to 115200 baud, that fixed it for me