How To Use Infrared Remote using Arduino - New Method

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • In this tutorial video, I'll introduce you to a new method about How To Use Infrared Remote with Arduino. I'll guide you through the quick setup of an Arduino IR remote control system to operate an LED. Additionally, I'll demonstrate how to replace a damaged key on your remote and register a new one without any code modifications. What's more, you can even register an entirely new remote control with the project if needed. The best part? You can effortlessly expand this project to control multiple LEDs or high-voltage devices using relays, all without making any code changes!
    Join me in this user-friendly tutorial, where I'll provide step-by-step instructions and share valuable tips. Start enhancing your remote control capabilities with Arduino today.
    --------------------------------------------------------------------------------------------------------------------
    Components: Affiliate Links
    --------------------------------------------------------------------------------------------------------------------
    1. Arduino UNO - amzn.to/3ZWKAz2
    2. 38kHz IR Receiver - amzn.to/3O8naDV
    3. IR Remote Control - amzn.to/3YJVh7a
    4. LEDs with 1k resistors
    5. Relay module
    6. Push button
    7. Breadboard
    8. Jumper Wires
    --------------------------------------------------------------------------------------------------------------------
    Software Used in This Project:
    --------------------------------------------------------------------------------------------------------------------
    1. Arduino IDE
    2. IR Remote Library
    --------------------------------------------------------------------------------------------------------------------
    Useful Video Links
    --------------------------------------------------------------------------------------------------------------------
    Home Automation Using ESP32 IR Remote and Blynk
    • Home Automation Using ...
    Arduino IR Remote Control LED | Arduino IR Receiver
    • Arduino IR Remote Cont...
    ATtiny85 Relay Control with IR Remote
    • ATtiny85 Relay Control...
    --------------------------------------------------------------------------------------------------------------------
    Social Media Links
    --------------------------------------------------------------------------------------------------------------------
    GitHub:
    github.com/ahm...
    CZcams:
    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.
    Warning: I will use High Voltages which if incorrectly or improperly used could result in serious injuries or death. So be careful of what you are doing because I will take no responsibility for any of your actions.
    #Arduino #IRremote #ArduinoTutorials

Komentáře • 80

  • @robertanderson2118
    @robertanderson2118 Před 11 měsíci +2

    Thank you for the video and code. It worked perfectly.

  • @masoudjafarzadeh
    @masoudjafarzadeh Před rokem +2

    Hello Ahmed Khan
    This program, like the previous programs, is excellent and practical
    I am waiting for the program code link
    Thank you very much

  • @iqbalashraf1628
    @iqbalashraf1628 Před rokem +1

    Assalaam Alaikum Ahmad sir,thanks for the very usefull project,due to limited movement as i m a cancer patient this will help me a lot, ALLAH bless u with all good thing in life. i simple request ,if u can add code to switch off all four relay with one remote botton. thanks

  • @donaldkormos5529
    @donaldkormos5529 Před rokem +1

    Thank you for a very useful Arduino project!!

  • @micr0chap
    @micr0chap Před 5 měsíci

    A brilliantly simple process clearly explained and demonstrated. Thanks. (sub'd)

  • @akantabauri3244
    @akantabauri3244 Před 4 měsíci

    realy very nice

  • @ravirtech1260
    @ravirtech1260 Před 9 měsíci

    Nice tutorial this project make RF remote control

  • @giginmathew1
    @giginmathew1 Před 11 měsíci +1

    Super project goodjob

  • @eerrfanshayyestehh2069
    @eerrfanshayyestehh2069 Před rokem +1

    Hello, my good friend, thank you for all the valuable projects you designed with Arduino. If we want to make a 4 relay controller with 433 MHz remote control receiver and Arduino, we can save the codes with the back push of the button and save the codes with another push of the button. delete it, can you put the codes please?

  • @labandrick9240
    @labandrick9240 Před rokem +1

    That's great 👍 very informative tutorial.

  • @engineer-e9h
    @engineer-e9h Před rokem +1

    Very unique project sir, please also share my request project version 5.

  • @juanriofrio6872
    @juanriofrio6872 Před rokem +1

    Again, great video, clear and easy to follow. One quick question if I may: I know probably the Attiny85 has limited resources for this project. Which mcu you will recommend in order to satisfied this project?.... The Arduino uno mcu is overkill and it's size is too. I would like to use a standalone mcu in order to make it compact. The reason for my question.. thanks again and great job.

    • @AhmadLogs
      @AhmadLogs  Před rokem

      thanks. you can use ATmega328p instead of arduino. or else you can use arduino nano or arduino micro. If you need wifi connectivity then esp8266 is good option

  • @PietDeboer-py9fm
    @PietDeboer-py9fm Před 10 měsíci

    thank you verry good i learn from you!!

  • @shakerileiwat4341
    @shakerileiwat4341 Před rokem +1

    Thank you
    👍👍👍

    • @AhmadLogs
      @AhmadLogs  Před rokem

      Thanks. I have made a home automation project using the same technique. Here is the link. czcams.com/video/V3FjP0ARuBI/video.html

  • @Pyro882
    @Pyro882 Před 7 měsíci

    Great project, thank you. I have a question, I tested the code but it only works with one LED. If I expand to four LEDs as described in the video then nothing works. What am I doing wrong? And can you change the code so that the IR signal is only present for as long as the LED lights up?

  •  Před 9 měsíci

    Thanks for this great video. how can we control let say 30 leds by using this remote?

  • @GHOST-qy5xr
    @GHOST-qy5xr Před rokem +2

    Sir program uploading problem😢
    How to solve it ?

  • @Romello_Pietersz
    @Romello_Pietersz Před 10 měsíci

    Thank you for the amazing videos, I got a problem, when I press the config button the builtin led dosent blink, please I need your advice

  • @eerrfanshayyestehh2069

    Good🙋‍♂️👍very good my friend

  • @someotherejojofan4676
    @someotherejojofan4676 Před 7 měsíci

    great video

  • @quickfixengineeringltd8035
    @quickfixengineeringltd8035 Před 11 měsíci +1

    May Allah reward you abundantly ❤

  • @ravirtech1260
    @ravirtech1260 Před rokem

    Nice project, more add Bluetooth hco5 opretion

  • @NextGen_automation
    @NextGen_automation Před 11 měsíci

    thanks bro its work but eeproom not work last state when power restore all always on

  • @hackknowledge24
    @hackknowledge24 Před rokem

    Super

  • @bababoyynpc5349
    @bababoyynpc5349 Před 10 měsíci

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

  • @abdullahrafiuddin1654

    very nice sir.

  • @giginmathew1
    @giginmathew1 Před rokem

    Good project

    • @AhmadLogs
      @AhmadLogs  Před rokem

      Thanks. I have made a home automation project using the same technique. Here is the link. czcams.com/video/V3FjP0ARuBI/video.html

  • @nefistofelesjulio
    @nefistofelesjulio Před rokem

    awsome as always

    • @AhmadLogs
      @AhmadLogs  Před rokem +1

      thanks

    • @mimoelectronique6140
      @mimoelectronique6140 Před rokem

      @@AhmadLogs Please, my friend, I want to get a code. I have been waiting for you for a long time, for you to respond to me, and you did not respond, please.Please, my friend, I want to get a code. I have been waiting for you for a long time, for you to respond to me, and you did not respond, please.

  • @ravirtech1260
    @ravirtech1260 Před 9 měsíci

    Add this project hc05 Bluetooth registration

  • @hungtranvan6298
    @hungtranvan6298 Před 10 měsíci

    Hi everybody.
    I'm currently having a problem and need your help:
    When receiving the remote's external signal, the VS1838B module only displays 0xFFFFFFFF
    How to fix it?
    Thank you
    Sorry that my English is quite bad

  • @user-gc3hl4tt8d
    @user-gc3hl4tt8d Před 9 měsíci

    Thanks, but mine only works with one LED. Or it doesn't work. Like when I press the config button, it blinks, then when I press a key in my remote, the light on the Arduino shuts completely, and does nothing, can you please fix this?

  • @esp32s
    @esp32s Před rokem

    Молодец ! 👍💥

  • @johhbarguer165
    @johhbarguer165 Před rokem

    How can I make a gps with esp8266 and sim800l but that the data is uploaded to firebase and not by SMS

    • @AhmadLogs
      @AhmadLogs  Před rokem

      not possible with sim800l, you need 4g gsm module to work with firevbase

  • @deathnote7943
    @deathnote7943 Před rokem

    Ahmad Logs do this using an external EEPROM, not the Arduino EEPROM, thanks for the video I really like your channel

    • @AhmadLogs
      @AhmadLogs  Před rokem

      I'm glad you enjoyed the video, and I appreciate your feedback! can you please give me some more detail about your suggestion

    • @deathnote7943
      @deathnote7943 Před rokem

      @@AhmadLogs Instead of using the Arduino memory, use this Modulo Memoria EPROM At24c256 I2c to save the code of the button that was chosen in the control

    • @AhmadLogs
      @AhmadLogs  Před rokem

      @@deathnote7943 My question is that, eeprom is enough to store the entire keys of the remote control then why we use other hardware such as At24c256?

    • @deathnote7943
      @deathnote7943 Před rokem

      @@AhmadLogs the electronic garage door has hardware with an external memory, which saves and compares the signal sent by the control, the idea is to use this same logic, having a record button to send the control code of the key that was pressed to an external memory At24c256, suppose that key 3 of any control was stored, if key 2 is pressed, the code goes to the external memory At24c256 and checks if there is the code for this key, if there is nothing, it does nothing, and if an output is turned on or off on arduino

    • @AhmadLogs
      @AhmadLogs  Před rokem

      @@deathnote7943 ok it is great for staring. I have very little knowledge about the external eeprom. I will try to work on this project soon.

  • @juanriofrio6872
    @juanriofrio6872 Před rokem

    Hello Ahmad, a quick question if I may please: Do you know how much eeprom memory will take to store just 2 buttons? I have a remote with 2 buttons and I was wondering if I will be able to store the program and the 2 buttons in a attiny85 mcu. Trying to make it compact. Let me know if is it possible please. Thank you for your videos, I enjoy learning with them. Best regards....

    • @AhmadLogs
      @AhmadLogs  Před rokem

      The ATtiny85 microcontroller features 8KB of program memory, which should be more than sufficient for the program you are discussing. Additionally, its EEPROM has a capacity of 512 bytes, providing enough space for data storage.
      For each button hex code, you only require 4 bytes in the EEPROM. As a result, you can comfortably store "512/4=128" (128) button hex codes within the EEPROM of the ATtiny85. This allows for a significant number of button configurations to be accommodated in the microcontroller's memory.

    • @juanriofrio6872
      @juanriofrio6872 Před rokem

      @@AhmadLogs Thank you very much for your reply.... I see great potential the projects you bring in combination with the attiny85, very useful and practical.... Again thanks for bringing those real life solution's.....

  • @ravirtech1260
    @ravirtech1260 Před 9 měsíci

    Add the power failed eeprom state update

  • @eerrfanshayyestehh2069

    you to control 4 relays; You used the TV remote control; Please use 433 MHz radio remote control and RC switch library instead

    • @AhmadLogs
      @AhmadLogs  Před rokem

      I suggest you to watch this czcams.com/video/V3FjP0ARuBI/video.html

  • @amerouldhoucin2177
    @amerouldhoucin2177 Před rokem

    ESP32 SIM800L GPS Tracker | Vehicle Tracking System using ESP32
    THE PROJECT NOT WROK FOR ME PLEASE HELP

    • @AhmadLogs
      @AhmadLogs  Před rokem

      tell me the issue. also comment below the video you have issues with

    • @amerouldhoucin2177
      @amerouldhoucin2177 Před rokem

      @@AhmadLogs when send get location the message show in serial monitre but sim800l not send location

  • @quickfixengineeringltd8035
    @quickfixengineeringltd8035 Před 11 měsíci

    When using 4 leds, don't you need 4 buttons for registration

  • @akydisplay
    @akydisplay Před rokem

    I Am Arshad Khan From KPK Mardan.
    Dear Ahmed Khan
    Please Make A Display
    Moon Rise Moon Set Time..
    That Are Not Available In Internet Nor CZcams.

    • @AhmadLogs
      @AhmadLogs  Před rokem

      can you give me some more detail about the project

  • @flightheglider9191
    @flightheglider9191 Před rokem

    Do you have E-Mail for Contact ?

  • @arifelectronics5197
    @arifelectronics5197 Před rokem

    Code Pls Sir

    • @AhmadLogs
      @AhmadLogs  Před rokem

      uploaded. I have made a home automation project using the same technique. Here is the link. czcams.com/video/V3FjP0ARuBI/video.html

  • @mimoelectronique6140
    @mimoelectronique6140 Před rokem

    Where is the code download link

    • @AhmadLogs
      @AhmadLogs  Před rokem

      check description. I have made a home automation project using the same technique. Here is the link. czcams.com/video/V3FjP0ARuBI/video.html

  • @akantabauri3244
    @akantabauri3244 Před 4 měsíci

    👃👃👃

  • @eerrfanshayyestehh2069

    Hello, my good friend, thank you for all the valuable projects you designed with Arduino. If we want to make a 4 relay controller with 433 MHz remote control receiver and Arduino, we can save the codes with the back push of the button and save the codes with another push of the button. delete it, can you put the codes please?

  • @eerrfanshayyestehh2069

    Hello, my good friend, thank you for all the valuable projects you designed with Arduino. If we want to make a 4 relay controller with 433 MHz remote control receiver and Arduino, we can save the codes with the back push of the button and save the codes with another push of the button. delete it, can you put the codes please?

    • @AhmadLogs
      @AhmadLogs  Před rokem

      not understand. please give me clear instructions what you want to do.

    • @eerrfanshayyestehh2069
      @eerrfanshayyestehh2069 Před rokem

      @@AhmadLogs hi🙋‍♂️Let's do the same project you made with a 433 MHz remote control

    • @AhmadLogs
      @AhmadLogs  Před rokem

      @@eerrfanshayyestehh2069 I will try. can you suggest me some best 433mhz receiver module compatible with arduino.

    • @eerrfanshayyestehh2069
      @eerrfanshayyestehh2069 Před rokem

      @@AhmadLogs Bravo ; My good friend ; Relay control project with radio remote control and receiver; It is excellent and professional