Introduction:
When it comes to home security, having a robust and customizable door lock system is essential. In this comprehensive guide, we will walk you through the step-by-step process of building an Arduino-based door lock system that incorporates a solenoid, LCD display, and 8x8 keypad. By the end, you'll have a sophisticated door lock that provides advanced security features and convenient access control.
Note : Sometimes it may be hard to visualise the content discussed here.so we highly recommend you to watch the Youtube video to get full understanding.
Arduino door lock in Tamil -
Arduino door lock in English -
Materials Needed:
To get started, gather the following materials:- Arduino Nano Click here to buy
- Zero PCB board Click here to buy
- Solenoid lock Click here to buy
- Buck boost converter ( XL6009 DC- DC Adjustable Step UP Boost Power Converter Module ) Click here to buy
- Soldering kit Click here to buy
- Relay module Click here to buy
- LCD display module ( 16x2 ) Click here to buy
- 8x8 matrix keypad Click here to buy
- Wires Click here to buy
- Push-button switch (for manual control) Click here to buy
- 12V DC Female Jack Click here to buy
- 12V power supply Click here to buy
Note: The above link are just a reference to buy. Choosing a local shop may cost you much less.
Step 1: Understanding the Arduino Door Lock System:
The Arduino door lock system we'll build combines a solenoid lock, LCD display, and 8x8 keypad. The solenoid lock physically secures the door, while the LCD display provides feedback and instructions. The 8x8 keypad enables secure access control by allowing users to enter codes or passwords. The Arduino door lock has an option to change the password if needed.Step 2: Setting up the Circuit:
The circuit design is divided into 4 stages, in order to check if the circuit is working properly or not.This allows us to find the problem in the early stage and fix it before moving further.
Stage 1:
In this stage the base of the project, LCD, Keypad and relay are fixed as per the circuit diagram.On finishing the circuit we can check if the circuit is working by uploading the code to the Arduino.
Programming the Arduino:
- Install the Arduino IDE on your computer if you haven't already.
- Connect the Arduino board to your computer using the USB cable.
- Open the Arduino IDE and download the following code and libraries from the git hub repository.6
Git hub link - Arduino Github code
- Now verify and upload the code to the Arduino board by choosing the correct board and port.Once uploaded then check if the LCD lights up and ask's to enter the password.
Type a default password "0000"and press the key "D" of the keypad to enter.If you need to change the password press the key "B" to change password. and finally the key "A" to clear the text you entered.
Check if the Door lock verifies your password and turns on the relay.Make sure all the keys of the keypad works properly.If not check the circuit again.
Stage 2:
On Successful working of the circuit we can move to the power supply section. The Arduino nano here we are using need a voltage of 5V whereas the Solenoid door lock requires the voltage of 12V. So the 12V from the power supply should be reduced to 5V through the buck boost converter.You can ask why to reduce to 5V when the Vin pin of the Arduino can support 12V, its because using a common power supply for Arduino and the Solenoid might damage the whole circuit due to the voltage spike created buy the Solenoid lock during operation thus adding a buck boost converter isolates the Arduino from the solenoid.Join the buck boost converter as shown in the circuit diagram.Before actually connecting the power supply to the Arduino adjust the potentiometer of the buck boost converter such that the Output is 5V with the Input supply of 12V.
Once the power supply is set up then we can test the working by adding the Solenoid as shown in the circuit diagram shown below.In addition to the Solenoid a limit switch is added to the circuit which is used to turn on or off the total circuit.A limit switch is placed such that the door over the circuit is pressed against the switch when closed and the circuit becomes open.
The push button connected to the relay is used to trigger the door lock from the inside of the door.
Step 4: Mounting the Solenoid Lock:
- Choose a suitable location on the door to install the solenoid lock, aligning it with the door's locking mechanism.
- Use a screwdriver and screws to mount the solenoid lock securely.
Step 5: Testing and Final Adjustments:
- Power the Arduino board using the 12V power supply.
- Test the functionality of the door lock by entering codes on the keypad or using the push-button switch.
- Verify that the solenoid lock correctly locks and unlocks the door.
- Ensure that the LCD display provides accurate feedback and instructions.
Conclusion:
Congratulations! By following this detailed guide, you have successfully built an Arduino door lock system with a solenoid, LCD display, and 8x8 keypad. This advanced system provides enhanced security and convenient access control for your home. Remember to regularly update and strengthen the security features to stay ahead of potential threats. Enjoy the peace of mind that comes with your customized Arduino door lock system. Stay safe!Feel free to reach us if you got struck anywhere while doing this project and if you like this content share you opinion in the comment section and give us a subscribe to our youtube channel.
Stay creative...Good bye...
Comments
Post a Comment