Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

The 3rd International Conference on Digital Arts, Media and Technology (ICDAMT2018)

Automatic Gate using Bluetooth technology


(Open the gate with the strength of the Bluetooth signal on the smartphone)

Kittipat Khreasarn Kittikorn Hantrakul


Digital Technology Innovation, Digital Technology Innovation,
Faculty of Science, Maejo University, Faculty of Science, Maejo University,
Chiang Mai, Thailand Chiang Mai, Thailand
kittipat10k@gmail.com kittikor@mju.ac.th

Abstract—This paper introduces the use of Bluetooth as an The main idea of Bluetooth is to develop a broad way of
automatic door opener. From the existing door system, the RFID connecting mobile devices quickly and easily without the need
card or fingerprint are used to identify the person to open the for cable. [3, 4] Bluetooth is one of the keywords associated
door automatically. In the proposed system, we change the with the Internet era. Thing (IoT), because it can more
identification from RFID card or fingerprint to Bluetooth signal accurately locate indoor building data than GPS technology,
sent from the user’s smartphones. It is because our observe, the
where mobile location services continue to grow. Bluetooth is
users often forgot their RFID cards and there are many errors
when the users use their fingerprint with the finger-scanner. thus widely used in mobile devices [5], which characterize the
From the evaluation results show that proposed system, Bluetooth signal. It is a signal strength indicator. Is the
Bluetooth can reduce the waiting time and error to open the door measurement of the energy contained in the received radio
compared with RFID card. Moreover, because the proposed signal. In this research, we will find distance ranges based on
system uses the value of the RSSI from Bluetooth on the the correlation between (RSSI) and distance between two
smartphone to be converted to the distance between users and the Bluetooth devices. Stay in the right distance and time to use
door, we also find the optimal distance that the door should open Bluetooth to control the automatic door system.
when the user comes to the door.

Keywords - Bluetooth, Raspberry Pi3, RSSI II. LITERATURE REVIEW

A. BLUETOOTH SIGNAL
I. INTRODUCTION
Current technology has developed faster both. Hardware Bluetooth is a short-range wireless technology developed
and software The modern technology was developed by IoT for use with low bandwidth signals. This is communication
(Internet of Thing) to play a role in the development of various between two devices. Switching devices such as mobile
systems. From the original automatic door systems are widely phones, headsets, and portable computers Bluetooth is an
used today, the technology is the key card or fingerprint alternative technology for indoor positioning devices. Lower
identification of the user to order the system to open the door. than wifi, power consumption, Bluetooth, lower power
The user also needs to carry a key card. This makes it consumption, and automatic power control. Since power is
inconvenient to use. The key card may be lost or forgotten. In important in mobile phones. By comparison, Bluetooth is a
addition, it is a fingerprint system, it also causes more attractive display device for indoor areas [5] and most
inconvenience to the user. Because of the long fingerprint modern building systems such as location identification in
scanning times and frequent errors, users have to scan more buildings. Widely used. Including low energy Bluetooth BLE
often than they do through the door. These errors are caused Beacon with. This research will use the Bluetooth of the
by many factors. For example, the efficiency of dirty finger mobile smartphone to test to meet the reality. At the same
scan algorithms, or even some users with unclear fingerprints. time, Bluetooth signals are transmitted along with other
It is the origin of Bluetooth technology, which is a device that technologies such as WiFi, the microwave may take a long
publishes small data in a specific format using data display time to transmit.[10] Avoid by specifying the phase of the
mode, which is commonly used to detect and monitor devices system instead of the signal strength or signal sensitivity. To
in the building. They can provide their device information and avoid Bluetooth signal errors.
location. For this purpose, it is recommended to use
technology that meets the following requirements. Low cost, B. MQTT (Message Queuing Telemetry Transport)
low power consumption. High-precision, reliable and real-
time operation [1, 2] Bluetooth is the primary device of Today, more and more technology-savvy systems have
wireless communication. been developed and stepped into the Internet of Things (IoT)
and wireless sensor network technologies. Message Queuing
Telemetry Transport (MQTT) is a protocol developed by the

978-1-5386-0572-1/18/$31.00 ©2018 IEEE 54


The 3rd International Conference on Digital Arts, Media and Technology (ICDAMT2018)

developer for loT. It is a communication feature between two


devices. It is an ideal protocol for wireless communication. [7,
8] However, the MQTT does not fully function on mobile
when the duration of the connection is disconnected or by a
new connection. This may be a defect or a restriction on the
adoption of the MQTT protocol, which may be a frequent and
long-term problem. [5]

III. SYSTEM DESIGN AND METHOD

A. An overview of the system design.

Based on this research, we have experimented with the


