Title: Intelligent Vending Machine
1Intelligent Vending Machine
Team VENDetta
- Jeffrey Hepworth
- Erik Mauer
- Brendan Murphy
- David Rodriguez
2Project Overview
- Retrofit standard vending machine with
- New interactive features
- Energy saving technology
3Project 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
4New System Diagram
5ALTERA 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
6NIOS II Schematic
7LCD Interface
- LCD uses 40 GPIOs 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)
8LCD Control
9LCD Touch Screen
10Cash 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 _at_ 6A (max)
11Electronic 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 doesnt provide power on RS232 port
- 3 mA power requirement
- Inject power into RTS line
- MAX3232 used to convert from RS232 to 3.3V
TTL -
12Timing Diagram of Magnetic Card Reader
13RFID
- 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
14Electronic Payment Schematic
15Host 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
16MSP430
- 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
17Interface 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
18MSP430
19Motor Software
20Motor Hardware Matrix
21Motor Schematic
UDN2982A (Source Driver)
UDN2559B (Sink Driver)
22Sensor Software Implementation
23RF DisturbanceCrime Guard AU94T
- Donated by Erik
- 2 stage radar motion sensor
- Uses 12V
- Notify MSP430 of customer presence
- Sends -200mA when activated
24VeriVend 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
25TEMP LM34 Precision Fahrenheit Temperature Sensor
- Calibrated directly in degrees Fahrenheit
- Temperature range of -50 to 300
- Better than 1.0F accuracy
- Operates from 5 to 30 volts DC
- Less than 90 µA current drain
- Low cost
26Lighting
- Fluorescent Lighting
- 14 W in Snack Side
- 30 W in Soft Drink Side
- Custom high efficient lighting
- Estimated 50 savings
- Work in Progress
27Power
- MDB to RS232 board (MDB2PC)
- 24-36V _at_ 6A
- Drives coin/bill acceptors
- Motors
- 24V _at_ 500mA
- Altera FPGA board
- 9V _at_ 1.3A
- Sensors
- 5V and 12V
28Updated Budget Updated Budget Updated Budget 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 200.00
Sensors 30.00
Remote Interface 100.00
Shipping 100.00 14.00
RFID 55.00 34.85
Misc. Parts 123.00 41.34
Total 1,004 450.09
29Labor Distribution Labor Distribution Labor Distribution Labor Distribution Labor Distribution
Jeff Brendan Erik 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
30Schedule
31Milestones
- 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)
32Roadblocks
- MDB
- Graphics/ LCD
- Timing
- Depth of menu detail / dynamic displays
- Altera
- NIOS
- FPGA
- MSP430/Altera Communication
33Questions ???