SlideShare a Scribd company logo
7
Most read
8
Most read
9
Most read
Mini- Project Seminar on

Finite State Machine based Vending
Machine Controller with Auto-Billing
Features
By: Pratik Patil

Department of Electronics And Communication
(M. Tech VLSI and Embedded Systems)
Contents
• Overview of Finite State Machine
• MEALY & MOORE Machine Model
• Vending Machine their History
• Operation of the Proposed Vending Machine
• Implementation of Vending machine
• Design Methodology
• FSM diagram of Vending Machine

• Advantages & Disadvantages
• References
Overview of FSM
•

It is a mathematical model of computation used to
design both computer programs and sequential
logic circuits.

•

It is conceived as an abstract machine that can be in one
of a finite number of states.

•

The machine is in only one state at a time; the state it is
in at any given time is called the current state.

•

It can change from one state to another when initiated
by a triggering event; this is called a transition.

•

The state to which the state machine makes the next
transition is known as Next State

•

In control applications, there are Two types of State
machines
– Mealy Machine
– Moore Machine
Mealy and Moore Machine Model
• Mealy
– Output depends on the present state as well as on the input.

• Moore
– The output depends only on the present state.
Vending Machine and their History
Q. What is a Vending Machine?
Ans. A vending machine is a machine which
dispenses
items
such
as
snacks, beverages, lottery tickets, consumer
products to customers automatically, after the
customer inserts currency or credit into the
machine.

HISTORY:
• The earliest known reference to a vending
machine is in the work of Hero of Alexandria, a
first-century engineer and mathematician. His
machine accepted a coin and then dispensed
holy water.
• The first modern coin-operated vending
machines were introduced in London, England in
the early 1880s, dispensing post cards.
Operation of the Proposed Vending Machine
• When the user puts in money, money counter tells the control
unit, the amount of money inserted in the Vending Machine.
• When the user presses the button to purchase the item that he
wants, the control unit turns on the motor and dispenses the
product if correct amount is inserted.
• If there is any change, machine will return it to the user.
• The machine will demand for servicing when the products are not
available inside the machine.
THIS MODEL HAS BEEN DEVELOPED USING MEALY MACHINE MODEL
Implementation
•

State diagram is constructed for the proposed
machine which can vend four products that is
snacks, coffee, cold drink and candies.
–
–
–
–

Select1 → Snacks
Select2→ Coffee
Select3→ Cold Drink
Select4→ Candies

•

Rs.10 and Rs.20 inputs represents rupees 10/and 20/- notes respectively.

•

A cancel input is also used when the user
wants to withdraw his request and also the
money will be returned through the return
output.

•

The machine will work on the positive edge of
clock and will return to its initial state when
reset button is pressed.
Design Methodology(Flowchart)

•

Initially when the reset button is pressed, the
machine will be ready for the users to select the
product.

•

The machine can accept only two types of notes i.e.
rupees 10/- and 20/-.

•

Let us suppose that the user selects sel1 input.

•

The machine will firstly check that whether the
products are available in the machine.

•

After this the control unit will move to the waiting
state, where it will wait for the money to be
inserted.

•

When the desired amount is inserted the machine
will go to the snacks state and snacks will be
delivered at the product output.

•

If products are not available in the machine then the
control unit will demand for servicing and after
service the machine will get reset.
FSM Diagram of Vending Machine

•

Let us suppose that the user selects sel1 input.

•

Then if rupees 10/- note is inserted then the machine will go to state_1 and wait until the desired money is
inserted.

•

And if rupees 20/- note is inserted the machine will move to state_2 and then wait until 30/- rupees are
inserted to the machine.

•

When the desired amount is inserted the machine will go to the snacks state and snacks will be delivered at
the product output.
Advantages & Disadvantages
• Advantages
– The vending machines are more accessible and practical than
the convention purchasing method.
– Finite State Machine (FSM) modeling reduces the hardware
– FSM model is easy to design.
– Due to their simplicity, FSMs are quick to design, quick to
implement and quick in execution.

• Disadvantages
– Vending Machines Costs more.
– The conditions for state transitions are fixed.
– All states, transitions and conditions need to be known up front
and be well defined which is not possible in cases.
References
• International Journal of VLSI design & Communication Systems (VLSICS)
Vol.3, No.2, April 2012
• Introduction to Embedded Systems, Shibu K. V., Tata McGraw Hill
Education
• http://en.wikipedia.org/wiki/Finite-state_machine
• http://en.wikipedia.org/wiki/Vending_machine
Seminar Presentation on FSM based vending machine
Seminar Presentation on FSM based vending machine

More Related Content

