0% found this document useful (0 votes)
292 views39 pages

Iot Based Fruit Spoilage Detection System

Uploaded by

amollandge04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
292 views39 pages

Iot Based Fruit Spoilage Detection System

Uploaded by

amollandge04
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 39

A project report

On

IOT BASED FRUIT SPOILAGE DETECTION


SYSTEM

Submitted By

Hadule Sakshi Exam Seat No. B1900903025


Boob Gayatri Exam Seat No. B1900903007
Kakade Nishigandha Exam Seat No. B1900903035

Under guidance of

Prof. A.R.Landge
In partial fulfillment for the requirement of

BE
(Electronics &Telecommunication Engineering)
At
Department of Electronics and Telecommunication
Engineering
D.V.V.P. College of Engineering,
Ahmednagar (2024-2025)
Affiliated to

Savitribai Phule Pune University


D.V.V.P. College of Engineering, Ahmednagar
Department of Electronics
&Telecommunication Engineering,
Ahmednagar - 414111

CERTIFICATE
This is to certify that the Dissertation entitled Iot Based Fruit Spoilage Detection
System, submitted by Hadule Sakshi, Boob Gayatri, Kakade Nishigandha. is a
record of Bonafidework carried out by him/her, in the partial fulfillment of the
requirement for the award fourth YearDegree of Bachelor of Engineering (E&TC) at
DVVP College of Engineering, Vilad Ghat, Ahmednagar under the University of Pune.
This work is done during year 2024- 25, under our guidance.

Date:

Project Guide
[Prof. A. R. Landge]

HOD, E&TC Principal, DVVPCOE


[Dr. A.K. Patil] [Dr. U. P. Naik]

Examiner 1.
Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar
Acknowledgement

A dissertation work of such a great significance is not possible without the help of
several people, directly or indirectly. First and for most I have immense happiness in
expressing my sincere thanks to my guide, Prof. A. R. Landge for his valuable
suggestions, cooperation and continuous guidance.
I feel a deep sense of gratitude to Dr. A. K. Patil, Head of Electronics and
Telecommunication Engineering Department for her continuous encouragement and
for developing a keen interest.

It’s my pleasure to thank Dr. U. P. Naik, Principal, who is always a constantsource of


inspiration.

I am very much thankful to all my faculty members whose presence alwaysinspires me


to do better. My happiness culminates, when I recall the co- operation extended by my
friends during the completion of this dissertation

1) Hadule Sakshi

2) Boob Gayatri

3) Kakade Nishigandha
ABSTRACT

This report explores the development of an IoT-based food spoilage detection system
that leverages the ESP8266 microcontroller for enhanced food safety and waste
reduction. Food spoilage, often caused by improper storage and environmental
changes, poses serious health risks due to harmful bacteria growth. The ESP8266, a
compact and cost- effective microcontroller, is used in conjunction with sensors that
monitor key environmental factors such as temperature, humidity, and gas emissions
fromdecomposing food. By detecting changes in these factors, the system can
accurately assessfood freshness and alert users to potential spoilage.
The detection system provides a real-time solution to monitor food quality,
empowering consumers to make informed decisions on food consumption. The
system's ability to measure and analyze gas emissions particularly ethylene, which is
commonly associated with food ripening and spoilage makes it possible to evaluate
food quality in household settings and commercial food storage facilities alike. The
ESP8266’s connectivity also enables remote monitoring and integration with smart
home systems, which allows users to receive alerts, automate appliance settings, and
adjust storage conditions based on spoilage data.
Furthermore, this food spoilage detection system contributes to broader sustainability
goals. By reducing the amount of spoiled food that is discarded, the system helps to
decrease overall resource waste, including water, energy, and labor associated with
food production. For businesses, the solution enhances supply chain efficiency,
allowing for better inventory management, real-time quality tracking, and optimized
transportation and storage. Data analytics from the ESP8266-enabled system can also
reveal spoilage trends, providing manufacturers and retailers with insights to improve
food handling practices.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar


INDEX

Sr. No Chapter Name. Page No.


1 Introduction to Smart Stick For Blind People 1-5
1.1 Introduction
1.2 Necessity
1.3 Objective
1.4 Features of System

2 Literature Survey 6-9


2.1 Detector Operating Principles
3 System Overview 10-16
3.1 Background and challenges
3.2 Hardware Requirement
3.3 Project Overview
3.4 Block Diagram
3.5 Block Description
4 System Design and Working 17-65
4.1 Circuit Diagram
4.2 Working
4.3 Development Of Layout

5 Result and Conclusions 27-31


5.1 Conclusion
5.2 Advantages
5.3 Disadvantages
5.4 Applications

* References
CHAPTER 1

INTRODUCTION

1.1 Introduction :
Food spoilage poses a significant risk to consumer health, often leading to foodborne
illnesses caused by bacterial growth in improperly stored or deteriorated food.
Addressingthis issue, this project presents an IoT-based food spoilage detection system
using the ESP8266 microcontroller. This system continuously monitors environmental
factors, such as temperature, humidity, and gas emissions from decomposing food, to
determine freshness and promptly alert users to potential spoilage.
The primary objectives of this system are to enhance food safety, reduce food waste,
and promote sustainable practices. Early detection of spoilage allows consumers to
avoid foodborne illnesses and reduces unnecessary food waste by providing timely
alerts that encourage food usage before it expires. By minimizing waste, the system
also contributes to broader sustainability goals, reducing the resource consumption
associated with food production.
This ESP8266-based solution also presents economic advantages for both consumers
and businesses, as it mitigates losses from spoilage and enhances inventory
management, ultimately contributing to a healthier and more sustainable food supply
chain.

1.2 Necessity:

The development of an IoT-based food spoilage detection system addresses several


pressing needs affecting consumers, businesses, and environmental sustainability. Food
safety is a top concern, as spoiled food often contains harmful bacteria that can lead to
foodborne illnesses. By monitoring storage conditions, this system helps prevent the
consumption of unsafe food, protecting public health. Additionally, reducing food
waste is essential, as millions of tons of food are discarded each year due to
preventable spoilage. Timely alerts about spoilage encourage consumers to use food
before it deteriorates, directly reducing waste and conserving valuable resources.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar


For commercial food suppliers and distributors, real-time monitoring of environmental
conditions, such as temperature and humidity, ensures that food products are stored and
transported under optimal conditions. This contributes to greater supply chain
efficiency and lowers spoilage-related losses. Environmentally, reducing food waste
supports sustainable practices by cutting down the resources like water, energy, and
land—used in food production. Economically, both consumers and businesses benefit
by saving costs associated with food spoilage. Businesses can further enhance
efficiency by optimizing inventory and reducing overstock. Moreover, the system
empowers consumers with real-time information on food quality, allowing them to
make informed decisions and manage their food storage better, ultimately leading to a
decrease in waste.

A fruit spoilage detection system is essential due to the unique characteristics and
storage challenges associated with fruits. Fruits are highly perishable and often undergo
rapid ripening, which can lead to spoilage if not properly managed. Here are several
reasons why a fruit- specific spoilage detection system is needed:

1. High Perishability and Quick Spoilage:


Fruits have a shorter shelf life compared to many other foods due to their high moisture
content and natural sugars, which create an ideal environment for microbial growth.
Ethylenegas, a natural byproduct of ripening, accelerates this process, especially when
fruits are storedtogether. Early detection of spoilage indicators, such as gas emissions
or humidity changes, can help prevent spoilage and reduce waste.

2. Preventing Foodborne Illnesses:


Spoiled fruits can harbor bacteria and fungi that lead to foodborne illnesses if
consumed. A detection system alerts consumers and suppliers before fruits reach
unsafe levels of decay, protecting public health and reducing the risk of illness.

3. Reducing Food Waste:


Fruits are among the most wasted food items globally due to spoilage during
transportation, storage, and retail stages. A spoilage detection system helps identify
fruits nearing spoilage, allowing them to be used promptly, donated, or discounted,
ultimately reducing waste and conserving resources.
4. Maintaining Nutritional Quality:
Overripe or spoiled fruits lose their nutritional value, color, and taste. Monitoring
spoilage can help consumers and retailers maintain the quality of fruits, ensuring that
they are consumedat their peak freshness for optimal nutritional benefits.

5. Economic Impact for Consumers and Businesses:


Spoiled fruits represent a financial loss for both consumers and businesses, especially
in retailand food distribution. By providing real-time spoilage information, the
detection system helps businesses manage inventory better and reduce losses, while
consumers save money by avoiding spoiled purchases.

6. Supply Chain Optimization:


In commercial and logistical settings, spoilage detection is valuable for ensuring that
fruits are stored and transported under optimal conditions, maintaining their quality
from farm to market. Real-time data on spoilage risks enables better decision-making,
improving theefficiency and reliability of the supply chain.

7.Environmental Sustainability:
Reducing fruit waste contributes to sustainability efforts by lowering the demand for
resources, such as water and energy, required for fruit production. It also decreases the
carbon footprint associated with wasted food, supporting global environmental
conservation efforts.

1.3 Objectives:
The objectives of a fruit spoilage detection system project are as follows:

1. Enhance Food Safety


Detect and alert users to signs of spoilage in fruits before they become harmful for
consumption, reducing the risk of foodborne illnesses associated with spoiled fruits.

2. Reduce Food Waste


Minimize fruit wastage by providing timely alerts to consumers, retailers, and
suppliers,enabling them to take action before fruits become inedible. This contributes
to a reductionin overall food waste.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar


3. Enhance Food Safety
Detect and alert users to signs of spoilage in fruits before they become harmful for
consumption, reducing the risk of foodborne illnesses associated with spoiled fruits.

4. Reduce Food Waste


Minimize fruit wastage by providing timely alerts to consumers, retailers, and
suppliers, enabling them to take action before fruits become inedible. This contributes
to a reductionin overall food waste.

5. Maintain Nutritional and Quality Standards


Help preserve the nutritional value, taste, and freshness of fruits by detecting early
spoilage indicators. This ensures that consumers can enjoy fruits at their peak quality.

6. Optimize Inventory and Supply Chain Management


For businesses, the system can improve inventory tracking and decision-making by
providing real-time spoilage data. This allows for better management of stock,
minimizinglosses due to spoiled products and optimizing the distribution process.

7. Promote Environmental Sustainability


Reducing food waste through better spoilage management decreases the resources (like
water, energy, and land) used in fruit production. It also lowers the carbon footprint
associated with the disposal of spoiled fruits.

8. Empower Consumer Awareness


Give consumers access to real-time information on fruit quality, allowing them to make
informed decisions on storage, consumption, and purchasing, which contributes to
reducedhousehold food waste.

9. Enable Data-Driven Insights


Collect and analyze data on spoilage patterns, environmental conditions, and storage
times, offering valuable insights to improve handling practices and extend fruit shelf
life.
10. Support Smart Home and IoT Integration
Enable integration with IoT devices and smart home systems for automated actions,
such as adjusting storage conditions in response to spoilage alerts, creating a seamless
and efficient user experience.
These objectives aim to maximize fruit preservation, reduce economic losses,
enhancefood quality and safety, and support sustainable food consumption practices.

1.1 Features of System


The fruit spoilage detection system incorporates several key features designed to
monitorand manage fruit freshness effectively. Here are the primary features of the
system:

1. Real-Time Monitoring
The system continuously monitors key environmental factors like temperature,
humidity, and gas emissions (e.g., ethylene) that impact fruit spoilage, providing real-
time data on storage conditions.

2. Spoilage Detection Sensors


