Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework 11 Vending Machine Coin Counter The objective of this homework is to build a coin counter for a vending machine. The vending machine counts

image text in transcribed

Homework 11 Vending Machine Coin Counter The objective of this homework is to build a coin counter for a vending machine. The vending machine counts coins in any combination up to 25 cents. 1) Draw a state diagram, you should have states for each amount of coinage so far, that is 0, 5, 10, 15, 20 and 25 cent states. Only one coin can be put in at a time, either quarter dime or nickel Make each of these an input, Quarter, Dime, and Nickel. Calculate output Z-1 when you get to 25 cents, otherwise Z-0. Some combinations will take you to more than 25 cents you can create an overflow state to handle that circumstance, maybe call it OF. Assign state numbers to be implemented in flipflops for each state representing 0,5,10,15,20 and 25 cents, and your overflow state 2) 3) Using this state assignment create a state table. 4) Using the data from the state table create a truth table for ,Q, Qo*, and Z. 5) Using Karnaugh maps or Boolean Algebra find Q2*, Q*, and Qo*, and Z. 6) Implement this Q2"-D2, QDi, and Qo*-Do, using D flipflops and digital logic. Also use digital logic to create output Z. Homework 11 Vending Machine Coin Counter The objective of this homework is to build a coin counter for a vending machine. The vending machine counts coins in any combination up to 25 cents. 1) Draw a state diagram, you should have states for each amount of coinage so far, that is 0, 5, 10, 15, 20 and 25 cent states. Only one coin can be put in at a time, either quarter dime or nickel Make each of these an input, Quarter, Dime, and Nickel. Calculate output Z-1 when you get to 25 cents, otherwise Z-0. Some combinations will take you to more than 25 cents you can create an overflow state to handle that circumstance, maybe call it OF. Assign state numbers to be implemented in flipflops for each state representing 0,5,10,15,20 and 25 cents, and your overflow state 2) 3) Using this state assignment create a state table. 4) Using the data from the state table create a truth table for ,Q, Qo*, and Z. 5) Using Karnaugh maps or Boolean Algebra find Q2*, Q*, and Qo*, and Z. 6) Implement this Q2"-D2, QDi, and Qo*-Do, using D flipflops and digital logic. Also use digital logic to create output Z

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions