Hi, friends. I came to this idea of controlling a door latch/lock remotely using a smartphone when I saw many people many times forget to carry latch/lock keys when they leave the house for a short trip, or the door gets latched accidentally while casually talking to neighbors, etc. In such cases, there remains no option but to break the lock.
Also, sometimes you are inside your bedroom and want to unlock latch when a family member arrives at the door, then you can unlock it sitting in the room itself.
This project is simple to make and can save your lock. Let’s start to make it.
Wiring
Follow the schematic below to connect the components.
You will need a power adapter to power on the system. I had used a locally available 5V DC power adapter.
As shown in the picture, you can fix the servo motor at an appropriate distance from latch and tie the moving part of the latch to the servo motor shaft. This will require customization because you may have a different latch than what I have. The goal is when the motor shaft moves the latch should be driven in unlock position. Please watch the video so you get an fair idea of it.
Whats Up Arduino” App
Once you are ready with the hardware, upload the Arduino code/sketch onto the Arduino board using IDE. Now download the free Android app, “Whats Up Arduino,” available through Google Play on your smartphone.
We will be using this app to control the lock via Bluetooth. This app is good to control or test the Arduino board remotely. It has a user interface of instant messaging or chatting apps like “Whatsapp”. It feels like you are chatting with your Arduino bot. It has many functions/commands used by Arduino and is also a good learning tool for Arduino.
I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish.ACCEPTCheck Privacy Policy
Manage consent
Privacy Overview
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.