Food insecurity and food wastage represent two contrasting yet deeply interconnected global challenges. While millions face daily hunger, vast quantities of edible food are lost across the supply chain due to the absence of efficient redistri- bution mechanisms. This paper presents the design and imple- mentation of an IoT-enabled smart food redistribution system that integrates real-time environmental monitoring, RFID/NFC- based traceability, cloud computing, and a cross-platform mobile application to bridge the gap between food surplus and scarcity. Smart sensors (DHT11 for temperature and humidity, MQ- 5 for gas detection) are interfaced with an ESP32 microcon- troller to continuously monitor food quality parameters. Data is transmitted wirelessly to a cloud backend built using Spring Boot REST APIs and stored in MongoDB. A React Native mobile application provides role-specific interfaces for donors, consumers (recipients), and administrators. Experimental results demonstrate that the system enables real-time food condition monitoring via Bluetooth, automated donor-recipient match- making, and end-to-end traceability. The proposed architecture is scalable, modular, and future-ready for AI-driven demand forecasting and predictive spoilage detection.
Introduction
This text describes an IoT-based food redistribution system designed to reduce food waste and improve food access for food-insecure populations by enabling real-time monitoring and efficient donation coordination.
The problem identified is that a large amount of edible food is wasted globally while millions remain hungry, mainly due to inefficient, manual donation systems that lack coordination, real-time tracking, and food quality verification. Traditional methods rely on phone calls or emails between donors and NGOs, which often leads to delays, spoilage, and missed opportunities.
To solve this, the paper proposes an integrated IoT + cloud + mobile platform that enables smart food redistribution. The system uses sensors like DHT11 (temperature/humidity) and MQ-5 (gas detection for spoilage indicators) connected to an ESP32 microcontroller. These sensors continuously monitor food conditions and transmit data via Wi-Fi and Bluetooth Low Energy (BLE), allowing real-time freshness verification.
The backend is built using Spring Boot with MongoDB Atlas, which stores donation records, user data, and sensor readings, while also handling matchmaking between food donors and recipients. The frontend is a React Native mobile app that supports different user roles (donors, consumers, administrators, and volunteers) and enables food listing, acceptance, tracking, and live sensor monitoring.
The system architecture is layered, including sensing, device, connectivity, cloud processing, application, and planned analytics layers. Data flows from sensors → ESP32 → cloud backend → mobile app, with real-time alerts triggered when food quality thresholds are exceeded.
Conclusion
This paper presented an IoT-enabled smart food redistribution system that integrates hardware-level quality monitoring, cloud-based data management, and a mobile coordination platform into a unified, operational solution. By combining DHT11/MQ-5 sensors with an ESP32 microcontroller, Spring Boot REST APIs, MongoDB Atlas, and a React Native mobile application, the system ensures that only safe, verified food reaches recipients—while making the donation and acceptance process efficient and transparent.
The proposed system demonstrably addresses the core limitations of existing manual food donation workflows: it enables real-time food condition monitoring, automated donor- recipient matchmaking, complete traceability via RFID/NFC, and scalable cloud-based data management. Experimental evaluation confirmed successful operation of all primary func- tional requirements.
Future work will focus on (1) AI-driven spoilage prediction using historical sensor time-series data, (2) integration of Lo- RaWAN for long-range sensor connectivity in rural scenarios, (3) expansion of the admin analytics dashboard with demand forecasting, and (4) real-world pilot deployment with partner NGOs and food banks. This system represents a meaningful step toward a technology-enabled, sustainable food-sharing ecosystem that addresses both food waste and food insecurity at scale.
References
[1] Lipinski et al., “Reducing food loss and waste,” Working Paper, Installment 2 of Creating a Sustainable Food Future, World Resources Institute, Washington DC, 2013.
[2] FAO, IFAD, UNICEF, WFP and WHO, “The State of Food Security and Nutrition in the World 2022,” Food and Agriculture Organization of the United Nations, Rome, 2022.
[3] R. K. Balan et al., “IoT-enabled monitoring and optimization of food distribution processes through sensors and cloud connectivity,” in Proc. IEEE Int. Conf. on Pervasive Computing and Communications (Per- Com), 2020.
[4] M. Aazam, S. Zeadally, and K. A. Harras, “Deploying fog computing in industrial Internet of Things and industry 4.0,” IEEE Transactions on Industrial Informatics, vol. 14, no. 10, pp. 4674–4682, Oct. 2018.
[5] A. Gawanmeh and A. Al-Ali, “Integration of IoT with the food supply chain: challenges and opportunities,” in Proc. IEEE Int. Conf. on Communications Workshops (ICC Workshops), 2019.
[6] T. Kelepouris, K. Pramatari, and G. Doukidis, “RFID-enabled traceabil- ity in the food supply chain,” Industrial Management & Data Systems, vol. 107, no. 2, pp. 183–200, 2007.
[7] Feeding India, “Technology for Food Security,” [Online]. Available: https://www.feedingindia.org. [Accessed: Jun. 2025].
[8] “IoT-Based Food Quality Monitoring System,” International Re- search Journal of Engineering and Technology (IRJET), vol. 6, no. 11, 2019. [Online]. Available: https://www.irjet.net/archives/V6/i11/ IRJET-V6I11143.pdf
[9] R. Tavakkoli-Moghaddam et al., “Application of Internet of Things in the food supply chain: a literature review,” Journal of Applied Research on Industrial Engineering, vol. 9, no. 4, pp. 475–492, 2022.
[10] “IoT Based Monitoring and Control System for Food Processing,” IJFANS International Journal of Food and Nutritional Sciences, vol. 10, no. 03, Feb. 2021.