Smart Vending Machine

Page 1

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 09 Issue: 08 | Aug 2022 www.irjet.net p-ISSN: 2395-0072

Smart Vending Machine

Pawar1 , Mahesh Badmera2

1Student of M.tech, Dept. Of E&TC, Deogiri College of Engineering and Management Studies, Rachanakar Colony, New Usmanpura, Aurangabad, Maharashtra 431005

2Professor, Dept. Of E&TC, Deogiri College of Engineering and Management Studies, Rachanakar Colony, New Usmanpura, Aurangabad, Maharashtra 431005 ***

Abstract - The main aim of our project is to adopt smar technology in vending machines to make the method ease using internet of things. This paper characterizes the design, implementation, and employment of cashless and secure payment system in vending machines by using internet of things (IoT) technology. Our proposed methodology consists of a server end database, where the information is stored in that system. Further, the more users can access the vending machine through the screen on system or web page and the desired products can be purchased in an easy manner. The DC motors and spring based mechanical structure of vending machine to push the material out. The process is done through wireless communication. Further, data storage and accessibility can be done with Wi-Fi or internet connection.

Key Words: Smart Vending Machine, Raspberry Pi, DC Motor, Automation, Python3.

1.INTRODUCTION

Automatic vending machines are automation devices thatareaneedatpresentsituationtosetsellingsystemof any product by this way. It has a wide application domain rangeinthepublicsector.Ithasapplicationsspecializedin fooddomainlikesnacks,Eatables,Chocolatesetc. Thingsat present i.e., evolving now very rapidly. Many changes like revolution that has come into existence in conventional system that has changed towards automation.Automation with a reduction in working time is needed at present. In thissystemweusetheRaspberrypiasthecontrollerofthe system which gives the command to the dc motors and run the web application onthe screen. Were like other systemDCmotorandspring combinationsareusedinthis system to dispense the product. For payment options for these machines contained both the combination of UPI (Digital payment option) and Cash. There is a vendor dashboard for the trace the product records also we can track the machine status, change the payment gateways, check the temperature of the machines, enable & disable thecashandUPIservices.

2.Motivation

The basic idea of using vending machines is to provide productssuchasfood,beveragesandsooninstantlywhen

the consumer needs and pay without being assisted by anyone within a near distance. Also, it provides 24-hour servicethatensuresproductavailability,especiallyatnight [1]. Moreover, people can purchase products in a secure manner that allows them to buy private products like sanitary napkins and others. With the availability of vending machines in offices, public restrooms, and other places, one can now save more time and effort in buying whattheyneedfromastore[2].Asitisadigitalplatformina vending machine the product quantity, product consumptionrateandtransactionscanbemonitored.

3.

LITERATURE SERVEY

Publishers Asmita P. Bodhale, Prof. J. S. Kulkarni in Case Study on Different Vending Machines paper compares various aspects or response like space, time, speed, power dissipationofavendingmachinethatis automatedproduct to create our day-to-day life more suitable and to cover marketviability.[3]

Publishers Vishal Tank, Sushmita Warrier, Nishant Jakhiya, paper explain the amount is authenticated and identified using an image processing unit controlled by a Raspberry Pi, a credit card sized controller capable of processingstillimages.[4]

PublishersAnupKumarKolya,DebasishMondal,Alokesh Ghosh, Subhashree Basu, paper presents the design and implementation of control strategy for both thespeed and direction of a direct current (DC) motor using Androidbasedapplication in smart phone. The Raspberry Pi 3 with a motor driver controller has been used to implement the control action via Python-based user defined programming.[5]

Publishers Ali Abdyaseer Kadhum, Munther Mohammed Abdulhussein, theyhaveimplemented servomotorthatcan becontrolledtorotateineven360degreeusingnormalDC motorandanopticalencoder.Thishelpsto reducethecost required to buy a servo motor spatially for heavy duty tasks.[6]

Publishers Sandesh More, Sagar Sonawane, Mandar Mhamunkar and Prof. Anuja Gote. present a solution

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page511
Rajesh

International Research Journal of Engineering

and

Technology (IRJET) e-ISSN: 2395-0056

Volume: 09 Issue: 08 | Aug 2022 www.irjet.net p-ISSN: 2395-0072

wherethepaymentpartisbypassedtotheonlinesources. Here we are solving an intricate problem with a simple algorithm providing an interface to the user that even a laypersoncaneasilyunderstand.[7]

Publishers B.V.N.R.Siva Kumar, Kurisetti.Siddhartha Roy,C Bapaiah Naidu, Addanki John, use of IR sensor for shipdispensesornotdispensesconfirmation,Iftheshipis detected by the sensor, it sends a signal to the Arduino nano for opening of the bridge and if the ship is not detected by the sensor, it sends the signal to the Arduino nanoforclosingthebridge.[8]

