Open Access Open Access  Restricted Access Subscription or Fee Access

Design and Implementation of an RFID Door Security System Using Arduino

Michael Tang, Shensheng Tang


This paper proposes the design and implementation of a door security system using an Arduino board and a radio frequency identification (RFID) module. The door security system uses the RFID module to contactlessly scan RFID cards or tags and communicates with the Arduino via the serial peripheral interface (SPI) protocol for controlling access to a room or building. An LCD module is interfaced with the Arduino to show related messages. The security system includes three states: standby, access, and reject. In the standby state, the LCD reminds people to scan an RFID card or tag. If the scanned RFID tag ID number can be found in the ID pool managed by the main program, the Arduino will light up a green LED, display related access messages on the LCD, and open the door by driving the servo motor at a predefined interval; Otherwise, the door will remain closed with a red LED and an audible alarm, and the LCD will display a reject message. In either the access state or the reject state, the system will stay for a predefined time interval and return to the standby state. The proposed system has been successfully implemented on a prototype board with the help of our developed program. The work of hardware and software co-design is expect to be a good paradigm of engineering education in embedded systems.


Arduino, Microcontroller, RFID, LCD, SPI, PWM

Full Text:



R. Want, "An introduction to RFID technology," in IEEE Pervasive Computing, vol. 5, no. 1, pp. 25–33, Jan.-March 2006, doi: 10.1109/MPRV.2006.2.

S. B. Miles, S. E. Sarma, and J. R. Williams, RFID Technology and Applications, Cambridge University Press, April 2011.

H.K.H. Chow, K.L. Choy, W.B. Lee, and K.C. Lau, "Design of a RFID case-based resource management system for warehouse operations", Expert Systems with Applications, Vol. 30, No. 4, May 2006, pp. 561–576.

G.Q. Huang, Y. Zhang, and P. Jiang, "RFID-based wireless manufacturing for real-time management of job shop WIP inventories", International Journal of Advanced Manufacturing Technology, Vol. 36, pp. 752–764, 2008.

A. Akbari, S. Mirshahi and M. Hashemipour, "Comparison of RFID system and barcode reader for manufacturing processes," 2015 IEEE 28th Canadian Conference on Electrical and Computer Engineering (CCECE), Halifax, NS, Canada, 2015, pp. 502–506. doi: 10.1109/


I. Obatoki and V. O. Matthew, "Design and Implementation of RFID-Based Document Management System", International Journal of Recent Engineering Science (IJRES), Vol. 3, No. 2, March to April 2016.

Z. Zhou, L. Shangguan, X. Zheng, L. Yang and Y. Liu, "Design and Implementation of an RFID-Based Customer Shopping Behavior Mining System," IEEE/ACM Transactions on Networking, vol. 25, no. 4, pp. 2405–2418, Aug. 2017, doi: 10.1109/TNET.2017.2689063.

L. Louw and M. Walker, "Design and implementation of a low cost RFID track and trace system in a learning factory", Procedia Manufacturing, 23: 255–260, 2018. doi:10.1016/j.promfg.


K.N. Aye, P.Z. Oo, and W.W. Naing, "RFID Based Automatic Multi-Storied Car Parking System", International Journal of Science and Engineering Applications, Vol. 8, No. 7, pp. 172–175, 2019.

A. Ujawane and M. Pashine, "Design and Implementation of Attendance Monitoring Using GSM And RFID", International Research Journal of Engineering and Technology (IRJET), Vol. 09, No. 09, Sep 2022.

O.K. Ogidan, C. Aghaukwu, O. Oluwapelumi, S. Jeremiah, E. Adokeme, and O.M. Longe, "Development of a Personnel Management and Position and Energy Tracking System for Electric Vehicles", World Electric Vehicle Journal, Vol. 14, No. 1, 2023.


V. Zoumpourlis, M. Goulielmaki, E. Rizos, S. Baliou, D.A. Spandidos, "The COVID‑19 pandemic as a scientific and social challenge in the 21st century", Molecular Medicine Reports, Vol. 22, No. 4, pp. 3035–3048, 2020.

P. Barry and P. Crowley, Modern Embedded Computing: Designing Connected, Pervasive, Media-Rich Systems, 1st Edition, Morgan Kaufmann, Feb. 2012.

Texas Instruments (TI), KeyStone Architecture Universal Asynchronous Receiver/Transmitter (UART) User Guide, SPRUGP1-Nov. 2010.


NXP Semiconductors, "I2C-bus specification and user manual, Rev. 7.0", October 2021.


  • There are currently no refbacks.

Copyright (c) 2023 Journal of Microcontroller Engineering and Applications