1 / 4

Lab 03 :Vending Machine System :

Lab 03 :Vending Machine System :. Logic Gate Equations:. Slide #2. Vending Machine System:. Slide #3. Older Generation IC Technology:. Slide #4. NOT. Boolean Equation :. Boolean Equation :. Boolean Equation :. OR. Input A. Input A. Input A. Output X. Output X. Output X. Input B.

sweatt
Download Presentation

Lab 03 :Vending Machine System :

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Lab 03 :Vending Machine System : Logic Gate Equations: Slide #2 Vending Machine System: Slide #3 Older Generation IC Technology: Slide #4

  2. NOT Boolean Equation: Boolean Equation: Boolean Equation: OR Input A Input A Input A Output X Output X Output X Input B Boolean Equation: AND Input A Output X Input B Lab 03 : Logic Gate Equations: Each logic gate has a Boolean equation to represent its operation. Slide #2

  3. 1 Q3 1 1 1 1 Q2 P 0 1 0 Q1 C 0 L 1 1 C2 1 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 1 0 1 0 1 1 0 1 1 1 Lab 03 : Vending Machine System: Design a logic system for a vending machine that will dispense a 75 cent surprise gift package if any of the following conditions occur… Three quarters are inserted. A dollar is inserted. The machine can only accept quarters and a dollar coin / note. Step 1: Declare Inputs and Outputs: Inputs : Quarters (Q1, Q2, Q3). Dollar (L). Logic 1 = currency present. Outputs : Package (P). Quarter Change (C). Logic 1 = dispense item. Q1 • Q2• Q3  =  + L L Step 2: Generate Equation for the system: Dispense Package if Quarter1 and Quarter2 and Quarter3 OR Dollar is inserted. Dispense change if dollar is inserted. P = Q1 • Q2• Q3 + L C = L Once the system diagram is complete it can be used to test the operation of the system. Here is what happens when someone inserts 3 quarters. Here is what happens when someone inserts a dollar. P-Term : thus : P =  + L Here is what happens when someone searches their pocket finds a quarter and inserts it into the machine. Then they realize that they do not have 2 more quarters! If they insert a dollar what would be the result? Step 3: Draw the Digital System Diagram : Group variables that are ANDed together into a single block. This block is called product term (P-Term). The result: The package and the change would be dispensed. The un-happy user of the machine would have paid $1 ($1.25 - $0.25 change). To resolve this problem an extra change output could be added. Work from output towards input. P must be connected to an OR gate. Slide #3 Re-insert the P-Term (Q1 • Q2• Q3). A 3 input AND gate is required. Connect L to OR gate and connect C to L (C=L).

  4. NOT gate OR gate AND gate Lab 03 : Older Generation IC Technology : Older generation IC technology such as TTL IC’s (transistor, transistor, logic) could often require students to interconnect 5 to 15 IC’s. The wiring would often be very complex and messy. Complex designs looked so messy that the term spaghetti factory was used to describe the appearance of the wiring. Slide #4

More Related