original system. It will also provide a key card to confirm the Figure 2. System operation using Bluetooth
identity in the decision to unlock the gate and the test will
open a system using Bluetooth to confirm the identity to Figure 2 is a system operation, which displays the
unlock the gateway. The system will store the door opening operation from the release of the Bluetooth signal to the
time stored in the database that we created, along with the receiver. Raspberry pi 3 and its operation are software as a
RFID data collection, so that we can send time data to send the processor. The value obtained by the algorithm calculates the
work of both systems to analyze the comparison of the work. conversion. The strength of the RSSI signal to the specified
By the style of the current gate system. distance so that the system will decide to automatically lock
the magnet attached to the door automatically. Specify the
Bluetooth user as the Bluetooth address (BD_ADDR), which
is displayed when Bluetooth is enabled. To make the system
more efficient and more intelligent. The data is analyzed to
analyze both RFID-enabled and Bluetooth-enabled systems.
To simulate the automatic door system. So we have model in
Figure 3. It works like a real system using the same software
system.

Figure 1. Shows the current system operation using RFID.

Figure 1 is a current system that uses RFID to confirm the


identity to open the door. Then we developed using Bluetooth
to take part in identity verification for the convenience of the
user. Because of the survey. Most people will forget the key
card or take the time to open the door automatically each time Figure 3. The model used to test the system.
too. It becomes a burden on the user. And from the survey
found that the current user has a mobile smartphone is always B. Evaluation
available. It is that why to choose the solution by using the
already existing mobile phone smartphone is to benefit. It does By this experiment. It measures RSSI strength by a
not burden the user. Developed using Bluetooth technology to distance of 1-10 meters away from the Bluetooth receiver at a
control the opening of doors. The simulation is as follows. specified distance. No obstacles at the time of trial. The RSSI
value is stored in each distance.

55
The 3rd International Conference on Digital Arts, Media and Technology (ICDAMT2018)

By collecting data by defining the distance from the value


of the average RSSI signal, and then bringing the value to the
system software. The frequency of the RSSI to find the center
and determine the distance of the door to see feedback from
the user itself. This graph shows that the value of the RSSI of
Bluetooth. Variable wave received It is the origin of the
distance, rather than the strength of the signal. To reduce
system errors.

Figure 4. Shows the acceptance test. Of the Bluetooth signal.

Figure 4 is a measure of the strength of the RSSI value


that can be sent - send data, then the RSSI value obtained by
the phase analysis of the distance. The distance of each
distance is uncertain. It has been collected in that period. Take
a number of each distance and find the average value of the
RSSI value over that period to determine the definite value of
the RSSI value. Let's take a number to calculate the distance
between the receiver and the Bluetooth transmitter. To take
the distance, determine the distance of the two Bluetooth. The
Bluetooth receiver Raspberry pi 3 operates an automatic door Figure 6. Shows the variation in RSSI signal strength in
control system with Bluetooth on the mobile phone narrow and noise areas.
smartphone.
Based on narrow and noise tests. Figure 6 shows the
variation of the RSSI value in the range of 4 meters to 8
meters, which would impede the calculation to find the exact
distance. It is the origin of the distance, rather than the
strength of the signal. To reduce system errors. By testing the
new RSSI signal strength in a noisy area and obstructing it,
you can find the mean value of the RSSI that can be used to
determine the optimal distance.

Figure 5. Average RSSI in each distance.

Figure 5 is shows the value of RSSI of each phase. The


experiment was measured using Raspberry pi3 as a Bluetooth
receiver. Repeated experiments were repeated several times,
and data were collected at the average. It appears that there is
uncertainty in the data. Because of the variation in the
environment. [6] including the frequency of the channel, it has
interfered with the transmission of data. However, the distance Figure 7. Shows the variation of RSSI signal strength.
estimation using the RSSI signal is difficult due to the
uncertainty of the signal. Based on the preliminary tests to find C. Results
the relationship between reality and the distance RSSI of
Bluetooth in the open air environment without obstacles. As a From Figure 7 the distance of 1 meter to 5 meters, the
result of this test, we realize that the difficult distance from the RSSI signal strength is good for strength, but after 5 meters, it
signal strength measurement will guide the distance. Because is noted that the strength of RSSI is very variable. It cannot
of the inaccuracy of the Bluetooth RSSI value [9] it is determine the strength of course. Therefore, it is the origin of
necessary to determine the distance to keep the best distance the term, rather than the strength of the signal to calculate. In
from the system.

56
The 3rd International Conference on Digital Arts, Media and Technology (ICDAMT2018)

the decision of opening the door automatically. For the IV. CONCLUSIONS
certainty of work. So we set the trial period from the reception
The experiment made it known. The signal strength of the
point at Raspberry pi3 to the transmitter, Bluetooth from the
RSSI of Bluetooth signal uncertainty, which if tested in a
smartphone. The distance from these two is 1 meter to 5
place where there are many obstacles. Or where there is a lot
meters, respectively.
of noise, the strength of the RSSI signal is very variable. It can
not determine the exact distance. And when there are many
interference factors of Bluetooth devices. The strength of the
signal is the variation of the value can not calculate the exact
distance. This research is an internal system. The result of this
research is to make the system to find the optimal distance to
use the value of the RSSI signal strength with variation. In
order to find the appropriate term, it will be used to develop
the system within the building. Automated door opening with
Bluetooth, etc., is the source of this research. So the results.
Based on user satisfaction. The Bluetooth test system has a
good response. The test will determine the operating distance
of the automatic door system. A total of 100 users will be
evaluated in each distance to test the system. The trial has
been conducted. The results are as follows.
Figure 8. Show system test from all spacing.

