IntelliCart TM Automated Shopping and Checkout System Peter Dao, Joseph Esler, Brett Halper, Jason Price High-level Diagram 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 2 Mid-level Diagram 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 3 Low-level Diagram 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 4 Power Schematic: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 5 GPIO / Xbee Schematic: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 6 RFID Schematic: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 7 RFID PCB Layout: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 8 Main PCB Layout: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 9 Project Deliverables: Deliverable: 125 kHz ID-20 RFID Reader w/ RFID tag 4.3 Inch Digital Touch Panel Graphic LCD (800 x RGB x 480) Analog Devices AD7843 AD Converter JTAG - UART GPIO – Serial UART Power system Cyclone II FPGA Magnetic stripe card reader Keyboard Memory User Interface Optional: DE2 development board Bluetooth module(s) 2-line/16 segment LCDs 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 10 FPGA Implementation: NIOS II/e processor RISC soft-core Storage 64 Kbyte on-chip memory Flash controller SRAM controller JTAG universal asynchronous receiver/transmitter (UART) GPIO – Serial UART Timer 32-bit source registers HAL API Newlib ANSI C standard library 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 11 EP2C35 I/O Banks: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 12 NIOS II Soft-Core: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 13 On-Chip and Flash Memory: 3/15/2016 64-Kbyte on-chip memory FIFO memory 4-Mbyte Flash memory 8-bit data bus ECEN 4610 - DEHP2009 - IntelliCart 14 Flash Memory: · Command/Address/Data Multiplexed I/O port · Hardware Data Protection · Program/Erase Lockout During Power Transitions 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 15 SRAM Read and Write Transfers: ISSI IS61LV25616 high-speed Static RAM 512K byte(256K X16) SRAM CMOS low power operation Low stand-by power TTL compatible interface levels Single 3.3V power supply Fully static operation: no clock or refresh required Three state outputs Data control for upper and lower bytes 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 16 Interrupt Handling: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 17 JTAG Interface: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 18 Serial UART Core Controller: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 19 Software: Compiled and ran “Hello World” program (output below) Completed ASCII parsing of RFID reader input on DE2 board (Demo on next two slides) New plan: Write C/C++ code in “style” of Java 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 20 Demo: RFID Reader Test Code 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 21 Demo: Output 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 22 Simplified Use Case Diagram 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 23 Example Use Case Description Shopper-Initiated Use Case Use Case Name: Remove Item Actor: Item RFID tag Summary: The shopper places an item in proximity of the cart's RFID reader. Precondition: The cart system is powered on and the item's RFID tag is within the range of the cart's RFID reader. Description: When an item's RFID tag comes in proximity of the cart's RFID reader, the reader generates an interrupt with the RFID tag value. The cart system uses that value to determine whether the order already contains the item and to suggest related items. Alternatives: The order does not contain the item, in which case the actor initiates the “Add Item” use case instead. The cart system does not recognize the RFID tag value, so the cart system alerts the Shopper to contact the Clerk, who initiates the “Manually Remove Item” use case. Error condition—the cart system does not detect an RFID tag. Postcondition: The cart system has removed the item from the order and updated the total; if applicable, the cart system has also suggested related items as alternatives to the item removed. 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 24 Static Model of the Problem Domain 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 25 System Context Class Diagram 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 26 Extended Static Class Diagram 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 27 RS-232 Interface: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 28 LCD Interface: LCD Touch-Screen Module (LTM) is equipped with a LCD driver IC to support 3 display resolutions. LTM is connected to FPGA via 40-pin expansion header IDE cable. Serial Interface and ADC share the expansion header. LTM came with AD7843 digitizer chip for analog – digital converter. LCD Touch-screen: Budget: Component Manufacturer Cyclone II FPGA 208-QFP Altera Memory/Storage Price -Donated$30 PCB Fabrication (two rev) Advanced Circuits $120 Touch-Screen LCD Terasic $210 PS2 Keyboard $30 MiniMag Credit Card Reader IDTech $55 Xbee 1mW Bluetooth Digi $25 125kHz ID-20 RFID Reader (x4) and tags ID Innovations $160 RFID Daughter Board Components On-Board Power Components $40 TI / ST Microelectronics Off-Board Power Components Printing/Binding $15 $50 Kinko’s $50 Fabrication Classes $100 Misc. Parts / Costs $120 Total 3/15/2016 $1,000 ECEN 4610 - DEHP2009 - IntelliCart 31 Parts List: Component Source Price/ea Quantity Total ID-20 RFID Reader http://www.sparkfun.com/commerce/product_inf o.php?products_id=8628 34.95 3 104.85 LM317 Regulators http://search.digikey.com/scripts/DkSearch/dksus .dll?Detail&name=296-12602-1-ND .62 2+1 3.72 L6932 Regulator http://search.digikey.com/scripts/DkSearch/dksus .dll?Detail&name=497-4596-1-ND 2.85 1+1 5.70 CC Reader http://www.barcodesinc.com/idtech/minimag.ht m IDMB377112 55.50 1 55.50 Cyclone II FPGA SDRAM Lab 3.80 1 1 3.80 Flash http://search.digikey.com/scripts/DkSearch/dksus .dll?Detail&name=M25P32-VMF6TPCT-ND 6.39 1 6.39 LCDs Keyboard Lab 214.11 38.98 1 1 214.11 38.98 Xbee 1mW Bluetooth Misc. passive components http://www.sparkfun.com/commerce/product_inf o.php?products_id=8664 24.95 1 24.95 N/A 50.00 1 50.00 AC/DC inverter Battery N/A N/A N/A N/A N/A N/A N/A 3/15/2016 http://search.digikey.com/scripts/DkSearch/dksus .dll?Detail&name=557-1089-1-ND http://search.digikey.com/scripts/DkSearch/dksus .dll?Detail&name=CH924-ND N/A ECEN 4610 - DEHP2009 - IntelliCart 32 Project Status: ASCII Parsing Operational • RFID Communication Software Conversion Tag/Product Use Case Descriptions Written Schematics / PCB Layout 90% Complete NIOS II Processor Running Early LCD Touch-Screen Tests 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 33 Schedule: 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 34 Schedule (Key Things): Hardware: First Version of PCB Layout FPGA: SRAM, SDRAM, and Flash Software: Communication and Sequence Diagram for Lookup Table Interfaces: LCD output and touch-screen 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 35 3/15/2016 ECEN 4610 - DEHP2009 - IntelliCart 36