Equipped with sensors that detect indicators of spoilage, such as gas emissions from
ripening or decaying fruits, the system identifies changes in fruit freshness and flags
earlysigns of deterioration.

3. Automated Alerts and Notifications


Users receive instant alerts and notifications on their smartphones or devices whenever
spoilage indicators surpass a certain threshold. This timely information allows for
quick action to preserve fruit quality.

4. Data Analytics and Reporting


The system collects data on spoilage patterns and environmental conditions, allowing
users to analyze trends over time. This data can help businesses and consumers
improve fruit handling, storage, and purchasing decisions.

5. Smart Home Integration


Designed to connect with smart home systems, the spoilage detection system can
trigger automated responses, such as adjusting refrigerator settings or activating
ventilation to slow spoilage.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar


6. User-Friendly Interface
The system includes an intuitive interface where users can view current spoilage levels,
historical data, and receive actionable insights to prolong fruit freshness. This makes it
accessible for both consumers and commercial users.

7. Energy-Efficient Design
To reduce operational costs, the system uses an energy-efficient microcontroller (e.g.,
ESP8266), which minimizes power consumption while providing reliable performance
forprolonged use.

8. Remote Monitoring Capability


Through IoT connectivity, users can monitor fruit conditions from anywhere, allowing
them to take action even when they are away from home or the storage facility.

9. Customizable Spoilage Thresholds


Users can set custom thresholds for spoilage alerts based on specific fruits or storage
preferences, offering flexibility and adaptability for different types of fruit and storage
environments.

10. Support for Multiple Fruits and Storage Zones


The system can track conditions in multiple storage areas or for various fruit types
simultaneously, making it suitable for use in homes, supermarkets, and distribution
centers.
CHAPTER 2
LITERATURE
SURVEY
1. MQ3-Based Ethanol Detection for Ripeness Monitoring

Authors: Parmar et al. (2023)

 This project uses an MQ3 sensor with Arduino to detect ethanol emissions as a key indicator of
fruit ripeness and spoilage in bananas. The system uses an LCD display to show ethanol levels
and sends real-time notifications via a mobile app.
 Published In: International Journal of Agricultural IoT【11】.

2. Temperature and Humidity Monitoring with DHT11 and NodeMCU

Authors: Ali et al. (2022)

 This system integrates DHT11 sensors with NodeMCU to monitor temperature and humidity in
mango storage. The real-time data is sent to the Blynk app for notifications when spoilage
conditions are detected.
 Published In: Journal of Embedded Systems【12】.

3. Visual Spoilage Detection with LDR and Arduino

Authors: Sharma et al. (2020)

 An LDR sensor is used in conjunction with an Arduino to detect changes in light intensity, which
occurs due to mold formation or other spoilage indicators in fruit.
 Published In: International Conference on Agricultural IoT【11】.

4. Gas Sensing for Spoilage Detection with MQ4 Sensor

Authors: Singh et al. (2020)

 This project employs the MQ4 gas sensor, which detects methane emissions during fruit decay.
Data is displayed on an LCD, and an alarm is triggered if spoilage gases exceed predefined levels.
 Published In: Sensors and Applications Journal【14】.

5. IoT Cold Storage Optimization with NodeMCU

Authors: Zhao et al. (2021)

 Using NodeMCU with temperature and humidity sensors (DHT11), this system optimizes the
environment for storing fruits like apples in cold storage. It reduces spoilage by maintaining
optimal conditions and sending alerts when thresholds are exceeded.
 Published In: IoT Solutions for Smart Agriculture【13】.

6. Humidity Monitoring for Vegetables with Arduino

Authors: Patil et al. (2021)


 This system uses a DHT11 sensor to monitor the humidity level of vegetable storage areas. Excess
humidity can lead to mold and decay, so the system alerts when adjustments are needed.
 Published In: IoT Applications in Agriculture【14】.

7. Real-Time Spoilage Detection with MQ135

Authors: Gupta et al. (2023)

 Combining MQ135 sensors for detecting CO2 levels with a humidity sensor, this system tracks
the spoilage of various fruits. It sends notifications via a cloud-based platform for real-time
monitoring.
 Published In: Advances in Embedded IoT【11】.

8. MQ3 Sensor for Ethanol Emissions in Bananas

Authors: Lin et al. (2021)

 This system focuses on using the MQ3 gas sensor to monitor ethanol emissions, a key indicator
of spoilage in bananas. Alerts are sent when the ethanol level surpasses a threshold.
 Published In: Sensors and Agricultural IoT【12】.

9. Arduino-Based Ethylene Gas Detection for Apples

Authors: Ahmed et al. (2022)

 Uses an MQ3 sensor to detect ethylene gas, which is emitted as apples ripen. The system helps
monitor spoilage by checking gas emissions. Alerts are sent via SMS using a GSM module.
 Published In: IoT Applications in Agriculture【14】.

10. LDR for Mold Detection on Fruit Skins

Authors: Kumar et al. (2023)

 The system employs an LDR to detect changes in the light reflection from fruit surfaces, helping
identify mold and decay at early stages.
 Published In: Embedded Agriculture IoT Journal【13】.

11. MQ2 Gas Detection for Tomatoes

Authors: Sharma et al. (2021)

 MQ2 sensors are used to monitor CO2 levels in tomato storage, helping detect spoilage early
and prevent further degradation of produce.
 Published In: International Journal of Agricultural Sensors【13】.

12. Temperature Control in Mango Storage Using NodeMCU

Authors: Patil et al. (2022)


 This system uses DHT22 sensors with NodeMCU to monitor the temperature in mango storage.
When temperatures fall outside the optimal range, the system activates a cooling or heating
mechanism to preserve the fruit.
 Published In: Journal of Smart IoT Systems【12】.

13. Detection of Volatile Organic Compounds (VOCs)

Authors: Wang et al. (2020)

 This project employs an MQ5 sensor to detect volatile organic compounds in fruits, which
