Arduino Keypad Solenoid Lock

Sdílet
Vložit
  • čas přidán 7. 12. 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 © ----------
  • Věda a technologie

Komentáře • 117

  • @deeunbox
    @deeunbox Před rokem

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

  • @koupohroyandredavid2639
    @koupohroyandredavid2639 Před 5 lety +1

    I took it from your website. RESPECT BRO

  • @prajwalhebbar9122
    @prajwalhebbar9122 Před 5 lety

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

  • @konnichiwa7925
    @konnichiwa7925 Před 4 lety

    This is absolutely perfect. Tanx

  • @electronic7979
    @electronic7979 Před 5 lety

    Excellent project

  • @satishgupta1187
    @satishgupta1187 Před 5 lety

    Viral sir nice video😎😎

  • @davidrodrigues4611
    @davidrodrigues4611 Před 3 lety

    worked perfectly

  • @adarshsnair5417
    @adarshsnair5417 Před 5 lety

    Awesome video

  • @Omniversegaming
    @Omniversegaming Před 5 lety

    Mast😍😍😍

  • @DheeruMoolya
    @DheeruMoolya Před 5 lety

    Nice video bro

  • @PhG1961
    @PhG1961 Před 5 lety

    Great !

  • @vishnuchaurasiya9721
    @vishnuchaurasiya9721 Před 5 lety

    Nice ...

  • @SUNILSARASWAT.
    @SUNILSARASWAT. Před 5 lety +2

    Nice video

  • @antoniosmedhat5145
    @antoniosmedhat5145 Před 5 lety

    Good job

  • @engineeringprojects9472

    Nic bro

  • @siliconhub6492
    @siliconhub6492 Před 5 lety

    Great

  • @diyinventions7717
    @diyinventions7717 Před 5 lety

    Please show your setup in next week

  • @omkargopale7562
    @omkargopale7562 Před 5 lety

    Cool, sir I make it thank you so much

    • @onfireteam4229
      @onfireteam4229 Před 4 lety

      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

  • @omkargopale7562
    @omkargopale7562 Před 5 lety +1

    Sir thanks. Are you grate . love you

  • @vividh1578
    @vividh1578 Před 5 lety +1

    Sir please show us your setup

  • @omkargopale7562
    @omkargopale7562 Před 5 lety

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

    • @myworld8086
      @myworld8086 Před 5 lety

      Can u send me code

    • @josharduino3241
      @josharduino3241 Před 4 lety +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 Před 3 lety +1

      @@josharduino3241 .

    • @victoroladele5683
      @victoroladele5683 Před rokem

      Please can u send me d code

  • @lordofwar9431
    @lordofwar9431 Před rokem

    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

  • @konainhaider2397
    @konainhaider2397 Před 5 lety

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

  • @mohamadfahrezi9575
    @mohamadfahrezi9575 Před 5 lety +2

    what is the battery specification?

  • @siamrehman3816
    @siamrehman3816 Před 5 lety

    Can you make both keypad and rfid lock togather?

  • @benjismith3986
    @benjismith3986 Před 2 lety

    how long will the batterys last?
    thanks

  • @cooperkeenan3037
    @cooperkeenan3037 Před 4 lety +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

  • @crisp4085
    @crisp4085 Před 5 lety +12

    The link to the code dosent work please fix

    • @dedeabdulkarim5685
      @dedeabdulkarim5685 Před 4 lety

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

  • @sushilkamble11
    @sushilkamble11 Před 4 lety

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

  • @talhaijazprojectlimited5295

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

  • @hanscai8480
    @hanscai8480 Před 2 lety

    Can we use Arduino nano?

  • @alexandergambino5416
    @alexandergambino5416 Před 4 lety

    Is the battery 5V or 12V?

  • @crisp4085
    @crisp4085 Před 5 lety +1

    could someone link me to the relay module

  • @umangtekriwal3826
    @umangtekriwal3826 Před 5 lety

    What is use of relay module

  • @ig_clan_9920
    @ig_clan_9920 Před 4 lety +1

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

  • @topee26
    @topee26 Před 5 lety

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

  • @manugoswami8621
    @manugoswami8621 Před 5 lety +2

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

  • @michaeldeleon4202
    @michaeldeleon4202 Před 5 lety +2

    Sir can you upload the code Sir?

  • @ralfsigfridsson4808
    @ralfsigfridsson4808 Před 3 lety +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 Před 2 lety

      //Viral Science czcams.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

  • @evilgaming1162
    @evilgaming1162 Před 4 lety +2

    Sir code is not opening please help

  • @Smokingun4
    @Smokingun4 Před 3 lety

    What is the input and output in this project?!

  • @karthickm3585
    @karthickm3585 Před 4 lety

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

  • @ElectroIoT
    @ElectroIoT Před 5 lety

    lock buy link plz sir

  • @konainhaider2397
    @konainhaider2397 Před 5 lety

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

  • @kowshikhero8806
    @kowshikhero8806 Před 5 lety

    Can u make remote control door lock with it

  • @tusharsamadder5149
    @tusharsamadder5149 Před měsícem

    Sir, apnar diagram dekhe connection korlam but kaj hochhe na, relay board a power ashche na ......
    Parle aktu reply korben...🙏🏼🙏🏻🙏🏻

  • @koupohroyandredavid2639
    @koupohroyandredavid2639 Před 5 lety +1

    link of the code is invalid bro

  • @eduardsozolins9421
    @eduardsozolins9421 Před 2 lety

    how to get more nummbers?

  • @anokhautomation4453
    @anokhautomation4453 Před 2 lety

    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.

  • @pavzutube
    @pavzutube Před 5 lety +1

    What is the software used to draw circuit?

  • @harditsingh8881
    @harditsingh8881 Před 4 lety

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

  • @vincentguardiola9640
    @vincentguardiola9640 Před 2 lety

    how to flip the selenoid lock

  • @vaibhav3458
    @vaibhav3458 Před 5 lety

    Sir what voltage batteries areyou using

  • @yashjolapara1514
    @yashjolapara1514 Před 5 lety

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

  • @myexperience5943
    @myexperience5943 Před 5 lety

    How the programm called to draw arduino sketches ? TY

  • @jameelajaffar610
    @jameelajaffar610 Před 5 lety

    Bruv which all libraries do we have to install

  • @eduardsozolins9421
    @eduardsozolins9421 Před 2 lety

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

  • @Jjjj119-r8c
    @Jjjj119-r8c Před 5 lety

    How much volt have the batteries?

  • @MrRockinneil
    @MrRockinneil Před 3 lety

    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 Před 3 lety +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.

  • @sh01
    @sh01 Před 4 lety

    specifications of your Battery??

  • @engineerumar2020
    @engineerumar2020 Před 4 lety

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

  • @onnojogot9014
    @onnojogot9014 Před 5 lety

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

  • @sanjaykumarprasad326
    @sanjaykumarprasad326 Před 4 lety

    The link of the code is not working

  • @Yunus_Emre.123
    @Yunus_Emre.123 Před 5 měsíci

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

  • @AdityaSharma-di3bg
    @AdityaSharma-di3bg Před 2 lety

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

  • @omkargopale7562
    @omkargopale7562 Před 5 lety

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

  • @moviecinema7262
    @moviecinema7262 Před 4 lety

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

  • @muhammad-9868
    @muhammad-9868 Před 3 lety

    cricuit dia gram and code link are not qorking

  • @caepisan
    @caepisan Před 5 lety

    link Code not found 404

    • @manugoswami8621
      @manugoswami8621 Před 5 lety +1

      //Viral Science czcams.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);
      }
      }

  • @claudinepascua4226
    @claudinepascua4226 Před 2 lety

    What if you want to reset the Password?

  • @SHAQIS77
    @SHAQIS77 Před 3 lety

    bro your link is invalid

  • @omkargopale7562
    @omkargopale7562 Před 5 lety

    drive are not working

  • @tehsinullahkhan5714
    @tehsinullahkhan5714 Před 2 lety

    The code not working.....

  • @kmisurupresad8994
    @kmisurupresad8994 Před 3 lety

    This not open the code and circuit diagram

  • @kunalsarode9233
    @kunalsarode9233 Před 4 lety

    which simulation software u used

  • @rajkadale009
    @rajkadale009 Před 5 lety

    plz upload code

  • @josieelaine9420
    @josieelaine9420 Před 2 lety

    code please!!

  • @rafiridho.9i701
    @rafiridho.9i701 Před rokem

    Link code error bro

  • @centralintelligenceagency3143

    Please give link to code

    • @josharduino3241
      @josharduino3241 Před 4 lety

      #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 Před 5 lety

    Plz upload the code

    • @josharduino3241
      @josharduino3241 Před 4 lety

      #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 Před 5 lety

    code eror

  • @danielagayosso5509
    @danielagayosso5509 Před 5 lety

    The link to the code :'c

    • @josharduino3241
      @josharduino3241 Před 4 lety

      #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 Před 4 lety

    Code Error

  • @asifsifat1664
    @asifsifat1664 Před 5 lety

    code ?

    • @ViralScience
      @ViralScience  Před 5 lety

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

  • @aryanmanjarekar2784
    @aryanmanjarekar2784 Před rokem

    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 Před 5 lety

    Nice video

  • @tusharsamadder5149
    @tusharsamadder5149 Před měsícem

    Sir, apnar diagram dekhe connection korlam but kaj hochhe na, relay board a power ashche na ......
    Parle aktu reply korben...🙏🏼🙏🏻🙏🏻