Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Design 1

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Q1 The system to be designed is a vending machine.

The vending machine has the following units:


Refrigeration Unit, Dispensing Unit, Payment Unit. Even though the specifications are given as
multiple units they are all built around a single microcontroller.
Refrigeration Unit

The refrigeration unit has the following components (a)Compressor (Compr) (b)Exhaust Fan
Module (EFM) (c) Compressor Fan Module (CFM) and (d) Thermostat
The EFM ensures that the cool air is dissipated uniformly within the vending machine. It must
always be on.
The Thermostat is used for reading the temperature within the refrigeration unit and gives an
output between 0 to 3.2V. The thermostat reads values from 0 to 50o F. The thermostat is read
every 10 seconds.
The Compr and the CFM are turned on at a Cut-in Voltage and turned off at the Cut-off Voltage.
The Cut-in Voltage is 300F and Cut-off voltage is 360F.
Dispensing Unit
Dispensing device for vending machines comprises a spiral coil mechanism that allows rotation
thereof and the connected coil.
The loops making up the coil comprise closely spaced neighboring loops, remote from the
mechanism, capable of supporting and transporting product to be vended as the coil is rotated,
and distantly spaced neighboring loops, incapable of supporting the product.
As the coil is turned, product is transported toward the mechanism until it reaches the distantly
spaced loops where it drops from the spiral into a chute accessible by the purchaser.
A stepper motor controls the coil, the driver mechanism must be given a series of pulses at a
frequency of 1 KHz and a duty cycle of 50%. The pulses are given for a duration long enough for
the product to move from closely spaced loops to distantly placed loops. This could vary from 1
second to 5 seconds.
When the product falls on the chute, the chute will automatically release there is no need for any
embedded control here.
A keyboard that has the following keys - 0 to 9, enter, backspace and cancel is available. There is
also a 16 x 2 LCD display available that can be used to select the product based on its ID
Payment Unit
The payment can be made only via a wireless credit card that uses NFC technology. To read the
NFC cards an ST25R3916 is used.
The STM2R3916 has the following features:
An RF interface that communicates with the NFC card. External communication interfaces
– 512 byte FIFO
– Serial peripheral interface (SPI) that can be up to 10 Mbit/s
The serial interface is four pin interface – three input lines SCLK, SEL and MOSI and one output pin
MISO.
To confirm payment the unit connects with the banking system via the ethernet interface.
Procedure to use the Vending Machine
The machine displays “enter item number”
User can use the keyboard to enter item number using the numerical keys, enter, backspace ..
The Machine then displays the item number and cost.
The user then scans his card on the NFC reader. The system after reading the card will confirm the
payment using the ethernet interface. After the transaction has been approved, the system will
display Transaction Approved and dispenses the product.

You might also like