increase during spoilage. Data is uploaded to a cloud platform for real-time monitoring.
 Published In: Sensors for Agriculture【13】.

14. IoT for Real-Time Spoilage Control in Strawberries

Authors: Singh et al. (2021)

 Real-time data from temperature and humidity sensors connected to NodeMCU monitors
strawberry spoilage. Alerts are sent to prevent fruit wastage in commercial markets.
 Published In: Smart Farming Technologies【12】.

15. CO2 Detection in Citrus Storage Using Arduino

Authors: Choi et al. (2021)

 An MQ135 sensor is used to detect CO2 levels in citrus fruit storage, providing early warning
signs of spoilage. Data is displayed on an LCD and sent to a cloud application.
 Published In: International Journal of IoT Solutions【14】.

16. Automated Spoilage Alert System for Grapes

Authors: Jain et al. (2022)

 Temperature sensors connected to NodeMCU monitor spoilage in grape storage. Notifications


are sent when conditions are unfavorable for fruit preservation.
 Published In: Journal of Agriculture and Technology【13】.

17. Arduino for Potato Storage Monitoring

Authors: Patil et al. (2020)

 Uses an MQ3 sensor to detect spoilage gases in potato storage, with the data transmitted to a
cloud application for monitoring and analysis.
 Published In: IoT in Agricultural Applications【12】.

18. pH Monitoring for Fruit Spoilage Prevention

Authors: Zhang et al. (2021)


 pH sensors are used alongside temperature and humidity sensors to monitor the spoilage of fruits
like tomatoes and apples. Arduino triggers alerts when pH levels indicate spoilage.
 Published In: Sensors for Food Quality Control【13】.

19. Humidity Control for Strawberry Storage Using NodeMCU

Authors: Sharma et al. (2022)

 This system focuses on monitoring and controlling the humidity for strawberry storage, with
real-time updates sent to users via a cloud platform.
 Published In: Smart Systems in Agriculture【14】.

20. MQ2 Gas Sensor for Spoilage Detection in Cucumbers

Authors: Kumar et al. (2022)

 An MQ2 gas sensor monitors CO2 levels as an indicator of spoilage in cucumbers. Notifications
are sent to a mobile application when spoilage gases are detected.
 Published In: Journal of IoT Systems for Agriculture【12】.

21. MQ7 Gas Sensor for Spoilage Detection in Mangoes

Authors: Chandra et al. (2020)

 The system uses the MQ7 gas sensor to detect carbon monoxide levels, a spoilage indicator in
mango storage. Data is processed using Arduino, and alerts are sent via a GSM module when
gas levels surpass safe limits.
 Published In: Journal of Embedded and Agricultural Systems【11】.

22. Spoilage Detection System for Grapes Using MQ3 and NodeMCU

Authors: Rao et al. (2021)

 Combining the MQ3 gas sensor with NodeMCU, this system detects ethanol emissions in grape
storage, signaling early stages of spoilage. The data is transmitted to ThingSpeak for real-time
monitoring.
 Published In: International Journal of Agriculture and IoT Systems【12】.

23. Temperature-Controlled Fruit Preservation with Arduino and DHT11

Authors: Verma et al. (2022)

 The system monitors temperature and humidity using a DHT11 sensor with Arduino, ensuring
optimal storage conditions for apples and oranges. Alerts are sent when the storage temperature
is out of range.
 Published In: Smart Farming and IoT Innovations【13】.

24. Real-Time Spoilage Detection System for Apples Using MQ7

Authors: Patel et al. (2023)


 This system uses the MQ7 gas sensor to detect carbon monoxide (a sign of spoilage) in apple
storage. Real-time notifications are sent via a cloud platform, providing detailed analysis of gas
concentrations.
 Published In: Journal of Sensors and IoT Solutions【12】.

25. IoT-Based Ethylene Gas Detection for Tomato Storage

Authors: Gupta et al. (2022)

 The MQ3 sensor is employed to detect ethylene gas, which indicates ripening and spoilage in
tomatoes. The system alerts users via SMS when gas levels exceed a certain threshold.
 Published In: Agricultural IoT Systems Journal【13】.

26. Monitoring Ethanol Emissions in Bananas with MQ3

Authors: Singh et al. (2021)

 Focuses on using the MQ3 sensor to detect ethanol emissions from bananas, signaling spoilage.
Data is displayed on an LCD and sent to a cloud platform for monitoring.
 Published In: Agricultural Electronics and IoT Research【11】.

27. Automated Fruit Spoilage Detection System Using NodeMCU and


DHT11

Authors: Yadav et al. (2023)

 This system uses NodeMCU and DHT11 to monitor environmental conditions in fruit storage
areas. If the conditions become unfavorable, the system activates cooling mechanisms and alerts
the user.
 Published In: IoT in Agricultural Solutions【14】.

28. Humidity Monitoring System for Tomato Storage with Arduino

Authors: Jain et al. (2022)

 The system uses a DHT22 sensor to monitor humidity levels in tomato storage. It prevents
spoilage by maintaining optimal humidity levels and sending notifications when adjustments are
required.
 Published In: IoT-Driven Agricultural Technologies【12】.

29. Spoilage Detection Using CO2 Monitoring with MQ135

Authors: Li et al. (2021)

 This project uses the MQ135 sensor to monitor CO2 concentrations, which indicate spoilage in
fruits. The data is uploaded to the cloud for real-time analysis and alert notifications.
 Published In: Journal of Agricultural Sensors【13】.
30. Real-Time Mango Quality Detection Using MQ135 and NodeMCU

Authors: Kumar et al. (2021)

 Combines MQ135 and NodeMCU to monitor the quality of mangoes in storage. The system
provides early spoilage detection through CO2 emissions and real-time notifications via mobile
apps.
 Published In: International Journal of Food Safety IoT【12】.

31. IoT-Based Potato Spoilage Prevention with Arduino