PublishersSooraj,BonyMons,Dr.Jisna Kuruvilla inIOT (internetofthings)BasedVendingMachinewithCashless Payment Conducted So Far: Cashless Payment System in Vending Machine using IOT. A vending machine is an automatedmachinethatprovidesitemssuchassnacksto employees; a card is inserted into the machine. This is cashlesspaymentconcept.[9]

4. Methodology

Inourproposedsystem,youmustcometothemachine and tap on the screen to see the product list. After selectingthe product tapon continue,it will redirectyou to the payment page. where you can make payment through cash or UPI. After a successful transaction spring will rotate and product will dispense which can be collectedthroughpushtray.

product as shown in fig. 2(b) and then youcan add more Products to cart by Add Morebutton which will appear on the screen asshowninfig.2(c).

More products can be added to the cartusing“+” button&canberemovedfromcartusing“–”buttonas showninfig.2(d).

Fig-2(a):HomeScreenofMachine

Fig-1:FlowChartofProposedMethod

Software Prototype

A. Selecting the product:

Click on Tap to Start button as shown in fig. 2(a), In selecting the product firstly, you must select a single

Fig-2(b):SingleProductSelection

© 2022, IRJET |
| ISO 9001:2008 Certified Journal | Page512
Impact Factor value: 7.529

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 09 Issue: 08 | Aug 2022 www.irjet.net p-ISSN: 2395-0072

Fig-2(c):SingleProductScreen

Fig-2(c):AddMoreProductScreen

B. Payment Selection Method

There are two payment selections methods Cash and UPI, Payment selection screens are shown in fig.3(a). where in cash we must purchase a single product and mustinsertnotesofthesameamountbecausethereisno cash dispenser system which will not accept notes other than product amount. After selecting cash there will be a screen that appears as shown in fig.3(b). After this we mustinsertthenotethoughcashacceptor.

For multiple product purchases, we can pay the amountbydigitalpaymentoptionwhichisUPI.Wherein UPI therewill be QR code appear on screen we have to scanQRbyanyUPIapplikePhonepayorGooglepay,UPI screenisasshowninthefig.3(c)

Fig-3(a):PaymentSelection

Fig-3(b):CashScreen

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page513

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 09 Issue: 08 | Aug 2022 www.irjet.net p-ISSN: 2395-0072

Fig-3(c):UPIScreen

B. Collecting Products

After successful transaction UPI system by API and Cashacceptor by Raspberry pi will give the confirmation and machine will dispense products by rotating the springsofselectedproductrackandpersoncancollectthe productbypushtrayasshowninthefig.4

Fig-5:BlockDiagramOfVendingMachine

Raspberry pi 4 Model B

Its key features include a high-performance 64-bit quad-core processor, dual-display support at resolutions up to 4K via a pair of micro-HDMI ports, hardware video decodes at up to 4Kp60, up to 4GB of RAM, dual-band 2.4/5.0GHzwirelessLAN,Bluetooth5.0,GigabitEthernet, USB3.0,andPoEcapability(viaaseparatePoEHATaddon).Raspberrypiisshowninfig.6

WeusetheRaspberrypiforthefollowingfunctions:-

1. ControltheDCmotorsfortherotationofsprings whichareconnectedthroughI2Cprotocol.

2. Runthewebpageonscreenwhichisconnectedto theRaspberrypiHDMIport1.

3. ToControllingthermostatPCBforcompressor.

Fig-4:PushTray

Hardware Prototype

We haveused theRaspberry Pi 4 Model B, MotorPCB, IO PCB,Thermistor PCB,Touch Display,Cash Acceptor,

Compressor,IRsensor.Aswehaveusedraspberrypifor ourprojectbecause wewantthedevicewhichcan doall the software and hardware integration with perfect result and synchronization between software and hardware. Fig. 5 is the block diagram of the vending machinehardwarecomponents.

Fig-6:RaspberryPi4ModelB

Motor PCB

FunctionsandspecificationofmotorPCBareasfollows:-

1. MotorPCBisbuiltin-housetoconnectthe36 motorstoasinglesystemasshowninfig.7. © 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal

| Page514

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 09 Issue: 08 | Aug 2022 www.irjet.net p-ISSN: 2395-0072

2. We use various IC's like PCF8574, ULN2803,74HC540, L293DD, LM2576HVS-5, PC817etc. 3. PCF8574 is used for I/O expansion and I2C communication. 4. ULN2803 consists of eight NPN Darlington pairs that feature high-voltage outputs with common- cathode clamp diodes for switching inductiveloads. 5. PC817 is Optocoupler to prevent reverse currentdamageofRaspberryPi4 6. L293DDMotordriver IC is usedfor drivingDC motors. 7. 74HCT540 is an 8-bit inverting buffer/line driverwith3-stateoutputs.

IR Sensor

Fig-7:ThermostatPCB

IR Sensor is the heart of the system used to detect where product is dispensed or not dispensed. It consists ofonetransmittersideandonereceiverside.If aproductfallsbetweenreceiverandtransmitteritgives thesignalofconfirmation.

