Making an IR-system with password using Arduino

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Hi everyone.
    In this video, I'm going to show you how easy to make an
    IR-system using any remote control and set your own
    password to get access.
    Set any password you want and Control a Servo motor and
    LEDs by the remote control.
    This code has two passwords one for multi-users and
    the second one for the Root (main) user. Using Root password you
    can change the user password and the other stuff like
    turn on and off the LEDs and the Servo motor.
    Also, Using User password you can only turn on and
    off the LEDs and the Servo motor.
    The system will show you his current status on the LCD.
    -----------------------------------------------------------------------------------------------------------
    In this video, I used my LCD driver if you want it here's
    his video: • Making LCD 16x2 driver...
    -----------------------------------------------------------------------------------------------------------
    Here's the Arduino code and the diagram:
    github.com/Inf...
    -----------------------------------------------------------------------------------------------------------
    Here's the IRremote Library:
    bit.ly/IRremote...
    -----------------------------------------------------------------------------------------------------------
    Music: Fredji - Happy Life (Vlog No Copyright Music)
    -----------------------------------------------------------------------------------------------------------
    If you like this video don't forget to Like and Share.
    Don't be a stranger, hit the Subscribe button, It will be awesome having you here.
    Comment if you have any questions.
    Thanks for watching.

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

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

    hello, thanks for the video, I have a question for you, I want to do an access control, storing a password using the IR remote, any help?
    what version of library do you use in the video (irremote) thanks!

  • @pcibra5401
    @pcibra5401 6 лет назад +1

    Thank you so much.
    How to connect 4 channels Relay module with it and set a number for each relay?

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  6 лет назад

      you're welcome
      just add what number you want to the code in function option line 365 like LED1 and change the pin to relay pins

    • @pcibra5401
      @pcibra5401 6 лет назад

      Thank you so much
      I modifiyed it and works just fine.

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

    sir may i ask how to modify the codes to page up and page down the text on lcd using Infrared. thanks

  • @drelectronics13
    @drelectronics13 5 лет назад +1

    Thanks works fine but setill not getting any help to run 8 relay module pls help

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад +1

      My pleasure, if you want, you can send me your code to modify it.

    • @drelectronics13
      @drelectronics13 5 лет назад

      Thanks for replying sir. It's ur code only and I just want u to add 6 more relay pins for my project. It will be a favour if u send me those modified code on ausafmom@gmail.com

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад +1

      Ok, then you need 6 relays. I will send it to your E-mail as soon as I can.

    • @drelectronics13
      @drelectronics13 5 лет назад

      @@ElectronicsTechHaIs
      Thnkyou for replying and i am waiting for it 😁

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад

      @@drelectronics13 I'm going to send the code in an hour.

  • @willkombant9185
    @willkombant9185 4 года назад

    Awsome!!!! How do you though wire up the LCD? Do you need the driver? i have a 4 pin lcd.

    • @willkombant9185
      @willkombant9185 4 года назад

      Also, how can you add more buttons? i have a slitely different remote... Thanks in advance!

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  4 года назад

      In this video I used SPI driver, you can use I2C driver as well which I think the one that you have.
      You just need to get the buttons codes as I did in the video.

  • @jaydebkarmakar3215
    @jaydebkarmakar3215 5 лет назад +1

    Link of code and diagram is not working,pls give a new link

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад

      Thanks for your comment.
      www.mediafire.com/file/null/IR_System.zip/file

    • @jaydebkarmakar3215
      @jaydebkarmakar3215 5 лет назад

      Thank you, your projects are really great keep it up.....

  • @redbaron2k7
    @redbaron2k7 4 года назад

    help it doesnt work IRremote and Servo library doesnt work together

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  4 года назад

      Then use the Hardware PWM library for the servo and it should work.

  • @Crabber12390
    @Crabber12390 4 года назад

    How do you sign off or like that stuff

  • @arunaadikari9571
    @arunaadikari9571 5 лет назад

    Arduino: 1.6.12 (Windows 7), Board: "Arduino/Genuino Uno"
    C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope
    int RECV_PIN = TKD2; // the pin the IR receiver is connected to
    ^
    exit status 1
    Error compiling for board Arduino/Genuino Uno.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    please help me to fix this error when i compile the code

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад

      Hi,
      you should use this library instead of yours: bit.ly/IRremoteLibrary
      int RECV_PIN = 2; //2 is the pin where IR receiver is connected to.

    • @arunaadikari9571
      @arunaadikari9571 5 лет назад

      @@ElectronicsTechHaIs thank you so much for reply now it's done

  • @Crabber12390
    @Crabber12390 4 года назад

    can you tell me how to plug in the lcd

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  4 года назад

      You want to use the LCD with I2C driver or without it?
      the driver that I used in the video was made by me, here's how I build it if you want to make one by yourself:
      ruclips.net/video/JJTpvh_dm6E/видео.html

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

    can you combine That system with rfid

  • @Grantttorg
    @Grantttorg 5 лет назад

    dont work link for code
    plz give link

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад

      Thanks,
      I fixed it, here the new link:
      github.com/InfinityWorldHI/IR-System

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

    its not working help me pls ı have a homework

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

      Don't worry, what is the problem that you're facing?

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

      @@ElectronicsTechHaIs I dont have lcd. You say you can do it without using lcd in the video. red led constantly on. white led is not lit when press the button. serial monitor is clear when press the button. maybe I dont succes prepare circuit because ı dont have fritzing or tinkercad circuit diagram

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

      Cyborg#1416 this my discord name. It might be easier for you to tell from there

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

      @@borakuran7614 please, email me.

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

      Electronics Tech kuran.bora@gmail.com

  • @willdanragatha6253
    @willdanragatha6253 5 лет назад

    hello, what if I want to use 2 different remote controls

    • @willdanragatha6253
      @willdanragatha6253 5 лет назад

      help me, please 🙏. I from Indonesia

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад

      Hi, You just have to get the buttons codes from another remote and save them into the Arduino code, then modify the code in if conditions by adding " || " that mean " or " in order to check if the button UID comes from the first remote or from the second one.

    • @willdanragatha6253
      @willdanragatha6253 5 лет назад

      is this ringht?
      string btn1 = "20df8877" ll "ff25807" ;

    • @willdanragatha6253
      @willdanragatha6253 5 лет назад

      then what is the "if" condition? Here is my email, if you want to help. asukon4@gmail.com
      thank you very much

    • @ElectronicsTechHaIs
      @ElectronicsTechHaIs  5 лет назад

      like this.
      String btn1_1 = "9716be3f"; for the first remote
      String btn1_2 = "5718fecc"; for the second remote
      if (String(results.value, HEX) == btn1_1 || String(results.value, HEX) == btn1_2) {}
      and so on.

  • @hyunew
    @hyunew 6 лет назад

    please give me code ㅠ.ㅠ