Authors: Sharma et al. (2020)

 This system employs a combination of MQ sensors and Arduino to detect gases associated with
spoilage in potato storage. Data is used to trigger appropriate actions, such as ventilation, to
maintain optimal storage conditions.
 Published In: Journal of Smart Agricultural IoT【14】.

32. IoT-based Monitoring of Fruits with MQ4 Sensor

Authors: Jain et al. (2022)

 This system uses the MQ4 gas sensor to detect methane gas, a key indicator of spoilage in fruits.
It alerts users when spoilage levels reach unsafe thresholds for fruit quality.
 Published In: Agricultural Sensors and IoT Technology【13】.

33. IoT System for Detecting Temperature Fluctuations in Fruit Storage

Authors: Thakur et al. (2021)

 The system utilizes temperature and humidity sensors with Arduino to maintain ideal storage
conditions for fruits like strawberries. It sends alerts when environmental conditions become
detrimental to fruit quality.
 Published In: Agricultural IoT Solutions Journal【12】.

34. Monitoring of Fruits in Cold Storage with NodeMCU and MQ3 Sensor

Authors: Rani et al. (2020)

 This system integrates an MQ3 sensor with NodeMCU for real-time monitoring of ethylene gas
in fruit cold storage, enhancing the ability to track spoilage and ripening.
 Published In: Journal of Food and Agricultural IoT【14】.

35. LDR-Based Spoilage Detection System for Mangoes

Authors: Patel et al. (2023)

 LDR sensors detect changes in light reflection caused by spoilage, specifically in mangoes. Data
is analyzed, and alerts are sent through a mobile app if spoilage is detected.
 Published In: Sensors and Embedded Systems Journal【13】.

36. IoT for Banana Spoilage Detection Using MQ2

Authors: Mishra et al. (2022)

 An MQ2 sensor detects gases emitted during the spoilage of bananas. This system uses Arduino
to process data and sends SMS alerts via a GSM module when spoilage is detected.
 Published In: Journal of IoT Solutions for Agriculture【12】.

37. Spoilage Detection for Tomatoes Using CO2 Monitoring

Authors: Reddy et al. (2021)

 The MQ2 sensor is used to detect CO2 in tomato storage areas, triggering alarms when levels
rise beyond acceptable limits, which indicates spoilage.
 Published In: Smart Agriculture Journal【13】.

38. Monitoring Spoilage in Grapes Using MQ3 and NodeMCU

Authors: Rathi et al. (2022)

 The MQ3 sensor is employed to monitor ethanol levels, a key indicator of spoilage in grapes.
The system sends notifications when spoilage is detected.
 Published In: Agricultural IoT Journal【14】.

39. Low-Cost Fruit Ripeness Detection with Arduino

Authors: Sahu et al. (2021)

 This system uses an MQ sensor to monitor gases like CO2 and ethanol in fruit storage, helping
detect ripening and spoilage stages. Data is processed through an Arduino and displayed on an
LCD.
 Published In: Journal of Agricultural Sensors【12】.

40. Real-Time Spoilage Detection in Apples Using MQ7

Authors: Shah et al. (2023)

 Focuses on using the MQ7 gas sensor to detect CO and CO2 levels in apple storage, which
indicates spoilage. Notifications are sent when critical levels are detected.
 Published In: Journal of Smart Systems【13】.
CHAPTER 3
SYSTEM
OVERVIEW

System Overview:

The IoT-Based Fruit Spoilage Detection System is designed to automate the process of
identifying and removing spoiled fruits from a production line. The system uses various
sensors integrated with a NodeMCU microcontroller to monitor the quality of the fruits
in real-time.

Key Components of the System:

1. NodeMCU: The microcontroller responsible for processing data from the sensors and
controlling the various system functions.
2. MQ2 Sensor: This gas sensor detects gases such as methane, propane, and other volatile
compounds emitted by fruits as they spoil. The sensor plays a critical role in spoilage detection.
3. IR Sensor: The infrared sensor detects the presence of fruits on the conveyor belt. It ensures that
the belt stops for spoilage detection when a fruit is detected.
4. Conveyor Belt: A motorized belt that moves fruits along the production line. The belt stops
when the IR sensor detects a fruit, allowing the spoilage detection process to begin.
5. LCD Display: Provides real-time information about the system, including spoilage status and
the count of fruits processed.
6. Blynk IoT Cloud: A cloud platform that collects and displays data, allowing remote monitoring
of the spoilage detection process.

Working Mechanism:

 Fruit Detection: When a fruit passes on the conveyor belt, the IR sensor detects its presence and
signals the belt to stop.
 Spoilage Detection: The MQ2 sensor continuously monitors the air around the fruit for any
gases that could indicate spoilage. If spoilage is detected (e.g., increased methane levels), the
fruit is identified as spoiled.
 Action: If the fruit is spoiled, it is removed from the conveyor belt. If the fruit is not spoiled, it
moves to the next stage.
 Data Logging and Display: The system logs the number of fruits processed and whether they
were spoiled or not. This data is displayed on the LCD and sent to the Blynk IoT cloud for
remote monitoring and analysis.

System Purpose and Benefits:

The system aims to automate and improve the efficiency of fruit sorting in industrial
applications. By detecting spoilage early, it reduces the risk of sending spoiled fruits to
consumers, enhances quality control, and minimizes waste. The integration of IoT
enables remote monitoring and ensures timely intervention, making the process more
efficient and effective.

The system provides valuable real-time data for quality assurance, and the use of IoT
allows producers to track fruit spoilage in multiple production locations, providing
deeper insights into product quality and enabling better inventory and resource
management.
3.1 Project Overview:

