1 / 42

L.U.S.H.

L.U.S.H. Liquor’s Ultimate Service Handler. EE Capstone Design Lab Spring 2004. Mike Martin Pezh Shoureshi Andrew Schmid Heather Buna Taymoor Marar. Overview Objectives Description Hardware and Interfaces Block Diagram Processor FPGA EPROM SRAM LCD Keypad Bill Acceptor Pumps.

alaula
Download Presentation

L.U.S.H.

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. L.U.S.H. Liquor’s Ultimate Service Handler EE Capstone Design LabSpring 2004 Mike MartinPezh ShoureshiAndrew SchmidHeather BunaTaymoor Marar

  2. Overview Objectives Description Hardware and Interfaces Block Diagram Processor FPGA EPROM SRAM LCD Keypad Bill Acceptor Pumps Software Pseudo Code Parts List Current Progress Processor Valve and Pump Test Schedule Milestone Goals Current Schedule Division of Labor Conclusion Presentation Outline

  3. Objectives • Design and implement a mixed drink/single shot vending machine that will: • Provide a drink menu according to available liquor / mixers • Pour specific drinks • Track alcohol and mixer amounts in machine • Accept Payment (Cash or PIN debit accounts) • Allow quick-loading with barcode reader wand

  4. Purpose • Can be used at parties to pour drinks for guests, eliminating the need for a bartender. • Can be used at bars and sporting events to help relieve lines. • Can be used at bars/restaurants by cocktail wait staff.

  5. Physical Description • L.U.S.H will be a rectangular box with six alcohol/mixer bottles on top • L.U.S.H. will have a bill acceptor, LCD screen, barcode reader and numeric key pad on the front side

  6. L.U.S.H General Configuration

  7. Block Diagram

  8. Processor

  9. Motorola MC68HC000 • 68 pin PLLC • 16/-32 bit microprocessor architecture • 16-bit data bus • 24-bit address bus • Capable of addressing over million bytes of memory. • 8MHz clock speed

  10. Processor Bus Schematic

  11. FPGA

  12. Xilinx XCS10 FPGA • Programmable logic using 84-pin PLCC. • Chip Select using 4/16 decoding. • Using counter to time duration of liquid dispensing.

  13. FPGA Schematic

  14. EPROM

  15. AMD AM27C512 EPROM • 28 pin DIP • 64K x 8-bit • Using two chips in order to obtain a 16-bit connection. • 1 chip for low byte and 1 chip for high byte.

  16. EPROM Schematic

  17. SRAM

  18. Samsung K6T4008C1B SRAM • 32 pin DIP • 512K x 8 bit • Using two chips in order to obtain a 16-bit connection. • 1 chip for low byte and 1 chip for high byte.

  19. SRAM Schematic

  20. LCD Screen

  21. Optrex DMC20434N LCD • 20 characters x 4 lines • 5 x 8 dots per character • 5V DC operation • Communicates with processor via the data bus

  22. Keypad

  23. Grayhill Series 96 4x4 Keypad • 4x4 Keyboard with easily customized legends. • Uses a matrix circuitry. • 1,000,000 operations per button. • Compatible with high resistance logic inputs. • Uses the 74922 decoder.

  24. Bill Acceptor

  25. MARS LE3000 Bill Acceptor • Switch selectable for $1, $2, $5, $10, $20, $50, and $100 bill acceptance. • Magazine can hold 400 bills. • 65 Watts at 24 VAC, 60 Hz • Uses pulses to designate bill denomination. • Flash Diagnostic Code LEDs.

  26. Pumps

  27. Trico Universal Washer Pump • Variable Voltage 3V-12V DC • Variable Speed • Depending on voltage • On or off with power

  28. Memory Mapping • $000000 – EPROM • $100000 – SRAM • $200000 – LCD Screen • $300000 – Keypad/Decoder (74922) • $400000 – Pumps (Using a latch) • $500000 – Bill Acceptor (MARS LE3000) • $600000 – Barcode Reader • $700000 – 16550 Serial Port (If needed)

  29. User Interface Software Main() { Idle() { Output to LCD “BUY A DRINK ADMIN MENU” Wait for keypad hit If “buy drink” selected Sale_mode( ) If “Admin menu” selected Admin_mode( ) } }

  30. sale_mode() { menu_load() scans inventory loads menu select_drink() menu is printed to LCD screen user scrolls down menu and selects drink user selects size request_payment() (only if payment mode is enabled) Output to LCD “INSERT CASH ENTER PIN” User selects payment method, pays pour_drink() Output to LCD “THANK YOU HIT ANY KEY WHEN READY” User hits key, drink is poured Loop back to main } Sale Mode

  31. Administrator Mode Admin_mode() { select_option() output to LCD “LOAD ALCOHOL/MIXERS PIN ACCOUNTS PAYMENT MODE EXIT ADMIN. MODE” User selects option Load_alcohol() Use bar code reader to scan bottle barcode If no barcode, scroll through list of alcohols/mixers Pin_account() Output to LCD “LOAD NEW PIN MODIFY PINS” If user wants to load a new pin: Enter 4 digit pin Enter number of credits If user wants to modify existing pins Scroll through a list of pins Select proper pin, modify credits/delete Payment_mode() Output to LCD “ CASH ONLY PIN ACCOUNTS CASH/PINS ON THE HOUSE” User selects payment type Loop back to select_option() }

  32. Parts list • Embedded System Hardware • Motorola 68HC000 • Two AMD AM27C512 EPROMS • Two Samsung K6T4008C1B SRAMs • One Xilinx XCS10 FPGA • Five 74HC245 Drivers • Many Analog Components (resistors, capacitors, etc) • 8 MHZ clock • User Interface Components • DMC20434N LCD screen • Barcode Reader Wand • Grayhill Series 96 4x4 Keypad • MARS LE3000 Bill Acceptor

  33. Frame Hardware • Wooden Cube 3.5’ x 2’ x 2’ with 2”x4” studs • 6 feet plastic tubing 5/16” diameter • Tubing connectors • Plexiglass covering for all sides • 6 wiper fluid pumps

  34. Current Progress • Tested the solenoid valve idea and decided it was unfeasible. • Tested the pump idea and verified the feasibility. • Started wire-wrapping the proto-board. • Verified that the processor and reset switch are working properly.

  35. Solenoid Valve Test • Built a test setup to determine the feasibility of using the one-valve and two-valve systems. • Found that both systems had too much vacuum pressure to produce accurate liquid dispensing.

  36. Pump Test • Built a test set-up to verify that a windshield washer pump will give us accurate pours. • Determined that the pumps will work in our system. • At 4V input voltage, one shot takes 7 seconds to pour. • At 6V input voltage, 8 oz. Of mixer takes 17 seconds to pour.

  37. Proto Board

  38. Processor and Reset Switch Test • Hooked up our proto board to the logic analyzer. • Tested that the stack pointer and program counter were working properly. • Verified that the reset switch was working.

  39. Milestone goals • Milestone 1 • Rough Draft of Code • All Hardware hooked up • Bill Accepter/LCD screen/Scanner wired up • Milestone 2 • Prototype box • Working code

  40. Current schedule

  41. Division of Labor • Programming: Heather and Andrew • Bill Acceptor/Scanner/LCD screen: Pezh and Andrew • EPROM/SRAM/FPGA: Mike and Heather • Pumps: Taymoor and Mike • Building the LUSH exterior: Pezh and Andrew • Testing: Everyone • User Manual: Everyone

  42. Questions

More Related