- #1
jmckennon
- 42
- 0
Homework Statement
Design a logic circuit to simulate the circuitry that might exist in a vending machine. the vending machine accepts inputs of nickels, dimes, and quarters but only one of each. It dispenses water and beer. Use three logic switches to simulate the coin detectors one each for nickels dimes and quarters. and two indicator lights for water and beer. for amounts less than 15 cents, no output is given. for amounts of 15-30 cents, water is dispensed. for amounts over 30 cents, beer is dispensed.
This problem was assigned in my 3 hour lab period today, and none of the groups were able to draw out a sketch of the possible AND, OR, and NAND combinations that could make this circuit work.
Homework Equations
The Attempt at a Solution
I'm just beginning in digital logic so i don't have much logical background. I started off by making a truth table
N D Q W B
0 0 0 0 0
0 0 1 1 0
0 1 0 0 0
0 1 1 0 1
1 0 0 0 0
1 0 1 1 0
1 1 0 1 0
1 1 1 0 1
we used 1 7408 series AND gate chip, but I don't really know how to draw out the circuit. It's worth a hefty amount of points on my exam wednesday morning so any help would be appreciated in drawing how this circuit would work