Thanks to everyone who supported this project and voted for it in the Arduino Challenge! I was awarded second prize and hope to participate in more Arduino contests in the near future.

This tutorial will explain a simple way to make a password protected bluetooth door lock using your Arduino, which can be unlocked by sending a four digit pin from your Android phone!  The hardware setup is quite simple,  and the programming side of it is a bit tricky, but should be no problem for any Arduino ameuture.

Step 1: Parts Needed

1. Arduino (I am using the Duemilanove)

2. Electric Door Strike

3. Bluetooth Module ($9.99)

4. Power Supply (Required voltage and amperage differs among different door strikes/locks)

5. TIP120 Transistor

6. 1N4001 Diode

7. Hookup Wire

8. Solderless Breadboard

9. An Android phone (optional, considering that there are lots of devices you could use to send serial data to our bluetooth modem including Iphones, computers, and other Bluetooth devices)
<p>i took this for gratuation project, so can i get the schematic diagram of this</p><p>please i am patient, contact me dugle888@gmail.com</p>
<p>i wanted to change to arduino uno is that's possible</p>
<p>i want to like this but im using gsm module not bluethooth module..so i need coding for gsm module </p>
<p>i have made this project . all is fine . but the issue is my door lock is not working . connections are perfect accordingly , code is running, but only lock is not working accordingly ,. here are the screen shots off all the progress . plz guide me through why my lock is not working?</p>
<p>Hello guys. I made it as a part of my graduation project. I am building android application too.The logic of the circuit in pics is %98 same with this one. My android application is ready too. I will upload it in few weeks.Images are HD. You can see the circuit clearly. Thanks Collin Amedee. But I changed Arduino code to this one in the link : http://english.cxem.net/arduino/arduino5.php</p>
<p>HI Sabri. can you post the making video of the entire setup. i am trying to do the same project but i dont know where I went wrong. please help me</p>
<p>Hello SabriM.</p><p>I would like to ask about the output device..can i use electromagnetic door lock instead of electric door strike??</p>
<p>Hello IZwadieA,</p><p>I just control electric from code. There are two controls about it. Deactive electric from door lock to lock and activate the electric to activate door lock. If your device support this of cource you can.</p>
<p>SabriM can you send be the full input and output of this? thanks kennent_rod@yahoo.com</p>
<p>Hi,</p><p>check the video below Mary.</p>
<p>Hi SabriM,</p><p>It really work now.I have complete the connection.Thank you very much for your advice I really appreciate it.By the way,is it possible to trace someone that using the same bluetooth connection like checking the history of user??</p>
<p>hello IZwadieA,</p><p>I didn't make that log system. There is no database in my application. But if you wish sure you can add log system in your android application.</p>
<p>can u give me the operation for this circuit ?</p>
Hello SabriM,<br><br>I very much appreciate you building onto this project, and especially answering questions whilst I have been inactive over the past several months! I do hope that you received a good grade on your project! <br><br>Thanks, and good luck!
<p>Thanks Collin Amedee :)</p><p>Expecting a lot of instructions from you.</p>
<p>can i use Arduino Uno R3?</p>
<p>Sure you can. Its a simple hardwire connection. </p>
<p>Hi is this possible to use WIFI + bluetooth to unlock the multiple door ? and if yes what changes ive to made??</p>
<p>Hi HaziqS,</p><p>Sure you can. But you just need to use multiple cable to connect all of them into one source.</p>
<p>ok !! but how i mean ho ill connect bluetooth aswell as wifi cux for serialized communicate it jus have one RX and TX</p>
hi sir sabri, hmm i m interested with this project,may i see ur full circuit,n ur android apk for control the lock .. pls mail me wellsinclair@gmail.com
<p>Hi the circuit is just above and developed from this project.</p><p>You can download the app from the link below in Play Store : </p><p><a href="https://play.google.com/store/apps/details?id=sabrimevis.com.graduate.remotedoorcontrol" rel="nofollow">https://play.google.com/store/apps/details?id=sabr...</a></p><p>And Dowload Arduino code from : </p><p><a href="https://www.dropbox.com/s/a82sect5ng11nqf/control.ino?dl=0" rel="nofollow">https://www.dropbox.com/s/a82sect5ng11nqf/control....</a></p>
<p>hi i'd like to ask about the bluetooth modules. if i'm using different modules, will the codes changes too? if so, which one is likely to be changed, the Arduino or the one in phone? thanks</p>
<p>No I don't think that will change anything. I used HC 06 but you can use HC 05 too.</p>
<p>even though I use this? : <a href="http://dx.com/p/jy-mcu-arduino-bluetooth-wireless-serial-port-module-104299" rel="nofollow">JY-MCU Arduino Bluetooth Wireless Serial Port Module</a></p>
<p>The code is not about Bluetooth module. It doesn't effect it. You can use it. Differences between Bluetooth modules is about their security.</p>
hi . i want to add this project to my graduation project &quot;advanced easy home security systems&quot;<br>so can u please send me all the details of this project to this email seda4unit@gmail.com
<p>This is the link of my Term project : Language is Turkish but you can get some details from video. I will try to add English subtitle.</p><p><iframe allowfullscreen="" frameborder="0" height="281" src="//www.youtube.com/embed/-ZbRoJtwUy0" width="500"></iframe></p>
can use arduino uno instead of duemilanove?
<p>Great job! Would it be possible to show a more detailed birds-eye view of the breadboard layout? Thanks!</p>
Respected sir,<br>I wan a circuit of that. Plzzz<br>Resply as soon as possible<br>
<p>Hey SAbri! you're project work is awesome dude! Keep the good work doing... </p><p>I Need your Help! I am unable to find Electric Door Strike.</p><p> I would <br>like to know instead of Electric Door Strike what can I use as an <br>alternative... So, Please kindly let me know as soon as possible.</p><p>Can I make a circuit using solenoid? </p><p>Thanks in advance.</p>
<p>Hello! Friend! Need Help! I am unable to find Electric Door Strike.</p><p> I would like to know instead of Electric Door Strike what can I use as an alternative... So, Please kindly let me know as soon as possible.</p><p>Thanks in advance.</p><p>Regards,</p><p>Mohammad Shakeel Ahmed.</p><p>Research Engineer, Avenir Labs.</p>
<p>Please contact me at ersaurabh101@gmail.com or 9216142737 , I need to discuss a paid project with you, regarding the above sample project.</p>
I want to make it in a different way.please anybody suggest me,when i come back in my room, it is self unlock the door lock, use arduino &amp; hc 05,my buetooth run at command mode ,at first collect the last pair buletooth mac and it is compair with +inq mac address ,if my phone mac is available then unlock the door automaticly .
can u spesify the lock name please
<p>Hi,any one give circuit diagram for this project</p>
<p>appreciable work for beginners</p>
<p>can i ask ? i want to make the same concept about this experiment for my project in school, but i want to use servo motor and a normal door lock instead of electric door lock because I cannot afford it ? it will work right? pls answer ASAP :)</p>
<p>Can you please post the schematic, i am having a hard time figuring out connections through a photo. Thx</p>
<p>Hi. I have an HC 05 bluetooth shield instead of just the HC05 itself. I followed the steps exactly except I just mounted the bluetooth shield onto the arduino uno rather than manually connecting them pin-to-pin. Also, I altered the code according to the logci of my project, which is a simple on/off motor control. It doesnt work. Can anyone help me? <br><br>My device can pair with the HC05, but when I send the password via the bluetooth spp, the motor doesn't turn on.</p>
<p>Here's the modified code</p><p>int motor = 9; //pin 9 on Arduino</p><p>char final[4]; //Characters the Arduino will receive</p><p>char correct[4] = {'Q','W','E','R'}; //User-Defined Password</p><p>int pass_correct = 0; //Does Password match, 0=false 1=true</p><p>void setup() {</p><p> pinMode(motor, OUTPUT);</p><p> Serial.begin(9600);</p><p>}</p><p>void loop() {</p><p> while(Serial.available()){</p><p> for(int i=0; i&lt;4; i++){</p><p> final[i] = Serial.read();</p><p> }</p><p> for(int i=0; i&lt;4; i++){</p><p> if(final[i]==correct[i]){</p><p> pass_correct = 1;</p><p> }</p><p> else{</p><p> pass_correct = 0;</p><p> break;</p><p> }</p><p> }</p><p> }</p><p> if(pass_correct==1){</p><p> digitalWrite(motor, HIGH);</p><p> Serial.println(&quot;motor is on&quot;);</p><p> delay(4000);</p><p> pass_correct = 0;</p><p> }</p><p> else{</p><p> digitalWrite(motor, LOW);</p><p> }</p><p>}</p>
<p>Are there any Bluetooth SSP applications that can be installed and used for an iPhone? Or is the iPhone not compatable?</p>
<p>Hi is this possible to use WIFI + bluetooth to unlock the multiple door ? and if yes what changes ive to made??</p>
<p>I had success creating the project by following the steps. I was wondering though... Is there anyway to state the wrong password was entered to let the user know they need to try again?</p>
<p>how to insert the code what software is to be use??</p>
<p>what software please?</p>

About This Instructable




Bio: I live to learn
More by Collin Amedee:Easy Bluetooth Enabled Door Lock With Arduino + Android Universal Power Supply For Arduino + Breadboard 
Add instructable to: