How To Use Infrared Remote using Arduino - New Method

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ก.ย. 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...
    TH-cam:
    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

ความคิดเห็น • 81

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

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

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      so nice of you

  • @micr0chap
    @micr0chap 6 หลายเดือนก่อน

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

  • @donaldkormos5529
    @donaldkormos5529 ปีที่แล้ว +1

    Thank you for a very useful Arduino project!!

  • @kantilab
    @kantilab ปีที่แล้ว +1

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

  • @labandrick9240
    @labandrick9240 ปีที่แล้ว +1

    That's great 👍 very informative tutorial.

  • @physical_decree
    @physical_decree 19 วันที่ผ่านมา

    very cool!!

  • @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 ปีที่แล้ว +1

    Super project goodjob

  • @PietDeboer-py9fm
    @PietDeboer-py9fm 11 หลายเดือนก่อน

    thank you verry good i learn from you!!

  • @quickfixengineeringltd8035
    @quickfixengineeringltd8035 ปีที่แล้ว +1

    May Allah reward you abundantly ❤

  • @GHOST-qy5xr
    @GHOST-qy5xr ปีที่แล้ว +2

    Sir program uploading problem😢
    How to solve it ?

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      give me some more detail

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

  • @ravirtech1260
    @ravirtech1260 ปีที่แล้ว

    Nice project, more add Bluetooth hco5 opretion

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      thanks. will try soon

  • @Pyro882
    @Pyro882 8 หลายเดือนก่อน

    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. th-cam.com/video/V3FjP0ARuBI/w-d-xo.html

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

  •  10 หลายเดือนก่อน

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

  • @bababoyynpc5349
    @bababoyynpc5349 11 หลายเดือนก่อน

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

  • @someotherejojofan4676
    @someotherejojofan4676 8 หลายเดือนก่อน

    great video

  • @NextGen_automation
    @NextGen_automation 11 หลายเดือนก่อน

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

  • @abdullahrafiuddin1654
    @abdullahrafiuddin1654 ปีที่แล้ว

    very nice sir.

  • @hackknowledge24
    @hackknowledge24 ปีที่แล้ว

    Super

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

  • @hungtranvan6298
    @hungtranvan6298 11 หลายเดือนก่อน

    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

  • @ravirtech1260
    @ravirtech1260 10 หลายเดือนก่อน

    Add this project hc05 Bluetooth registration

  • @DayFine-u4n
    @DayFine-u4n 10 หลายเดือนก่อน

    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?

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

  • @ravirtech1260
    @ravirtech1260 10 หลายเดือนก่อน

    Add the power failed eeprom state update

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

  • @robertanderson2118
    @robertanderson2118 ปีที่แล้ว +2

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

  • @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 th-cam.com/video/V3FjP0ARuBI/w-d-xo.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 TH-cam.

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      can you give me some more detail about the project

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

  • @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 ปีที่แล้ว

    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. th-cam.com/video/V3FjP0ARuBI/w-d-xo.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. th-cam.com/video/V3FjP0ARuBI/w-d-xo.html

  • @akantabauri3244
    @akantabauri3244 4 หลายเดือนก่อน

    👃👃👃

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

  • @akantabauri3244
    @akantabauri3244 4 หลายเดือนก่อน

    realy very nice

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

  • @eerrfanshayyestehh2069
    @eerrfanshayyestehh2069 ปีที่แล้ว

    Good🙋‍♂️👍very good my friend

  • @giginmathew1
    @giginmathew1 ปีที่แล้ว

    Good project

    • @AhmadLogs
      @AhmadLogs  ปีที่แล้ว

      Thanks. I have made a home automation project using the same technique. Here is the link. th-cam.com/video/V3FjP0ARuBI/w-d-xo.html