Introduction: Android / Arduino - BLUETOOTH DOOR LOCK ACCESS CONTROL for Electric Strike Lock

Picture of Android / Arduino - BLUETOOTH DOOR LOCK ACCESS CONTROL for Electric Strike Lock

Hello world! Today i made a APP to Lock & Unlock a electrical door lock using a relay, protected by a password. The app is available open source! Just contact me! contact@arduinosensors.nl. Follow the next step to find the Schematic, Code, parts list & APP. Or get the APP on google PLAY!

Step 1: Schematic, Code, Parts List & APP.

Picture of Schematic, Code, Parts List & APP.

Just wire it up like the schematic, Upload the code and download the APP on GOOGLE PLAY.

Make sure the Bluetooth module is disconnected when uploading the code! Or the arduino will get confused.

Pair devices, then connect device. Fill in the password that you set in the code and Lock or Unlock your door!

Parts List.

  1. Arduino, RobotDyn Uno.
  2. Bluetooth Module HC-06.
  3. KY-019 Relay module.
  4. 2 x led1 x green 1 x red
  5. Jumper wires set MM/FF/MF
  6. Android Phone.

Good luck!

Make sure your HC Module BAUDRATE is set the same as the Arduino.
Check the next step for more info on how to program your Bluetooth MODULE.

Step 2: How to Change the Name of Your HC-06

What is needed?

1 x USB to TTL microcontroller programmer to connect to your HC-06

How to connect the Programmer?

VCC to VCC

GND to GND

RXD to TX

TXD to RX

Lets get started...

  1. connect the USB TTL programmer to the HC-06
  2. Plug in the USB and open up The Arduino IDE
  3. Open the serial monitor.
  4. Type "AT" without quotes. You should see a respond in the Serial monitor saying "OK"
  5. Type "AT+NAMExyz" Sets the module name to “xyz” (Replace xyz with the name you want.) response should be OKsetname.
  6. Type "AT+PIN1234" Sets the pin to 1234 (replace 1234 with your desired pin) respond should be OKsetPIN

For more info on changing baudrate etc. i included a PDF file.

Also check this instructable i made for more info on the HC-05 Master/Slave Module. HC-06 Can only function as a Slave.

https://www.instructables.com/id/HOW-TO-HC-05-Bluetooth-MODULE-AT-Commands-With-But/

Comments

Yunus EmreE (author)2017-10-10

Teşekkürler hersey mükemmel.
Çok başarılı bir paylaşım.

vandenbrande (author)Yunus EmreE2017-10-20

I dont understand turkish my friend.

yudha_arie made it! (author)2017-10-01

good morning

I want to ask, where i can put module doorlock. thanks

yayana1 (author)2016-07-22

good morning sir,

I want to ask, what if I replace the module bloutooth hc 05 , how the step for the Schematic, Code , parts list and APP . thank you

vandenbrande (author)2016-05-29

Follow me for more!

About This Instructable

3,281views

13favorites

License:

Bio: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the ... More »
More by vandenbrande:ARDUINO - SOLID STATE RELAY FAN/ventilator Control Using the W1209 Thermistor and SSR-25 DA Arduino - SSR-25 DA Solid State Relay and DS3231 RTC Automatic Timer Lamp Arduino & C# - RGB LED / LED STRIP CONTROL C# Application
Add instructable to: