Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please answer all parts asap A mask vending machine follows a set of instructional flow in order to dispense a mask to a user. It

image text in transcribed

please answer all parts asap

A mask vending machine follows a set of instructional flow in order to dispense a mask to a user. It allows a user to either use the barcode on an identity card or manual entry of identity card number for the machine to dispense a mask. You may assume the following: i) A barcode sensor is available to process the barcode of an identity card. The barcode sensor outputs a HIGH when the barcode is valid for a mask to be dispensed and outputs a LOW when the barcode is invalid. ii) A keyboard entry sensor is available to process the keyboard entry of the identity card number. The keyboard entry sensor outputs a HIGH when the entered number is valid for a mask to be dispensed and outputs a LOW when the number is invalid. You are required to: a) Design a state diagram to illustrate the operation of the vending machine. In your state diagram, indicate clearly the relationship between the inputs received by the machine, the outputs from the machine and the state transitions. Explain your decisions. b) Build the state transition table for the vending machine. Using D flip-flop c) ISketch the complete digital circuit for the state machine. Verify your design through Quartus simulation or other means by providing relevant screenshots

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_2

Step: 3

blur-text-image_3

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

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

Appreciate the rationale for having a human resources department.

Answered: 1 week ago

Question

4. What action should Cherita Howard take and why?

Answered: 1 week ago