The fruit spoilage detection system using ESP8266 is an IoT-based project designed to
monitor and detect early signs of fruit spoilage in real-time. The primary aim is to improve
food safety, reduce waste, and enhance storage efficiency. Fruits are highly perishable and, if
not stored in optimal conditions, can spoil rapidly, leading to significant waste and potential
health risks due to foodborne illnesses. Traditional methods for checking food freshness, such
as visual inspection, can be unreliable and inefficient, making an automated monitoring
system an ideal solution.

The system leverages the ESP8266 microcontroller, which is equipped with Wi-Fi
capabilities for easy data transmission, allowing users to monitor storage conditions remotely.
This system integrates various sensors to monitor factors that influence spoilage, such as
volatile organic compounds (VOCs) like ethylene gas (released by ripening fruits),
temperature, and humidity levels. The gas sensors detect the release of specific gases
associated with spoilage, while temperature and humidity sensors provide continuous
monitoring of environmental conditions, ensuring that the storage environment remains
conducive to preserving freshness.

When the sensor data exceeds preset thresholds—indicating elevated VOC levels,
temperature, or humidity—the system flags a potential spoilage event. Real-time alerts are
then sent to users through an app or web interface, enabling them to take preventive actions,
such as adjusting storage conditions or consuming the fruits promptly. Additionally, the
system can log data, enabling historical analysis to improve the accuracy of spoilage
predictions over time.

In commercial applications, this system can scale to monitor larger inventories, aiding in
efficient inventory management and reducing waste across the supply chain. This project
leverages IoT technology to create a proactive approach to food safety and sustainability,
helping both consumers and businesses make informed decisions about food storage and
usage.
3.2 BLOCK DIAGRAM :
Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar
Block Description :

1. NODE MCU (ESP8266) Microcontroller

 Purpose: The ESP8266 microcontroller serves as the main processing and


communication unit for the project. It collects data from connected sensors and
transmits this information to a cloud server or local application via Wi-Fi.
 Specifications: Built-in Wi-Fi module, low power consumption, and GPIO pins for
interfacing with multiple sensors.

2. Gas Sensors (e.g., MQ Series)

 Purpose: Gas sensors, such as the MQ-3, MQ-4, or MQ-5, are used to detect specific
gases released by ripening and spoiling fruits, particularly ethylene and other volatile
organic compounds (VOCs).
 Specifications: Select sensors that are sensitive to VOCs and capable of detecting low
concentrations of gases commonly associated with spoilage.
 Calibration: Proper calibration is essential to ensure the sensors accurately differentiate
between ripening and spoilage.

3. Temperature Sensor (e.g., DHT22 or DS18B20)

 Purpose: Temperature has a significant impact on fruit spoilage rates. The


temperature sensor monitors the surrounding environment, helping to optimize
storage conditions.
 Specifications: A sensor like the DHT22 is highly accurate and compatible with
ESP8266, with a wide range for temperature detection.
 Resolution: High resolution and accuracy are essential for detecting slight
temperature changes that could affect spoilage.

4. Humidity Sensor (often included with DHT22)

 Purpose: Humidity levels also affect the spoilage rate of fruits. The DHT22 sensor
provides both temperature and humidity data, making it ideal for this project.
 Specifications: Capable of measuring relative humidity, with a range typically from
0- 100%, and accurate enough for consistent readings.
5. LCD Display (Optional)

 Purpose: An LCD display module can be included for local display of real-time data,
such as temperature, humidity, and gas concentration levels. This is useful for easy
monitoring without requiring an app or web interface.
 Specifications: Small, low-power display compatible with ESP8266, like a 0.96-inch
LCD screen, which displays essential metrics clearly.

6. Power Supply

 Purpose: ESP8266 and sensors require a stable power source, typically 3.3V or 5V. A
power module or adapter ensures the system runs continuously and reliably.
 Options: USB power adapter, batteries with a voltage regulator, or a solar power
source (for more sustainable options).
 Considerations: Choose a power solution based on the location and expected power
availability, especially if continuous operation is needed.

7. Resistors and Capacitors

 Purpose: These components help in stabilizing the circuits and managing sensor
signal strength, especially for gas sensors that might require load resistors.
 Specifications: Select resistor and capacitor values based on sensor datasheets and
circuit requirements.

8. Breadboard and Jumper Wires

 Purpose: Breadboards and jumper wires facilitate prototyping, allowing quick and
flexible connections between the ESP8266 and sensors.
 Specifications: Standard breadboard and high-quality jumper wires to ensure stable
and secure connections.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar


CHAPTER 4
System Design and Working

4.1 CIRCUT DIAGRAM


4.2 Working:-
This project appears to be a smart fruit storage system that monitors various
environmental conditions within the storage area to ensure optimal fruit preservation.
The system utilizes a microcontroller (ESP8266) and multiple sensors to collect data,
process it, and transmit it to a cloud platform for remote monitoring and analysis.

Components and Functionalities:

1. Sensors:
o Gas Sensor: Detects the presence of ethylene gas, a natural plant hormone that
acceleratesripening. High levels of ethylene can lead to premature spoilage.
o Humidity Sensor: Measures the relative humidity in the storage area. Maintaining the
correcthumidity level is crucial for preventing fruit dehydration and mold growth.
o Temperature Sensor: Monitors the temperature within the storage area. Temperature
control isessential for preserving fruit quality and preventing spoilage.
o VOCs Sensor: Detects volatile organic compounds (VOCs) released by fruits,
which canindicate spoilage or ripening.

2.Microcontroller (ESP8266):
o The central processing unit of the system.

o Reads data from the sensors.

o Processes the data to determine the fruit's condition and the overall
storage environment.

o Sends the processed data to the cloud platform for remote monitoring and analysis.

3.Cloud Platform:
o Stores and processes data collected from the sensors.

o Provides a web interface for remote monitoring and control.

o Analyzes the data to identify trends and anomalies.

o Sends alerts to users via email or SMS notifications if any critical conditions
are detected.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 23


d

4. Wi-Fi Module:
o Enables wireless communication between the microcontroller and the cloud
platform. Thisallows for remote monitoring and control of the system.

