Arduino IR Remote Control LED | Arduino IR Receiver

Поделиться
HTML-код
  • Опубликовано: 23 дек 2024
  • In this video, I will show you how to control LED using Arduino, IR Remote control and IR Receiver.
    This Arduino IR Remote Control LED - Arduino IR Receiver project is a very simple and easy in which I am controlling LED's that are connected to arduino uno by using ir receiver and ir remote control. IR remote control code is and arduino remote control led code is available with the project. You can decode the ir remote control keys by using the arduino ir remote decoder code. you may modify the ir code and circuit to suit your requirements.
    --------------------------------------------------------------------------------------------------------------------
    Hardware Components
    1. Arduino UNO - amzn.to/3ZWKAz2
    2. IR Remote Control Module - amzn.to/3YJVh7a
    3. Breadboard - amzn.to/3ysOvHX
    4. Jumper Wires - amzn.to/3YRafs5
    --------------------------------------------------------------------------------------------------------------------
    --------------------------------------------------------------------------------------------------------------------
    Useful Video Links
    --------------------------------------------------------------------------------------------------------------------
    ATtiny85 Relay Control with IR Remote
    • ATtiny85 Relay Control...
    Ultrasonic Sensor - GSM Home Security Alarm with Arduino
    • Sim800l | GSM Home Sec...
    PIR Motion Sensor - GSM Home Security using Arduino
    • Sim800l | GSM Home Se...
    --------------------------------------------------------------------------------------------------------------------
    Social Media Links
    --------------------------------------------------------------------------------------------------------------------
    GitHub:
    github.com/ahm...
    RUclips:
    www.youtube.co...
    --------------------------------------------------------------------------------------------------------------------
    Download Code
    --------------------------------------------------------------------------------------------------------------------
    github.com/ahm...
    --------------------------------------------------------------------------------------------------------------------
    Disclaimer
    --------------------------------------------------------------------------------------------------------------------
    Disclaimer: All videos are for educational purposes and use them wisely. Any video may have a slight mistake, please take decisions based on your research. This video is not forcing anything on you.
    #Arduino #IRremote #IRreceiver

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

  • @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.

  • @bababoyynpc5349
    @bababoyynpc5349 Год назад +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

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

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

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

    Thank you worked nicely !

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

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

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

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

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

    Thanks 👍

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

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

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

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

  • @marvincaliwanagan1232
    @marvincaliwanagan1232 2 года назад +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
      }
      }

  • @KabirSinghBedi-u6h
    @KabirSinghBedi-u6h 2 месяца назад

    how can i get the code
    that i have donwloaded

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

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

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

    👌👌👌👍👍👍👍

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

    Thank You! 👍

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

    ? Mark is coming on serial monitor screen

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

      i also get error

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

      Same question mark is coming in serial monitor

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

    good project bro:))

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

    Is there a circuit diagram?

  • @BobbyGiroux
    @BobbyGiroux 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

  • @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?

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

      Yes sir same problem and I already install ir remote library ​@@AhmadLogs

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

    Harus pake andruino ya kalo tanpa andruino apa bisa

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

    Mine is only showing zeros what should I do

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

      Make sure that the signal wire is appropiadley conected

  • @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

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

    Trap drill BGM for an Arduino tutorial lmao

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

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

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

      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)

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

    SERIAL MONITOR IS SHOWING 0000. I THINK THERE IS A PROBLEM IN THE CODE.

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

    Can I have the code?

  • @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

  • @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

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

    Code kaha hai

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

    Likes

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

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