IJCRT2205047
IJCRT2205047
org © 2022 IJCRT | Volume 10, Issue 5 May 2022 | ISSN: 2320-2882
Abstract:
In this brief, we have implemented vending machine using Verilog. The Verilog code is implemented on FPGA (Xilinx basys3).
This machine acknowledges both either cash (money) or card (credit). In the present work, we have designed the Vending machine
with the assistance of a mealy machine state chart. The configuration is demonstrated utilizing Verilog HDL dialect which is a
hardware description language used to portray the computerized framework. The model is validated by performing the suitable
experiments in a test-bench. The Verilog code created for vending machine model and implemented using Xilinx Vivado. The
Vending machine we planned can be utilized by both cash and card. The card framework will be more practical and aides for a rapid
access. The target here is to outline a proposed vending machine which acknowledge cash or card as inputs and conveys the items at
that obliged sum has been stored furthermore returning back the change. It is conceivable to withdraw the stored cash during the
process if the client wishes after squeezing a cross out cash. In this work, we have designed a vending machine with less
construction modelling when compared to similar work performed using IOT thereby reducing power consumption.
Keywords: FPGA; vending machine; Xilinx basys3; Xilinx Vivado; Verilog HDL.
Introduction:
Vending machines are utilized to pick-up different items like espresso, beverages, postcards, and gums when cash is embedded into
it. The vending machines are more sensible and functional than the traditional methods of picking the items. The vending machines
can be used in schools, universities, rail route stations, and airplane terminals for offering tickets and drinks. They are also used in
banks for providing tokens to the clients. The vending machine can be utilized at different places like schools, universities, and rail
route stations. These machines reduce cost, time, and work.
Vending machine using IOT and embedded systems has become outdated. In the 21 st century growth of VLSI industry has been
rapidly evolving; therefore, making vending machines using hardware descriptive language of VLSI as the novel idea of this work.
The present model is validated for the simulations against the experimental results obtained using FPGA. The results obtained using
simulations through Xilinx are in good agreement with the experimental results obtained using FPGA (basys3).
The work in this paper is organized into three sections. The first section is the introduction, followed by the results and discussions
in the second section. The third section represents the conclusion highlighting the utility of the present work.
Clock divider is an input signal of frequency F in with an output signal of frequency Fout, expression as Fout= Fin/n; where n is the
interior frequency divider.
Fig. 3: Demonstration of inserting rupees 200 and withdrawing items worth rupees150
Fig. 4: Demonstration of inserting rupees 200 and withdrawing items worth rupees 25
Simulation results
For every rising edge of the clock the input checks for rupees 100 and 25 simultaneously. If any one of them is active high then it
checks for the items, we tend to select items of worth rupees 200, 150, 75 or 25. If any of these items are selected then output is
drawn and change is given respective to it and accordingly displayed by the Xilinx basys3 FPGA.
Conclusion
The objective of the present work is the implementation of vending machine using Verilog HDL. This task is accomplished through
Xilinx Vivado with few modules that includes clock divider, FSM, refresh counter, BCD convertor, and anode/cathode controller.
The output of the vending machine is derived in Xilinx Vivado. Xilinx basys3 is used for the hardware implementation. The utility
of the present work has wide range of opportunities in public domain like malls, cafeteria, universities, parks, airports for
distribution of snacks, fare-tickets, etc.
[1] Krishna, V.V.S.V, “Design and implementation of an automatic beverages vending machine and its performance evaluation
using Xilinx ISE and Cadence,” Proceedings of the 4th International IEEE Conference, 2013.
[2] J. Bhaskar, “VHDL primer,” Third Edition.
[3] Ana Monga, Balwinder Singh, “Finite State Machine based Vending Machine Controller with Auto-Billing Features,”
International Journal of VLSI design & Communication Systems (VLSICS) Vol.3, No.2, April 2012.
[4] A. Dunlop and B. Kernighan, “A procedure for placement of standard cell VLSI circuits,” IEEE Trans. on Computer-Aided
Design of Integrated Circuits and Systems, pp. 92–98, 1985.
[5] Cadence. Encounter Design Flow Guide and Tutorial, Product Version 9.1, May 2010.
[6] Steve Kilts, “Advanced FPGA Design: Architecture, Implementation, and optimization,” Wiley-IEEE press, 2007.
[7] Xilinx Inc., Spartan 3 Data Sheet: http://www.xilinx.com.