VENDING MACHINE USING FINITE STATE MACHINE
NAME:- SWANGI KUMARI DAS
ROLL NO:- 1804009
BRANCH:- ECE
SEM:- 8th SEM
COURSE CODE:- EC8502
Course Teacher:- DR.RAKESH RANJAN
Overview of finite state machine
Mealy & moore machine model
Vending machine & their history
Operation of the proposed vending machine
Implementation of vending machine
Contents Design methodology
FSM diagram of vending machine
Advantages & Disadvantages
Conclusion
References
• synchronous sequential circuits change affect their states for every
FINITE STATE positive or negative transition of the clock signal based on the input. So, this
behavior of synchronous sequential circuits can be represented in the
graphical form and it is known as state diagram.
MACHINE ➢ A synchronous sequential circuit is also called as Finite State Machine FSM, if
it has finite number of states. There are two types of FSMs.
➢ 1)Moore Machine 2) Mealy Machine
VENDING MACHINE
AND THEIR HISTORY
• A vending machine is an
automated machine that provides
items such
as snacks, beverages, cigarettes,
and lottery tickets to consumers
after cash, a credit card, or other
forms of payment are inserted into
the machine or otherwise made.
• vending machine is in the work
of Hero of Alexandria, an engineer,
and mathematician in first-
century Roman Egypt. His
machine accepted a coin and then
dispensed holy water.
• https://en.wikipedia.org/wiki/Ve
nding_machine
• When the user puts in money ,money counter
OPERATION tells the control unit , the amount of money
OF THE inserted in the vending machine.
• When the user presses the button to purchase
PROPOSED the item that he/she wants, the control unit
turns on the motor and dispenses the product of
VENDING correct amount is inserted.
MACHINE • If there is any change, machine will return
into the user.
• The model has been developed using mealy
machine model.
Implementation
• State diagram is constructed for
the proposed machine which S.NO PRODUCT PRICE
can vend four products that is
snacks, coffee, cold drink and 1 Snacks 30/-
candies.
• Select 1 -> Snacks 2 Coffee 40/-
• Select 2 -> Coffee 3 Cold drink 40/-
• Select 3 -> Cold drink
4 Candies 30/-
• Select 4 -> Candies
Input/outputs
with remarks
Design
Methodology
(Flowchart)
The Machine can accepts only two notes
i.e rupees 10/- and 20/-
FSM Diagram Of
Vending Machine
Advantages And Disadvantages
Low Variety of Saves Time
Advantages
Maintenance Options and Money
Competition Quality and
Costly
Disadvantages for Other Food Quantity of
Investment
Vendors Snacks Offered
Conclusion
VENDING SYSTEMS ENHANCES PRODUCTIVITY, VENDING MACHINE GIVE FAST RESPONSE AND THE DESIRED MACHINE CAN BE USED FOR MANY
REDUCES SYSTEM DEVELOPMENT COST, AND EASY TO USE BY AN ORDINARY PERSON. APPLICATIONS AND WE CAN EASILY
ACCELERATES TIME TO MARKET. ENHANCE THE NUMBER OF SELECTIONS.
REFERENCES
• https://www.slideshare.net/pratikpatilee/fsm-based-
vending-machine-pratik-patil
• https://www.academia.edu/20418982/DESIGN_AND
_IMPLEMENTATION_OF_VENDING_MACHINE_USING
_VERILOG_HDL
• https://vlsicoding.blogspot.com/2013/11/verilog-
code-for-vending-machine-using.html
• https://www.researchgate.net/figure/Finite-State-
Machine-Diagram-of-Vending-
Machine_fig3_224967984
• http://www.csun.edu/~ags55111/doc/526/526report
.pdf
• https://medium.com/@jinlinh/benefits-of-a-vending-
machine-for-your-business-1ad982d4d4b4
This Photo by Unknown author is licensed under CC BY-NC.