You are on page 1of 6

Department of Electronics and Instrumentation

A
Report
On
Problem Based Learning
(Control System Engineering)

Title-
EASY BLUETOOTH ENABLED DOOR LOCK SYSTEM USING
ARDUINO AND ANDROID

Submitted by- Guided by-


1.Rituparna Das Mr. Jitendra Kumar Ratre

2.Sona Dargad

3. Sneha Malhotra

4.Sakshi Pimplapure

5.Tarni Verma
Abstract
Smart Home is the term commonly used to define a residence that uses a home controller to
integrate the residence's various home automation systems. The most popular home controllers
are those that are connected to a Windows based PC. In our research we presented a part of smart
home technology which using Bluetooth in a mobile device, so it will more easy and efficient to
use. It also based on Android and Arduino platform both of which are free open source software.
In this paper, a system called door locks automation system using Bluetooth-based Android
Smartphone is proposed and prototyped. First the hardware design and software development are
described, then the design of a Bluetooth-based Smartphone application for lock/unlock the door
are presented. The hardware design for door-lock system is the combination of android smart
phone as the task master, Bluetooth module as command agent, Arduino microcontroller as
controller center / data processing center, and solenoid as door lock output. All of the tests
indicate that all goes according to the initial design of this research.

Introduction
Easy Bluetooth enabled door lock with arduino and android is 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.

Components Detail
1. Arduino
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use
hardware and software. It’s intended for artists, designers, hobbyists, and anyone interested in
creating interactive objects or environments.

2. Electric Door Strike


An electric door strike allows doors to remain locked to public access (usually on the exterior
side of the door). However, the door may still be opened quickly and easily from the inside
without the use of a key.

3. BLUETOOTH MODULE
Serial port Bluetooth module is fully qualified Bluetooth V2.0+EDR (Enhanced Data Rate)
3Mbps Modulation with complete 2.4GHz radio transceiver and baseband. It uses CSR Blue core
04-External single chip Bluetooth system with CMOS technology and with AFH(Adaptive
Frequency Hopping Feature). It has the footprint as small as 12.7mmx27mm. Hope it will
simplify your overall design/development cycle.

4. POWER SUPPLY
A power supply unit (PSU) converts mains AC to low-voltage regulated DC power for the
internal components of a computer. Modern personal computers universally use a switched-mode
power supply. Some power supplies have a manual selector for input voltage, while others
automatically adapt to the supply voltage.

5.TRANSISTOR TIP120
Transistors are powerful little electronic switches, and when our little NPN transistors aren't
power enough for your project, we have been known to use these beefy TIP120 Darlington
transistors.

6.1N4001 DIODE
The 1N4001 series is 1.0A general a family of popular purpose silicon rectifier diodes
commonly used in AC adapters for common household appliances. Blocking voltage varies from
50 to 1000 volts.

7. HOOKUP WIRES

To connect components.

8. SOLDERLESS BREADBOARD
A Breadboard Is A Construction Base For Prototying Of Electronics.

9. ANDROID PHONE
ON the app market, you can search for Bluetooth SPP (serial port profile). There are many apps
that have been made to send serial data through Bluetooth on your phone.
Circuit Diagram

Result
The circuit is simulated and implemented successfully.

Coding
int led = 13;
int MAX_CMD_LENGTH = 20;
char cmd[20];
int cmdIndex;
char incomingByte;

void setup()
{
pinMode(led,OUTPUT);
Serial.begin(9600);
cmdIndex = 0;
}
void loop()
{
if (Serial.available()>0)
{
char byteIn = Serial.read();
cmd[cmdIndex] = byteIn;

if(byteIn=='#')
{
//command finished
cmd[cmdIndex] = '#';
cmdIndex = 0;

if(strcmp(cmd,"GREEN#") == 0)
{
digitalWrite(led,HIGH);

}
else
{
digitalWrite(led,LOW);
}

}
else{
if(cmdIndex++ >= MAX_CMD_LENGTH){
cmdIndex = 0;
}
}
Serial.flush();
}

Conclusion
1. It saves time and reduce use of key.
2. It is more secure.
3. Easy to handle.

REFERNCES
 http://www.instructables.com/id/Easy-Bluetooth-Enabled-Door-Lock-With-Arduino-An/?
ALLSTEPS

https://www.arduino.cc/en/Guide/Introduction

You might also like