The results of the actual user test. The best time to make a
user do not feel that the door automatically opens too soon or
too late. Based on the satisfaction rating. The user has the best
response in 2 meters.

D. Test data collected from the trial.

This step involves experimenting with both systems


simultaneously and collecting data for analysis and
comparison between RFID-based systems and Bluetooth-
enabled systems. Which will use less time to open the door
and more accurately. If the Bluetooth system is more accurate.
The optimal distance to send a command to open the door. Figure 10. Satisfaction of the users.
What distance would it take for a user to feel the walk or the
distance fit into the door without feeling the door locked? The graph in Figure 10 is shows the satisfaction of each
The first step is to open both systems to work together. distance used by the user. The data is 1 set of 4 levels are bad,
The system counts from time to time until the door is opened. fair, good and excellent, respectively, it can be seen that the
The system will keep the door open every time. From the use distance of 2 meters received feedback from people. Used by
of the time to work on each of the data to be analyzed. Which assessing user satisfaction, good feedback. Be satisfied with
model can respond to users more? the Bluetooth system to open the door automatically. This is a
summary of the experiment in this article. With this system
developed, it can reduce the burden on the user to worry about
the key card lost or forget the key card. And reduce the
opening time.

ACKNOWLEDGMENT
This research is partially supported by a grant from the
Graduate School and the Faculty of Science, Maejo University.
The authors would like to thank the colleagues at INTNIN
Laboratory, Faculty of Science, Maejo University for their
support.

Figure 9. Collaboration on two systems.

57
The 3rd International Conference on Digital Arts, Media and Technology (ICDAMT2018)

REFERENCES
[1] J. Neburka, Z. Tlamsa, V. Benes, L. Polak, O. Kaller, L. Bolecek, et al.,
"Study of the performance of RSSI based Bluetooth Smart indoor
positioning," in 2016 26th International Conference Radioelektronika
(RADIOELEKTRONIKA), 2016, pp. 121-125.

[2] Z. K. Zbynek RAIDA, Roman MARSALEK, Jiri PETRZELA, Ales


PROKES, , T. G. Jiri SEBESTA, Zdenek HRUBOS, Zdenek KINCL,
Lukas KLOZAR, , and R. S. Ales POVALAC, Petr KADLEC
"Communication Subsystems for Emerging Wireless Technologies "
RADIOENGINEERING, VOL. 21, NO. 4, DECEMBER 2012.

[3] S. Rajkiran and C. Balakrishnan, "RSSI estimation using Bluetooth in


smart phones," in 2015 2nd International Conference on Electronics and
Communication Systems (ICECS), 2015, pp. 1431-1434.

[4] M. Raento, A. Oulasvirta, and N. Eagle, "Smartphones," Sociological


Methods & Research, vol. 37, pp. 426-454, 2009.
[5] Y. Wang, Y. Xu, Z. Yutian, L. Yue, and L. Cuthbert, "Bluetooth
positioning using RSSI and triangulation methods," in 2013 IEEE 10th
Consumer Communications and Networking Conference (CCNC), 2013,
pp. 837-842.

[6] N. J. Kittikhun Thongpull , Wiklom Teerapakajorndet, "A Distance


Determination of Moving Sensor Nodes by Comparing RSSI from
Different Transmit Powers," The 2010 International Conference on
Embedded Systems and Intelligent Technology : ICESIT 2009, 2009.

[7] M. Z. Jorge E. Luzuria ga, Juan Carlos Cano, Carlos Calafate and Pietro
Manzoni, "A Disruption Tolerant Architecture based on MQTT for loT
Applications," presented at the 2 0 1 7 1 4 th IEEE Annual Consumer
Communications & Networking Conference (CCNC), International
Centre for Theoretical Physics / ICT4D Lab., ITALY, 2017.

[8] R. G. W-J. Chen, V. Lampkin, D. M. Robertson, and N. Subrahmanyam,


Responsive Mobile User Experience Using MQ1T and IBM
MessageSight, 2014.

[9] J. y. Jung, D. o. Kang, J. h. Choi, and O. g. Min, "Near field distance


awareness algorithm using bluetooth for device sociality service," in
2016 18th International Conference on Advanced Communication
Technology (ICACT), 2016, pp. 140-143.

[10] M. H. Dwijaksara, W. S. Jeon, and D. G. Jeong, "A channel access


scheme for Bluetooth low energy to support delay-sensitive
applications," in 2016 IEEE 27th Annual International Symposium on
Personal, Indoor, and Mobile Radio Communications (PIMRC), 2016,
pp. 1-6.

58

You might also like