Article Details

Title · Authors · Abstract · Keywords · DOI · References

Design and Development of a Smart Parcel Locker System Based on IoT and Spring Boot

JIE Gaohong1, HUANG Zhenjian2, CAI Qunying1

(1.School of Computer and Information Engineering, Hanshan Normal University, Chaozhou 521041, China; 2.School of Physics and Electronic Engineering, Hanshan Normal University, Chaozhou 521041, China)

Section:Internet of Things · Vol. 2026, Issue 20 · Pages:193-198 · 2096-4706(2026)20-0193-06 · CLC number:TP368.1 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2026.20.035

Abstract

With the rapid development of e-commerce, the efficiency and security of logistics "last-mile" delivery have become industry challenges. Based on IoT and Spring Boot, this paper designs and implements a smart parcel locker system for express delivery stations. With an STM32 microcontroller as the control core, the system integrates servo drives, a matrix keypad, and an OLED display, and uses the ESP8266 module and the MQTT protocol to achieve real-time communication between the hardware terminal and the server. The system provides functions on both the hardware and Web ends: the hardware end supports self-service storage and retrieval as well as interactive display, while the Web end enables cabinet status monitoring, parcel information management, dynamic locker allocation, and automatic distribution of pickup codes. This system effectively addresses the efficiency bottleneck of last-mile delivery and improves the intelligent management level of express delivery stations through deep hardware-software integration.

Keywords

Internet of Things; smart parcel locker; STM32; Spring Boot; MQTT protocol; Android gateway; WebSocket

References

  1. [1] Zeng Dandan, Liu Chengzi Research on the Design and Application of Intelligent Express Cabinets under the Background of Green Logistics [J]. Logistics Research, 2025 (3): 59-65
  2. [2] Wang Lei Research on the Development Strategy of Intelligent Express Cabinets in China [J]. Shanghai Business, 2021 (10): 56-57
  3. [3] He Chengxin Research on Optimization of Intelligent Express Cabinet Services for Urban Logistics Terminal Delivery [D]. Nanjing: Southeast University, 2023
  4. [4] Michael K. Determining Locations and Layouts for Parcel Lockers to Supply Chain Viability at the Last Mile [J/OL].Omega,2022,113:102721.https://doi.org/10.1016/j.omega.2022.102721.
  5. [5] Bharatiraja C,Chittoor P K,Bhargava Y V. An IoT Based Centralized Smart Locker Using RFID Technology [J/OL].AIP Conference Proceedings,2023,2427(1):020098.https://doi.org/10.1063/5.0101139.
  6. [6] Boysen N,Fedtke S,Schwerdfeger S. Last-Mile Delivery Concepts: A Survey from an Operational Research Perspective [J].OR Spectrum,2020,43(1):1-58.
  7. [7] Cheng X,Cao X. Analysis of Joint Distribution and Intelligent Express Cabinet Location Based on K-Means Clustering Algorithm [C]//Second International Conference on Applied Statistics, Computational Mathematics, and Software Engineering(ASCMSE 2023),2023:7.https://doi.org/10.1117/12.2691808.
  8. [8] Li Xumao, Tan Xiaoyan Optimization Analysis of Intelligent Express Cabinets from the User's Perspective [J]. Comprehensive Transportation, 2024, 46 (7): 145-151
  9. [9] Yang Zhuofan, Li Lin Design and Implementation of Intelligent Express Delivery System Based on STM32 and Cloud Platform [J]. Electronic Production, 2024, 32 (19): 28-30, 77
  10. [10] Cai Yuhong, Chen Xiangping Design of Intelligent Express Cabinet Based on STM32 [J]. Intelligent Computer and Application, 2020, 10 (1): 227-230

Funding

2023 Guangdong Province Higher Education Teaching Reform Project (HSGDJG231344, HSGDJG231312)

About the authors

Xie Gaohong (2004-), male, Han ethnicity, from Haifeng, Guangdong, undergraduate student, research interests include the Internet of Things and Java back-end development; Corresponding author: Cai Qunying (1975-), female, Han ethnicity, from Chaozhou, Guangdong, senior laboratory technician, research interests include web application development, IoT application development and artificial intelligence.