340 likes | 627 Views
Team VEND ‘ etta ’. Intelligent Vending Machine. Jeffrey Hepworth Erik Mauer Brendan Murphy David Rodriguez. Project Overview. Retrofit standard vending machine with: New interactive features Energy saving technology. Project Status. Control Board still in development
E N D
Team VEND‘etta’ Intelligent Vending Machine Jeffrey Hepworth Erik Mauer Brendan Murphy David Rodriguez
Project Overview • Retrofit standard vending machine with: • New interactive features • Energy saving technology
Project Status • Control Board still in development • Still learning peripherals on DE2 board • Basic selection menu running on LCD • Motor system design implemented • Using MSP430 for motor driving as well as sensors • MDB board running • Detects coins and bills inserted • Electronic payment • Hardware designed • Prototype circuit finished
ALTERA Cyclone II FPGA • FPGA State Machine • Interface • MDB (Multi-Drop Bus) • Coin/Cash Payments • LCD • E-Payment • NIOS II Soft-core • Electronic Payment Software • MDB Software • Host Interface Software
LCD Interface • LCD uses 40 GPIO’s on the FPGA • Touch Screen ADC serial signal (5 lines) • LCD Control Signals (4 lines) • Synchronous timing signals and RGB data (28 lines) • Power and Ground (3 lines)
LCD Control DE2 Board VERILOG CODE
Cash Interface • MDB2PC™ board donated by Upstate Networks • MDB2PC™ sends ASCII via RS232 • Upon insertion of bills or coins, board sends a unique HEX value • HEX value corresponds to what type of coin or bill was inserted • Power consumption • Requires 24V @ 6A (max)
Electronic Payment Upgrades • Magnetic Card Reader • Reads any magnetic card • Reads one to three tracks • Outputs standard RS232 • 9600 Baud, No Flow control • Needs separate power supply • DE2 doesn’t provide power on RS232 port • 3 mA power requirement • Inject power into RTS line • MAX3232 used to convert from RS232 to 3.3V TTL
RFID • 5V TTL logic out • LV4245 Level shifter used to convert from 5V to 3.3V TTL • 30 mA power requirement • 9600 baud rate • 10 cm read range • 64 bit tag number • Standard ASCII output
Host Interface • Use Visual Basic Application • Allow for owner/servicemen to monitor and control machine • Check Inventory • Check Sales and profit • RS232 for development • Use dedicated Ethernet LAN for final implementation
MSP430 • Interface between motors, sensors, and lighting • Why MSP430? • Built in peripherals • Number of I/O ports • Allows us to operate separate processes from the Altera board • Familiarity
Interface between MSP430 and Altera • Altera MSP430 • Altera sends a 7-bit signal for motor driving • 6 bits allocated for motor selection • 1 bit for initiating vend cycle • 1-bit “action” signal to alert the MSP of user interaction • MSP430 Altera • 3-bit error signal • 3-bit status signal
Motor Schematic UDN2982A (Source Driver) UDN2559B (Sink Driver)
RF Disturbance:Crime Guard AU94T • Donated by Erik • 2 stage radar motion sensor • Uses 12V • Notify MSP430 of customer presence • Sends -200mA when activated
VeriVend: PIR Sensor • Will be use to verify vend has been successful • Infrared-sensitive element • I/O pin to communicate with MSP430 • Benefits • Uses 3.3V • Small • Three pin connection • Single bit output
TEMP: LM34 Precision Fahrenheit Temperature Sensor • Calibrated directly in degrees Fahrenheit • Temperature range of -50° to +300° • Better than 1.0°F accuracy • Operates from 5 to 30 volts DC • Less than 90 µA current drain • Low cost
Lighting • Fluorescent Lighting • 14 W in Snack Side • 30 W in Soft Drink Side • Custom high efficient lighting • Estimated 50% savings • Work in Progress
Power • MDB to RS232 board (MDB2PC) • 24-36V @ 6A • Drives coin/bill acceptors • Motors • 24V @ 500mA • Altera FPGA board • 9V @ 1.3A • Sensors • 5V and 12V
Milestones • Milestone 1 • LCD Operational • Sensors Implemented • MDB Implemented • E payment running • Milestone 2 • Lighting Implemented • Remote Interface Implemented • Control Board PCB completed • Expo • Complete vend control from LCD • Remote Interface • LED Price Display (possibly)
Roadblocks • MDB • Graphics/ LCD • Timing • Depth of menu detail / dynamic displays • Altera • NIOS • FPGA • MSP430/Altera Communication