ABSTRACT:
The Smart Queue Management System with IoT-Based Real-Time Token Display is designed to automate and simplify queue management across multiple service-oriented departments, including Hospitals, Banks, Restaurants, and Government Offices. Traditional queue management methods involve manual token distribution, physical waiting lines, and verbal announcements, which result in delays, confusion, and inefficient service operations. The proposed system addresses these challenges through an integrated web-based application and an IoT-enabled hardware solution.
The application is developed using Python Flask, HTML, CSS, JavaScript, and SQLite. It provides separate interfaces for visitors and department staff. Visitors can select a department, choose a service, register their details including an email address, and generate a unique token. Department staff manage their respective queues through dedicated dashboards, perform token operations, monitor visitor registrations, and access reports and analytics.
For real-time physical token announcements, the system integrates an ESP32 microcontroller with four LCD displays. The application sends department-wise NOW and NEXT token information to an external REST API. The ESP32 retrieves the updated information through Wi-Fi and shows it on the LCD assigned to each department.
On the software side, an automatic email notification feature is added. When a customer's queue token number becomes the next in line, the system automatically sends an email to the customer's registered email address. The customer can therefore wait comfortably away from the counter and arrive only when the turn is near, which reduces crowding and improves the service experience.
INTRODUCTION:
Queue management is an important requirement in service-oriented environments such as hospitals, banks, restaurants, and government offices. A large number of visitors accessing these services creates long waiting lines and difficulty in organizing service operations. Traditional methods depend on manual token distribution and verbal announcements, making it hard to maintain accurate queue information and to provide timely updates.
The proposed Smart Queue Management System introduces a centralized digital platform for managing visitors and service queues across four departments. Visitors register through the web application, select the required service, and receive a unique token number. The token is stored in the database and associated with the selected department.
Each department has a dedicated staff dashboard through which authorized employees manage visitor queues. Staff members can call the next token, mark visitors as serving, complete token operations, recall tokens, and monitor queue activity. The system also provides visitor tracking, service category management, reports, and analytical information.
To extend the functionality beyond the web application, an IoT-based display system is integrated using an ESP32 microcontroller and four LCD displays. Each LCD is assigned to a specific department and displays the currently called or serving token (NOW) and the next waiting token (NEXT). The ESP32 communicates with the external API through Wi-Fi to retrieve updated token information.
Finally, an email notification module has been added to the software. Whenever a token becomes next in line, the module composes a message and sends it to the email address the customer provided during registration. Together, the web application, database, API, IoT display and email notification provide a complete, centralized approach to queue management.
Similar projects you might like