Intelligent Vending Machine

Preview:

DESCRIPTION

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 - PowerPoint PPT Presentation

Citation preview

Jeffrey HepworthErik Mauer

Brendan MurphyDavid Rodriguez

Team VENDVEND‘etta’

Retrofit standard vending machine with: New interactive features Energy saving technology

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

LCD

Altera MSP430

Host Interface

Lighting

MDB

E-Payment

Sensors

Motors

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 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)

VERILOG CODE

DE2 Board

LCDPrompts User

MoneyMake Selection

Load Card

Payment

E Payment

Prompts for Selection

Prompts for Payment

E Payment Options

PaymentMade

Vend Product

VeriVendError

VendComplete

Selection

Selection Made

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)

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

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

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

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

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 Selection Input

(Altera)

Check Motor Position

Output to Selected

Motor

Motor PositionReset

UDN2982A (Source Driver)

UDN2559B (Sink Driver)

RF DisturanceActivated

MSP430

VeriVend

Temperature

Shock Disturbance

AlteraLighting

Donated by Erik 2 stage radar motion sensor Uses 12V Notify MSP430 of customer presence Sends -200mA when activated

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

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

Fluorescent Lighting 14 W in Snack Side 30 W in Soft Drink Side

Custom high efficient lighting Estimated 50% savings

Work in Progress

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

Labor DistributionJeff Brenda

nErik David

LCD X X

MDB X X

Control Board X X

Host Interface X X

E Payment X X X

Sensors X X

PCB X X

Power Supplies

X X

Lighting X

Pricing Display

X X

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)

MDB Graphics/ LCD

Timing Depth of menu detail / dynamic displays

Altera NIOS FPGA

MSP430/Altera Communication