Ijraset Journal For Research in Applied Science and Engineering Technology
Authors: Prof. Snehal Wasankar, Ayush Walke, Priyanka Thakare, Gauri Shirbhate, Yash Raypure, Srujan Sane
DOI Link: https://doi.org/10.22214/ijraset.2024.59667
Certificate: View Certificate
In order to tackle the ongoing problem of keeping fruits fresh, this research presents an automated freshness detection device. The main goal is to create a device that can test the gaseous content of fruit to assess its quality. The Arduino cloud is used in a way of making and controlling Arduino projects online. You can connect your Arduino boards to the internet and send or receive data from them. You can also create web pages or apps to show and control your projects. Arduino cloud computing is easy to use and does not require much coding. Node MCU esp8266 which we use to store and transfer the data and is a small board that can connect to the internet and run programs. It has a chip called ESP8266 that can do Wi-Fi and other things. You can use it to make smart devices or internet of things projects. The device makes use of a MQ4 gas sensor as well as a DHT11 temperature and humidity sensor. Its primary goals are to monitor temperature and humidity in degrees Celsius and to detect methane concentrations in parts per million. Trace amounts of methane gas generated during the decomposition process are detected using the MQ4 sensor. The device\'s results are displayed on a 16x2 LCD display. Extensive fruit testing is conducted utilizing a variety of fruits, with a particular emphasis on two popular fruits: apples and bananas. The gadget is adaptable and useful for a wide range of food-related businesses, such as fruit and vegetable vendors, homes, the packaging industry, restaurants, whole chains of restaurants, and farmers looking to maximize their revenues. Interestingly, the device\'s design places a strong emphasis on economy and simplicity, making it useful and accessible to a broad spectrum of consumers. To sum up, our automated freshness detection gadget meets the demands of various stakeholders in the food sector by providing a creative and practical solution to the problem of fruit freshness.
I. INTRODUCTION
The "IoT-Based Food Spoilage Detection System Using Arduino" represents a cutting-edge solution designed to address the critical challenge of timely identification and mitigation of fruit spoilage. In today's world, where food sustainability and waste reduction are paramount concerns, this innovative device leverages Internet of Things (IoT) technology and Arduino microcontrollers to provide a smart and efficient means of monitoring and detecting spoilage in fruits. The system integrates a sophisticated network of sensors capable of detecting various parameters, including but not limited to temperature, humidity, and potentially methane concentration, ensuring a comprehensive analysis of the fruit storage environment. The incorporation of Arduino, a versatile open-source electronics platform, empowers the device to collect, process, and transmit real-time data to a central server via the Internet, enabling remote monitoring and swift response to potential spoilage events. One noteworthy feature of this system is its application of methane detection technology. Methane, a natural gas produced during the decay of organic matter, serves as an early indicator of spoilage in fruits. By implementing methane sensors within the device, the system enhances its ability to detect fruit spoilage at its incipient stages, allowing for proactive measures to preserve the quality and safety of stored fruits. This will delve deeper into the intricacies of the device, exploring its hardware and software components, connectivity mechanisms, and the practical implications of its deployment. The IoT-Based Food Spoilage Detection System represents a pivotal step towards sustainable and efficient food management, contributing to the reduction of food waste and promoting a more resilient and resource-conscious approach to fruit storage and distribution. Exacerbated by faulty packaging techniques. Stringent regulations in developed countries address these hazards, leading resellers to take precautionary measures, such as disposing of food based on "best before" dates. However, it is noted that these dates may not accurately indicate spoilage, resulting in unnecessary discarding of viable and unsold food.
II. LITERATURE REVIEW
To assess the freshness of fruits, a robust method involves the integration of sensors without compromising the edibility of the fruit. Traditional approaches relied on Internet of Things (IoT) technologies to ascertain the freshness of fruits, ensuring a non-invasive evaluation that maintains the fruit's suitability for consumption.
A. Machine Learning and Big Data Analysis
Imagine a system that scans a fruit and instantly predicts its ripeness. That's the promise of machine learning algorithms trained on massive datasets of images, sensor readings, and freshness labels. Image Recognition: Deep learning algorithms analyze photographs of fruits, extracting features like color, texture, and shape. This "fruit property" helps identify freshness with remarkable accuracy.
B. Simulating Fruit Futures: Predicting Before Picking
Even before a fruit sees the sun, computer scientists are predicting its destiny. Computational models act as time machines, simulating fruit growth, ripening, and spoilage based on factors like weather, genetics, and storage conditions.
C. Internet of Things (IoT) and Smart Packaging
Fruit freshness, meet the connected world IoT sensors embedded in smart packaging monitor temperature, humidity, and even fruit-emitted gases in real-time.
B. Software Requirements
An IoT cloud is a massive network that supports IoT devices and applications. This includes the underlying infrastructure, servers and storage, needed for real-time operations and processing. An IoT cloud also includes the services and standards necessary for connecting, managing, and securing different IoT devices and applications[8].
2. Arduino Integrated Development Environment (IDE)
Overview: The Arduino IDE serves as a consumer-pleasant interface for writing and uploading applications to Arduino. Its move-platform nature ensures compatibility with Windows, Mac OS, and Linux, catering to a diverse user base.
Programming Languages: The Arduino IDE is primarily based on C and C++, offering customers with a acquainted programming surroundings. This segment highlights the simplicity of code organization within the IDE, assisting the languages C and C++.
Software Library from the Wiring Project: The Arduino IDE comes equipped with a software program library sourced from the Wiring challenge, e.g. {#include "thingProperties.h" }
This library consists of lots of commonplace enter and output features, streamlining the improvement method for users by supplying with ease to be had functionalities.
Upload Code to NodeMCU: Connect NodeMCU to your computer using a USB cable. Select the correct COM port in the Arduino IDE. Click the "Upload" button to upload the code to NodeMCU.
This Arduino code connects to the IoT Cloud, reads values from an MQ4 gas sensor connected to analog pin A0, prints the sensor value to the serial monitor, updates the corresponding IoT Cloud property (MQ4 Sensor), and repeats the process in a loop with a 1-second delay. The code leverages the Arduino IoT Cloud library for cloud connectivity and is designed to provide real-time monitoring of MQ4 sensor data through the cloud platform.
The Arduino IDE simplifies prototyping with its beginner-friendly interface, cross-platform compatibility, and C/C++ guidance. Its Wiring library expands capabilities, making it crucial for building interactive digital projects.
3. Using Arduino Cloud to Creating a Thing
The user journey always begins by creating a new Thing. In the Thing overview, we can choose what device to use, what Wi-Fi network we want to connect to, and create variables that we can monitor and control.
Next we need to add a device by clicking on the "Select device" button on the Thing overview. Here, we choose from any board that we have already been configured, or select the Configure new device option.
Now we can add our first variable by clicking on the Add variable button. We can choose name, data type, update the setting and interaction mode for our variable. There are several data types we can choose from, such as int, float, boolean, long, char. There are also special variables, such as Temperature, Velocity, and Luminance that can be used. The variables we create are automatically generated into a sketch file.
Finally, we need to connect to a Wi-Fi network by simply clicking the Configure button in the network section. Enter your network credentials and click Save. This information will also be generated into your sketch file
4. Building the Sketch
A special sketch file can now be found in the Sketch tab, which includes all of the configurations that you have made. When the sketch has been uploaded, it will work as a regular sketch.
Additionally, each time we create a variable that has the Interaction Mode enabled, a function will also be generated. Every time this variable is triggered from the Cloud, it will execute the code within this function. This means that we can leave most of the code out of the loop() and only run code when needed.
When we are done with our sketch, we can upload it to our board, by clicking the upload button.
After we have successfully uploaded the code, we can open the Serial Monitor tab to view information regarding our connection. If it is successful, it will print connected to network_name and connected to cloud. If it fails to connect, it will print the errors as well.
Now that we have configured the device & network, created variables, completed the sketch and successfully uploaded the code, we can move on to the dashboard.
By creating new dashboard, click on the dashboard editor and we can create the widgets for variables. That widgets displays the values received from the sensor.
IV. CIRCUIT DIAGRAM
In conclusion, the \"IoT-Based Food Spoilage Detection System Using Arduino\" represents a pioneering solution in the realm of fruit storage management. By harnessing IoT technology and Arduino microcontrollers, it offers a sophisticated means of monitoring fruit storage environments, detecting spoilage at its earliest stages, and facilitating swift intervention. With its ability to analyze crucial parameters and leverage methane detection technology, this system empowers users to proactively preserve fruit quality and safety while minimizing waste. There is potential for its deployment to meaningfully advance sustainable food management practices and lower the environmental costs of food waste by significantly promoting more eco-friendly alternatives. By providing accurate spoilage detection and mitigating unnecessary discards based on arbitrary expiry dates, it not only enhances efficiency in fruit distribution but also contributes to the larger global efforts toward food sustainability and resource conservation. The IoT-Based Food Spoilage Detection System stands as a beacon of innovation in the quest for more resilient, efficient, and environmentally conscious food management solutions.
[1] Zohaib Hassan, Abhijeet, and Apoorva Sharma. \"Internet of Life (IOL).\" (2015). ISBN 978-93-5156-328-0 NXP Application note AN11075: Driving I2C-bus signals over twisted pair cables with PCA9605 (PDF), 2017-08-16, archived from the original (PDF) on 2017-08-16 [2] Yan, B.; Fan, P.; Lei, X.; Liu, Z.; Yang, F. A Real-Time Apple Targets Detection Method for Picking Robot Based on Improved YOLOv5. Remote Sens. 2021, 13, 1619. [3] Brena RF, Aguileta AA, Trejo LA, Molino-Minero-Re E, Mayora O. Choosing the Best Sensor Fusion Method: A Machine-Learning Approach. Sensors (Basel). 2020 Apr 20;20(8):2350. doi: 10.3390/s20082350. PMID: 32326125; PMCID: PMC7219245. [4] Xiao, F.; Wang, H.; Xu, Y.; Zhang, R. Fruit Detection and Recognition Based on Deep Learning for Automatic Harvesting: An Overview and Review. Agronomy 2023, 13, 1625. https://doi.org/10.3390/agronomy13061625 [5] Alam AU, Rathi P, Beshai H, Sarabha GK, Deen MJ. Fruit Quality Monitoring with Smart Packaging. Sensors (Basel). 2021 Feb 22;21(4):1509. doi: 10.3390/s21041509. PMID: 33671571; PMCID: PMC7926787. [6] Iskandar, Ade & Yuliasih, Indah & Warsiki, Endang. (2020). Performance Improvement of Fruit Ripeness Smart Label Based On Ammonium Molibdat Color Indicators. Indonesian Food Science & Technology Journal. 3. 48-57. 10.22437/ifstj.v3i2.10178. [7] Kanagachidambaresan, G.R., N., B. (2023). Supply Chain Monitoring. In: Sensors and Protocols for Industry 4.0. Maker Innovations Series. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-9007-1_7 [8] https://www.arm.com/glossary/iot-cloud#:~:text=An%20IoT%20cloud%20is%20a,real%2Dtime%20operations%20and%20processing.
Copyright © 2024 Prof. Snehal Wasankar, Ayush Walke, Priyanka Thakare, Gauri Shirbhate, Yash Raypure, Srujan Sane. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Paper Id : IJRASET59667
Publish Date : 2024-03-31
ISSN : 2321-9653
Publisher Name : IJRASET
DOI Link : Click Here