Vending Machine Spring 2010

Vending Machine Spring 2010 - Table Of Contents Page 1....

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Table Of Contents Page 1. Abstract 2 2. Introduction 3 3. Flow Chart showing flow of events 5 4. Hardware Design 6 5. Memory System 10 6. Serial I/O 13 7. GPIO Specification 14 8. Software Detail 21 9. Extra Credit 24 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Abstract This project requires us to design a Vending Machine Controller using ARM microprocessor. The whole design works on preprogrammed specifications stored in memory location of microprocessor in form of Assembly Language. External sources are linked to the microprocessor through peripheral devices that communicate vital information to the microprocessor for the desired functioning of the vending machine. A system that links all such vending machines is also implemented, so as to keep track of transactions and current status of these machines. Output such as number of items available, should there be a refill of certain items, should there be a money collection from a full coin collector of a vending machine, and so on and so forth. Serial interface is used by operator to maintain the machine remotely. 2
Background image of page 2
Introduction This document is required to reflect the hardware design involved in developing the vending machine controller. The design consists of ARM Core Microprocessor, a Memory System, General Purpose I/O's (GPIO's), Universal Asynchronous Receive & Transmit's (UART's), a standard Bus architecture like AMBA which links all the hardware units together before a bus interface and external peripherals. Using the above mentioned hardware devices and assembly language code we are suppose to attain the required specifications. The required specifications are as follows: The machine can accept quarters, nickels and dimes which are stored in separate bins. Only a 100 of each can be accepted i.e. each bin has capacity of 100 coins only. The machine can also accept 1 dollar and 5 dollar bins only. The machine has 3-bits P, Q & R, output indicating system to indicate what type of currency was entered. A 001 responds to nickel, 010 responds to a dime, 011 responds to quarter, 100 responds to a one dollar bill and 101 to a five dollar bill. All other values are considered as invalid. Money detector/dispenser has three I/P signals to return change. Signals are RQ (return quarter), RD (return dine), RN (return nickel). For coin ejection, appropriate signal must be held high for 10ms and then low for 10mS. A COINFULL signal is activated money detector/dispenser when at least one of the coin bin's is full. The signal also activates LED which lets the customer know that machine can't accept a certain kind of coin at this moment. Machine also keeps count of coins. The operator is kept updated via serial communication. Abnormal conditions generate MACHINE_RDY signal which takes the machine off-line and notifies the operator. It also lits an LED which lets the customer know that the machine is now 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
offline. Serial interface allows the operator to maintain and program machine remotely, like allow
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 24

Vending Machine Spring 2010 - Table Of Contents Page 1....

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online