How to make Smart Door Lock circuit || Arduino board || Tinkercad
ฝัง
- เผยแพร่เมื่อ 1 ส.ค. 2021
- hi guys in this video i will tech how to make An smart Password Door lock Using Arduino Board With the help of tinkercad software
start learning and make a circuit and keep your Home smart and safe guys
Do not click this link
👇👇
bit.ly/3DPcKB6
(smart door lock Circuit Programming Code)
👇
docs.google.com/document/d/1x...
( Tinkercad link to create a circuit )
👇
www.tinkercad.com/dashboard
components requried is
1 bread board small
2 Ardiuno UNO R3
3 potentiometer
4 LCD Display
5 Micro Servo motor
6 keypad
follow me in social media
INSTAGRAM = bit.ly/3C1h4gf
Facebook = bit.ly/3iczEdx
THANKS FOR WATCHING
Kamlesh Crazy Creative - บันเทิง
this is updated code.. try this and comment me guys
#include
#include
#include
Servo myservo;
LiquidCrystal lcd(A0, A1, A2, A3, A4, A5);
#define Password_Lenght 7 // Give enough room for six chars + NULL char
int pos = 0; // variable to store the servo position
char Data[Password_Lenght]; // 6 is the number of chars it can hold + the null char = 7
char Master[Password_Lenght] = "123456";
byte data_count = 0, master_count = 0;
bool Pass_is_good;
char customKey;
const byte ROWS = 4;
const byte COLS = 3;
char keys[ROWS][COLS] = {
{'1', '2', '3'},
{'4', '5', '6'},
{'7', '8', '9'},
{'*', '0', '#'}
};
bool door = true;
byte rowPins[ROWS] = {1, 2, 3, 4}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {5, 6, 7}; //connect to the column pinouts of the keypad
Keypad customKeypad( makeKeymap(keys), rowPins, colPins, ROWS, COLS); //initialize an instance of class NewKeypad
void setup()
{
myservo.attach(9);
ServoClose();
lcd.begin(16, 2);
lcd.print(" Arduino Door");
lcd.setCursor(0, 1);
lcd.print("--Look project--");
delay(3000);
lcd.clear();
}
void loop()
{
if (door == 0)
{
customKey = customKeypad.getKey();
if (customKey == '#')
{
lcd.clear();
ServoClose();
lcd.print(" Door is close");
delay(3000);
door = 1;
}
}
else Open();
}
void clearData()
{
while (data_count != 0)
{ // This can be used for any array size,
Data[data_count--] = 0; //clear array for new data
}
return;
}
void ServoOpen()
{
for (pos = 180; pos >= 0; pos -= 5) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo.write(pos); // tell servo to go to position in variable 'pos'
delay(15); // waits 15ms for the servo to reach the position
}
}
void ServoClose()
{
for (pos = 0; pos
thank-you Habibi
What's the password?😊
@@Xvr.lf7456 123456
😊😢
@@Xvr.lf7456 The default password is 123456..if you want you can change it
Great job
Appreciate Bro!! Thanks for helping me indirectly to do my IoT projectts
Comment me if you needed any other project Circuit designs. or working projects.
Great dude I just made this recently for my door and it works well.Thanks for sharing 👐
TQ keep supporting me
THANKS A LOT FOR THE VIDEO . THIS WAS HELPFUL......
You're welcome!
Thank you so much
Great mannn!!
thank you keep supporting me
🎉🤩
Tq bro keep supporting me
Bro you said click # to lock but its not working , apart from that every thing is working thank you so much
bro when i am typing the password suppose i type 1 and then when i type 2 the 1 that has been typed before disappears and in place of 1 it shows 2 and so on . how to fix it
bro how to fix?
me to the same thing
How to fix
Did you manage to fix the code?
Really appreciate if you can help. thanks
How did u fix the code
bro, it works but only 1 digit can be feed, what to do ?
i have updated in comment check out
Do I still need to input keypad and crystals even after copying the code on arduino app
i have updated in comment check out
Great video!
please could you post the code?
Yaa sure ..I will update you can check in description
I have updated the description.. now you can check..
THANK YOU keep supporting me🤗
Code gulo dorkar silo
Can we use fingerprint instead of num pad
Yaa sure . But for that code is different
Why they show me in lcd 16×2 that current through backlight led is 23.7 KA, while maximum is 20.0 ma plzz slove my this problem plzz
I think it doesn't matter because the lcd is working
bro can u copy paste your text code here
i have updated the code in description ..you check
\THANK YOU KEEP SUPPORTING ME
what is that shape on the lcd? how to remove it?
adject the potentiometer. it will disappear
It says "compilation terminated.
exit status 1
Keypad.h: No such file or directory
"
Try with updated code. pinned in comment
Sir lcd is not working
increase the potentiometer it will work
Bro this code is not working!!
Its not taking the input in a array...taking one by one.
PLease paste the code what u used in the youtube video..!! Thanks
Try again
@@kamlesh_crazy_creative I was facing the same problem, has to be code
Sir when we are entering password only one number only is visible sir what is the mistake
Use the updated code ..pinned in comments
Bro can you post the code?
Updated
THIS CODE DOES NOT WORK I FIX ONE PROBLEM ANOTHER ONE POP UP.!!!!!!!!
i have updated in comment check out
LCD SCREEN NOT WORKING?
Rotate the potentiometer
Hahaha