Arduino Keypad Solenoid Lock

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ธ.ค. 2018
  • Hey friends in this video i will show you how to make a lock system with arduino.
    Visit my Website to Download Codes and Circuit Diagrams:- www.viralsciencecreativity.com
    Circuit:- drive.google.com/open?id=1uwV...
    Code:- drive.google.com/open?id=1g45...
    Materials:-
    Arduino
    Solenoid Lock
    4x4 Keypad
    Relay Module
    Jumpers
    Follow me on:-
    Facebook:- / viralscience20
    Facebook:- / viral.dodhia.73
    Instagram:- / viral_dodhia_
    Twitter:- / viral_science_
    snapchat:- viraldodhia20
    --------- VIRAL SCIENCE © ----------
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    your codes really work for me,,, after lots of efforts with many tutorials ,,, kudos to u

  • @prajwalhebbar9122
    @prajwalhebbar9122 5 ปีที่แล้ว

    Awesome videos!! Always learn from u!!!👌👌

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

    I took it from your website. RESPECT BRO

  • @konnichiwa7925
    @konnichiwa7925 4 ปีที่แล้ว

    This is absolutely perfect. Tanx

  • @electronic7979
    @electronic7979 5 ปีที่แล้ว

    Excellent project

  • @adarshsnair5417
    @adarshsnair5417 5 ปีที่แล้ว

    Awesome video

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

    Isit simple enought to add 2x solenoid lock to one relay ? I want to use for my tool box but it needs a solenoid lock at each end to secure it shut

  • @satishgupta1187
    @satishgupta1187 5 ปีที่แล้ว

    Viral sir nice video😎😎

  • @antoniosmedhat5145
    @antoniosmedhat5145 5 ปีที่แล้ว

    Good job

  • @SUNILSARASWAT.
    @SUNILSARASWAT. 5 ปีที่แล้ว +2

    Nice video

  • @dheerajp1512
    @dheerajp1512 5 ปีที่แล้ว

    Nice video bro

  • @vishnuchaurasiya9721
    @vishnuchaurasiya9721 5 ปีที่แล้ว

    Nice ...

  • @davidrodrigues4611
    @davidrodrigues4611 3 ปีที่แล้ว

    worked perfectly

  • @Omniversegaming
    @Omniversegaming 5 ปีที่แล้ว

    Mast😍😍😍

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

    If the code doesn’t work for you, download keypad.h library from google then go on to ur library and install it
    I can’t remember what board I used but i wasn’t the one he used, just trial and error

  • @konainhaider2397
    @konainhaider2397 5 ปีที่แล้ว

    Btao bhai kon sa camera use karte ho plz btaoa bhai zaroorat hai

  • @diyinventions7717
    @diyinventions7717 5 ปีที่แล้ว

    Please show your setup in next week

  • @PhG1961
    @PhG1961 5 ปีที่แล้ว

    Great !

  • @sushilkamble11
    @sushilkamble11 4 ปีที่แล้ว

    can we have multiple solenoids connected and open it with different codes?

  • @omkargopale7562
    @omkargopale7562 5 ปีที่แล้ว

    Cool, sir I make it thank you so much

    • @onfireteam4229
      @onfireteam4229 4 ปีที่แล้ว

      This Comment for Robo tronics tecnical
      in the code the word keypad does not work on the code so it dont work how can i solvet

  • @siliconhub6492
    @siliconhub6492 5 ปีที่แล้ว

    Great

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

    Sir thanks. Are you grate . love you

    • @omkargopale7562
      @omkargopale7562 5 ปีที่แล้ว

      Sir please I want code sir can you.please

    • @asifsifat1664
      @asifsifat1664 5 ปีที่แล้ว

      @@omkargopale7562 did you get the code ?

  • @benjismith3986
    @benjismith3986 2 ปีที่แล้ว

    how long will the batterys last?
    thanks

  • @omkargopale7562
    @omkargopale7562 5 ปีที่แล้ว

    I take code from your webside thank you sir, your web is to much good

    • @myworld8086
      @myworld8086 5 ปีที่แล้ว

      Can u send me code

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

      @@myworld8086 #include
      char* password = "123"; // change the password here, just pick any 3 numbers
      int position = 0;
      const byte ROWS = 4;
      const byte COLS = 4;
      char keys[ROWS][COLS] = {
      {'1','2','3','A'},
      {'4','5','6','B'},
      {'7','8','9','C'},
      {'*','0','#','D'}
      };
      byte rowPins[ROWS] = { 9, 8, 7, 6 };
      byte colPins[COLS] = { 5, 4, 3, 2 };
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      int Lock = 13;
      void setup()
      {
      pinMode(Lock, OUTPUT);
      LockedPosition(true);
      }
      void loop()
      {
      char key = keypad.getKey();
      if (key == '*' || key == '#')
      {
      position = 0;
      LockedPosition(true);
      }
      if (key == password[position])
      {
      position ++;
      }
      if (position == 3)
      {
      LockedPosition(false);
      }
      delay(100);
      }
      void LockedPosition(int locked)
      {
      if (locked)
      {
      digitalWrite(Lock, LOW);
      }
      else
      {
      digitalWrite(Lock, HIGH);
      }
      }

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

      @@josharduino3241 .

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

      Please can u send me d code

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

    what is the battery specification?

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

    Sir please show us your setup

  • @siamrehman3816
    @siamrehman3816 5 ปีที่แล้ว

    Can you make both keypad and rfid lock togather?

  • @talhaijazprojectlimited5295
    @talhaijazprojectlimited5295 4 ปีที่แล้ว

    Yhe diagram may connection krna kis software may design kie ha sir

  • @engineeringprojects9472
    @engineeringprojects9472 5 ปีที่แล้ว

    Nic bro

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

    error to 'Kaypad.h' no such file or directory please reply me

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

    The code doesn't work. it says No such file or directory found. Anyone found a solution?

  • @hanscai8480
    @hanscai8480 2 ปีที่แล้ว

    Can we use Arduino nano?

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

    could someone link me to the relay module

  • @crisp4085
    @crisp4085 5 ปีที่แล้ว +12

    The link to the code dosent work please fix

    • @dedeabdulkarim5685
      @dedeabdulkarim5685 4 ปีที่แล้ว

      @ปภาวิสัย ยางสวย the code is incomplete bro I want the complete one (all)

  • @alexandergambino5416
    @alexandergambino5416 4 ปีที่แล้ว

    Is the battery 5V or 12V?

  • @umangtekriwal3826
    @umangtekriwal3826 5 ปีที่แล้ว

    What is use of relay module

  • @Smokingun4
    @Smokingun4 3 ปีที่แล้ว

    What is the input and output in this project?!

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

    Is it possible to make the lock go back automaticly in 5 seconds? What would i have to change in the code ?

    • @lolgamerslol5248
      @lolgamerslol5248 2 ปีที่แล้ว

      //Viral Science th-cam.com/users/viralscience
      //Arduino Keypad Solenoid Lock
      #include
      char* password = "123"; // change the password here, just pick any 3 numbers
      int position = 0;
      const byte ROWS = 4;
      const byte COLS = 4;
      char keys[ROWS][COLS] = {
      {'1','2','3','A'},
      {'4','5','6','B'},
      {'7','8','9','C'},
      {'*','0','#','D'}
      };
      byte rowPins[ROWS] = { 9, 8, 7, 6 };
      byte colPins[COLS] = { 5, 4, 3, 2 };
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      int Lock = 13;
      void setup()
      {
      pinMode(Lock, OUTPUT);
      LockedPosition(true);
      }
      void loop()
      {
      char key = keypad.getKey();
      if (key == '*' || key == '#')
      {
      position = 0;
      LockedPosition(true);
      }
      if (key == password[position])
      {
      position ++;
      }
      if (position == 3)
      {
      LockedPosition(false);
      }
      delay(100);
      }
      void LockedPosition(int locked)
      {
      if (locked)
      {
      digitalWrite(Lock, LOW);
      }
      else
      {
      digitalWrite(Lock, HIGH);
      delay(1000);
      digitalWrite(Lock, LOW);
      }
      }
      at the bottom there is delay(1000); to make it longer put instead of 1000 a different number for 5 seconds change it to 5000

  • @topee26
    @topee26 5 ปีที่แล้ว

    Nice work but were the code please give me the code for competition.....

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

    Sir code is not opening please help

  • @eduardsozolins9421
    @eduardsozolins9421 2 ปีที่แล้ว

    how to get more nummbers?

  • @karthickm3585
    @karthickm3585 4 ปีที่แล้ว

    which software you used in circuit designing in arduino,relay,keyboard

  • @konainhaider2397
    @konainhaider2397 5 ปีที่แล้ว

    Bro which camera do you use to make video
    Plz replay
    I need to buy camera plz brother jan tell me about camera and result of camera????

    • @ViralScience
      @ViralScience  5 ปีที่แล้ว

      I am using samsung s7 to record videos

  • @anokhautomation4453
    @anokhautomation4453 2 ปีที่แล้ว

    Why you want to press * key to close the lock??the lock should go back to lock possition automatically after a few seconds.
    You must modify the code.

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

    Sir can you upload the code Sir?

  • @myexperience5943
    @myexperience5943 5 ปีที่แล้ว

    How the programm called to draw arduino sketches ? TY

  • @harditsingh8881
    @harditsingh8881 4 ปีที่แล้ว

    If we want to run it from electricity how many volts we have to give

  • @eduardsozolins9421
    @eduardsozolins9421 2 ปีที่แล้ว

    can you send me link to code? in says error drive not found
    Please

  • @yashjolapara1514
    @yashjolapara1514 5 ปีที่แล้ว

    Hello sir, Your link for code is not opening. So plz check or give another code link.

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

    link of the code is invalid bro

  • @vincentguardiola9640
    @vincentguardiola9640 2 ปีที่แล้ว

    how to flip the selenoid lock

  • @vaibhav3458
    @vaibhav3458 5 ปีที่แล้ว

    Sir what voltage batteries areyou using

  • @MrRockinneil
    @MrRockinneil 3 ปีที่แล้ว

    It says "keypad h: no such file or directory" I am very new at this and would like some help please. Thanks you

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

      you need to download keypad.h library from github.com/Chris--A/Keypad .just click download code button on github and download .zip file.then open arduino software ,click sketch button and click include library and select add .zip library and find where you downloded library select and press open.
      hope it help.

  • @Yunus_Emre.123
    @Yunus_Emre.123 3 หลายเดือนก่อน

    I cant get the code can you send it from another place

  • @jameelajaffar610
    @jameelajaffar610 5 ปีที่แล้ว

    Bruv which all libraries do we have to install

  • @ElectroIoT
    @ElectroIoT 5 ปีที่แล้ว

    lock buy link plz sir

  • @engineerumar2020
    @engineerumar2020 4 ปีที่แล้ว

    The code and circuit link does not work.can you plzzz upload the code and circuit link correctly

  • @kowshikhero8806
    @kowshikhero8806 5 ปีที่แล้ว

    Can u make remote control door lock with it

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

    What is the software used to draw circuit?

  • @onnojogot9014
    @onnojogot9014 5 ปีที่แล้ว

    For those who are looking for the code : www.viralsciencecreativity.com/tutorials/arduino-keypad-solenoid-lock

  • @AdityaSharma-di3bg
    @AdityaSharma-di3bg 2 ปีที่แล้ว

    Code is not available on the link u have given, error is there, kindly publish the code again...

  • @moviecinema7262
    @moviecinema7262 4 ปีที่แล้ว

    Code can't be open, can someone give me the code please?

  • @omkargopale7562
    @omkargopale7562 5 ปีที่แล้ว

    sir i will be not find code . please send me sir please

  • @sanjaykumarprasad326
    @sanjaykumarprasad326 3 ปีที่แล้ว

    The link of the code is not working

  • @muhammad-9868
    @muhammad-9868 3 ปีที่แล้ว

    cricuit dia gram and code link are not qorking

  • @sosnasohni6570
    @sosnasohni6570 4 ปีที่แล้ว

    How much volt have the batteries?

  • @kmisurupresad8994
    @kmisurupresad8994 3 ปีที่แล้ว

    This not open the code and circuit diagram

  • @sh01
    @sh01 4 ปีที่แล้ว

    specifications of your Battery??

  • @SHAQIS77
    @SHAQIS77 2 ปีที่แล้ว

    bro your link is invalid

  • @claudinepascua4226
    @claudinepascua4226 2 ปีที่แล้ว

    What if you want to reset the Password?

  • @tehsinullahkhan5714
    @tehsinullahkhan5714 2 ปีที่แล้ว

    The code not working.....

  • @kunalsarode9233
    @kunalsarode9233 4 ปีที่แล้ว

    which simulation software u used

  • @omkargopale7562
    @omkargopale7562 5 ปีที่แล้ว

    drive are not working

  • @rafiridho.9i701
    @rafiridho.9i701 ปีที่แล้ว

    Link code error bro

  • @rajkadale009
    @rajkadale009 4 ปีที่แล้ว

    plz upload code

  • @josieelaine9420
    @josieelaine9420 2 ปีที่แล้ว

    code please!!

  • @centralintelligenceagency3143
    @centralintelligenceagency3143 5 ปีที่แล้ว

    Please give link to code

    • @josharduino3241
      @josharduino3241 4 ปีที่แล้ว

      #include
      char* password = "123"; // change the password here, just pick any 3 numbers
      int position = 0;
      const byte ROWS = 4;
      const byte COLS = 4;
      char keys[ROWS][COLS] = {
      {'1','2','3','A'},
      {'4','5','6','B'},
      {'7','8','9','C'},
      {'*','0','#','D'}
      };
      byte rowPins[ROWS] = { 9, 8, 7, 6 };
      byte colPins[COLS] = { 5, 4, 3, 2 };
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      int Lock = 13;
      void setup()
      {
      pinMode(Lock, OUTPUT);
      LockedPosition(true);
      }
      void loop()
      {
      char key = keypad.getKey();
      if (key == '*' || key == '#')
      {
      position = 0;
      LockedPosition(true);
      }
      if (key == password[position])
      {
      position ++;
      }
      if (position == 3)
      {
      LockedPosition(false);
      }
      delay(100);
      }
      void LockedPosition(int locked)
      {
      if (locked)
      {
      digitalWrite(Lock, LOW);
      }
      else
      {
      digitalWrite(Lock, HIGH);
      }
      }

  • @kufu8765
    @kufu8765 4 ปีที่แล้ว

    code eror

  • @caepisan
    @caepisan 5 ปีที่แล้ว

    link Code not found 404

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

      //Viral Science th-cam.com/users/viralscience
      //Arduino Keypad Solenoid Lock
      #include
      char* password = "123"; // change the password here, just pick any 3 numbers
      int position = 0;
      const byte ROWS = 4;
      const byte COLS = 4;
      char keys[ROWS][COLS] = {
      {'1','2','3','A'},
      {'4','5','6','B'},
      {'7','8','9','C'},
      {'*','0','#','D'}
      };
      byte rowPins[ROWS] = { 9, 8, 7, 6 };
      byte colPins[COLS] = { 5, 4, 3, 2 };
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      int Lock = 13;
      void setup()
      {
      pinMode(Lock, OUTPUT);
      LockedPosition(true);
      }
      void loop()
      {
      char key = keypad.getKey();
      if (key == '*' || key == '#')
      {
      position = 0;
      LockedPosition(true);
      }
      if (key == password[position])
      {
      position ++;
      }
      if (position == 3)
      {
      LockedPosition(false);
      }
      delay(100);
      }
      void LockedPosition(int locked)
      {
      if (locked)
      {
      digitalWrite(Lock, LOW);
      }
      else
      {
      digitalWrite(Lock, HIGH);
      }
      }

  • @manishakadale1615
    @manishakadale1615 4 ปีที่แล้ว

    Plz upload the code

    • @josharduino3241
      @josharduino3241 4 ปีที่แล้ว

      #include
      char* password = "123"; // change the password here, just pick any 3 numbers
      int position = 0;
      const byte ROWS = 4;
      const byte COLS = 4;
      char keys[ROWS][COLS] = {
      {'1','2','3','A'},
      {'4','5','6','B'},
      {'7','8','9','C'},
      {'*','0','#','D'}
      };
      byte rowPins[ROWS] = { 9, 8, 7, 6 };
      byte colPins[COLS] = { 5, 4, 3, 2 };
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      int Lock = 13;
      void setup()
      {
      pinMode(Lock, OUTPUT);
      LockedPosition(true);
      }
      void loop()
      {
      char key = keypad.getKey();
      if (key == '*' || key == '#')
      {
      position = 0;
      LockedPosition(true);
      }
      if (key == password[position])
      {
      position ++;
      }
      if (position == 3)
      {
      LockedPosition(false);
      }
      delay(100);
      }
      void LockedPosition(int locked)
      {
      if (locked)
      {
      digitalWrite(Lock, LOW);
      }
      else
      {
      digitalWrite(Lock, HIGH);
      }
      }

  • @KoloSlamD
    @KoloSlamD 3 ปีที่แล้ว

    Code Error

  • @danielagayosso5509
    @danielagayosso5509 5 ปีที่แล้ว

    The link to the code :'c

    • @josharduino3241
      @josharduino3241 4 ปีที่แล้ว

      #include
      char* password = "123"; // change the password here, just pick any 3 numbers
      int position = 0;
      const byte ROWS = 4;
      const byte COLS = 4;
      char keys[ROWS][COLS] = {
      {'1','2','3','A'},
      {'4','5','6','B'},
      {'7','8','9','C'},
      {'*','0','#','D'}
      };
      byte rowPins[ROWS] = { 9, 8, 7, 6 };
      byte colPins[COLS] = { 5, 4, 3, 2 };
      Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
      int Lock = 13;
      void setup()
      {
      pinMode(Lock, OUTPUT);
      LockedPosition(true);
      }
      void loop()
      {
      char key = keypad.getKey();
      if (key == '*' || key == '#')
      {
      position = 0;
      LockedPosition(true);
      }
      if (key == password[position])
      {
      position ++;
      }
      if (position == 3)
      {
      LockedPosition(false);
      }
      delay(100);
      }
      void LockedPosition(int locked)
      {
      if (locked)
      {
      digitalWrite(Lock, LOW);
      }
      else
      {
      digitalWrite(Lock, HIGH);
      }
      }

  • @asifsifat1664
    @asifsifat1664 5 ปีที่แล้ว

    code ?

    • @ViralScience
      @ViralScience  5 ปีที่แล้ว

      Visit my website www.viralsciencecreativity.com for codes and circuit diagrams

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

    I recommend you not to watch this Video. He didn't teach it Properly and there is no Code You will get an Error.

  • @appyhotker7894
    @appyhotker7894 5 ปีที่แล้ว

    Nice video