Тёмный

How to make password Door lock Keypad 4x3 using Arduino Uno 

Modern Electronics
Подписаться 2,1 тыс.
Просмотров 18 тыс.
50% 1

Hi guys his is a simple Arduino project. In this video, you can learn how to make a simple password-based door lock system using Arduino, Solenoid lock, and 3*4 matrix keypad. It is a very useful project for school and college projects.
This video will show you how can control your door’s lock by using Arduino at home.
Part of list:
1. Arduino uno
2. 12volt Solenoid lock
3. Relay 5 volt
4. Battery 12volt
5. Jumper wire
6. Keypad 4x3
This is code:
drive.google.c...

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

 

18 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 84   
@boxoflazuardi9421
@boxoflazuardi9421 Год назад
Thank you for the code, it's very useful.
@technologi-electronic
@technologi-electronic Год назад
Okay thank you sir for your support to me
@giogalanto1561
@giogalanto1561 6 дней назад
Can u make video while doing wirings
@viancamanalo8698
@viancamanalo8698 2 года назад
do u have a schematic design in proteus?
@davidmorris9916
@davidmorris9916 8 месяцев назад
Can you please help me with the code. I did a similar project but adding a function to help me change the password manually is my problem.
@technologi-electronic
@technologi-electronic 8 месяцев назад
If you want to change the password, follow my video
@technologi-electronic
@technologi-electronic 8 месяцев назад
This is the code: drive.google.com/file/d/1XzOrQlcDAsehIP7eGtkASoLLlzDz_ab-/view
@PatnaikUC
@PatnaikUC 2 года назад
Will it work with changed password once it is switched off and on again? If answer is no then it is not for practical use.
@technologi-electronic
@technologi-electronic 2 года назад
Yes, this code has its drawbacks, as long as we change the new password we off-on again enter new password not must enter old password
@dishantparigoswami3970
@dishantparigoswami3970 Год назад
Can you help in this types of problem, bcoz i'm also finding solution which is mentioned by you. If your answer is yes then please reply me
@PatnaikUC
@PatnaikUC Год назад
@@dishantparigoswami3970 Yes. I have found the solution. The password is retained even after an on-off-on. Follow this--- We have used inbuilt arduino’s EEPROM to save password, so when we run this circuit first time program read a garbage data from inbuilt arduino’s EEPROM and compare it with input password and give a message on LCD that is Access Denied because password does not match. For solving this problem we need to set a default password for the first time by using programming given below: for(int j=0;j
@dishantparigoswami3970
@dishantparigoswami3970 Год назад
When ever power cut or loss happen then your old password is reset and new password is not valid. How to solve this type problem????
@technologi-electronic
@technologi-electronic Год назад
There is a way to fix it in the code
@technologi-electronic
@technologi-electronic Год назад
Change the password in the code
@dohatouil5787
@dohatouil5787 2 года назад
Heyyyy can you help me nooow Im in a super hurry the code of arduino in the link can't work
@technologi-electronic
@technologi-electronic 2 года назад
this is code; #include #include #include #include LiquidCrystal_I2C lcd(0x27, 16, 2); char password[5]; char initial_password[4],new_password[4]; int vcc=11; int i=0; int relay_pin = 5; char key_pressed=0; const byte rows = 4; const byte columns = 3; char hexaKeys[rows][columns] = { {'1', '2', '3'}, {'4', '5', '6'}, {'7', '8', '9'}, {'*', '0', '#'} }; byte row_pins[rows]={10,11,12,13}; byte column_pins[columns]={7,8,9}; Keypad keypad_key=Keypad( makeKeymap(hexaKeys),row_pins,column_pins,rows,columns); void setup(){ lcd.backlight(); lcd.init(); pinMode(relay_pin, OUTPUT); pinMode(vcc, OUTPUT); lcd.clear(); lcd.setCursor(0,0); lcd.print(" The door has a "); lcd.setCursor(4,1); lcd.print("Password "); delay(5000); lcd.clear(); lcd.print("Enter Password"); lcd.setCursor(0,1); initialpassword(); } void loop(){ digitalWrite(relay_pin,HIGH); key_pressed = keypad_key.getKey(); if(key_pressed=='#') change(); if (key_pressed) { password[i++]=key_pressed; lcd.print(key_pressed); } if(i==4) { delay(200); for(int j=0;j
@EsakkiRaja-q9r
@EsakkiRaja-q9r Месяц назад
Circuit diagram for this project
@technologi-electronic
@technologi-electronic Месяц назад
@@EsakkiRaja-q9r drive.google.com/file/d/1XzOrQlcDAsehIP7eGtkASoLLlzDz_ab-/view
@emmanestepa6383
@emmanestepa6383 Год назад
Can i have the picture of schematic diagram?
@sperkybyhs2871
@sperkybyhs2871 Год назад
Circuit diagram of this project please
@technologi-electronic
@technologi-electronic Год назад
Yes
@jericocastillo2169
@jericocastillo2169 Год назад
Would this code work if my Arduino is outdated
@Mradi471
@Mradi471 Год назад
Does I have to connect laptop to work this lock?
@Mradi471
@Mradi471 Год назад
Answer me please!!!😥
@technologi-electronic
@technologi-electronic Год назад
Yes You must connect laptop
@Mradi471
@Mradi471 Год назад
What if I don't connect to laptop?
@technologi-electronic
@technologi-electronic Год назад
@@Mradi471 Use mobile phone download app play.google.com/store/apps/details?id=name.antonsmirnov.android.arduinodroid2&pcampaignid=web_share
@subiagaricadela.6746
@subiagaricadela.6746 3 месяца назад
Can you help me? Can you send me the code of this?
@uaitopofficial5131
@uaitopofficial5131 2 года назад
How to open the door in side?
@technologi-electronic
@technologi-electronic 2 года назад
Use Switch
@nurdaniahumaira4595
@nurdaniahumaira4595 2 года назад
@@technologi-electronic where is the swith
@technologi-electronic
@technologi-electronic 2 года назад
@@nurdaniahumaira4595 this is the clip I still install the switch
@tolentinoryanrico7360
@tolentinoryanrico7360 2 года назад
Using tinkercad po ?
@technologi-electronic
@technologi-electronic 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CAMi5jHWURA.html
@victoroladele5683
@victoroladele5683 2 года назад
Bro please can u help me with the code
@technologi-electronic
@technologi-electronic 2 года назад
Yes I will share the code to you
@dadzieegyir6185
@dadzieegyir6185 2 года назад
please can you help with the code?
@technologi-electronic
@technologi-electronic 2 года назад
Yes I will share the code to you
@technologi-electronic
@technologi-electronic 2 года назад
#include char* password = "1234"; // change the password here, just pick any 4 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); } }
@syedaizuddin5991
@syedaizuddin5991 Год назад
@@technologi-electronic why it's shorter than what you have showed in the vid?
@TinYadanarKyaw-s9r
@TinYadanarKyaw-s9r Год назад
Can I get code?
@technologi-electronic
@technologi-electronic Год назад
drive.google.com/file/d/1XzOrQlcDAsehIP7eGtkASoLLlzDz_ab-/view
@gaganhc3855
@gaganhc3855 Год назад
CODE PLEASE
@technologi-electronic
@technologi-electronic Год назад
This is the code: drive.google.com/file/d/199YH07l7tvs7dmJV-eitkI7bJ2A17WIa/view
@dqlamm
@dqlamm Год назад
@@technologi-electronic in this code, we can not initialize the password, the pw are always wrong :(
@technologi-electronic
@technologi-electronic Год назад
@@dqlamm Check the connection between the Keypad and the Arduino correctly. Many people connect the Keypad incorrectly, which makes us enter the code incorrectly.
@mohammedfaduruden302
@mohammedfaduruden302 2 года назад
Bro i have RFID RC522 bro But RFID is not reading the code bro
@technologi-electronic
@technologi-electronic 2 года назад
Yes I will upload Video use RFID RC522 and code
@technologi-electronic
@technologi-electronic 2 года назад
ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CAMi5jHWURA.html
@johndanielespino4561
@johndanielespino4561 Год назад
The name of the library?
@jericocastillo2169
@jericocastillo2169 Год назад
Im tryna find it to
@jericocastillo2169
@jericocastillo2169 Год назад
Please reply
@mohammedfaduruden302
@mohammedfaduruden302 2 года назад
Bro code
@technologi-electronic
@technologi-electronic 2 года назад
Yes I will share the code to you
@mohammedfaduruden302
@mohammedfaduruden302 2 года назад
Thank bro
@technologi-electronic
@technologi-electronic 2 года назад
@@mohammedfaduruden302 This is code: #include #include #include #include LiquidCrystal_I2C lcd(0x27, 16, 2); char password[5]; char initial_password[4],new_password[4]; int vcc=11; int i=0; int relay_pin = 5; char key_pressed=0; const byte rows = 4; const byte columns = 3; char hexaKeys[rows][columns] = { {'1', '2', '3'}, {'4', '5', '6'}, {'7', '8', '9'}, {'*', '0', '#'} }; byte row_pins[rows]={10,11,12,13}; byte column_pins[columns]={7,8,9}; Keypad keypad_key=Keypad( makeKeymap(hexaKeys),row_pins,column_pins,rows,columns); void setup(){ lcd.backlight(); lcd.init(); pinMode(relay_pin, OUTPUT); pinMode(vcc, OUTPUT); lcd.clear(); lcd.setCursor(0,0); lcd.print(" The door has a "); lcd.setCursor(4,1); lcd.print("Password "); delay(5000); lcd.clear(); lcd.print("Enter Password"); lcd.setCursor(0,1); initialpassword(); } void loop(){ digitalWrite(relay_pin,HIGH); key_pressed = keypad_key.getKey(); if(key_pressed=='#') change(); if (key_pressed) { password[i++]=key_pressed; lcd.print(key_pressed); } if(i==4) { delay(200); for(int j=0;j
@technologi-electronic
@technologi-electronic 2 года назад
@UNKNOWN ROBO GAMING Are you have Computer Copy in Computer
@technologi-electronic
@technologi-electronic 2 года назад
@UNKNOWN ROBO GAMING Enter your gmail I will share the code to you
@muhammadrifaie296
@muhammadrifaie296 10 месяцев назад
bro please help
@muhammadrifaie296
@muhammadrifaie296 10 месяцев назад
i using password 1234 but not working
@muhammadrifaie296
@muhammadrifaie296 10 месяцев назад
Wrong password
@technologi-electronic
@technologi-electronic 10 месяцев назад
You connected the keypad to the Arduino incorrectly
@muhammadrifaie296
@muhammadrifaie296 10 месяцев назад
@@technologi-electronic i using esp32,can this code working for esp32??
@technologi-electronic
@technologi-electronic 10 месяцев назад
@@muhammadrifaie296 not work
@nuraqillahbintimohdali616
@nuraqillahbintimohdali616 2 года назад
hai. can i get the coding ?
@jdbmatjohn
@jdbmatjohn 2 года назад
bro can u help me..urgent... how can i contact you.. i really need your help
@technologi-electronic
@technologi-electronic 2 года назад
Facebook
@technologi-electronic
@technologi-electronic 2 года назад
facebook.com/maikhamxiog.khangtee
@chithraisakiraja5696
@chithraisakiraja5696 11 месяцев назад
Circuit diagram for this project
@technologi-electronic
@technologi-electronic 11 месяцев назад
Ok conect my Gmail : maikhamxiong1234@gmail.com
@chithraisakiraja5696
@chithraisakiraja5696 11 месяцев назад
Please send
@chithraisakiraja5696
@chithraisakiraja5696 11 месяцев назад
Hello please send me the circuit diagram for this project
@technologi-electronic
@technologi-electronic 11 месяцев назад
@@chithraisakiraja5696 please inter your Gmail here I will send to you
@giogalanto1561
@giogalanto1561 6 дней назад
Can u send the circuit diagram?
Далее
Arduino Door Lock using I2C LCD and  Keypad
5:35
Просмотров 44 тыс.
Using Keypads with Arduino - Build an Electronic Lock
28:17
How to Make Password Door Lock | Arduino Project
3:12
Просмотров 528 тыс.
RFID and Password based door lock system| Smart Lock
6:21
Arduino Based RFID Door Lock  - Make Your Own
6:59
Просмотров 333 тыс.