5. Power Supply:

o Provides the necessary power for the entire system.

4.3 Working Principle:

1. Data Collection:
o The sensors continuously monitor the storage environment and collect data on
temperature,humidity, ethylene gas levels, and VOCs.

2. Data Processing:
o The microcontroller reads the sensor data and processes it.

o The microcontroller may apply algorithms to analyze the data and determine the
fruit's conditionand the overall storage environment.

3. Data Transmission:
o The processed data is transmitted to the cloud platform via the Wi-Fi module.

4. Remote Monitoring and Analysis:


o The cloud platform stores and processes the data received from the microcontroller.

o The data is analyzed to identify trends, anomalies, and potential issues.

o The cloud platform generates reports and visualizations to help users monitor the fruit
storage area remotely.

5. Alert Notifications:
o If any critical conditions are detected, the cloud platform sends alerts to the user via
email or SMS notifications. For example, if the temperature exceeds a certain threshold
or if ethylene gaslevels are too high, the user will be notified.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 24


4.4 Benefits:
 Improved Fruit Quality and Shelf Life: By maintaining optimal environmental
conditions, thesystem can help to extend the shelf life of fruits and maintain their
quality.
 Remote Monitoring and Control: Users can monitor the storage area remotely and
receive alerts if any issues arise, allowing for timely intervention.
 Data-Driven Decision-Making: The system provides valuable data that can be used to
optimizestorage conditions and improve overall efficiency.
Potential Improvements:
 Additional Sensors: Adding sensors for light intensity, CO2 levels, or other relevant
parameters could further enhance the system's capabilities.
 Automated Control: Implementing automated control mechanisms, such as fans or
heaters, to adjust the storage environment based on sensor readings could further
improve fruit preservation.
 Machine Learning Integration: Incorporating machine learning algorithms could
enable the system to learn from past data and make more accurate predictions about
fruit condition and storage requirements.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 25


4.5 Development of the layout

Hardware Components:

 Microcontroller: ESP8266
 Sensors:
o Gas sensor (for ethylene gas detection)
o Humidity sensor
o Temperature sensor
o VOCs sensor
 Power Supply: Rechargeable battery or external power source
 Wi-Fi Module: Integrated into the ESP8266
 Enclosure: A protective case for the electronics

Software Development

1. Sensor Integration:
 Library Selection: Choose suitable libraries for each sensor to interact with the
microcontroller.Libraries like DHT for temperature and humidity sensors and MQ-2 for
gas sensors can be used.
 Sensor Calibration: Calibrate the sensors to ensure accurate readings. This
involves adjustingthe sensor's output to match the actual environmental conditions.
 Data Acquisition: Write code to read data from the sensors at regular intervals.

2. Data Processing:
 Data Filtering: Implement filtering techniques to remove noise and outliers from the
sensordata.
 Data Analysis: Analyze the sensor data to determine the fruit's condition and the
overall storageenvironment.
 Decision Making: Develop algorithms to make decisions based on the sensor data, such
astriggering alerts or adjusting environmental conditions.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 26


Smart Stick for Blind People

3. Cloud Connectivity:
 Wi-Fi Configuration: Configure the ESP8266 to connect to a Wi-Fi network.

 Cloud Platform Selection: Choose a suitable cloud platform like ThingSpeak, Adafruit
IO, orAWS IoT Core to store and analyze the data.
 Data Transmission: Use libraries like MQTT or HTTP to transmit the sensor data to
the cloudplatform.

4. Web Interface Development:


 Frontend: Create a user-friendly web interface using HTML, CSS, and JavaScript
to visualizethe sensor data and control the system remotely.
 Backend: Develop a backend server to handle data transmission and processing, as well
as userauthentication and authorization.

5. Alert System:
 Threshold Setting: Define threshold values for each sensor parameter to determine when
totrigger an alert.
 Alert Mechanism: Implement a mechanism to send alerts via email, SMS, or
push notifications.

6. Power Management:
 Power Optimization: Implement power-saving techniques like sleep modes and low-

powerperipherals to extend battery life.

Testing and Deployment:


 Sensor Calibration: Thoroughly calibrate the sensors to ensure accurate readings.
 Data Validation: Test the data transmission and processing to verify data integrity.
 Alert Testing: Simulate different scenarios to test the alert system.
 Deployment: Deploy the system in the fruit storage area and monitor its performance.
 Maintenance: Regularly maintain the system, including battery replacement, sensor
calibration, and software updates.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 27


Additional Considerations:
 Security: Implement security measures to protect the system from unauthorized access.
 Scalability: Design the system to be scalable to accommodate a larger number of sensors
andstorage areas.
 User Experience: Create a user-friendly interface for easy monitoring and control.
 Error Handling: Implement error handling mechanisms to recover from unexpected failures.
 Environmental Factors: Consider the environmental conditions in the storage area, such
astemperature extremes and humidity fluctuations.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 28


Smart Stick for Blind People

CHAPTER 5
RESULT AND
5.1 Conclusion: CONCLUSION
The development of a smart fruit storage system has the potential to significantly improve
fruit quality,reduce food waste, and optimize storage operations. By integrating various
sensors, a microcontroller, and cloud connectivity, this system enables real-time monitoring
and control of the storage environment.

Key Benefits:
 Improved Fruit Quality: By maintaining optimal temperature, humidity, and gas levels,
the systemhelps to preserve fruit freshness and extend shelf life.
 Reduced Food Waste: Timely alerts and insights into fruit condition can minimize
spoilage andreduce food waste.
 Remote Monitoring and Control: Users can monitor and control the storage environment
remotely,providing flexibility and convenience.
 Data-Driven Decision Making: The system generates valuable data that can be analyzed to
optimizestorage practices and improve efficiency.
Future Directions:
 Advanced Sensor Integration: Incorporating additional sensors, such as light intensity
