Vending

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Finite State Machine based

Vending Machine Controller with


Auto-Billing Features

ARCHANA [1AY22EC400]
AREEFA S BAGWAN [1AY22EC401]
NAYANA PATEL G N [1AY21EC079]
RACHANA C B [1AY21EC093]
SUPRIYA B [1AY21EC118]
YASHASWINI R [1AY21EC134]
ABSTRACT

This project focuses on designing a vending machine using Verilog , a


hardware description language. The vending machine will simulate the
functionality of a real-world vending machine, dispensing items in exchange
for payment. Verilog will be employed to model the behavior of the vending
machine, including user input, item selection, payment processing, and item
dispensing. The aim is to create a functional and efficient vending machine
system that can be implemented on hardware platforms for practical use.
1. BLOCK DIAGRAM
2. DESIGN SUMMARY
3. RTL DESIGN
4. SIMULATION RESULT
5. What is a Vending Machine?
• 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.

6. 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.
7. 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.


8. Snack beverages vending machine
9. FLOWCHART Start

Display
Options

Customer
selects
item

Payment

Payment
verification

Product
dispensing
Interior of a vending machine
End
10. Explanation on Flowchart
 A vending machine flowchart illustrates the process flow of how a vending machine operates,

from the moment a customer selects an item to the delivery of the chosen product. Here's a

basic explanation of the typical steps involved in a vending machine flowchart:

• Start: The flowchart begins at the starting point, indicating the initiation of the vending

machine's operation.

• Display Options: The vending machine displays the available options to the customer,

typically showing a list of products along with their corresponding prices.

• Customer Selection: The customer makes a selection by pressing the corresponding button or

keypad entry for their desired item.

• Payment: The vending machine prompts the customer to make a payment. This can involve

inserting coins, bills, or using a cashless payment method such as a credit/debit card, mobile

payment, or prepaid card.


• Payment Verification: The vending machine verifies the payment to ensure it is sufficient to
cover the cost of the selected item.

• Product Dispensing: If the payment is verified successfully, the vending machine dispenses
the selected product.

• End: The flowchart concludes once the selected product has been dispensed and any
necessary change has been provided.
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.89°FMostly cloudy

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.
THANK YOU

You might also like