4. RESULT

The web page we developed to select or interact with the machine worked properly. Where we can select the product and pay for it by UPI. After that controller (Raspberry Pi) gives commands to motor PCB which further rotates the DC motor and dispenses the products. After the UPI transaction is done it gives the proper feedback to the vending machine. IR sensor whichisusedtodetecttheproductfallornotgivesthe failed transaction status, so we give the refund. The record ofvendingmachineproductstockandpurchase historyissavedatserverendwitheverytransaction.

Fig-7:MotorPCB

Thermostat PCB

Thermostat PCB is consist thermostat IC DS1621S and Relay as shown in fig.8, DS1621S is thermostat IC thatmeasures temperature and sends to Raspberry Pi. Relay is used for switching on or off compressor accordingtotemperature.

5. CONCLUSION

The emerging technology Internet of Things (IoT) covers a wide scope of devices, applications, and industries[10,11].WepresentedadesignofRaspberry Pi basedvending machine as it is multipurpose system we can use itwith many item-like snacks, beverages, stationery, medicines etc. This process can reduce the workforce required for the process and efficiency is increased.Themainobjectiveofthisprojectistodesign an automated vending machine to reduce the workforce. We successfully implemented a fully functioning vending machine. Although dealing machines are being used extensively currently. Having paper allocating machines is essential in premises, services wherein scholars or workers need to stay by

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page515

International Research Journal of Engineering and Technology (IRJET) e-ISSN: 2395-0056

Volume: 09 Issue: 08 | Aug 2022 www.irjet.net p-ISSN: 2395-0072

long ranges. This type of machine reduces mortal sweatsandprovidesaccurateresults.

ACKNOWLEDGEMENT

This research was supported/Funded by Lesokart industriesPvt. Ltd.PlotNo33-34,GutNo-46Ghanegao MIDC, Waluj, Aurangabad, Maharashtra, India. ManagingdirectorofcompanyPratikPatilSir.

REFERENCES

[1] Mohamad Basel Summak, Tan Wei Fang, Azri Bin Azmi,Othman Bin Mohd Yusop, Azizul Bin Azizan, and Haslina Binti Md Sarkan, ‘‘Designing Touch Screen Vending Machine Control System (VMCS) Simulator’’ in Journal of Telecommunication, ElectronicandComputerEngineering(JTEC).

[2] Kamalanathan.P, Irshath Ahmed, Mohamed Aamir, Kalaiselvan. P, ‘Automatic Paper Vending Machine’ inInternationalJournalofScience,Engineeringand Technology Research (IJSETR), Volume 4, Issue 4, April2015.

[3] Asmita P. Bodhale1, Prof. J. S. Kulkarni2 “Case Study on Different Vending Machines” International Research Journal of Engineering and Technology (IRJET) Volume: 04 Issue: 04 | Apr –2017.

[4] Vishal Tank, Sushmita Warrier, Nishant Jakhiya “Medicine Dispensing Machine Using Raspberry Pi andArduino Controller” Proc. IEEE Conference on Emerging Devices and Smart Systems (ICEDSS 2017) 3-4 March 2017, Mahendra Engineering College,Tamilnadu,India.

[5] Kumar Kolya, Debasish Mondal, Alokesh Ghosh, Subhashree Basu, “Direction and Speed Control of DC Motor Using Raspberry PI and Python-Based GUI” International Journal of Hyper connectivity and theInternet of Things Volume 5, Issue 2, JulyDecember2021.

[6] Ali Abdyaseer Kadhum, Munther Mohammed Abdulhussein, journal homepage: www.elsevier.com/locate/matpr, Received 10 March2021,Accepted22March2021.

[7] Sandesh More, Sagar Sonawane, Mandar Mhamunkar and Prof. Anuja Gote, “IoT Based Vending Machine with Cashless Payment” InternationalResearchJournal of Engineering and Technology (IRJET), Volume: 06 Issue: 06 | June 2019

[8] B.V.N.R.Siva Kumar, Kurisetti.Siddhartha Roy, C Bapaiah Naidu, Addanki John, “Vending Machine” May2022|IJIRT|Volume8Issue12|ISSN:23496002.

[9] Sooraj, Bony Mons, Dr.Jisna Kuruvilla “IOT Based Vending Machine with Cashless Payment” Volume: 06 Issue: 06 e-ISSN: 2395-0056, PISSN: 23950072(2019-IRJET)

[10] D.Miorandi, S.Sicari, F. De Pellegrini, I. Chlamta.“Internet of things: Vision, applications and research challenges.” Ad Hoc Networks, 10, (2012),1497–1516.

[11] P.Patel,D.Cassou. “Enabling high-level application developmentfortheinternetofthings.”TheJournal ofSystemsandSoftware,103,62-84,2015.

© 2022, IRJET | Impact Factor value: 7.529 | ISO 9001:2008 Certified Journal | Page516

Turn static files into dynamic content formats.

Create a flipbook