DOCX
HDL Implementation of Vending Machine Report with Verilog Code
PPTX
Hardware Description Language
PPTX
Vending machine ppt
PPTX
Additive Manufacturing (3-D printing) , Rapid Prototyping
PPT
Adc interfacing
DOCX
Coca cola business plan
PPTX
Four way traffic light conrol using Verilog
PDF
apostila-do-curso-de-radiestesia-completo-doc-pdf
HDL Implementation of Vending Machine Report with Verilog Code
Hardware Description Language
Vending machine ppt
Additive Manufacturing (3-D printing) , Rapid Prototyping
Adc interfacing
Coca cola business plan
Four way traffic light conrol using Verilog
apostila-do-curso-de-radiestesia-completo-doc-pdf

What's hot (20)

PDF
Finite state machine based vending machine IEEE Paper
DOCX
Vending machine
PPTX
PPTX
Vending machine
PDF
vlsi projects using verilog code 2014-2015
PPTX
SMART TRAFFIC CONTROL
PPTX
Project smart notice board ppt
PPTX
Electronic Voting Machine
PPTX
Smart parking system using IOT
ODP
VLSI TECHNOLOGY
PPTX
Ripple Carry Adder
PPTX
Traffic light controller
DOCX
Report on VLSI
DOCX
A 64-by-8 Scrolling Led Matrix Display System
DOCX
Design of Elevator Controller using Verilog HDL
PPTX
ppt on embedded system
PPTX
2. block diagram and components of embedded system
PPTX
Finite state machines
PPTX
Gesture control wheel chair 1
PPTX
TRAFFIC LIGHT CONTROL USING RF TECH
Finite state machine based vending machine IEEE Paper
Vending machine
Vending machine
vlsi projects using verilog code 2014-2015
SMART TRAFFIC CONTROL
Project smart notice board ppt
Electronic Voting Machine
Smart parking system using IOT
VLSI TECHNOLOGY
Ripple Carry Adder
Traffic light controller
Report on VLSI
A 64-by-8 Scrolling Led Matrix Display System
Design of Elevator Controller using Verilog HDL
ppt on embedded system
2. block diagram and components of embedded system
Finite state machines
Gesture control wheel chair 1
TRAFFIC LIGHT CONTROL USING RF TECH
Ad

Similar to Seminar Presentation on FSM based vending machine (20)

PDF
Implementation of FSM Based Automatic Dispense Machine with Expiry Date Feat...
PPTX
Applications of Mealy & Moore Machine
PPT
NFA Vending Machine Simulation Steven Stockall
PDF
Impact of Interface Fixed Charges on the Performance of the Channel Material ...
PDF
Finite State Machine based Vending Machine Controller with Auto-Billing Feat...
PPTX
2.1 cControl systems
PPT
Mealy and moore machines
PPTX
CNC MACHINE
PDF
Industrial Automation and control_Unit_I (2).pdf
PPTX
Optimizing User Experience in ATM Management Systems
PPTX
FOOD SERVING ROBOT USING ARDUINO PROJECT
PPTX
Mgd finite statemachine
PPTX
QUANTITATIVE TECHNIQUES-22-WAITING LINE & REPLACEMENT.pptx
PPTX
Unit 4- State Machine in mobile programming
PPT
Embedded systems and their applications in our daily routine
PPTX
Automation.pptx
PPT
CNC MACHINE TOOLS.ppt
PPT
MT-II UNIT V CNC MACHINING
PDF
Deone pranilfinalreport
PPT
System monitoring & performance analyzer
Implementation of FSM Based Automatic Dispense Machine with Expiry Date Feat...
Applications of Mealy & Moore Machine
NFA Vending Machine Simulation Steven Stockall
Impact of Interface Fixed Charges on the Performance of the Channel Material ...
Finite State Machine based Vending Machine Controller with Auto-Billing Feat...
2.1 cControl systems
Mealy and moore machines
CNC MACHINE
Industrial Automation and control_Unit_I (2).pdf
Optimizing User Experience in ATM Management Systems
FOOD SERVING ROBOT USING ARDUINO PROJECT
Mgd finite statemachine
QUANTITATIVE TECHNIQUES-22-WAITING LINE & REPLACEMENT.pptx
Unit 4- State Machine in mobile programming
Embedded systems and their applications in our daily routine
Automation.pptx
CNC MACHINE TOOLS.ppt
MT-II UNIT V CNC MACHINING
Deone pranilfinalreport
System monitoring & performance analyzer
Ad

Recently uploaded (20)

