Find the state-machine diagram for the soda vending machine

Assignment Help Electrical Engineering
Reference no: EM13262291

find the state-machine diagram for the following electronic vending-machine specification. The vending machine sells soda for $1.50 per bottle. The machine also accepts D($1 bills) and Q(quarters= $.25). When the sum of money is greater than $1.50, i.e. two $1 bills, the machine returns change in the coin return (two quarters). When $1.50 has been paid, the machine lights an LED to indicate that a soda flavor may be selected. The choices by push button are C (cola), L (lemon soda), O (orange soda), and R (root beer). When one push button is pushed, the selected soda is dispensed and the machine returns to its initial state. One other feature is that an LED comes on to warn the user that two quarters are not available for change, so if a second $1 bill is inserted, no change will be given.

-Find the state-machine diagram for the soda vending machine as specified.

-The specification as given is not very user friendly. Rewrite it to provide a remedy for every possible situation that the user might encounter in using the machine.

Reference no: EM13262291

Questions Cloud

Explain how would the process of photosynthesis be affected : How would the process of photosynthesis be affected, and in what steps, if light, CO2 concentration, and/or temperature were altered during photosynthesis
What is the resultant amplitude : Two waves of the same frequency have amplitudes 1.31 and 2.94. What is the resultant amplitude
Scrutinize how lipid metabolism is affected : With Niemann-Pick Disease, discuss how lipid metabolism is affected, particularly which enzyme(s), and how the body is affected
Topic for rhetorical analysis : Scalia argues that a justice who finds the death penalty immoral should resign from the bench (paragraph 8). Do you agree or disagree?
Find the state-machine diagram for the soda vending machine : When one push button is pushed, the selected soda is dispensed and the machine returns to its initial state. One other feature is that an LED comes on to warn the user that two quarters are not available for change, so if a second $1 bill is inser..
What is his final angular speed : The moment of inertia about the axis of rotation of the remainder of his body is constant and equal to 0.450kg?m2. If the skater's original angular speed is 0.450rev/s, What is his final angular speed
Find the probability that families run their vacuum cleaners : Please show work and provide excel formulas for plots so that I can understand how to do the assignment. The density function of a continuous random variable X, the total number of hours, in units of 100 hours, that a family runs a vacuum cleaner ove..
What real amount must you deposit each year : You want to have $2 million in real dollars in an account when you retire in 50 years. The nominal return on your investment is 10 percent and the inflation rate is 6 percent. What real amount must you deposit each year to achieve your goal?
Write while loop that initally will blink an led1 once : Assume one LED (LED1) and one switch input (SW1). Write a while(1) { } loop that initally will blink an LED1 once power is applied. On each press OR release of SW1, alternate between terminating blinking and resumingine the blinking. Draw a state ..

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Calculate the homogeneous solution

Compute the homogeneous solution yh(t). Compute the particular solution yp(t).

  Compute the power and energy for the signals

Compute the energy of the following signals: 1) x(t) = e^-(a|t|) for a > 0 (Notice the absolute value on t) 2) x(t) = (1 - |t|)rect(t/2) (Notice the absolute value on the first t)

  Determine what is the mmf of the solenoid in ampere-turns

A 800 turn solenoid has a total wire length of 400 feet of AWG 24 copper wire. This wire has a resistance of 26.17 ohms per 1000 feet. The voltage measured from one end of the solenoid to the other is 21 volts. What is the mmf of the solenoid in a..

  Is there any advantage or disadvantage of star connection

Is there any advantage of star connection over delta w.r.t. induction motors? Also, is there any advantage or disadvantage of star connection over delta w.r.t. distribution and transmission of power? Please explain the reasons for all the advantag..

  How many bits will be used to store 2 min of digital signal

The analog signal cos (200t) is digitized using a sampling frequency of 300 Hz, and a quantization of 8 bits per sample. How many bits will be used to store 2 minutes of the digital signal

  How much work must be done to compress the section

An infinite grounded conducting tube of radius 10cm is centered on the z axis. A concentric charged tube of radius 6 cm has a surface charge density of 24 uC/m2. A 1m long section of the charged tube is compressed to change its radius to 3 cm.

  Create a logic truth table for the logic equation

Signal Definitions are A.H, B.L ,C.L, D.H and Z.L. It is recommended you apply DeMorgan's Theorem first to the above equation. Draw (on paper) a circuit diagram implementing Z, using the minimum number of gates.

  Find correlation coefficient of u and v of random variables

Two statistically independent random variables, X and Y, have variances of sigma^2 (X) =9 and sigma^2(Y) =25. Two new random variables are defined as: U = 3X + 4Y V = 5X - 2Y (a) Find the variances of U and V.

  Calculate the ration of the mean squared signal of noise

stochastic message signal, m(t), is transmitted down a (noiseless) cable channel by PCM, using an 8-bit code. If the ambient signal is equally likely to lie anywhere between its two extremes, (+/- mp), calculate the ration of the mean squared sign..

  Determine the wavelengths for electromagnetic waves

1. Determine the wavelengths for electromagnetic waves in free space with the following frequencies: 1 kHz, 100 kHz, 1 MHz, 1 GHz. 2. Determine the frequencies for electromagnetic waves in free space with the following wavelengths: 1 cm, 1 m, 10 m..

  Determine what is the supple frequency

A squirrel-cage motor winding is wound up for two poles. At full-load, the motor operates at 3294 rpm with a slip speed of 306 rpm. What is the supple frequency

  What was the us annual production of coal

Research coal deposits in the USA and US coal mine production. Approximately, what was the US annual production of coal from mines in recent years What was the coal production of the Appalachian or Eastern province

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd