Sie sind auf Seite 1von 7

CONTENTS

1. 2. 3. 4. 5. 6. 7. 8. 9. Introduction Resources Component List Block Diagram Circuit Diagram Circuit Description Applications Future Aspects Coding

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. 2. 3. 4. 5. 6. Diptrace Microcontroller programmer(burner) Hitech c compiler for pic microcontroller Solder kit Multimeter Breadboard

COMPONENT LIST:
S.NO. 1. 2. 3. 4. COMPONENT Micro controller PIC16F72 Comparator ICLM324 Relay Driver ICULN2003 Regulator IC-7805 3V-32V,1MHz Io=500mA Vo=5V(TTL CMOS) 1A,5V RATING QUANTITY 1 1 1 1 COST(RS) 150 10 10 10

5. 6. 7. 8. 9. 10. 11. 12. 13.

LCD-16X2 Crystal OSC Relay(PCB Mount) Photodiode IR-LED 3mm LED Diode-1N4007 Capacitor Resistor

5V10% 3.57MHz,5V 12V

1 1 1 1 1

150 10 10 5 5 1 rs/piece 1 rs/piece 5 rs/piece 2 rs/piece 2 rs/piece 1 rs/4piece

5V,100A,25C

3 6

14. 15. 16.

Pot Transformer Solenoid Valve

1000f,25V 0.1f 22pf 1K 10K 270K 470K 20K 230V,50Hz (6-0-6)V 12V DC

2 1 2 2 4 4 4 4 1 1

5 80 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. Crystal Oscillator : it is used to generate a 3.57MHz frequency for microcontroller IC.

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); } }

www.final-yearproject.com

Das könnte Ihnen auch gefallen