Beruflich Dokumente
Kultur Dokumente
WILLY V JACOB
ELIZEBETH
MOHAN
SAPNA
CHAUHAN
A green and red led are provided on each floor to indicate whether the car
can be parked on that particular floor or not.If green led of any particular
floor glows, then it will indicate that the particular floor is empty and you
can park your car on that floor. But in case if red led of that particular
floor glows, then it will indicate that there is no vacancy on that floor, in
such case you can park your car on the next floor according to the
indication. If there is no parking place, then all the red indicators of the
floors will glow.
LCD section- A liquid crystal display (LCD) is a thin, flat electronic visual display.
The lcd is used to display the place to park the vehicle i.e. it show ground floor if
space is available on ground floor etc. the 1st ,5th &16th is given ground.2nd &15th
pin is given Vcc. The data lines are connected to PORT 0 and the control lines are
connected to PORT 1.0 &1.1. The pin description of LCD is given below.
WORKING- Display is provided at the ground floor that displays where to park the
car.Each floor is provided with green and red LEDS,Green for vacancy and
Red for no space.Sensors sense the entry of each car and indicate a message
on LCD about where to park car.If there is no space a message is displayed
NO SPACE.
{
P0=0X38;
cmd();
delay();
P0=0X01;
cmd();
delay();
P0=0X0E;
cmd();
delay();
P0=0X06;
cmd();
delay();
}
void main()
{
P3=0X00;
P2=0xff;
green_led1=1;
red_led1=0;
green_led2=1;
green_led3=1;
red_led2=0;
red_led3=0;
count=0;
lcd_start();
P0=0X83;
cmd();delay();
for(i=0;i<10;i++)
{
P0=name[i];
data1();
delay();
}
P0=0XC3;
cmd();
delay();
for(i=0;i<11;i++)
{
P0=name0[i];
data1();
delay();
}
delay();
while(1)
{
park:while(s1==1 && s2==1);
if(s1==0)
{
P0=0X01;
cmd();
delay();
delay();
while(s2==1);
count++;
if(count<=0)
{
green_led1=1;
green_led2=1;
green_led3=1;
red_led2=0;
red_led3=0;
red_led1=0;
}
goto a;
}
if(s2==0)
{
P0=0X01;
cmd();
delay();
delay();
while(s1==1);
delay();
count--;
if(count<=0)
{
green_led1=1;
green_led2=1;
green_led3=1;
red_led2=0;
red_led3=0;
red_led1=0;
}
goto a;
}
a:while(1)
{
if(count>0 && count<=5)
{
green_led1=1;
green_led2=1;
green_led3=1;
red_led2=0;
red_led3=0;
red_led1=0;
goto ground;
}
if(count>5 && count<=10)
{
green_led1=0;
green_led2=1;
green_led3=1;
red_led2=0;
red_led3=0;
red_led1=1;
goto first;
}
if(count>10 && count<=15)
{
green_led1=0;
green_led2=0;
green_led3=1;
red_led2=1;
red_led3=0;
red_led1=1;
goto second;
}
if(count>15)
{
green_led1=0;
green_led2=0;
green_led3=0;
red_led2=1;
red_led3=1;
red_led1=1;
goto full;
}
}
ground:
P0=0X80;
cmd();
delay();
for(k=0;k<11;k++)
{
P0=name1[k];
data1();
delay();
}
P0=0XC0;
cmd();
delay();
for(k=0;k<12;k++)
{
P0=name2[k];
data1();
delay();
}
goto park;
first:
P0=0X80;
cmd();
delay();
for(k=0;k<11;k++)
{
P0=name1[k];
data1();
delay();
}
P0=0XC0;
cmd();
delay();
for(k=0;k<11;k++)
{
P0=name3[k];
data1();
delay();
}
goto park;
second: P0=0X01;
cmd();
delay();
P0=0X80;
cmd();
delay();
for(k=0;k<11;k++)
{
P0=name1[k];
data1();
delay();
}
P0=0XC0;
cmd();
delay();
for(k=0;k<12;k++)
{
P0=name4[k];
data1();delay();
}
goto park;
full: P0=0X01;
cmd();
delay();
P0=0X80;
cmd();
delay();
for(k=0;k<8;k++)
{
P0=name5[k];
data1();
delay();
}
goto park;
}
}
ADVANTAGES
Provides lower parking cost per building area.
Solves the problem of less space.
Reduces human effort in finding out the required space.
Fast.
DISADVANTAGES
Deterioration and Maintenance.
Parking angle considerations.
Safety.
VOTE OF THANKS-We would like to thank our teachers at atech 4 guiding us
and we also like to thank our parents 4 making us do the training. We would
like to thank Bonjovi ,Backstreet boys ,Led zeppelin, bullets for my valentine
for being our inspiration.a special thanks to prashant.