Design a vending machine controller the machines sells coke


Design a vending machine controller. The machines sells coke and pepsi. The cost is 25 cents, accepting dimes and nickels. When a dime is inserted the input D is asserted. When a nickel is inserted the input N is asserted. Once the proper amount of money has been, a selection can be made. Valid choices are pepsi (p) and coke (c) which will assert p or c respectively. If the coin return button is pushed (R) the money will be refunded as long as a purchase has not been made. There are 4 outputs. Dc is asserted when coke should be dropped, dp is asserted when pepsi should be dropped, rn is asserted when a nickel should be returned and rd is asserted when a dime should be returned.

D flip flops should be used in the memory circuit.

An active high master reset (rst) should be included as part of your design.

-did you use a mealy or moore machine, why

-state diagram

-state transition tabl

-block diagram

-memory circuit

-output circuit (using k maps or mccluskey)

-a description of how you would determine the implementation of the next state decoder.

Request for Solution File

Ask an Expert for Answer!!
Electrical Engineering: Design a vending machine controller the machines sells coke
Reference No:- TGS0562291

Expected delivery within 24 Hours