How To Make 4 Digit Passcode Door Lock using Arduino
It is an interesting project. I hope youre gon na like this, so without further Ado lets start this video. This video is sponsored by jlc PCB, which is one of the largest PCB Manufacturing Company of China. First, I have created schematic diagram of the project. Then I created PCB layout and then I generated Gerber files and upload them to jlc PCB website. Then I selected all required parameters such as Dimension, quality, color and a few more options. Then I click on save to cart. This will send our project into shopping cart. Then I click on checkout securely and then I add my shipping address and select my desired shipping and payment method. If you havent subscribed to my channel, then do subscribe and dont forget to press the Bell icon. So you can get notifications whenever I upload a new video. These are my other channels. Do subscribe them as well, and you can also follow me on Facebook and Instagram component list circuit diagram. Everything is in the description below Music. Our project has a rotary encoder with a switch by which we can enter the passcode. A four digit, 7 segment module is used to display the code. A relay is used to open and close an electromechanical lock. I have used Arduino Nano for this project. Any other Arduino board can also be used for this project. If you want to buy the components used in this project, you can find the links in the description below.
So this is the circuit diagram of the project. According to the circuit diagram, I have created pcbs and placed all the components onto the PCB. Now lets see the Arduino code for this project. In the code I have used a library for tm1637 7 segment display module before you upload the code. You need to download the library for the seven segment module, so this is the Arduino cord now lets upload this code to Arduino. So this is the full project: Music, Music. The default passcode is one two three four by turning the encoder clockwise or counterclockwise. We can change the first digit of The Code by pressing the button of the encoder. We can change the second digit of the code and by pressing the button again, we can change the next digit after changing the last digit press, the button one more time to enter the code into the system. If the code is correct, the relay will turn on for 2 seconds and then it turn off. If you want to change the passcode press, hold the button and restart the system now enter. The old passcode Music Music now enter the new passcode and your passcode is changed. Music. Thank you, Music, Music, foreign, Music, everything, foreign, Music, Music, so thats it for todays video. I hope you have enjoyed this video for more videos like that stay tuned, and I will see you in the next video Music.