Тёмный
No video :(

Arduino Keypad Solenoid Lock 

Viral Science - The home of Creativity
Подписаться 157 тыс.
Просмотров 66 тыс.
50% 1

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

Опубликовано:

 

7 дек 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 117   
@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 лет назад
I took it from your website. RESPECT BRO
@konnichiwa7925
@konnichiwa7925 4 года назад
This is absolutely perfect. Tanx
@electronic7979
@electronic7979 5 лет назад
Excellent project
@davidrodrigues4611
@davidrodrigues4611 3 года назад
worked perfectly
@adarshsnair5417
@adarshsnair5417 5 лет назад
Awesome video
@satishgupta1187
@satishgupta1187 5 лет назад
Viral sir nice video😎😎
@DheeruMoolya
@DheeruMoolya 5 лет назад
Nice video bro
@Omniversegaming
@Omniversegaming 5 лет назад
Mast😍😍😍
@SUNILSARASWAT.
@SUNILSARASWAT. 5 лет назад
Nice video
@PhG1961
@PhG1961 5 лет назад
Great !
@vishnuchaurasiya9721
@vishnuchaurasiya9721 5 лет назад
Nice ...
@antoniosmedhat5145
@antoniosmedhat5145 5 лет назад
Good job
@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
@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
@engineeringprojects9472
@engineeringprojects9472 5 лет назад
Nic bro
@omkargopale7562
@omkargopale7562 5 лет назад
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 года назад
@@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 года назад
@@josharduino3241 .
@victoroladele5683
@victoroladele5683 2 года назад
Please can u send me d code
@sushilkamble11
@sushilkamble11 4 года назад
can we have multiple solenoids connected and open it with different codes?
@siliconhub6492
@siliconhub6492 5 лет назад
Great
@diyinventions7717
@diyinventions7717 5 лет назад
Please show your setup in next week
@mohamadfahrezi9575
@mohamadfahrezi9575 5 лет назад
what is the battery specification?
@crisp4085
@crisp4085 5 лет назад
The link to the code dosent work please fix
@dedeabdulkarim5685
@dedeabdulkarim5685 4 года назад
@ปภาวิสัย ยางสวย the code is incomplete bro I want the complete one (all)
@cooperkeenan3037
@cooperkeenan3037 4 года назад
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
@siamrehman3816
@siamrehman3816 5 лет назад
Can you make both keypad and rfid lock togather?
@konainhaider2397
@konainhaider2397 5 лет назад
Btao bhai kon sa camera use karte ho plz btaoa bhai zaroorat hai
@hanscai8480
@hanscai8480 2 года назад
Can we use Arduino nano?
@vividh1578
@vividh1578 5 лет назад
Sir please show us your setup
@alexandergambino5416
@alexandergambino5416 4 года назад
Is the battery 5V or 12V?
@tusharsamadder5149
@tusharsamadder5149 Месяц назад
Sir, apnar diagram dekhe connection korlam but kaj hochhe na, relay board a power ashche na ...... Parle aktu reply korben...🙏🏼🙏🏻🙏🏻
@ralfsigfridsson4808
@ralfsigfridsson4808 3 года назад
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 ru-vid.com //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
@crisp4085
@crisp4085 5 лет назад
could someone link me to the relay module
@ig_clan_9920
@ig_clan_9920 4 года назад
error to 'Kaypad.h' no such file or directory please reply me
@umangtekriwal3826
@umangtekriwal3826 5 лет назад
What is use of relay module
@manugoswami8621
@manugoswami8621 5 лет назад
The code doesn't work. it says No such file or directory found. Anyone found a solution?
@talhaijazprojectlimited5295
@talhaijazprojectlimited5295 4 года назад
Yhe diagram may connection krna kis software may design kie ha sir
@evilgaming1162
@evilgaming1162 4 года назад
Sir code is not opening please help
@karthickm3585
@karthickm3585 4 года назад
which software you used in circuit designing in arduino,relay,keyboard
@lolgamerslol5248
@lolgamerslol5248 2 года назад
Fritzing it costs
@Smokingun4
@Smokingun4 3 года назад
What is the input and output in this project?!
@koupohroyandredavid2639
@koupohroyandredavid2639 5 лет назад
link of the code is invalid bro
@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
@harditsingh8881
@harditsingh8881 4 года назад
If we want to run it from electricity how many volts we have to give
@josharduino3241
@josharduino3241 4 года назад
9v or 12v is OK DC
@ElectroIoT
@ElectroIoT 5 лет назад
lock buy link plz sir
@eduardsozolins9421
@eduardsozolins9421 2 года назад
how to get more nummbers?
@topee26
@topee26 5 лет назад
Nice work but were the code please give me the code for competition.....
@vaibhav3458
@vaibhav3458 5 лет назад
Sir what voltage batteries areyou using
@allstuffsimplified327
@allstuffsimplified327 5 лет назад
3.7v 18650 batteries
@myexperience5943
@myexperience5943 5 лет назад
How the programm called to draw arduino sketches ? TY
@TheStuartstardust
@TheStuartstardust 5 лет назад
Fritzing?
@michaeldeleon4202
@michaeldeleon4202 5 лет назад
Sir can you upload the code Sir?
@kowshikhero8806
@kowshikhero8806 5 лет назад
Can u make remote control door lock with it
@TheStuartstardust
@TheStuartstardust 5 лет назад
Use ESP32
@jameelajaffar610
@jameelajaffar610 5 лет назад
Bruv which all libraries do we have to install
@josharduino3241
@josharduino3241 4 года назад
KEYPAD
@yashjolapara1514
@yashjolapara1514 5 лет назад
Hello sir, Your link for code is not opening. So plz check or give another code link.
@pavzutube
@pavzutube 5 лет назад
What is the software used to draw circuit?
@iamaditya69
@iamaditya69 2 года назад
Fritzing
@eduardsozolins9421
@eduardsozolins9421 2 года назад
can you send me link to code? in says error drive not found Please
@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.
@Jjjj119-r8c
@Jjjj119-r8c 5 лет назад
How much volt have the batteries?
@allstuffsimplified327
@allstuffsimplified327 5 лет назад
3.7v
@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 года назад
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 5 лет назад
specifications of your Battery??
@aljhengaming3483
@aljhengaming3483 4 года назад
12v you can use 12v adapter
@sanjaykumarprasad326
@sanjaykumarprasad326 4 года назад
The link of the code is not working
@Vincc29
@Vincc29 2 года назад
how to flip the selenoid lock
@Yunus_Emre.123
@Yunus_Emre.123 5 месяцев назад
I cant get the code can you send it from another place
@moviecinema7262
@moviecinema7262 4 года назад
Code can't be open, can someone give me the code please?
@engineerumar2020
@engineerumar2020 4 года назад
The code and circuit link does not work.can you plzzz upload the code and circuit link correctly
@SHAQIS77
@SHAQIS77 3 года назад
bro your link is invalid
@claudinepascua4226
@claudinepascua4226 2 года назад
What if you want to reset the Password?
@AdityaSharma-di3bg
@AdityaSharma-di3bg 3 года назад
Code is not available on the link u have given, error is there, kindly publish the code again...
@omkargopale7562
@omkargopale7562 5 лет назад
sir i will be not find code . please send me sir please
@muhammad-9868
@muhammad-9868 3 года назад
cricuit dia gram and code link are not qorking
@tehsinullahkhan5714
@tehsinullahkhan5714 2 года назад
The code not working.....
@kunalsarode9233
@kunalsarode9233 5 лет назад
which simulation software u used
@josharduino3241
@josharduino3241 4 года назад
FRITZING
@omkargopale7562
@omkargopale7562 5 лет назад
drive are not working
@caepisan
@caepisan 5 лет назад
link Code not found 404
@manugoswami8621
@manugoswami8621 5 лет назад
//Viral Science ru-vid.com //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); } }
@rafiridho.9i701
@rafiridho.9i701 Год назад
Link code error bro
@kmisurupresad8994
@kmisurupresad8994 3 года назад
This not open the code and circuit diagram
@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); } }
@josieelaine9420
@josieelaine9420 2 года назад
code please!!
@onnojogot9014
@onnojogot9014 5 лет назад
For those who are looking for the code : www.viralsciencecreativity.com/tutorials/arduino-keypad-solenoid-lock
@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); } }
@rajkadale009
@rajkadale009 5 лет назад
plz upload code
@kufu8765
@kufu8765 5 лет назад
code eror
@asifsifat1664
@asifsifat1664 5 лет назад
code ?
@ViralScience
@ViralScience 5 лет назад
Visit my website www.viralsciencecreativity.com for codes and circuit diagrams
@KoloSlamD
@KoloSlamD 4 года назад
Code Error
@manishakadale1615
@manishakadale1615 5 лет назад
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); } }
@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
@tusharsamadder5149
@tusharsamadder5149 Месяц назад
Sir, apnar diagram dekhe connection korlam but kaj hochhe na, relay board a power ashche na ...... Parle aktu reply korben...🙏🏼🙏🏻🙏🏻
Далее
Solenoid Door lock system with fingerprint
7:36
Просмотров 31 тыс.
Arduino RFID Solenoid Lock
6:12
Просмотров 399 тыс.
Symmetrical face⁉️🤔 #beauty
00:15
Просмотров 4,5 млн
Это реально работает?!
00:33
Просмотров 4,2 млн
Мой инстаграм: v1.ann
00:13
Просмотров 117 тыс.
Security Goons Try To Ban The Music...And FAIL!
8:14
Arduino Door Lock using I2C LCD and  Keypad
5:35
Просмотров 43 тыс.
Arduino Lesson 4 - Solenoid control using a Transistor
10:16
How to Make Fingerprint Door Lock | Arduino Project
4:22
Symmetrical face⁉️🤔 #beauty
00:15
Просмотров 4,5 млн