• Tidak ada hasil yang ditemukan

SP Key Lock System using Bluetooth-Based Android for Mobile Phone

N/A
N/A
Protected

Academic year: 2024

Membagikan "SP Key Lock System using Bluetooth-Based Android for Mobile Phone"

Copied!
9
0
0

Teks penuh

(1)

20

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

SP Key Lock System using Bluetooth-Based Android for Mobile Phone

Susie Patricia1*, Michael Sillang1

1 Jabatan Kejuruteraan Elektrik, Politeknik Mukah, Malaysia

*Corresponding Author: [email protected]

Accepted: 15 December 2020 | Published: 31 December 2020

_________________________________________________________________________________________

Abstract: This innovation project of SP Key Lock System (using via Bluetooth and android phone) was created to provide security of locker owners. Besides, this project was also inspired to develop technology in this era. Where electronic gadgets become leading in the development of electronics. This project has an application built on a smartphone that is used to give instructions to lock and unlock the locker door. This project describes the smartphones control the unlocking system and the way to develop this system, simply install on the locker and configure it to communicate with the wireless network. By using Android, the application software will be created for smartphones to control the operation of unlocking the locker. The locker locking system also needs to design for more secure which is automatically locked when the magnetic switch closed to each other and this project developed is to help people to control their locker door.

Keywords: android, locker door, smartphones

_________________________________________________________________________

1. Introduction

Locker has become one of the most popular forms of storage in schools, for example, have come a long way in recent years. These days, you’ll find lockers used in more ways than ever before. You’ll even notice that the lockers have changed with some digital locks and there are many different roles and applications these new lockers with keyless locks have taken.

Lockers used to be used primarily for schools and changing rooms, but times are changing.

Now, lockers are being used in all types of applications, from schools and higher institutions to commercial business and more. That’s because now, lockers can do more than ever before.

With digital locks and keyless lockers, and even heavy-duty lockers, there is a perfect storage solution for virtually any application.

This project developed is to help people to control their locker door and it has an application built in a smartphone that is used to give instructions to lock and unlock the locker door. This project describes the smartphones control the unlocking system and the way to develop this system, simply install on the locker and configure it to communicate with the wireless network.

2. Literature Review

The major problems for everyone about the locker are sometimes we forgot to lock the door back or sometimes we did not sure that we lock the locker or not. So, we have to go back to check for sure or leave it and risk losing important stuff. Furthermore, key losing is also the

(2)

21

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Android application has a lot of improvement in terms of its application to allow users to perform daily activities. Some other solutions have been introduced which were based on Bluetooth Technology on Android Mobile devices for door lock security. They were short- ranged i.e. 10-100 meter solutions with a basic android application. (J. Potts & S. Sukittanon, 2012) and (N.H. Ismail et al., 2014)

Thus, this project one of the projects that can solve the problem facing users today. This project aims to design an android application that serves as a switch for accessing the door lock system.

The Smart locker can open and lock the door in real-time and store the history of access activity (Khaoula et al., 2020). Android application will serve to enable the door can be opened by entering a password. The user can control this switch after entering the correct password by using only the Bluetooth connection without WIFI. This project is one of the applications of Bluetooth technology.

Nowadays, people are tired of carrying around the old-fashioned metal key that heavy and bulky. People like to carry things light, simple, and useful. The use of Bluetooth technology in a smartphone today is not just for the transfer of data and files only. The system uses Bluetooth technology with low power and is available on almost all gadgets (Muhammad et al., 2018). With the Bluetooth application, it is much more convenient to open a locker via an application that already builds in smartphone and get inside without getting drenched in the downpour.It also has built with security password needed to unlock the door with this app and triggered to open and the security password it can easily to avoid from strangers. This project is designed to use an inexpensive android phone that connects via Bluetooth to a Bluetooth module and Arduino.

3. Methodology

3.1 System Design

This project used the Arduino Uno, Bluetooth module, servo motor, power supply, and others.

In this system, users do input from existing control applications on the ranking of Android smartphones. The use of standard input (button lock/unlock locker) requires a Bluetooth module. The data entered is serial data which is transmitted to Arduino Uno via Bluetooth.

Data delivered from an android smartphone will be received by the Bluetooth module connected to the Arduino Uno system. The serial data is decoded by Arduino Uno into parallel data. The parallel data generated by the Arduino Uno is passed to the servo. Then the servo will forward the data used to lock or unlock the locker. Here is the activity diagram in Figure 1:

(3)

22

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Figure 1: System design of SP Lock System

3.2 Term Definitions

3.2.1 Arduino Uno

Figure 2 shows the Arduino Uno is a microcontroller board based on the ATmega328. It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, a 16 MHz crystal oscillator, a USB connection, a power jack, an ICSP header, and a reset button. It contains everything needed to support the microcontroller; simply connect it to a computer with a USB cable or power it with an AC-to-DC adapter or battery to get started.

Figure 2: Arduino UNO

3.2.2 Bluetooth Module

Figure 3 shows the Bluetooth module is usually a hardware component that provides a wireless product to work with the computer; or in some cases, the Bluetooth may be an accessory or peripheral, or a wireless headphone.

(4)

23

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Figure 3: Bluetooth Module

3.2.3 Servo Motor

Short for servomechanism or servomotor in Figure 4. A servo (servomechanism) is an electromagnetic device that converts electricity into precisely controlled motion by the use of a negative feedback mechanism. The makeup of a typical servo includes a DC motor, a gear train, a potentiometer, an integrated circuit (IC), and an output shaft.

Figure 4: Servo Motor

3.2.4 Locker

Locker a small lockable closet or compartment, typically as one of a number placed together for public or general use, e.g. in schools, gymnasiums, or train stations. A device that locks something. Figure 5 shows the locker design used in this project.

(5)

24

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Figure 5: Locker design

4. Results

4.1 Hardware Level Planning

The design of hardware ranking is a design or a series of tools used to build prototype lock of locker based Arduino Uno using Android Smartphone, with Bluetooth connection module and servo to open or purge it. Figure 6 shows the schematic diagram for the servo motor module with Arduino Uno connection and Figure 7 shows a schematic Diagram Connection between Arduino and HC-05 Bluetooth module.

Figure 6: Schematic diagram connection for servo motor module with Arduino Uno

(6)

25

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Figure 7: Schematic diagram connection between Arduino and HC-05 Bluetooth module

4.2 Software Planning

Arduino source code used in this project to control the lock and unlock door locker:

#include <Servo.h>

Servo myservo;

int pos = 0;

int state; int flag=0;

void setup() {

myservo.attach(9);

Serial.begin(9600);

myservo.write(60);

delay(1000); } void loop() {

if(Serial.available() > 0) {

state = Serial.read();

flag=0;

} // if the state is '0' the DC motor will turn off if (state == '0')

{

myservo.write(8);

delay(1000);

Serial.println("SP Locker Door Locked");

}

else if (state == '1') {

myservo.write(55);

delay(1000);

Serial.println("SP Locker Door UnLocked");

} }

Software planning on Android Smartphones in this system is a form of the display from the program that is displayed on the Android Smartphone screen to provide an overview of the applications to be made, thus facilitating the application of applications according to size and simplifying application creation. Figure 8 shows the Arduino Bluetooth Control App that will be used to control the lock and unlock door locker and also can be found in Google Play Store.

(7)

26

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Figure 8: Arduino Bluetooth Control App

4.3 Project Testing

Figure 9: Servo-Bluetooth-Arduino

Figure 9 shows the test on the project circuit after installing the servo motor, Bluetooth, and Arduino Uno.

(8)

27

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

Figure 10: Bluetooth module with Arduino

Figure 10 shows the further testing is to examine the connectivity between Bluetooth module android Smartphone with Arduino Uno.

Figure 11: SP Key Lock Locker

Final testing is testing the connection system to lock/unlock the door locker automatically and Figure 11 above shows the complete design of the innovation. All the component was installed on a locker to make it easier to demonstrate the operation of the innovation function.

5. Conclusion

In conclusion, this SP Key Lock System using Bluetooth-based Android for mobile was successfully developed and was able to control the locker lock system well.

To improve the quality of this project in the future, it is necessary to add to the battery supply source and it can be charged and can be placed anywhere in without using a power cable.

Besides, GSM to facilitate remote control via SMS notification to mobile phone. This is important to make it more beneficial for people

(9)

28

Copyright © 2020 ASIAN SCHOLARS NETWORK - All rights reserved

References

Akash A Phalak, Piyush N Jha, N C. Thoutam, Prashant V Rahane (2019). An IoT based Smart Locker using BLE Technology. International Journal of Engineering Research &

Technology (IJERT), Vol. 8 Issue 05, May-2019. 274-276.

J. Potts and S. Sukittanon (2012) “Exploiting Bluetooth on Android Mobile Devices for Home Security,” in Proceedings of IEEE Southeast on Orlando, 1-4

Lia Kamelia, Alfin Noorhassan S.R, Mada Sanjaya, and W.S., Edi Mulyana (2014). Door Automation System using Bluetooth-Based Android for Mobile Phone. ARPN Journal of Engineering and Applied Sciences Vol.9, No.10, 1759-1762.

Muhammad Sabirin Hadis, Elyas Palantei, Amil Ahmad Ilham, Akbar Hendra (2018).

“Design of Smart Lock System for Doors with Special Features using Bluetooth Technology”. 2018 International Conference on Information and Communications Technology (ICOIACT).

N.H. Ismail, Zarina Tukiran, N.N. Shamsuddin, E.I.S Saadon (2014) “Android-based Home Door Locks Application via Bluetooth for Disabled People”, IEEE International Conference on Control System, Computing and Engineering, 191-195

Khaoula Karimi, Mustapha Kabrane, Oudani Hassan, Abdessamad Badouch, and Salahddine Krit (2020). Door-Automation System using Bluetooth-Based Android for Mobile Phone.

Journal of Advanced Research in Dynamical & Control Systems, Vol. 12, 01-Special Issue, 2020.407-414.

Referensi

Dokumen terkait

Movement Distance Testing 4.6 FSM process testing The results of testing the FSM Finite State Machine process on this tool to detect changes in the location data from the marked