{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

DESIGN PROJECT - 1 DESIGN PROJECT VENDING MACHINE...

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

View Full Document Right Arrow Icon
DESIGN PROJECT VENDING MACHINE CONTROLLER Name:- Kanika Singh Person #:- 31764608 1
Image of page 1

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

View Full Document Right Arrow Icon
Index of Contents:- Page number. Introduction…………………………………………….3 Specifications…………………………………………..4 Hardware Diagram description………………………...6 Memory Mapping……………………………………...9 UART description…………………………………….13 GPIO description……………………………………..14 Flow-chart/pseudo-code………………………………19 2
Image of page 2
Introduction:- Vending machines are a very commonly used commodity in today’s life. They can be found in almost most of the places, and are essentially used for selling beverages, snacks, newspaper, and other essential commodities. In this project we are asked to design a new line of vending machine selling products which are priced differently. We are supposed to program the ARM based controller which interfaces with the money machine and the dispenser and this has to be done pertaining to certain specification given to us. The money detector and the item dispenser are already taken from an older machine. We also have to set up a serial interface for remote messaging to an operator which can control the machine. So, basically in this new design of vending machines we are giving the options of actually coordinating all the vending machines in a certain network area, thus letting the operator having the privilege of controlling and overseeing all of them together. That is, the machine can send signals when the coin bins are full, when the products are about to finish or when it has certain abnormal conditions like coin-jamming or power-failure and the operator can take the necessary action including being able to turn it offline from a central location. Here, the vending machine has to be controlled with an ARM processor which is designed with serial and parallel I/O’s. The processor communicates with the vending machine using parallel interface. It communicates with the operator using serial interface. The serial communication is implemented using interrupt mechanism. The person who restacks the machine has to have the flexibility of setting the amount of different products and coins stocked. 3
Image of page 3

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

View Full Document Right Arrow Icon
SPECIFICATION:- The following specifications serve as guide-lines while designing the processor:- For the money dispenser:- 1. The machine can only accept nickels, dimes and quarters which are stored in respective bins. Each bin has a capacity of 200 coins. It has a separate mechanism to accept 1 or 5 dollar bills 2. Only nickels, dimes and quarters can be returned as change. 3. The mechanism has 3 bits P, Q and R which indicate what kind of coin/bill has been inserted. 000 is for quarter, 001 for a dime, 010 for a nickel, 100 for a 1 dollar bill and 111 for a 5 dollar bill. Any other value is rejected.
Image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern