Skip to main content

Building an Smart Arduino Door Lock: DIY Home Security System with Step-by-Step Guide.


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:

  1. Arduino Nano Click here to buy
  2. Zero PCB board Click here to buy
  3. Solenoid lock Click here to buy
  4. Buck boost converter ( XL6009 DC- DC Adjustable Step UP Boost Power Converter Module ) Click here to buy
  5. Soldering kit Click here to buy
  6. Relay module Click here to buy
  7. LCD display module ( 16x2 ) Click here to buy
  8. 8x8 matrix keypad Click here to buy
  9. Wires Click here to buy
  10. Push-button switch (for manual control) Click here to buy
  11. 12V DC Female Jack Click here to buy
  12. 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:

  1. Install the Arduino IDE on your computer if you haven't already.
  2. Connect the Arduino board to your computer using the USB cable.
  3. Open the Arduino IDE and download the following code and libraries from the git hub repository.6
Git hub link - Arduino Github code

  1. 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.

 



Final Circuit


Step 4: Mounting the Solenoid Lock:

  1. Choose a suitable location on the door to install the solenoid lock, aligning it with the door's locking mechanism.
  2. Use a screwdriver and screws to mount the solenoid lock securely.

Step 5: Testing and Final Adjustments:

  1. Power the Arduino board using the 12V power supply.
  2. Test the functionality of the door lock by entering codes on the keypad or using the push-button switch.
  3. Verify that the solenoid lock correctly locks and unlocks the door.
  4. 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

Popular posts from this blog

How to make transmitter for drone easily upto 1km range

How to make Transmitter for drone. Step by step  Drones are the most fascinating thing nowadays, that's too with lots of features like machine learning, GPS etc.  So isn't it the right time to make one for us ? Welcome to my blog and Let's build our transmitter for this drone with nrf24l01 module Step 1:  Grab all the components before starting this project, to help you we have given  the link for all components buy there to support us ;) 1. Nrf24l01 module ×2  Click to Buy ! 2. Atmega328p / Arduino nano×1 Click to buy here!        3. PCB board  ×1   Click here to buy! 4. Joystick module ×2  Click here to buy 5. Led ×1 6. OLED display ×1  Click here buy! 7. Battery ×1  Click here to buy! 8. Soldering iron  Click here to buy ! 9. Header pins  Click here to buy! Step 2:              If all the components are in your table ,then its the perfect time to start the project. Now lets get to know much deeper about each component. 1.Nrf2401 module:                     The nRF24L01+

Robotic arm with coding and physics explanation

Presently, the robotic arms are used in various industrial applications like fixing of parts and assembling of the motherboards etc. which seeks the human power power in large scale but are done easily by these robots with certain range of higher accuracy. DIY Robotic Arm Here, we are going to see how to make a "DIY Robotic Arm",  which is the miniature size of the industrial robotic arm in a completely working state along with the coding written in  Arduino software. Few months back I was trying a simple robotic arm. But practically working is not posible.It's effeciency is only 53% Now we are going to see a fully completed Robotic arm with 17 stepper motor Come!! let's see how the robotic arm is working Buy the components at better price from here👇👇 1. Arduino nano-   Clicl here to buy ! 2. a4988 motor drive -  Click here to buy! 3. mini stepper motor  Click here to buy! 4. 12v power supply -  Click here to buy! 5. Servo motor  Click here to buy! 6. Bluetoot

How to make water level indicator with Arduino and Smart phone || Science projects for school and College

 Welcome Warriors!! yes Warriors ,because all worriors don't fight    but some SAVE NATURE!! In Today's blog we are going to make a smart water level indicatort save ground water from unnecessary overflow. Now let's get Started........ Step 1:     * First grab all the component required for this project .     Components Required     1. Arduino pro mini  Click here to buy!     2. Ultrasonic sensor  Click here to buy!     3. 3.7 volt battery  Click here to buy!     4. Pcb board  Click here to buy!     5. Header pins  Click here to buy! Step 2:  Connect the ultrasonic sensor and bluetooth with arduino as shown .  Once its completed now its time to upload the code to our pro mini .Connect the pro mini to arduino for uploading the code with the following diagram Code for uploading :  Bluetooth app : Hurrayyyy!!!!! Our Water level indicator is ready .. Place all the components inside a plastic box. And ultrasonic sensor on the top of the water tank.   Now its working fine. For b