Smart Canteen Management System

Project Overview

Purpose and Goals

The primary goal of this project is to improve the overall experience of ordering and dining in canteens by leveraging modern technology. Our objectives include:

  • To reduce long queues and minimize delays in food services.
  • To establish a fully cashless system for all financial transactions.
  • To provide online services for checking balances and canteen availability.
  • To improve the overall efficiency and productivity of the canteen staff.

Key Stakeholders

This system is designed for a variety of environments, primarily:

  • University Canteens
  • Corporate Canteens
  • Closed-Environment Food Services

Demonstrated Impact

0
Reduction in Wait Times (%)
0
Cashless Transaction Rate (%)
0
User Satisfaction Increase (%)

Project Scope

In Scope

  • User Registration & Two-Factor Authentication.
  • Full Food Menu & Inventory Management.
  • Online Ordering via Web/Mobile Application.
  • RFID & Online Payment Gateway Integration.
  • Live Order Tracking & Status Notifications.
  • Sales & Performance Reporting for Admins.

Out of Scope

  • AI-based Menu Recommendations.
  • Multi-Language Support beyond English.
  • Dynamic Pricing Models.
  • Third-Party Delivery Service Integration.
  • Facial Recognition Authentication.

System Functionalities

Register & Login
Cashless Payments
Order Online
Schedule Orders
View Menu & Prices
View Past Transactions
Manage Users
Manage Inventory
Manage Food Items
Automated Billing
View Sales Reports
Send Notifications

Hardware Information

Integrated Hardware Components

Our Smart Canteen Management System utilizes a robust set of hardware components to ensure seamless operation and efficient data collection. These components work in tandem to provide a reliable and user-friendly experience.

  • ESP32 Board: The core microcontroller for various functionalities.
  • Raspberry Pi Camera: For visual processing and monitoring.
  • RFID Writer & Reader: For cashless transactions and user identification.
  • Fingerprint Sensor: For secure biometric authentication.
  • Keypad Matrix: For manual input and navigation.
  • LCD Display: For real-time information display to users and staff.

Hardware Overview

The custom-built hardware unit integrates several key modules:

  • Compact 3D Printed Case
  • Various Sensors & Peripherals
  • Interconnected System

Hardware Gallery

Explore images of our custom hardware components and the assembled unit.

System Architecture

The system's architecture is built upon a well-defined set of classes and relationships to ensure modularity and scalability. Key classes include `User`, `Customer`, `Order`, `FoodItem`, and `Transaction`. Click the diagram to view a larger version.

System Class Diagram

RFID System in Action

Mobile Application

Intuitive User Experience

The Smart Canteen mobile application, developed with Flutter, provides a seamless and intuitive experience for customers. It allows users to:

  • Browse the full canteen menu with real-time availability.
  • Place and customize orders directly from their smartphone.
  • Manage their cashless account balance and view transaction history.
  • Receive push notifications for order status updates and special offers.
  • Schedule orders for future pickup times.

App Features at a Glance

Designed for convenience and speed:

  • Queue detection
  • In-app Support
  • Cashless transactions

App Screenshots

Get a glimpse of the mobile application's user interface.

Technology & Architecture

Core Technology Stack

  • Backend: Spring Boot (Java)
  • Frontend: Flutter
  • Database: MariaDB
  • Hardware Scripting: Python
  • Communication: REST APIs & WebSockets

Testing & Security

Rigorous Testing Approach

To ensure reliability, we employed a multi-faceted testing strategy:

  • Unit & Integrated Testing: Performed on all major components.
  • API Testing: Used Postman for backend endpoint validation.
  • Hardware Testing: On-site testing for the people counter and authentication modules.
  • Real-time System Testing: Utilized Mosquitto for MQTT architecture testing.

Robust Security Measures

  • JWT Token Usage for secure, stateless authentication.
  • Spring Security for authentication and access-control.
  • Hashed Passwords for secure user credential storage.
  • Role-Based Access Control (RBAC) to restrict system access.

Project Budget

Detailed breakdown of hardware and other expenses for the Smart Canteen Management System.

Category Item Quantity Cost (LKR)
BoardESP32 Board11690
CameraRaspberry Pi Camera1-
RFIDRFID Writer1-
RFIDRFID Card and Reader1-
SensorFingerprint Sensor1-
InputKeypad Matrix1-
DisplayLCD Display16190
ModuleTTL UART Module1895
Cable1M CAT6 Ethernet Cable1455
WiresJumper Wires1555
CableHDMI Cable11450
Enclosure3D Printed Case16480
BoardSolderless Board1300
ReaderChip Reader1200
CameraMD0263 Camera11100
RFIDMD0009 RC5222520
OtherOther Costs12280
FINAL COST RS. 22115

Meet The Team (Group 01)

Team member Pathum Dissanayake
Dissanayake P.D.

E/20/084

Team member Maleesha Gunasinha
Gunasinha H.P.M.S.

E/20/121

Team member Sandun Munasinghe
Munasinghe S.L.

E/20/259

Team member Manuja Shyamantha
Shyamantha R.M.M.

E/20/376