and CO2 levelsensors, can provide more comprehensive monitoring.
 Machine Learning Integration: Utilizing machine learning algorithms can enable
predictive analyticsand automated decision-making.
 Energy Efficiency: Implementing energy-efficient solutions, such as low-power sensors
and smartpower management, can reduce operational costs.
 User-Centric Design: Focusing on user experience and providing intuitive interfaces can
enhancesystem adoption and usability.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 29


5.2 ADVANTAGES:

Improved Fruit Quality and Shelf Life:


 Optimal Environmental Conditions: By monitoring and controlling temperature,
humidity, and gaslevels, the system ensures optimal conditions for fruit preservation.
 Reduced Ripening: Timely detection and control of ethylene gas can slow down the
ripening process,extending the shelf life of fruits.
 Minimized Spoilage: By identifying and addressing issues like mold growth and
bacterial infectionsearly on, the system can significantly reduce fruit spoilage.

Enhanced Efficiency and Productivity:


 Remote Monitoring and Control: Remote access allows users to monitor and control
the storageenvironment from anywhere, saving time and effort.
 Automated Alerts: Automated alerts for critical conditions, such as temperature spikes
or highhumidity, enable timely intervention and prevent losses.
 Data-Driven Decision Making: The system generates valuable data that can be analyzed
to optimizestorage practices and improve efficiency.

Reduced Food Waste:


 Predictive Maintenance: By identifying potential issues before they escalate, the system
can helpprevent food waste.
 Optimized Inventory Management: Real-time monitoring of fruit conditions can
help optimizeinventory management and reduce waste.

Environmental Benefits:
 Reduced Energy Consumption: By optimizing storage conditions, the system can help
reduce energyconsumption.
 Reduced Carbon Footprint: Reduced food waste and improved efficiency can contribute to
a smallercarbon footprint.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 30


Smart Stick for Blind People

5.3 Disadvantages:
1. Initial Cost: The initial investment for setting up such a system, including hardware,
software, andcloud infrastructure, can be significant.
2. Sensor Accuracy: The accuracy of sensors can be affected by factors like calibration,
environmentalconditions, and sensor aging.
3. Power Requirements: The system relies on a continuous power supply, which can be
challenging inremote or off-grid locations.
4. Internet Connectivity: Reliable internet connectivity is essential for remote monitoring
and datatransmission.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 31


5.4 APPLICATIONS:

Agricultural Industry:
 Commercial Fruit Storage Facilities:
o Optimizing storage conditions for fruits like apples, pears, and berries.
o Reducing post-harvest losses and extending product shelf life.
o Improving overall fruit quality and consumer satisfaction.
 Small-Scale Farmers:
o Assisting small-scale farmers in managing their produce more efficiently.
o Providing insights into optimal storage conditions for different fruits.
o Reducing post-harvest losses and increasing farmers' income.

Food Processing Industry:

 Quality Control:
o Monitoring the quality of incoming fruits and ensuring they meet specific standards.
o Identifying and segregating spoiled or damaged fruits.
o Optimizing processing and packaging operations.

Retail and Wholesale:

 Inventory Management:
o Tracking the condition of fruits in storage and on shelves.
o Optimizing inventory levels to reduce waste.
o Improving supply chain efficiency and reducing costs.

Research and Development:

 Studying Fruit Ripening:


o Gaining insights into the ripening process and identifying factors that affect fruit quality.
o Developing new storage techniques and technologies.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 32


Smart Stick for Blind People

 Testing New Varieties:


o Evaluating the storage potential of new fruit varieties.
By effectively monitoring and controlling storage conditions, these systems can significantly
impact the quality, quantity, and sustainability of fruit production and distribution.

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 33


5.5 REFERANCE:

Journal: IEEE Internet of Things Journal, 2022"


IoT-Based Food Spoilage Detection Using Smart Sensors and Machine Learning Algorithms"
Authors: M. S. Khan, L. Tian, and S. Liu

Journal: IEEE Sensors Journal, 2023


"A Low-Cost IoT Solution for Real-Time Monitoring of Food Freshness"
Authors: A. Kumar, J. Verma, and P. Gupta

Journal: IEEE Access, 2023


"IoT-Enabled Food Spoilage Prediction System Using Deep Learning Techniques"
Authors: R. Singh, K. Patel, and M. Wang

Journal: IEEE Transactions on Industrial Informatics, 2022


"Smart Packaging for Perishable Food Using IoT and Cloud-Based Analytics"
Authors: N. Hossain, T. Fong, and E. Lee

Journal: IEEE Transactions on Smart Grid, 2024


"Development of an IoT-Based System for Monitoring and Predicting Food Quality in Supply Chains"
Authors: D. Garcia, L. Huang, and C. Zhao

Journal: IEEE Internet of Things Journal, 2023


"IoT-Based Gas Sensing Technologies for Food Spoilage Detection"
Authors: P. Johnson, R. Lim, and M. Evans

Journal: IEEE Transactions on Wireless Communications, 2023


"A Wireless Sensor Network Approach for Food Quality Assessment Using
IoT" Authors: F. Rossi, G. Caruso, and S. Mehta

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 34


Smart Stick for Blind People

Journal: IEEE Transactions on Artificial Intelligence, 2022


"Artificial Intelligence-Driven IoT Platform for Real-Time Food Spoilage Prediction"
Authors: K. Nair, L. Zhang, and J. Chen

Journal: IEEE Blockchain and IoT Journal, 2024


"IoT and Blockchain Integration for Enhanced Food Spoilage Detection and Transparency"
Authors: H. Kumar, S. Lee, and D. Roberts

Journal: IEEE Sensors Journal, 2023


"Temperature and Humidity Sensing in IoT Systems for Meat Freshness Monitoring"
Authors: E. Park, M. Yoon, and H. Choi

Dr.Vithalrao Vikhe Patil College of Engineering, Ahmednagar 35

You might also like