An Automatic Sliding Doors Using RFID and Arduino
An Automatic Sliding Doors Using RFID and Arduino
*Corresponding Author
ABSTRACT
The door is an important component in a building as security. It is used as access in and out of a room. People in the modern era now want everyday life
that is completely automated, so that the work can be done easily without wasting energy and can shorten the time. Along with the rapid development, the
need for effectiveness and efficiency is prioritized in various fields. The purpose of this paper is to design an automatic sliding door that only detects one
Radio Frequency Identification (RFID) card to open and close. The use of RFID systems can strengthen the security level of building access. This study
uses a data processing method in the form of an ID number generated from a tag. Specifications in the discussion of the results in this study include a motor
that uses a 12-volt DC motor, a maximum door weight of 5 kg, can only detect one RFID to open and close the door, and the sliding door used is one door.
The results of system testing are obtained to open a door that is without load, and the door can move 14 cm from the distance of the door hole so that it
opens. Doors with a load of 1-1.5 kg also move 14 cm from the distance of the door opening when open. Doors with a load of 2-3 kg only move 12.5-9.5
cm from the distance of the door so that it opens. When the door gets heavier 3.5-4 kg, the door moves only 7.5-3 cm from the distance the door hole
remains closed.
I. INTRODUCTION
Today, people want an everyday life that is completely automated. Along with the increasingly rapid development, it
encourages people to innovate by creating a tool that is more effective and efficient [1]. The sliding door is one type of door used
in a building as access in and out [2]. This door has a function for home security in a building. People use sliding doors for
spaces that are narrow enough to look more comfortable.
The problems discussed in this paper are the absence of applications to open and close sliding doors using one RFID card, and
the absence of a conventional door security system that can strengthen building security. The existing sliding door application is
now applied conventionally and automatically. Conventional sliding doors are done by sliding the door when you want to enter
or exit. The automatic sliding door does not require human power to open or close the door, because it is equipped with an
infrared sensor, so the door will open and close immediately. The Smartcard system for opening and locking doors uses Arduino-
based RFID technology, which replaces the manual lock [3].
In previous studies, RFID technology was used to control microcontroller-based classrooms. In this study, RFID is only used
to open or lock doors, turn on, or turn off devices in a room. Weaknesses in the study are, the door does not open automatically
when the RFID tag scan process, and to turn on the device must still scan RFID with different access [4]. This study uses a Wifi
network connection to open a sliding door with Android technology automatically. But this research has not discussed the system
security side [5]. Subsequent studies used RFID and keypads only to open doors [6]. Bluetooth technology to control automatic
sliding doors using an Android Smartphone and Arduino Microcontroller [7]. The door security system uses a servo motor as a
door lock made with RFID technology based on Arduino Uno R3 Microcontroller [8]. Previous research that has been done by
the study still does not exist that uses a 12 volt DC motor on RFID technology to open and close the sliding door automatically
on one door.
Radio Frequency Identification (RFID) is a technology that uses radio frequencies to identify objects [9]. The sensor will
recognize the intended object by equipped with a microcontroller controller device in the form of Arduino Hardware and a
microcontroller by adding a naming pin to be easily remembered. Arduino software is open-source software, so it can be
downloaded for free. This software is used to create and enter program code into Arduino devices [10]. With the development of
today's microcontroller technology, security systems can use electronic devices to replace conventional key security systems
[11].
The purpose of this paper is to design an automatic sliding door that can detect an RFID card to open and close the door
automatically, and use an RFID system to strengthen the security level of a building's access. The idea in this research is the
development of an automatic sluice system in a river flow [12].
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 14
The discussion of the results of this study starts by testing the automatic door security control system that has been built based
on testing a hardware-based system. The test is carried out to determine the feasibility of working hardware and programs of the
automatic sliding door control system. The criteria tested include, First, the performance efficiency test of the automatic sliding
door control system. The results of tests conducted by the system maker show that system performance is quite efficient. This
can be known by testing the input and actions of the system being built. When conducting trials eight times, it was found that the
distance between the door holes was similar in the first to the third experiment. Second, the security aspect of the card used in
this system can only use one card. If using another card, the system continues to run, but the system cannot execute an order
because the card is not registered.
II. METHOD
A. Automatic Sliding Door Block Diagram
In Fig.1 is a block diagram of the entire Automatic Sliding Door Implementation System Using Arduino-Based RFID, the
input block has a sensor that is an RFID reader. Whereas in the process block, there is a microcontroller that functions as a brain
working process tool. On the output block, there is a DC motor as a door mover, LCD 16x2, which serves to display notifications
about the condition of the door.
Input
Process
Output
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 15
yes
Display LCD
DC motor is active,
whether the door is closed? yes moving the screw to
open the door
no no
DC motor is active,
whether the door is open? yes moving the screw to
open the door
Finish no
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 16
editor used to write programs, compile, and upload to Arduino boards [13]. Arduino IDE uses the Avrdude program to convert
executable code into a text file in a hexadecimal encoding that is loaded onto the Arduino board by the loader program in the
board firmware [14]. Arduino uses the Java programming language. Arduino IDE consists of a program editor and compiler.
TABLE I.
DESCRIPTION AND FUNCTION OF TOOLS
No Nama Bagian Keterangan
1 LCD 16x2 Functioning as a data viewer in the form of text.
2 Outer Thread Functioning as a door mover.
3 Internal thread Functioning as a door mover.
4 DC Motor Serves to move the outer thread.
5 Sliding door Serves as access in and out of the room.
6 12 Volt Power Supply Serves to provide additional power to the DC motor.
7 Motor Driver Serves to provide additional power to the DC motor.
8 Arduino Functioning as a controller of the entire tool.
9 Breadboard Serves as a connector for all devices.
10 Level Logic Converter Serves to change the voltage of 5 Volts to 3.3 Volts.
11 RFID Reader Functioning as a reader ID number.
(c). Arduino Board (d). Motor DC 775 (e). Logic Level Converter
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 17
(i). Lithium Ion 18650 Battery (j). Modul i2C (k). Jumper Cable
Fig. 6. Hardware for Automatic Sliding Door Systems
The Sliding Door in Fig. 6 (a) is a place where people give boundaries or areas that can provide insider understanding, entry
and exit, and here and there [15]. The sliding door is one type of door used in a building. In addition to being a security, the door
also shows the character of a building. The sliding door is a door that opens the lid by sliding the door left or right. For
movement, rails and wheels are installed above and below the door. With a sliding system, this type of door is the right solution
to make the room look more spacious.
Radio Frequency Identification (RFID) is a wireless system that allows tag information to be read by bringing the magnetic
field closer [16]. RFID is a general terminology for non-contact technology that uses radio waves to identify objects
automatically. The combination of antenna and microchip is called an RFID transponder or RFID tag and works in conjunction
with an RFID reader. The form of RFID tags and RFID readers can be shown in Fig. 6 (b).
The Arduino Board in Fig.6 (c) is a type of electronic board that is very popular as a learning material as well as material for
various electronics projects and involves programming. Uno is the best board to start with electronics and coding. Arduino Uno
is a microcontroller board based on Atmega328P (datasheet). This board has 14 input pins or digital outputs, 6 of which can be
used as PWM outputs, 6 analog inputs, 16 MHz quartz crystals, USB connections, power outlets, ICSP headers, and reset buttons
[17].
DC motor (Direct Current) is a machine that functions to convert direct current electrical energy into mechanical energy [18].
Direct current motors are used in special applications that require high torque ignition or constant acceleration for a wide speed
range [1]. The DC motor construction section is shown in Fig.6 (d). The main parts of a DC motor are the stator and rotor, where
the field coil on the DC motor is called stator (the part that is not rotating) and the anchor coil is called the rotor (the rotating
part). The working principle of direct current is reversing the voltage phase of a wave that has a positive value by using a
commutator, thus the current is reversed with an anchor coil rotating in a magnetic field. The simplest form of motor has a coil of
one coil that can rotate freely between the poles of a permanent magnet.
The Logic Level Converter in Fig.6 (e) is required if working with two or more systems that use different voltage levels. The
system works at a voltage level of 3.3V and does not have a voltage tolerance of up to 5V will very likely be damaged. Using the
system is very simple. Voltage sources on both sides need to be connected. If for example, the 3.3V side does not have its own
power supply, then another source is used with the same voltage of 3.3V [19]. Level shifters in digital electronics also called
logic level shifters or voltage levels. Modern systems use level shifting to bridge the domain between the processor, logic,
sensors, and other circuits [14].
Motorcycle driver in Fig. 6 (f) is a special circuit that functions to control or control the speed of a DC motor [20]. This circuit
is needed because in general, a DC motor requires a current of more than 250mA for some ICs (Integrated Circuit) for example,
Atmega 16 Arduino Uno cannot provide more than this value. L298N is an example of an IC that can be used as a motor driver.
This IC uses the H-Bridge working principle. Each H-Bridge is controlled using TTL voltage levels originating from the
microcontroller output [21]. L298N can control 2 (two) DC motors. The voltage that can be used to control the robot can reach
46 Vdc and the current reaches 2 Amperes for each channel.
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 18
One part of the bolt and nut is the thread in Fig.6 (g). A screw is an object that is rotated around a cylinder with a certain tilt
angle. Threaded shape can occur if a triangular sheet is rolled up on a cylinder [22]. In use, threads always work in pairs between
external threads and internal threads.
LCD (Liquid Crystal Display) is one type of electronic display that can be made using CMOS logic technology. The physical
form of the 16x2 LCD can be seen in Fig.6 (h). LCD as an electronically modulated optical device that can be made of many
segments filled by liquid crystals arranged in front of a light source or a light reflector to produce a colored or black-and-white
Fig. 22. LCD functions as a data viewer in the form of characters, letters, numbers, and graphics [24]. LCD module with 16x2
lines displays with low power consumption. This module is equipped with a microcontroller specifically designed to control the
LCD.
Breadboard or often referred to as the project board (circuit board) in Fig.6 (f) is a type of circuit board that is generally used
to try electronic circuits [25]. Most of the electronic components in electronic circuits can be connected by inserting cables or
terminals into holes and then making connections through cables if needed [26]. The types of the breadboard are determined
based on the many holes found on the board, for example, breadboard 400 holes, 170 holes, and so forth. Assembling is easy
because there is no need to solder so the components can still be used for other projects in the future.
The power supply is a device that is useful as a source of electricity for other devices [26]. This power supply has a similar
circuit construction consisting of a transformer, rectifier, and voltage refiner [27]. The power supply becomes an important part
in electronics that functions as a source of electric power, for example on batteries or batteries which can be seen in Fig 6 (i).
One type of battery that is widely used today is the 18650 Lithium-Ion Battery. This is a type of battery that can be recharged
(rechargeable) [28]. The working voltage of the 18650 battery is 3.7 Volts. The maximum can be a 4.2 Voltage and an empty
battery at 3.0 Volts. Being the ability to store electric current varies depending on production.
Inter-Integrated Circuit (i2C) in Fig.6 (j) is a two-way serial communication standard using two channels specifically designed
for sending and receiving data [29]. The i2C system consists of SCL (Serial Clock) and SDA (Serial Data) channels that carry
data information between i2C and its controller. Devices connected to the i2C Bus system can be operated as Master and Slave.
The jumper cable in Fig.6 (k) is a cable used as a link between components used in making prototype devices without the need
for solder. According to their needs, jumper cables can be used in various versions. Like, the Male to Male, Male to Female, and
Female to Female versions [30]. The characteristics of this jumper cable have a length of between 10 to 20 cm. In designing an
electronic circuit design, the jumper cable is needed to connect the components.
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 19
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 20
The results of trials by giving a load can be seen in Table III. Motor and thread are the system components needed by this
system to move the door so that it can open and close, with the help of the motor driver and screw to move the door so that it can
open and close.
TABLE III.
TRIAL TEST RESULTS BY PROVIDING THE LOAD
No Load Door Distance to the door opening
1 No Load Opened 14 cm
2 1 kg Opened 14 cm
3 1,5 kg Opened 14 cm
4 2 kg Opened 12,5 cm
5 2,5 kg Opened 10 cm
6 3 kg Opened 9,5 cm
7 3,5 kg Closed 7,5 cm
8 4 kg Closed 3 cm
IV. CONCLUSION
Implementation of an automatic sliding door using Arduino-based RFID makes it easy for users to open and close the door
without using user power, without using conventional door locks, and the door can be tightly closed and cannot be shifted
manually. The heavier the load is on the door, the smaller the sliding power. With the use of this system, the security of the
house is more awake. Based on the results of the study, the researchers recommend the implementation of automatic sliding
doors to use Arduino-based RFID, by adding an alarm when the ID received by the sensor does not match, adding a fire sensor
that is used to open the door automatically when there is a fire and can lift greater loads need to be made using a gearbox. The
development of Arduino Mega 2560 can be used for embedded system learning [31].
REFERENCES
[1] Zulfauzi. 2016. Rancang Bangun Pintu Geser Otomatis Berbasis Android Menggunakan Jaringan Wifi: Jurnal Teknik
Informatika Politeknik Sikayu (TIPS). ISSN-P : 2407-2192, Volume V, No. 2, November 2016, Hal 34-40. STMIK Mura
Lubuklinggau.
[2] Kamus Besar Bahasa Indonesia. 2019. “Kata Pintu”. (online), https://kbbi.web.id/pintu, diakses 26 Juni 2019, pukul 21.56
WIB.
[3] Sudarto, Ferry, Gustasari, Arwan. 2017. Perancangan Sistem Smartcard Sebagai Pengaman Pintu Menggunakan RFID
Berbasis Arduino. ISSN : 1978-8282, Agustus 2017, hal 239-254. STMIK Raharja.
[4] Zulkarnain Hasibuan, Ade, Herlina Harahap, Zulkardin Sarumaha. 2018. Penerapan Tenologi RFID Untuk Pengendalian
Ruang Kelas Berbasis Mikrokontroler: Jurnal Penelitian Teknik Informatika. e-ISSN : 2541-2019, Volume 1, No. 1, April
2018. Universitas Prima Indonesia (UNPRI) Medan.
[5] Zulfauzi. 2016. Rancang Bangun Pintu Geser Otomatis Berbasis Android Menggunakan Jaringan Wifi: Jurnal Teknik
Informatika Politeknik Sikayu (TIPS). ISSN-P : 2407-2192, Volume V, No. 2, November 2016, Hal 34-40. STMIK Mura
Lubuklinggau.
[6] Agiv Winagi, Geo Fillial, Triuli Novianti. 2019. Rancang Bangun Pintu Otomatis dengan Menggunakan RFID: Jurnal
Teknik Elektro Dan Komputer Triac. ISSN : 2615-5788, Volume 6, No. 1. Universitas Muhammadiyah Surabaya.
[7] Syofian, Andi. 2016. Pengendalian Pintu Pagar Geser Menggunakan Aplikasi Smartphone Android Dan Mikrokontroler
Arduino Melalui Bluetooth: Jurnal Teknik Elektro ITP. ISSN : 2252-3472, Volume 5, No. 1, Januari 2016, Hal 45-50.
Institut Teknologi Padang.
[8] Hendri, Hafilia. 2017. Sistem Kunci Pintu Otomatis Menggunakan RFID (Radio Frequency Idenfication) Berbasis
Mikrokontoler Arduino Uno R3: Jurnal KomTekInfo. ISN : 2356-0010, Volume 4, Juni 2017, hal 29-39. Universitas Putra
Indonesia “YPTK” Padang.
[9] Erwin. 2004. Tugas Proyek Mata Kuliah Keamanan Sistem Informasi : RFID. Departemen Teknik Elektro Fakultas
Teknologi Industri Institut Teknologi Bandung. Bandung.
[10] Sulaiman, Arif. 2012. ARDUINO: Mikrokontroller bagi Pemula hingga Mahir (online),
http://buletin.balaielektronika.com/?p=163, diakses 27 Juni 2019, pukul 21.54 WIB.
[11] Guntoro, Helmi, Yoyo Somantri, Erik Haritman. 2013. Rancang Bangun Magnetic Door Lock Menggunakan Keypad Dan
Solenoid Berbasis Mikrokontroler Arduino Uno: Jurnal Electrans. ISSN 1412-3762, Volume 11, No. 1, Maret 2013, 39-48.
FPTK Universitas Pendidikan Indonesia.
[12] Novianto, H., & Cahyono, D. (2016). Sistem Pintu Air Otomatis Menggunakan Logika Fuzzy. Inform: Jurnal Ilmiah
Bidang Teknologi Informasi Dan Komunikasi, 1(2), 125–130.
[13] Kadir, Abdul. 2015. Buku Pintar Pemograman Arduino. Edisi I. Yogyakarta: Mediacom.
[14] Sulaiman, Arif. 2012. ARDUINO: Mikrokontroller bagi Pemula hingga Mahir (online),
http://buletin.balaielektronika.com/?p=163, diakses 27 Juni 2019, pukul 21.54 WIB.
[15] Wiryomartono, Bagoes. 2016. Komposisi Arsitektur: Apresiasi dan Analisis Kasus di Indonesia. Jakarta: Erlangga.
[16] Kadir, Abdul. 2018. Wireless Programming Untuk Arduino. Edisi I. Yogyakarta: Andi.
DOI: 10.25139/ijair.v2i1.2706
International Journal of Artificial Intelligence & Robotics (IJAIR) E - ISSN : 2686-6269
Vol.2, No.1, 2020, pp.13-21 21
[17] Arduino Uno. 2019. “Arduino Uno”. (online), https://store.arduino.cc/usa/arduino-uno-rev3, diakses 04 Juli 2019, pukul
22.01 WIB.
[18] Yulius. 2019. “Radio Frequency Identification (RFID)”. (online), https://sis.binus.ac.id/2014/04/12/radio-frequency-
identification-rfid/, diakses 01 Juli 2019, pukul 23.24 WIB.
[19] Sunu Pradana. 2019. “Logic Level Converter”. (online), https://sunupradana.info/tkr/2017/07/22/logic-level-converter/,
diakses 04 Desember 2019, pukul 22.31 WIB.
[20] Adriansyah, Andi, Oka Hidyatama. 2013. Rancang Bangun Prototipe Elevator Menggunakan Microcontroller Arduino
Atmega 328P: Jurnal Teknologi Elektro, ISSN: 2086-9479, Vol 4, No. 3, Universitas Mercu Buana Jakarta.
[21] Irawan, Dedy. 2016. Rancang Bangun Prototipe Lift Barang Menggunakan Motor Arus Searah Dengan Perintah
Smartphone Android. Skripsi. Universitas Lampung.
[22] Achmad, Zainun. 1999. Elemen Mesin I. Bandung: Refika Aditama.
[23] Yuliza dan Ardiansyah. 2016. Perancangan Lmapu Taman Solarcell Otomatis Untuk Menggunakan Mikrocontroler
Arduino Uno: Jurnal Teknologi Elektro. ISSN : 2086-9479, Volume 7, Januari 2016, hal 37-44. Universitas Mercu Buana.
[24] Sagita Mella. 2015. Aplikasi LED RGB Lengan Robot Penyortir Kotak Berdasarkan Warna Berbasis Arduino Uno.
Laporan Akhir. Universitas Negeri Sriwijaya.
[25] Djukarna. 2019. “Belajar Membuat Rangkaian Elektronika Dengan Breadboard”, (online),
https://djukarna.wordpress.com/2012/07/26/belajar-membuat-rangkaian-elektronika-dengan-breadboard/, diakses 31
Desember 2019, pukul 23.18 WIB.
[26] Wiring. 2019. “What is a Breadboard?”, (online), http://wiring.org.co/learning/tutorials/breadboard/, diakses 31 Desember
2019, pukul 23.23 WIB.
[27] P. Sitohang, Ely, Dringhuzen J. Mamahit dan Novi S. Tulung. 2018. Rancang Bangun Catu Daya DC Menggunakan
Mikrokontroler ATMega 8535: Jurnal Teknik Elektro dan Komputer, ISSN : 2301-8402, Volume 7, No. 2, Hal. 135-142.
Universitas Sam Ratulangi Manado.
[28] De Tekno. 2020. “Mengenal Battery 18650, Battery Dengan Power Besar”, (online), https://de-
tekno.com/2018/05/mengenal-battery-18650-bettery-dengan-power-besar/, diakses 05 Januari 2020, pukul 11.57 WIB.
[29] Purnomo Sejati. 2011. “Mengenal Komunikasi I2C (Inter Integrated Circuit)”, (online),
https://purnomosejati.wordpress.com/2011/08/25/ mengenal-komunikasi-i2cinter-integrated-circuit/, diakses 01 Januari
2020, pukul 00.01 WIB.
[30] Kadir, Abdul. 2018. Arduino dan Sensor (Tuntunan Praktis Mempelajari Penggunaan Sensor Untuk Aneka Proyek
Elektronika Berbasis Arduino). Edisi I. Yogyakarta: Andi.
[31] Tukadi, T. (2017). Pembelajaran Embedded System Berbasis Arduino Mega 2560 dan MIT App Inventor. Inform: Jurnal
Ilmiah Bidang Teknologi Informasi Dan Komunikasi, 2(2), 2–6. https://doi.org/10.25139/ojsinf.v2i1.405
DOI: 10.25139/ijair.v2i1.2706