PDF
Heart disease approach using modified random forest and particle swarm optimi...
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Empathic Computing: Creating Shared Understanding
PPTX
A Presentation on Artificial Intelligence
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Machine Learning_overview_presentation.pptx
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Getting Started with Data Integration: FME Form 101
PDF
Mushroom cultivation and it's methods.pdf
Heart disease approach using modified random forest and particle swarm optimi...
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Assigned Numbers - 2025 - Bluetooth® Document
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Spectral efficient network and resource selection model in 5G networks
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Empathic Computing: Creating Shared Understanding
A Presentation on Artificial Intelligence
MIND Revenue Release Quarter 2 2025 Press Release
Programs and apps: productivity, graphics, security and other tools
Machine Learning_overview_presentation.pptx
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Getting Started with Data Integration: FME Form 101
Mushroom cultivation and it's methods.pdf

Seminar Presentation on FSM based vending machine

  • 1. Mini- Project Seminar on Finite State Machine based Vending Machine Controller with Auto-Billing Features By: Pratik Patil Department of Electronics And Communication (M. Tech VLSI and Embedded Systems)
  • 2. Contents • Overview of Finite State Machine • MEALY & MOORE Machine Model • Vending Machine their History • Operation of the Proposed Vending Machine • Implementation of Vending machine • Design Methodology • FSM diagram of Vending Machine • Advantages & Disadvantages • References
  • 3. Overview of FSM • It is a mathematical model of computation used to design both computer programs and sequential logic circuits. • It is conceived as an abstract machine that can be in one of a finite number of states. • The machine is in only one state at a time; the state it is in at any given time is called the current state. • It can change from one state to another when initiated by a triggering event; this is called a transition. • The state to which the state machine makes the next transition is known as Next State • In control applications, there are Two types of State machines – Mealy Machine – Moore Machine
  • 4. Mealy and Moore Machine Model • Mealy – Output depends on the present state as well as on the input. • Moore – The output depends only on the present state.
  • 5. Vending Machine and their History Q. What is a Vending Machine? Ans. A vending machine is a machine which dispenses items such as snacks, beverages, lottery tickets, consumer products to customers automatically, after the customer inserts currency or credit into the machine. HISTORY: • The earliest known reference to a vending machine is in the work of Hero of Alexandria, a first-century engineer and mathematician. His machine accepted a coin and then dispensed holy water. • The first modern coin-operated vending machines were introduced in London, England in the early 1880s, dispensing post cards.
  • 6. Operation of the Proposed Vending Machine • When the user puts in money, money counter tells the control unit, the amount of money inserted in the Vending Machine. • When the user presses the button to purchase the item that he wants, the control unit turns on the motor and dispenses the product if correct amount is inserted. • If there is any change, machine will return it to the user. • The machine will demand for servicing when the products are not available inside the machine. THIS MODEL HAS BEEN DEVELOPED USING MEALY MACHINE MODEL
  • 7. Implementation • State diagram is constructed for the proposed machine which can vend four products that is snacks, coffee, cold drink and candies. – – – – Select1 → Snacks Select2→ Coffee Select3→ Cold Drink Select4→ Candies • Rs.10 and Rs.20 inputs represents rupees 10/and 20/- notes respectively. • A cancel input is also used when the user wants to withdraw his request and also the money will be returned through the return output. • The machine will work on the positive edge of clock and will return to its initial state when reset button is pressed.
  • 8. Design Methodology(Flowchart) • Initially when the reset button is pressed, the machine will be ready for the users to select the product. • The machine can accept only two types of notes i.e. rupees 10/- and 20/-. • Let us suppose that the user selects sel1 input. • The machine will firstly check that whether the products are available in the machine. • After this the control unit will move to the waiting state, where it will wait for the money to be inserted. • When the desired amount is inserted the machine will go to the snacks state and snacks will be delivered at the product output. • If products are not available in the machine then the control unit will demand for servicing and after service the machine will get reset.
  • 9. FSM Diagram of Vending Machine • Let us suppose that the user selects sel1 input. • Then if rupees 10/- note is inserted then the machine will go to state_1 and wait until the desired money is inserted. • And if rupees 20/- note is inserted the machine will move to state_2 and then wait until 30/- rupees are inserted to the machine. • When the desired amount is inserted the machine will go to the snacks state and snacks will be delivered at the product output.
  • 10. Advantages & Disadvantages • Advantages – The vending machines are more accessible and practical than the convention purchasing method. – Finite State Machine (FSM) modeling reduces the hardware – FSM model is easy to design. – Due to their simplicity, FSMs are quick to design, quick to implement and quick in execution. • Disadvantages – Vending Machines Costs more. – The conditions for state transitions are fixed. – All states, transitions and conditions need to be known up front and be well defined which is not possible in cases.
  • 11. References • International Journal of VLSI design & Communication Systems (VLSICS) Vol.3, No.2, April 2012 • Introduction to Embedded Systems, Shibu K. V., Tata McGraw Hill Education • http://en.wikipedia.org/wiki/Finite-state_machine • http://en.wikipedia.org/wiki/Vending_machine