0% found this document useful (0 votes)
532 views33 pages

Digital Logic Design Project Vending Machine)

Uploaded by

Fariha Nowrin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
532 views33 pages

Digital Logic Design Project Vending Machine)

Uploaded by

Fariha Nowrin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 33
Vending Machine SSSA gt aco) e8 By Group-11 Project Statement/Research Everyday products are marked up in price due to high overhead costs,(labour,electricity and space) and are not a lable round the clock. Our vending machine will aim to tackle these problems. Objective vending machine core objective is to store dried food, beverages and everyday products and dispense ‘them once the appropriate amount of money has been inserted. It also needs to give back changes if the amount of money is more than the price of the product or give the back the entire sum of money ifit is insufficient. We will try to implement the following features in the vending machine we are designing: Vend products at 3 different price points * Accept 2 kinds of coins/notes Ifthe amount of money inserted is more than the price of the product, the vending machine will give change back. Displaying the amount of money inputted Display change to be given Self-starting with the initial coin Will display using LED if purchase is successful (Green) or unsuccessful (RED). If insufficient money is inserted then vending machine will return the money inserted as change. Motivation Equipment List ie > + #7 Segment Common Cathode Display ie = © Dual D-Type Flip lop (with Set and Reset) = 3 inverter = Two Input and Three input AND Gate ah * Two Input and Three input OR Gate * Green and Red LED a © Logie Probe * Logic Toggle = * Dclock > * Button & |Leo-creen [af these Equpments wee picked rm the rary of PROTEUS 77 Profesional Portable, ay |EBAED some equipment were taken of ciferen vary @ |igarcroscte lon 2, lens 2 14073) iB |ron Methodology/Theory/Calcu Price Points: Stk, 18tk, and 15tk lations Money to be accepted: 5tk and 10tk State assigned: So=00 Otk =00 S1=01 Stk =01 $2=10 10tk = 10 X= X =I legend: “ 0/0/0 tf moncy in/purchase/change cto —~ Oeeorr Sepertst Goth Cootamonenet Fuie-Fens cxeneroon| concur fF 2 State Flow Diagram for 5tk price point o10/o s}tlo role (fm So Ol Stee JN Methodology for for 5TK PRICE POINT State Assigned Table: rrese Next State Output Sao (Y2Y1) vey) (w2w1) Zz c2c1 (w2w1) (w2w1) oo 01 10 14) 00 Ot 1040 tt 18 Circuit for 5tk price point State Flow Diagram for 10tk price point 5/010 OV 10 orale STHO. rons Methodology for for 18TK PRICE POINT State Assigned Table: rrese Next State Output Sao (Y2Y1) vey) (w2w1) Zz c2c1 (w2w1) (w2w1) oo 01 10 14) 00 Ot 1040 tt 18 00 00 of oo x 0 0 |4 x (00 |00 0 x oi 00 00 000 x Ott kt 00 tx Circuit for 10tk price point o Onto lye Nude Stae tgie Ste Me State Flow Diagram for 15tk price point to/rlo Methodology for for 15TK PRICE POINT State Table: Pres Next State Output ent (Y2Y1) Stat e z c2ct State Assigned Table: rrese Next State. Output Sate (Y2Y4) wey) (w2w1) z c2c1 (w2w1) (w2w1) 00 01 10 11 00 01 10 1 00 o1 10 11 00 00 ot 10 x oO oO 0 x 00 00 00 x 01 00 10 00 x oO oO 1 x 01 00 00 x 10 00 00 00 x oO 1 1 x 10 00 o1 x 11 x x x x x x x x x x x x 15 TK K-maps For Y2: Y2=y2'yl'w2tylw1 For Y1: Yi=y2'y1'w1 01 4 10 ot " 10 15 TK K-maps ForZ: Z=ylw1+y2w1+y2w2 For C2: C2=y2w2'w1" aw 00/01 110 so [or 1 10 a yeyt 0 0 o x 0 0 0 0 x 0 15 TK K-maps For C1: C1=y1w2'w1'+y2w2 yaw 00 01 4 10 wn oo 0 0 x 0 or j1 jo x 0 Circuit for 15tk price point SEO a. . Sto ty SID Additional Features outside of the main circuit block: ‘* Displaying the money being inputted and the change being given: 00s 0 taka, 01 is 5 taka and 10 is 10 taka in our 7 segment Display. Below we showed the logic using truth table and the eventual Circuit disconnected from the main block. cA» Cs CD 4 (oF) MSB (I2) On the left we have the circuit design To represent the money in and changes owed using a 7 segment display, 00 is 0 Tk O1is 5Tk 10 is 10 Tk ‘© Show using LEDS whether purchase has been successful or unsuccessful. System Design Flow Analysis/Results/Code/Graph/Simulation 5TK BLOCK: —= 5 TK BLOCK E “a " eet 10 TK BLOCK: Showing that the product is being dispensed and no change is being given if exact money is inserted: © 10 taka money is being inserted And we are receiving 0 taka change.Whilst the product Is being successfully vended as shown with green led being lit 10 Tk BLOCK Showing that product is being dispensed and appropriate change is being given if extra money is inserted © 10 tkis being inserted “il 5 TK BLOCK and 5 tk product is being dispensed whilst 5 tk change is being given back as shown Show that if money is inserted but not the appropriate amount the money is given back to the owner as change a torkaLocx. f We inserted 5Tk but the product is priced at 10Tk. In the next clock cycle if we inserted more money than product should've been dispensed but we inserted no money so the 5Tk we had originally inserted is returned back to us. Showing that no product is being dispensed and no change is given if no money is inserted: © Asno money is inserted both the ‘15 TK BLOCK Money in and change Display shows 0 TK. Also LED is red Showing purchase In unsuccessful. Future work and Conclusion Vending machines can be used in any deserted place of the world. In remote ‘areas with less shops, if we use vending machines, people can easily purchase necessary products at any time. ‘Access to food will be easy from any place of the world In future we can develop the programmings ‘of vending machines to avoid any kind of fault Moreover, diferent apps are being created for finding out the closest vending machine in any particular area.People can also comment on these apps mentioning what products the want or if they have faced any problem while purchasing products.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy