Smart door lock 🔒🚪 Arduino door locking system
HTML-код
- Опубликовано: 19 авг 2024
- Smart door lock 🔒🚪 Arduino door locking system #arduino #automation #smart_lock
Smart door lock 2022.
Smart door lock arduino. Smart door lock project.
Best smart door lock.
Smart door lock using arduino.
Smart door lock using password.
Smart door lock keypad.
smart door lock using arduino.
Smart door lock using password.
Arduino password door lock.
Arduino based password door lock system.
Keypad arduino.
4x4 matrix keypad arduino.
Nice yar I am learning c so I can understand some of these codes.
So much hard work.
Excellent ! How could you use the smartphone to add more acces codes ?
Could you please make a tutorial on this? I got these exact components but I’m not sure how to make a door lock
How did the Servo motor produce that much force for pulling the bolt? Is the bolt a smooth one?
Awesome project btw🎉
Bro full code and circuit diagram plzz
bro circuit diagram?
Bhai ye keypad door ke us taraf hona tahiye aise to manually bhi khul jayega
This is just an Arduino project. I have made this for practicing Arduino.
Circuit diagram bro
Can anyone send code of this , my sister has to submit project in her college 😢
Bro cost entha
Price kia hai is ki??
what is the battery capacity needed??
9 volt for uno and mega but I think for pico and mini 5 volt is enough
aise to hum ise manually bhi khol sakte hai🤔❓
I have made this only for practicing robotics. This is not real life solution.
@@experiment_lab_bd okk sir
Video on project please
can you use 9v battery on that?
Yes
Itni manual power code ko press karnai mai hoti ...itni hi iss chitkani ko left sai ,right karnai mai😂😂😂😂😂😂😂😂😂😂😂😂😂😅😅😅😎😎😎😎😎😎😎
Are brother ye collage project ke liye hai nothing else
What is its durability?
Ye pcb chahiye mil jaega
Which motor is that?
servo motor
bhai iske project dairy hai ky
Which board is this?
Arduino uno
Code??
Work out
Code plss?
#include
#include
Servo ServoMotor;
char* password = "1234"; // 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] = { 8, 7, 6, 9 };
byte colPins[COLS] = { 5, 4, 3, 2 };
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
int RedpinLock = 12;
int GreenpinUnlock = 13;
void setup()
{
ServoMotor.attach(11);
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(RedpinLock, HIGH);
digitalWrite(GreenpinUnlock, LOW);
ServoMotor.write(11);
}
else
{
digitalWrite(RedpinLock, LOW);
digitalWrite(GreenpinUnlock, HIGH);
ServoMotor.write(150);
}
}
Code?
#include
#include
Servo ServoMotor;
char* password = "1234"; // 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] = { 8, 7, 6, 9 };
byte colPins[COLS] = { 5, 4, 3, 2 };
Keypad keypad = Keypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS );
int RedpinLock = 12;
int GreenpinUnlock = 13;
void setup()
{
ServoMotor.attach(11);
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(RedpinLock, HIGH);
digitalWrite(GreenpinUnlock, LOW);
ServoMotor.write(11);
}
else
{
digitalWrite(RedpinLock, LOW);
digitalWrite(GreenpinUnlock, HIGH);
ServoMotor.write(150);
}
}