How To Use Infrared Remote using Arduino - New Method

Поделиться
HTML-код
  • Опубликовано: 5 сен 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...
    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.
    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

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

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

  • @robertanderson2118
    @robertanderson2118 11 месяцев назад +2

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

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

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

    Thank you for a very useful Arduino project!!

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

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

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

    realy very nice

  • @engineer-e9h
    @engineer-e9h Год назад +1

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

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

      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

  • @GHOST-qy5xr
    @GHOST-qy5xr Год назад +2

    Sir program uploading problem😢
    How to solve it ?

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

      give me some more detail

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

    That's great 👍 very informative tutorial.

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

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

    Nice tutorial this project make RF remote control

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

    Super project goodjob

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

    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?

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

    Thank you
    👍👍👍

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

      Thanks. I have made a home automation project using the same technique. Here is the link. ruclips.net/video/V3FjP0ARuBI/видео.html

  • @PietDeboer-py9fm
    @PietDeboer-py9fm 10 месяцев назад

    thank you verry good i learn from you!!

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

    Nice project, more add Bluetooth hco5 opretion

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

    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

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

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

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

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

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

    Good🙋‍♂️👍very good my friend

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

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

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

    great video

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

    Super

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

    May Allah reward you abundantly ❤

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

    awsome as always

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

      thanks

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

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

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

    very nice sir.

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

    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 9 месяцев назад

    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?

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

    Good project

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

      Thanks. I have made a home automation project using the same technique. Here is the link. ruclips.net/video/V3FjP0ARuBI/видео.html

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

    Add this project hc05 Bluetooth registration

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

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

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

      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 Год назад

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

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

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

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

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

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

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

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

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

    Add the power failed eeprom state update

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

    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  Год назад

      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 Год назад

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

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

    Молодец ! 👍💥

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

      I suggest you to watch this ruclips.net/video/V3FjP0ARuBI/видео.html

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

    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 RUclips.

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

      can you give me some more detail about the project

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

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

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

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

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

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

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

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

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

    Code Pls Sir

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

      uploaded. I have made a home automation project using the same technique. Here is the link. ruclips.net/video/V3FjP0ARuBI/видео.html

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

    Do you have E-Mail for Contact ?

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

    Where is the code download link

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

      check description. I have made a home automation project using the same technique. Here is the link. ruclips.net/video/V3FjP0ARuBI/видео.html

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

    👃👃👃

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

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

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

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

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

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

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

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