AUTOMATIC BEVERAGE VENDINDG M/C
INTRODUCTION
An automated beverage vending machine comprises of a
microcontroller which is programmed to instruct the system to serve the
beverage. Machine will activate when the user insert a five rupee coin into
coin slot. This coin will be detected by an IR-sensor and send a signal to
microcontroller. The machine comprises of cylinder controlled by microcontroller.
A fixed volume beverage is filled in the main container. The beverage is poured
in the glass through tap which opens and closes after fixed time period and
only activated when container is filled. Hence, the user gets the beverage
demanded by him by fully automated technique.
RESOURCES:
1.
Diptrace
2.
Microcontroller
programmer(burner)
3.
Hitech
c compiler for pic microcontroller
4.
Solder
kit
5.
Multimeter
6.
Breadboard
COMPONENT LIST:
|
S.NO.
|
COMPONENT
|
RATING
|
QUANTITY
|
COST(RS)
|
|
1.
|
Micro controller PIC-16F72
|
|
1
|
150
|
|
2.
|
Comparator IC-LM324
|
3V-32V,1MHz
|
1
|
10
|
|
3.
|
Relay Driver IC-ULN2003
|
Io=500mA
Vo=5V(TTL CMOS)
|
1
|
10
|
|
4.
|
Regulator IC-7805
|
1A,5V
|
1
|
10
|
|
5.
|
LCD-16X2
|
5V±10%
|
1
|
150
|
|
6.
|
Crystal OSC
|
3.57MHz,5V
|
1
|
10
|
|
7.
|
Relay(PCB Mount)
|
12V
|
1
|
10
|
|
8.
|
Photodiode
|
|
1
|
5
|
|
9.
|
IR-LED
|
|
1
|
5
|
|
10.
|
3mm LED
|
5V,100μA,25°C
|
3
|
1 rs/piece
|
|
11.
|
Diode-1N4007
|
|
6
|
1 rs/piece
|
|
12.
|
Capacitor
|
1000μf,25V
0.1μf
22pf
|
2
1
2
|
5 rs/piece
2 rs/piece
2 rs/piece
|
|
13.
|
Resistor
|
1KΩ
10KΩ
270KΩ
470KΩ
|
2
4
4
4
|
1 rs/4piece
|
|
14.
|
Pot
|
20KΩ
|
4
|
5
|
|
15.
|
Transformer
|
230V,50Hz
(6-0-6)V
|
1
|
80
|
|
16.
|
Solenoid Valve
|
12V DC
|
1
|
1600
|
CIRCUIT DIAGRAM
CIRCUIT DESCRIPTION:
Ø Power
Supply :
Step
Down Transformer : A step
down transformer is used to convert 230V,50Hz into 12V ,50Hz.
Bridge Rectifier : In this section a bridge rectifier is
use to convert 12V ac into 12V dc supply which is then converted into regulated
supply by using a Regulator IC 7805.
Regulator IC: In this section 12V dc is converted into 5V regulated supply by using
a 7805 regulator
Ø Main
circuit :
Comparator (LM 324) &IR Section
:
IR Section : In IR section we use an photo diode &
an IR(Infra Red) LED are used to sense
the whether the coin is inserted or not.
Comparator : A comparator LM 324 is used to compare the
o/p of IR section with a reference voltage(0-5V).when we put a coin in hole the
infrared light get interrupted due to which output will generated at pin 1 of
comparator IC which will work as an input for microcontroller IC PIC16F72 at
pin 2.
Microcontroller : IC PIC16F72 is a 28 pin microcontroller IC
having three ports port a ,port b,port c each of 8 bits.6 pins of port b are
connected to 16x2 LCD display and four pins of port b are connected to relay
driver IC ULN2003.
Relay driver : IC ULN2003 having 16 pins work as a relay
driver IC.it operates on 12Volts.the output from the main microcontroller IC works
as an input for relay driver and there produces magnetic field at the relay.Due
to induced magnetic field in the solenoid valve it moves downward causing
liquid to come out from the valve and hence the beverage fills in the glass as
we put the coin in hole.
HD4478OU LCD Display : It is
a dot matrix liquid crystal display.it is used to display the status of the
machine.it detects the coin action and indicates if it is inserted.
APPLICATIONS:
1.
To
serve different kinds of beverages like coffee, softdrinks,hot water,shakes at
public places like railway stations,bus stands,airports etc.
2.
Can be
used as a frequent beverage supplier at colleges and offices where mass serving
is required.
FUTURE ASPECTS:
We can connect more valves through relay to make more
beverage choices and.we can also connect a predefined path set robot to take
the beverage at a particular destination.
CODING :
void
main()
{
Lcd_Initialize(&PORTC);
Lcd_Command(Lcd_CURSOR_OFF);
Lcd_Command(Lcd_CLEAR);
while(1)
{
Lcd_Output(1, 1, "Autmatic
Bevrage");
Lcd_Output(2, 1,
"Vending M/C");
PORTB.bit0=0;
if(PORTA.bit0==0)
{
Lcd_Command(Lcd_CLEAR);
Lcd_Output(1, 1,
"Coin Detected");
Lcd_Output(2, 1,
"Vending......");
PORTB.bit0=1;
delay_ms(15000);
Lcd_Command(Lcd_CLEAR);
Lcd_Output(1, 1,
"Vending Over");
Lcd_Output(2, 1,
"Take Away...");
PORTB.bit0=0;
delay_ms(2000);
}
delay_ms(5);
Lcd_Command(Lcd_CLEAR);
}
}

No comments:
Post a Comment