(6.6 MB PowerPoint)

advertisement
Team VEND‘etta’
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



MDB board running


Using MSP430 for motor driving as well as sensors
Detects coins and bills inserted
Electronic payment


Hardware designed
Prototype circuit finished
New System Diagram
E-Payment
Motors
Altera
MSP430
MDB
Sensors
LCD
Host
Interface
Lighting
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

NIOS II Schematic
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
LCD Touch Screen
LCD
Prompts User
Payment
Selection
E Payment
Options
Prompts for Payment
Vend
Complete
Make Selection
Money
Prompts for Selection
VeriVend
Error
Payment
Made
Selection Made
E Payment
Vend Product
Load Card
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


Outputs standard RS232


9600 Baud, No Flow control
Needs separate power supply




Reads one to three tracks
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
Timing Diagram of Magnetic Card
Reader
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
Electronic Payment Schematic
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

MSP430
Motor Software
Motor Selection
Input
(Altera)
Check Motor
Position
Output to
Selected
Motor
Motor Position
Reset
Motor Hardware Matrix
Motor Schematic
UDN2982A (Source Driver)
UDN2559B (Sink Driver)
Sensor Software Implementation
RF Disturance
Activated
Shock Disturbance
MSP430
Lighting
Temperature
VeriVend
Altera
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


Motors


24V @ 500mA
Altera FPGA board


Drives coin/bill acceptors
9V @ 1.3A
Sensors

5V and 12V
Updated Budget
Item
Predicted Price
Actual Purchases to Date
MDB2PC
Donated
Donated
LCD
$206.00
$206.00
Magnetic Card Reader
$70.00
$59.95
Altera Breakout Board
$80.00
$79.95
Power Supply
$40.00
$14.00
PCB
Sensors
$200.00
$30.00
Remote Interface
$100.00
Shipping
$100.00
$14.00
$55.00
$34.85
$123.00
$41.34
$1,004
$450.09
RFID
Misc. Parts
Total
Labor Distribution
Jeff
LCD
Brendan
Erik
X
X
MDB
X
X
Control Board
X
X
X
Host Interface
E Payment
X
X
David
X
X
X
X
Power Supplies
X
X
Lighting
X
Sensors
PCB
Pricing Display
X
X
X
X
Schedule
Milestones

Milestone 1





Milestone 2




LCD Operational
Sensors Implemented
MDB Implemented
E payment running
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
Questions ???
Download