You are on page 1of 7

define F_CPU 1000000UL

//set your clock speed

#include <avr/io.h> #include <util/delay.h> #include"lcd.h" //include lcd.h #include"lcd.c" //include lcd.c #include<stdlib.h>

void wait(float x) { for(int i=0;i<(int)(1302*x);i++) _delay_loop_1(0); } void stepper() { for(int i=0;i<2;i++) { PORTB=0x66; wait(1); PORTB=0xcc; wait(1); PORTB=0x99;

wait(1); PORTB=0x33; wait(1); } } int main() { lcd_init(LCD_DISP_ON); DDRB=0xff; DDRC=0x00; unsigned int area=60,area1=60; char count=0,count1=0; char *s=0; while(1) { lcd_clrscr(); if(PINC & 0x01) { wait(.5); lcd_clrscr(); count+=1;

area=area-10; //wait(.5); itoa(count,s,10); lcd_puts("gnd floor\nno of car "); lcd_puts(s); wait(.5); //wait(.51); } if(PINC & 0X02) { wait(.5); count-=1; area+=10; wait(.25); lcd_clrscr(); lcd_puts("car leaves"); wait(.25); itoa(count,s,10); lcd_puts(" gnd floor\nno of car "); lcd_puts(s); wait(.5);

if(area==0 &&area1!=0) { lcd_clrscr(); stepper(); lcd_puts("1 floor\n"); wait(1); while(1) { if(PINC & 0x01) { count1+=1; area1=area1-10; wait(.25); lcd_clrscr(); itoa(count1,s,10); lcd_puts("no of car "); lcd_puts(s); wait(1); }

if(PINC & 0X02) { count1-=1; area1+=10; lcd_clrscr(); wait(.25); itoa(count1,s,10); lcd_puts("no of car "); lcd_puts(s); wait(1); } } } } }
VILL SULPUR P.O. BHAMBLA TEH. SARKAGHAT DISTT. MANDI H.P. ADDRESS KI STARTING S/O SH. RAJESH KUMAR CHANDEL VILL SULPUR P.O. BHAMBLA TEH. SARKAGHAT DISTT. MANDI H.P PIN 175004

PH. NO. 09888664799

SYNOPSIS Of CAPSTONE PROJECT-I (Automated Car Parking System)


Aashish Kumar(E28E1), Apar Khare(E28E2) Gaurav Kumar Tomar(E28E2), Vikrant Khullar(E28E1)

AUTOMATED CAR PARKING SYSTEM


Since in modern world, where space has become a very big problem and in the era of miniaturization its become a very crucial necessity to avoid the wastage of space in modern, big companies and apartments etc. In space where more than 100 cars need to be parked, its a very difficult task to do so and also to reduce the wastage of area. So this system can be used for solving above issues.

Problem Faced
Taking example of our national capital Delhi, it has over five million cars and two-wheelers on its roads, but not enough parking spaces. The demand for parking space has, on an average in the main markets of Delhi, outstripped demand by 43 per cent. All the big cities in India are facing the space crunch. Parking space is fast becoming a major issue in the other metro and urban cities as well.

Optimized solution
A multi-storey car parking system offer greatest possible flexibility for the realization of optimum parking solution. A fast parking process in which the driver does not have to maneuver his car, guarantees highest comfort and

security. A single lift serves 6 to 12 parking spaces per level taking up a minimum of space
This Automatic Car Parking enables the parking of vehicles-floor after

floor and thus reducing the space used. Here any number of cars can be park according to requirement. These makes the systems modernized and even a space-saving one.

Automatic multi-storey car parks provide lower building cost per

parking slot, as they typically require less building volume and less ground area than a conventional facility with the same capacity. However, the cost of the mechanical equipment within the building that is needed to transport cars internally needs to be added to the lower building cost to determine the total costs.

Basic idea
In this project, we will show the basic multilevel car parking system with two floors. Although we show the concept with two floors, it is still possible to show this concept on multiple floors. Also, in this project,
Two floors with 2 sensors on each floor for detecting entry and exit of

cars, also the availability of parking space on that particular floor.

Lift will automatically detect the presence of car in lift and will carry the car to available floor, detected by the counter. state; else RED LED will be in ON state.

For entry of car, if there is space availability, a Green LED will be in ON

Similarly at exit, exit gate would detect that a car needs to exit and it

will call for lift, as soon as the lift will be available it will switch on Green LED in place of Red LED.

You might also like