International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
Smart Cabinet
B K, Akash Anfas C, Harikrishnan R, Remya Annie EapenDepartment of Electronics and Communication Engineering, Mar Baselios College of Engineering and Technology, Trivandrum, India ***
Abstract The purpose of the Smart Cabinet is to store necessary items or any household products in a much more interactive and efficient manner that is convenient to the user. There have been numerous instances where a user has run out of necessary items, unexpectedly, which makes it impossible for the user to perform various tasks on time. The main factor that makes a Smart Cabinet stand out with rest of the normal cabinets is the fact that it has got a software incorporated to it, which notifies the user about the quantity or amount of products that are prevailing in the Smart Cabinet after each use and helps the user to stock the products with more flexibility so that the user will not run out of any necessary items in the future while performing any sorts of task (mainly cooking). Basically, it is like a convenient, user friendly kitchen cabinet that is modified according to one’s convenience and also alerts or reminds the user before the necessary products gets fully utilized.
1. INTRODUCTION
The growth of technology is remarkable. All innovationsare donetomakea bright impacton people's lives. One among those advanced technologies in the present day is the Internet of Things (IoT), which can automatically discover, track, track and control things. Rapid advances in information technology (IT) have propelled a hyper connected society in which things are connectedtoandinteractwitheachotherthroughmobile devicesandtheInternet.ManyIoT baseddevices,such as smartcabinets,aredesignedtomeetthehumanneeds.All of these successful applications are contributed to a high qualityoflifeandcomfortableenvironment.
Smart home is one of the foremost areas of smart devices.Thekitchenisoneoftheplaceswheresuchsmart items are being used. At the same time it has become a habit for all of us to consume junk food, vegetables or fruits that are very old in our daily life because of the busy lifestyle we live. On the other hand, there maybe situationsinwhichpeopleareunabletoidentifytheitems stored in the refrigerator or a cabinet or anywhere. This mainly comes in case if he/she is a foreigner. Foreigners may not be familiar with the traditional or local vegetables/fruits/spices available in our country or locality. There are also cases where we do not remember that vegetables/fruits/spices have not been used/eaten foralongtime.Thiscanalsoleadtomalnutritionorsome dangerous diseases or may affect the immune system of each of us. Why not join in an effort to have a machine to
showwhatwehave(food/vegetables/fruits)orhowoldit is.Ofcourseitmaynotbepracticableforustocalculateor find the accurate age of the product, for it must be calculated from the day it grows, but nevertheless we can find one little effort to find how old it is derived from the dateitwascollectedfromthesellerorfromtheexpiration datementionedanddeterminestheremainingamount.
Thefundamental Engineeringprinciplethathasbeen employed in the manufacturing of Smart Cabinet is to makethelivesandcircumstancesoftheusersto bemuch more predictable and flexible. Creative ideologies are the centre of attraction of various engineering aspects and engineers make use of their informative knowledge to develop and establish different promises and to clear and difficultiesthatmaycomeintobeing.
2. BACKGROUND
Over the recent years, the sudden development and growing web service of smart home automation and wirelessconnectedmoduletechnologies,hasaccelerated the sudden growth of the smart homes. However, the internet is growing quickly since the turn of the 21st century,whichevidentlyhelpedinthegrowthofChina's e commerce during these years. Compared to many foreign markets, China faces many problems, such as high business costs, high investment risks, strong competition and market imperfections, and therefore, the e commerce e commerce e commerce is growing rapidly and growing, leading to more and more traditionalretailers,Wal Mart,PaulLongwarehouseand profitsofothermajorretailershavedeclinedsharplyand market share has declined sharply over the past few years. A very successful management firm in both domestic and foreign domain, Bain released a report based on their recent analysis on retail industry. According to the report, the growth of China's online retail sales continues at an alarming rate each year. Therefore, it is very important to find a new business model to transform. At the same time, eventhough majority of the products can be bought online now, e shopping of a new food may not be easy, as these new foodsarenoteasytokeepandyourstoragetimeisshort. But currently, the lifestyle of people is growing rapidly than ever, so much so most of the people do not have time to buy them form the stores, in this case, the fulfillment of online shopping for unpreserved food can maketheirliveseasier.Soproducingasmartrefrigerator
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
havingthisfunctionalityisclose,thereisagreatworking value and this will make it much easier for people to survive.
Smart Home being a product of the sudden development of the high advancement of the technology, can fully meet the needs of modern people involved in health care, so that people living fast paced lives will temporarily slow down and become smarter. A home where you can enjoy your daily life. In addition, you can manage your daily life in many ways including remote control, wireless remote control etc. The main purpose of thesmarthomesisforintelligentsystemtocreateaseries of control systems to manage daily family life, make life more efficient, making life management more intelligent andmakehealthmanagementmoreefficientandeffective. Now people are gradually paying attention to environmental protection, energy saving, and smoke reduction. Smart homes efficiently meet these needs, intelligently meets human needs using small electronic chips, intelligent humidity control and temperature, and can detect excess formaldehyde and other harmful gases in the room. Even if they are excessive, so life will be healthier. It will become more and more environmental friendly and the living environment will be more reliable and trustful. In the environment of a smart homes, the emergence of smart cabinet is an unavoidable result, and smart cabinets are the product of the wave of smart homes,itisanimportantpartofthesmarthome,andtheir emergence. It will definitely make people’s daily life easier.
3. RELATED WORKS
There are a great deal of smart home projects available.L.Xieet.al[1]developed“iFridge:AnIntelligent Fridge for Food Management based on RFID Technology” which gives details on how recipe recommendations can bedonebasedontheitemsleftoverinthefridge.Another research done by Prapulla SB et.al [2] involves the development of a smart refrigerator using internet of things. The items inside the refrigerator is monitored in realtimeandanotificationispushedtotheuserwhenthe quantity goes below a particular level. This project uses Light Dependant Resistor (LDR) and pressure resistors. The pressure sensor pushes a notification to the user when the applied pressure us below 0.5 kg. LDR sensor sensortriggersanotificationtouserassoonastheapplied pressureisbelow0.5kg. Thecontainerinwhichliquid is sensed are monitored by the LD sensor. The user is notifiedaboutthestockbymeansofSMSoremail
Work done by Deepti Singh and Preet Jain [3] categorized smart refrigerator by implementing means to sensethequantityaswellasthequantityofthefooditems kept inside it. It also constantly checks the expiry of the food items and the consuming condition of edible foods.
value:
The system uses load cell sensor, STM32F103x8 Microcontroller, ESP8226 Wi Fi module and Android application. The whole system is controlled by the STM32F103x8 cortex M3 ARM Microcontroller where the inputofMicrocontrollerisgivenbytheloadcellandWi Fi transmits all the information to the Android phone by usingIoT.AnotherworkdonebyS.Luoet.al[4]introduced "A smart fridge with an ability to enhance health and enable better nutrition,".It is simply a smart fridge which provides us with nutritional values by simply looking inside the fridge. H. Nasir et.al developed an IOT based smart refrigerator [5] which forewarns the user about various aspects of edibles present in it via and SMS or an email.This primitive smart refrigerator system consists of three main parts: sensing, transmission and control modules. Load cells and odour cells are present in the sensing module. The Arduino UNO, power supply are present in the control module. Finally, LCD module and Wi Fimodulearepresentinthetransmissionmodule.The efficient integration of these modules helps the user to obtaininformationsuchasthecommoditiespresentinside the refrigerator, working condition, quantity of food etc. viaanSMSoranemail.
TheSmartFridgeby M.Edwardet.al [6] iscapableof knowing the number of items that are stocked in the refrigerator and transmit timely notification to the user. Notifications basically comprise of the expiry date of the items present in the product, any sorts of temperature variationsanditscorrespondingcrucialerrormessages.In addition to this, it is also integrated with an Android application that will enable the users to get an idea about thecontentsorthecommoditiespresentinsidethe fridge, order the necessary food items, store the necessary history of transaction and accordingly perform the necessaryconfigurations.
4. THE PROPOSED SYSTEM
This chapter mainly describes about the methodologies that have been undertaken for obtaining the required solution. Initial selection of components, server requirements, specification of components are all explained in detail. Various processes and its corresponding results have been mentioned along with thestepstakentocorrecttheerrorsandtocomeupwitha modified,efficientsolutionwhichaidsindealingwithday to day activities in a much more flexible manner. Integration and optimization of both hardware and software provides an integral path to enhance the product’s utility and correspondingly establish a secure method and pathway for communication which enables the product to exchange various information. Optimum integration of both hardware and software are the main goals for any product level commodity to enable the solving of tasks in a much more efficient manner and to solveotherco relatedproblems.
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
The fundamental idea mainly emphasizes on installing the well organized and coherent implementation of both hardware and software that are implemented and incorporated in the hardware that enables efficient storage of products and also providing the provision for alerting the users whenever and wherever necessary. The incorporated software basically alertstheuserregardingtheinitialquantityoftheproduct (food item) and also notifying the user when the quantity falls below a particular threshold. It also gives an account onthequantityofproductsthatareleftinthecabinetafter aparticularusebytheuserwhichhelpsinre stockingthe product in a much more efficient and orderly manner so that the user does not run out of any essential commodities while performing any sorts of activities. The imageprocessingaspectoftheproducthelpsinautomatic detection of the food item, such as spices, and helps in allocating different commodities in a much more tangible manner.
5. COMPONENTS USED
By considering different components and choices for the servers and evaluating their pros and cons, the final methodology for the implementation of the solution comprisesofthefollowingcomponentsandtools:
5.1 Load Cell
Aloadcell isbasicallya forcetransducer. Conversion ofvarioustypesofforcesuchastension,pressure, torque orcompressionintoasignalofelectricalpropertiescanbe standardizedandthenmeasured. Withtheincreaseinthe force applied to the load cell, there is a proportional change in the signal that is generated electrically. Strain gauges, pneumatic and hydraulic cells are the most commonlyusedtypeofloadcells.Loadcellsthatarestrain gauges are basically used for industrial applications. An ideal characteristic is exhibited because of its high accuracy,cost effectiveness,versatility.Thestructureofa load cell basically consists of body which is metallic in nature that are secured by strain gauges. Aluminium, alloys of steel or stainless steel are basically employed to make it considerably sturdy and also to provide a little degreeoffreedomi.e.withminimumelasticity.The‘spring element’isgivenbythiselasticityterm,whichis referring to the body of the load cell. When a considerable force is applied on the load cell, a deformation is formed on the spring element and it gets restored to its original shape unless and until it is overloaded. With the deformation of thespringelement,achangeinshapeisalsonoticed.
Very fine wires are used for the construction of a strain gauge. If not fine wires, then foil of grid pattern whichisintegratedtoflexiblebackingisused.Whenthere is an alteration in the strain gauge’s shape, a variation in the electrical resistance also takes place. With the application of force in a unique direction, there will be a
linear change in the resistance value. The force of tension can cause a stretch in the strain gauge, which makes it longer and narrower, which in turn increases the resistance again as well. The opposite takes place when a compressing force is subjected to the load cell. As the straingaugecompressesitbecomesevenmoreshorter as wellasthinner,whichresultsinthedecreaseofresistance. Anattachmentisprovidedtoa flexiblebackingwhichcan be easily applied to the load cell, reflecting the small and minute changes that can be measured and taken into consideration.
The variation in resistance is brought about by a strain gauge of single unit which is considerably small, which makes it difficult to provide a reading that can accurately measure any sorts of variations. The small changes can be magnified by increasing the number of strain gauges which makes it even more measurable. An application of Wheatstone bridge is employed by the integrationof4loadcellsthatarestraingaugeswhichare setinaspecificcircuit.
5.2 Raspberry Pi 4(4 GB RAM)
Raspberry Pi is basically a series of SBCs i.e. small ‘Single Board Computers’ (SBCs) developed by the foundation of Raspberry Pi in UK in collaboration with Broadcom. It was initially introduced in order to enhance the teaching of basic computer science in various educational institutions. The initial model or the original model became more popular and widely used than it was anticipated, and making a impactful involvement in the field of robotics. It is extensively used in various applicationssuchasmonitoringoftheweather,becauseof itsmodularity,cheapcostanopendesignaswell.Withthe adoption of HDMI and USB devices it is being collectively usedbyvariouselectronichobbyists.
Three series of Raspberry Pi are actually present with the release of several generations of them as well. TheSBCsofRaspberry PihaveasystemofBroadcomona chip which is SoC with a Central Processing Unit (CPU) of ARM compatibility as well as an on chip Graphic Processing Unit (GPU) while a RP2040 system on chip is implementedinRaspberryPiPico.
The 4th model of Raspberry Pi i.e. Raspberry Pi 4 makes use of a processor of 64 bit, 1.5 GHz quad core ARM Cortex A72 with an on board Wi Fi, Bluetooth version number 5, an Ethernet of full gigabit (of throughput and not limited) with a couple of USB 2.0 portsandtwoportsofUSB3.0alongwithaRAMof1 8GB and also a support of dual monitor with a pair of micro HDMItypeDportswitharesolutionofupto4K.1GBRAM version has been halted along with the reduction in the price of 2GB version. The circuit board has been revised forthe8GBversion.WiththehelpofaUSB CportthePi4 is powered for the downstream peripherals, when used
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
withtherightkindofPSU.Basicallytheoperatingvoltage of Raspberry Pi is 5V and not of 9 or 12V as used for other mini computers. A flaw in the design of Raspberry Pi 4 was noticed in which the third party electronically marked USB cables, as used in Apple MacBooks. Falsely recognised it and refused in providing power of varying degree. In revision 1.2 of the board the design flaw was rectified and was released later. Later, the Pi 4 B models made an appearance with an improvement in the structureofBroadcomBCM2711C0.Thisiscurrentlyused by manufacturers for the Pi 4B and Pi 400. However, a noticeable increase in the tack frequency was not determined.
Speed of the processor ranges from 700 MHz to 1.4GHz for the model of Pi 3 B+ or 1.5 GHz for the 4th version of Pi 4, and the on board memory has a value rangingfrom 256MBto 8GB memory ofRAMi.e.Random Access Memory with more than 1GB only for the Raspberry Pi 4. Cards of Secure Digital (SD) in MicroSDHCform factorare usedforthestoragepurposes ofoperatingsystemsaswellastheprogrammemory.
5.3 ESP8266 (NodeMCU)
This particular small sized module establishes a connection to a Wi Fi network and make use of Hayes style commands for simple TCP/ IP connections. Initially, therewasn’tanydocumentationinEnglishonthechipand thecommandsthatwererequiredtobeaccepted.Withthe presence of very few external components on the module and is of very low price, it was expressed that it would have a very inexpensive volume, which attracted many attackers/ hackers to explore the module without any authentication along with the chip and the software associatedwithit.
Alongwithit,theESP8285isasimilarchipwithanin built flash memory of 1MB, which allows the connection via a Wi Fi with the design of single chip devices. However, these chips of micro controller have been succeededbythefamilyofdevicesofESP32.TheGPIOand ADC pins are categorized under the category of “Active pins” in which the external devices attached to the ESP8266MCUisestablished.Thespacebetweenthepins
istermedas“Pitch”ontheESP8266module,whichis an integral factor that determines the usage of the device on a breadboard. The term “Form factor” explains about the packaging of the module as “2x9 DIL”, signifying 2 rows of 9 pins that are arranged “Dual in Line”, which is similartothepinsofDIPICs.ManyothermodulesofESP xxmakeuseofasmallLEDwhichison boardandthatcan beblinkedwhichinturnsindicatestheactivity.
An option of trace antenna, is available for ESP xx boards,withanon boardceramicantenna,providedwith
anexternalantennawhichisceramicinnature,alongwith anexternal connectorthatprovidesthepermissionfor an externalWi Fiantennatobeunderattachment.Sincealot of RFI i.e. Radio Frequency Interference is generated in Wi Fi communications, the legalised governmental bodies such as the FCC prefer shielded electronics in order to obtain minimum amount of interference with other types ofdevices.Ametalboxisalsoprovidedasitishousedwith ESP xxmoduleswithasealofapprovalofFCCimbibedon it. In order to obtain a workable and noticeable development, the system makes use of extra components, including a serial TTL to USB adapter (sometimes referred to as bridge of USB to UART) along with an externalvoltagepowersupplyof3.3V.
5.4 HX711
The HX711 is a precision 24 bit analog to digital converter that is designed for weighing scales and industrial applications to interfere directly with a bridge sensor. It is specially made for amplifying signals from cells and reporting them to another microcontroller. HX711isanADCthatisspeciallydesignedforloadcell.It consists of an on chip low noise programmable amplifier withanoptionalgainof32,64and128.
5.5 Thingspeak (Server)
ThingSpeak is basically a Ruby based open source software that establishes a communication link with devices that are enabled on the Internet. It correlates and initiates various methods of data access methods along withtheloggingandretrievalofdatabyinitialisinganAPI to devices as well as websites on the social network. As a support forIoT applications,itwasinitiallylaunchedfor that purpose. It is also incorporated with various integrated support from software employ numerical computingsuchasMATLABfromMathWorksthatenables ThingSpeak users in visualizing and analysing the data that has been uploaded using MATLAB without needing the purchase of a license of MATLAB from MathWorks.ThingSpeakhasalsobeensubjectedtoarticles in a specialized “Maker” websites that incorporates displaying and processing of various digital data such as theInstructables,CodeprojectandChannel9.
5.6 Webcam
Awebcamistypicallyavideocamera thatis fedwith orstreamsnumberofimagesofvideoinrealtimeitselfvia a computer network such as the Internet. They can be placed on a desk as they are small cameras that can be attached to a user’s monitor or can be integrated along with the hardware as well. During a chat session that involves video, webcams are typically used which can involve a number of people, along with live audio and videostreaming.
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
The software incorporated in a webcam allows the users to either record or stream a video on the network suchastheInternet.Sinceitrequiresconsiderableamount ofbandwidth,itrequirestheusageofcompressedformats. Compared to most of the hand held videos the resolution is quite low, as higher resolutions of webcam may be affected during transmission i.e. it will be reduced. It makes the webcam inexpensive if it has got lower resolution when compared to most of the cameras used forvideopurposes,althoughtheeffectisadequateforchat sessionsthatrequirevideostreaming.EitherCCDorCMOS can be used as image sensors, which are being predominantly used as low cost cameras, however CMOS basedcamerasoutperformCCDcamerasinthelowerprice range. VGA resolution can be provided by most of the consumerwebcamsataparticularframerateof30frames per second. Megapixel resolutions can be incorporated into video streaming platforms nowadays, and a few can runathigherframeratessuchasthePlaystationEye,that is capable of producing a video of 120 frames per second at a resolution of 320x240 . The remote used in Wii consistsofasensorforimagethatconsistsofresolutionof 1024 x 768 pixels. Common built on resolution for cameras are 720p for HD purposes, and a 480p for low endlaptops.Itwasonlyintheearly2010sthatfirstknown laptops with 1080p i.e. Full HD webcams were employed orintegratedsuchastheSamsung700G7C.
5.7 MIT App Inventor
The App Inventor of MIT is a web based application witha developmentenvironmentthatis integrated and is provided originally by Google, which was later then nominated by MIT i.e. Massachusetts Institute of Technology. Newcomers are given with a provision for enhancing their skills in computer programming which enables them to create various software applications i.e. apps for two operating systems which are iOS and Android. It is an open source and free software which is released under the provision of dual licensing which is a Creative Common ShareAlike 3.0 license that is Unported, and an Apache License which is basically used for source code.
It comprises and makes extensive use of a GUI i.e. Graphical User Interface which shares similar characteristics with Scratch (programming language) and theStarLogo,whichprovideswithaprovisionof‘dragand drop’ for the users basically varieties of visual objects in order to create certain applications that is able to run on devices based on Android, whereas the App Inventor Companion(programthatenablestheappforrunningand debugging on) that makes a foundation in various iOS devices is still under progress and development. In the process of creating various Inventors for Apps, Google drew its attention to various research analysis that were significantforvariouscomputingofeducationalpurposes,
value:
and for private work done by Google on various environments which is used for online environments. Constructionisttheoriesusedforlearningarethebasisfor projects relating to the App Inventor, which signifies that programming can be used as a mode of transport for various powerful ideas that are engaging through a significant source of active learning. As it is, it is also a piece of on going development in the field of computer and its related education. The use of cloud data is being supported by the App Inventor on the basis of an experimental Firebase#Firebase Realtime Database component.
Basically,theAppInventorisaservicebasedoncloud which is free which enables a person to make their own app suing a programming language that makes use of variousnumberandtypesofblocks.TheaccessoftheApp Inventor can be made using a browser based on the web servicessuchasChrome,Firefox,Safari.Thedevelopment environmentfortheAppInventorissupportedforvarious software including the operating system Mac OS, Linux/ GNU and Windows. They app based on App Inventor can beinstalledwitheaseonanyAndroidbasedphone.
6. IMPLEMENTATION OF PROPOSED SYSTEM
Fig1showstheworkingmethodologyoftheproposed SmartCabinet.Atfirst,thecommoditiesi.e.inthiscasethe spices are placed on the platform of the load cell which acts as a suitable area for the spices to be easily placed. Thestructureoftheplatformismadeinsuchawaythatits geometricalshapeissuitableorpreciseenoughtoprovide auniformsupportforthe productstobeplacedonandto be measured. The weight of the product placed and the loadcell’srigidity are balancedout by basestructure that holdstheload cell and the product’sweighttogether.The platform as well as the base of the load cell are made by 3Dprinting.Oncetheproductsareplacedontheloadcell, it will cause a bend to the load cell, the corresponding strain produced will convert it into voltage values and its corresponding weight is obtained. The weight of the objectscanalsobeviewedontheserialmonitoraswell.
To send the data to Raspberry Pi we make use of NodeMCU.NodeMCUisanopensourceplatformbasedon ESP8266 which canconnect objects and let data transfer usingtheWi Fiprotocol.Inaddition,byprovidingsomeof the most important features of microcontrollers such as GPIO,PWM,ADC,andetc,itcansolvemanyoftheproject's needsalone.ESP8266hasverylowcostandhighfeatures which makes it an ideal module for Internet Of Things (IoT).It can be used in any application that require it to connect a device to local network or internet. NodeMCU Development Board/kit v1. 0 (Version2) NodeMCU is an Arduino like device. NodeMCu comes with an 80MHz of clock speed and 4MB of flash memory. Built in TCP/IP Stack IoT Ready: The NodeMCU contains a Wi Fi
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
connectionandcanconnecttotheinternetthroughWi Fi. ItisbestsuitedforIoTapplications.
The data i.e. the weight of the spices is sent to the serverwhichissetupbyusingThingSpeak.ThingSpeakis anopen sourcesoftware written inRubywhich allows users to communicate withinternet enabled devices It facilitates data access, retrieval and logging of data by providing anAPIto both the devices andsocial networkwebsites. ThingSpeak was originall launched in support of IoT applications. ThingSpeak has integrated support from the numerical computing softwareMATLABfromMathWorks,allowing ThingSpeak users to analyze and visualize uploaded data using MATLAB without requiring the purchase of a MATLAB licensefromMathWorks.
So now at the server we have weights of 4 different types of spices that are being taken under consideration. Thesedataarethensenttothereceivingmodulewhichis the app developed using MIT app inventor. The result of image processing is send directly to the app as well. The first screen i.e. the front end of the app consists of the following data: weight of the spices, name of the spices being used. A provision has also been installed in the app where the user can set a favourable threshold so that the weight gets updated when it goes below the threshold value.
Whentheweightofa particularspicegoes belowthe threshold valuea button named ‘update’ will navigatethe app’s screen to the second screen where it consists of the name of the products whose quantity is below the threshold value. And thus, by adopting these mechanisms stocking, monitoring and re stocking of commodities can takeplaceinrealtimeandthattooinamuchmoreflexible manner.
Fig 1:DetailedFlowDiagram
With the help of Raspberry Pi and the installed Webcam, the image processing takes place. A number datasets are actually collected and is trained in order to determinethekindofspicesthathasbeenplacedbasedon its characteristics. A webcam was chosen over Pi cam because of the large field of view that it possess. Image processing basically includes the following three steps:Importing the image via image acquisition tools;Analysing and manipulating the image;Output in which result can be altered image or report that is based on image analysis. Common image processing includesimage enhancement, restoration, encoding, and compression.
Fig 2:Schematicoftheproposedsolution
7. RESULTS
The four load cells measure the weight of each individual commodity using their corresponding HX711 andthisdataisreceivedtoNodeMCUthroughtheDATpin from HX711 to the Digital pin in NodeMCU. The Digital pins D2, D5, D6 & D7 are used to receive the individual weight data from each HX711 load cell. We synchronize thedatasettingof SCKpin(clock)toacommonDigitalpin D1sothatallthedatasarereadtogetherinasync.
Fig -3:Hardwareset up(baseofthecabinet) alongwithfourloadcells
The synchronized data reading from NodeMCU is viewed in the serial monitor of Arduino IDE for verification.TheweightdatafromNodeMCUissenttothe ThingspeakserverviawriteAPIs. Datafromeachloadcell is assigned to a specified field, for example field 1 data from loadcell 1 and like wise for the remaining load cell weights.
In the image processing side, there is a sectoring basedontheviewfromthecamera’sposition.Firstsector covers the area of object 1, whichever object is placed on thissectorwillbeidentifiedandobject1,likewiseforrest of sectors covering for object 2,3&4 . Now the Raspberry pidetectstheseobjectsusingimageprocessinginorderof thesectorsandgeneratesasequence.
Now the server has the weight of each commodity from NodeMCU,andidentifiedobjectsequence generatedfrom RaspberryPi.Thesedata issendtomobileapplicationvia read API. The application processes the data and updates in the UI . The name of commodity and its corresponding weight is now available in the application. User can now set a threshold for each commodity. If the set threshold goes below the defined threshold value, then that commoditywillbeaddedtotheshoppinglist.
5:Outputofall4loadcelldatainThingspeakserver
Fig 4:Dataobtained weightsfrom4loadcellsof differentspicesinserialmonitorofArduinoIDE
Fig 7: ApplicationUI
The commodities which went below the threshold will be added here in shopping cart UI so that when the user is abouttogoshopping,theycancheckwhatallcommodities needarefill.
International Research Journal of Engineering and Technology (IRJET) e ISSN: 2395 0056
Volume: 09 Issue: 07 | July 2022 www.irjet.net p ISSN: 2395 0072
REFERENCES
[1] L. Xie, B. Sheng, Y. Yin, S. Lu and X. Lu, "iFridge: An Intelligent Fridge for Food Management based on RFIDTechnology,"inUbiComp'13,Zurich,2013.
[2] Prapulla S B, Dr. Shobha G, Dr. Thanuja T C “Smart Refrigerator Using Internet Of Things” Journal of Internet of Things. Journal of Multidisciplinary EngineeringScienceandTechnology(JMEST),2015
[3] Deepti Singh, Preet Jain, “IoT based Smart Refrigerator System”, International Journal of Advanced Research in Electronics and Communication Engineering (IJARECE), Issue 7, July 2016.
8. CONCLUSION
Fig 8:ShoppingcartUI
A Smart cabinet system has been proposed for analysing the item which is placed in the cabinet and provides us with a restocking alert in time. Predicting the needs in the nearby future as well as the large extent of manualusage,effortsanddifficultiescanbesavedormade prominent use with the help of such system. Advantages such as ease, ergonomic features and flexibility that are provided by the product makes it more promising to satisfy household needs without any difficulty and saving one’stime.
ACKNOWLEDGEMENT
The authors wish to convey my gratitude to Prof. Dr. Jayakumari J from the Department of Electronics and Communication Engineering at Mar Baselios College of EngineeringandTechnologyinTrivandrum,India, forthe valuable guidance and suggestions throughout the durationofourresearchwork.WeareobligedtoMs.Ancy S. Anselam, Associate. Professor, our project coordinator and Ms. Remya Annie Eapen, Assistant Professor, our project guide, both from the Department of Electronics and Communication Engineering at Mar Baselios College of Engineering and Technology in Trivandrum, India, for allthehelpandguidancegiventousfordoingthisproject andhercontributiontowardsthesuccessfulcompletionof theprojectpreliminary.Wetakethisopportunitytothank alltheteachingstaff,ourseniorsandcolleagueswhohave directly or indirectly helped in our project. Our acknowledgement would not be complete without gratitudeto our parents whohave been pillarsofsupport andconstantencouragementthroughouttheproject.
[4] S.Luo,J.LiandJ.S.Jin,"Asmartfridgewithanability to enhance health and enable better nutrition," International Journal of Multimedia and Ubiquitous Engineering,vol.4,no.2,pp.69 79,April2009
[5] H. Nasir, W. B. W. Aziz, F. Ali, K. Kadir and S. Khan, "TheImplementationofIoTBasedSmartRefrigerator System," 2018 2nd International Conference on SmartSensorsandApplication(ICSSA),2018
[6] M.Edward, K Karayono and H. Meidia, “Smart fridge design using NodeMCU and home server based on Raspberry Pi 3” 2017 4rth International Conference onNewMediaStudies(CONMEDIA),2017