Smartphone Controlled Door Locking System

by theSTEMpedia in Circuits > Arduino

2856 Views, 14 Favorites, 0 Comments

Smartphone Controlled Door Locking System

P1099653.JPG
Connect.jpg

Don’t lie when we say that all of us at some point in time feel way too tired or lazy to get up and go from room to another just to open the door. Y’all have been there. For sure. Some of you may also have been the victim of a sibling rivalry where one locks the other inside or outisde the room. But guess what! None of this happens anymore, mate! Here’s something that is going to turn the tables in your favour! Presenting you the *drum roll* Dabble Controlled Door Lock - a smart lock that can be controlled using Dabble, our ingeniously developed project-making application. Some jumper cables, a servo, your buddy-in-need evive, and a dash DIYing skills is what you need to make this project and soon control shall be in your hands! *wicked laugh*

So, what are you waiting for?! Get on board!

Things You'll Need

Hardware

  • evive
  • Bluetooth Module HC05
  • Metal Servo
  • Glue Gun

Software

Making of the Lock

P1099600.JPG
P1099599.JPG
P1099625.JPG

All the components that we need to make a locking system are made up using 3D Printing Technology.

Take the latch and the latch holder.

Insert the latch into the latch into the holder.

The Opening and the Closing Mechanism

P1099597.JPG
P1099630 (1).JPG
P1099602.JPG
P1099632 (1).JPG

We are using the Metal Servo for the same purpose.

Take the servo and insert it into the space given in the latch holder and fix it using Hot Glue.

You will notice the free servo head. Upon this, we will be fixing our Gear.

Make sure the teeth of the gear matches the ones on the latch.

Connection

terminal_locker_bb.png
P1099640.JPG

Connect the Metal Servo to the Servo Channel 1 i.e. S1 of evive.

Connect the Bluetooth Module as shown in the figure.

The Working

Home_Connected.png
Terminal (1).png
Terminal_access denied.png

Normally break-in occurs because the intruder breaks the lock which is on the front door. If the lock would be on the back of the door, possibilities of break-in reduce.

Now, if the door is locked from inside, how are we going to open. Guess what? You have your Smartphone which will be able to do it.

The Dabble app helps us to do that.

Open the app and connect your Bluetooth Module. Choose the option of Terminal.

Here you can either give commands by typing it or voice command.

Once you send 'open the door', evive asks for the password.

The password should already be set by you in the code.

If the password entered by you is Correct, the door opens. But for a short duration of time.

If the password entered is wrong, the door will remain closed.

Code

The following Arduino Code should be uploaded to perform the required action.

Conclusion

With this, you once an ordinary door is now going to be a smart one! Psst! We have something really exciting to tell you before you leave. We’re going to launch an amazing STEM product this month that is going to make electronics, programming, and robotics child’s play! Head over here to know more about it and perhaps even reserve one for yourself as well to get some super special perks!