Automated multistoried car parking system

OK: movx a,@dptr
cjne a,#91h,OK
mov a,#10h
movx @dptr,a
mov a,#00
mov dptr,#2021h
movx @dptr,a
call DELAY
mov r7,#06h                ; number of rotations to motor so that  lift goes to third flore.
mov r6,#02h
call MOTER_UP             ; Call motor to rotate clockwise.
inc r5                            ; Increment the number of car entered to
call DELAY                    ; third floor and display the number of cars.
mov a,r5
call LED_CODES
mov dptr,#2040h
movx @dptr,a
mov r7,#06h
mov r6,#02h
call MOTER_DOWN          ; Call motor to rotate anticlockwise.
call lcdwel
jmp OVER

MOTER_UP:push r5          ; Subroutine for motor to rotate clockwise.
mov r5,#70h
mov r0,r6
mov dptr,#2020h
mov a,#88h
h3: movx @dptr,a
rl a
mov r2,#30
h1: mov r1,#255
h2: djnz r1,h2
djnz r2,h1
djnz r5,h3
mov r5,#0ffh
djnz r6,h3
mov r6,r0
djnz r7,h3
pop r5
ret

MOTER_DOWN:push r5      ; Subroutine for motor to rotate anticlockwise.
mov r5,#70h
mov r0,r6
mov dptr,#2020h
mov a,#88h
h6: movx @dptr,a
rr a
mov r2,#30
h4: mov r1,#255
h5: djnz r1,h5
djnz r2,h4
djnz r5,h6
mov r5,#0ffh
djnz r6,h6
mov r6,r0
djnz r7,h6
pop r5
ret

DELAY:  mov r1,#10h            ; Subroutine for Delay
DELAY1: mov r2,#0ffh
DELAY2: mov r0,#0ffh
DELAY3: djnz r0,DELAY3
djnz r2,DELAY2
djnz r1,DELAY1
ret

OVER: mov dptr,#2022h
mov a,#30h
movx @dptr,a
movx a,@dptr
cjne a,#32h,I_OVER
mov a,#10h
movx @dptr,a
call lcdbusy
mov r7,#02h
mov r6,#02h
call MOTER_UP               ; Call motor to rotate clockwise.
dec r3                            ; Decrements the number of cars entered to first floor and display
mov a,r3                         ; the number of cars in first floor.
call LED_CODES
mov dptr,#2042h
movx @dptr,a
call DELAY
mov r7,#02h
mov r6,#02h
call MOTER_DOWN       ; Call motor to rotate anticlockwise.
mov dptr,#2022h
mov a,#30h
movx @dptr,a
call lcdwel
I_OVER: movx a,@dptr
cjne a,#34h,II_OVER
mov a,#10h
movx @dptr,a
call lcdbusy
mov r7,#04h
mov r6,#02h
call MOTER_UP               ; Call motor to rotate clockwise.
dec r4                            ; Decrements the number of cars entered to second floor and
mov a,r4                        ; display the number of cars in second floor.
call LED_CODES
mov dptr,#2041h
movx @dptr,a
call DELAY
mov r7,#04h
mov r6,#02h
call MOTER_DOWN       ; Call motor to rotate clockwise.
mov dptr,#2022h
mov a,#30h
movx @dptr,a
call lcdwel
II_OVER: movx a,@dptr
cjne a,#38h,END
mov a,#10h
movx @dptr,a
call lcdbusy
mov r7,#06h
mov r6,#02h
call MOTER_UP              ; Call motor to rotate clockwise.
dec r5                            ; Decrements the number of cars entered to third floor and display
mov a,r5                        ; the number of cars in third floor.
call LED_CODES
mov dptr,#2040h
movx @dptr,a
call DELAY
mov r7,#06h
mov r6,#02h
call MOTOR_DOWN       ; Call motor to rotate anticlockwise.
mov dptr,#2022h
mov a,#30h
movx @dptr,a
call lcdwel
END: jmp REPEAT

lcdwel: push r3             ; Subroutine for LCD to display ‘ WELCOME TO CAR PARKING SYSTEM ’
push r4
mov a,#3ch
call command
mov a,#0eh
call command
mov a,#01h
call command
mov a,#06h
call command
mov a,#80h
call command
mov a,#’W’
call data
mov a,#’E’
call data
mov a,#’L’
call data
mov a,#’C’
call data
mov a,#’O’
call data
mov a,#’M’
call data
mov a,#’E’
call data
mov a,#’ ‘
call data
mov a,#88h
call command
mov a,#’T’
call data
mov a,#’O’
call data
mov a,#’ ‘
call data
mov a,#’C’
call data
mov a,#’A’
call data1
mov a,#’R’
call data
mov a,#aah
call command
mov a,#’P’
call data
mov a,#’A’
call data
mov a,#’R’
call data
mov a,#’K’
call data
mov a,#’I’
call data
mov a,#’N’
call data
mov a,#’G’
call data
mov a,#’ ‘
call data
mov a,#’S’
call data
mov a,#’Y’
call data
mov a,#’S’
call data
mov a,#’T’
call data
mov a,#’E’
call data
mov a,#’M’
call data
pop r4
pop r3
ret
command: mov p1,a
clr p3.4
setb p3.3
clr p3.3
mov r3,#50
A: mov r4,#255
R: djnz r4,R
djnz r3,A
ret

data: mov p1,a
setb p3.4
setb p3.3
clr p3.3
mov r3,#50
AAA: mov r4,#255
AA: djnz r4,AA
djnz r3,AAA
ret

lcdbusy: push r4                  ; Subroutine for LCD to display ‘ LIFT IS BUSY PLEASE WAIT ’
push r3
mov a,#3ch
call command
mov a,#0eh
call command
mov a,#01h
call command
mov a,#06h
call command
mov a,#80h
call command
mov a,#’L’
call data
mov a,#’I’
call data
mov a,#’F’
call data
mov a,#’T’
call data
mov a,#’ ‘
call data
mov a,#’ ‘
call data
mov a,#’I’
call data
mov a,#’S’
call data
mov a,#88h
call command
mov a,#’ ‘
call data
mov a,#’ ‘
call data
mov a,#’B’
call data
mov a,#’U’
call data
mov a,#’S’
call data
mov a,#’Y’
call data
mov a,#aah
call command
mov a,#’P’
call data
mov a,#’L’
call data
mov a,#’E’
call data
mov a,#’A’
call data
mov a,#’S’
call data
mov a,#’E’
call data
mov a,#’ ‘
call data
mov a,#’W’
call data
mov a,#’A’
call data
mov a,#’I’
call data
mov a,#’T’
call data
mov a,#’ ‘
call data
pop r3
pop r4
ret

Editorial Team
Editorial Team

We are a group of young techies trying to provide the best study material for all Electronic and Computer science students. We are publishing Microcontroller projects, Basic Electronics, Digital Electronics, Computer projects and also c/c++, java programs.

403 thoughts on “Automated multistoried car parking system

  1. sir
    i am doing this project .can you mail the pcb layout of this project with all inter connection and its complete circuit diagram.
    sir,it will help me more,plz mail me as soon as possible.

  2. Im interested in this project could u plizzz send me the full schematic,circuit diagram and coding or flow chart plizzzzz its urgent

  3. can you plz mail me the details of this project with circuit diagram…i want to make this on as my major project,plz mail me as soon as possible

  4. sir can you please send me the circuit diagram of this project. it will be very helpful for us.
    thank u in advance…..

  5. Sir, Im interested in this project could u plz mail me the complete circuit diagram of the project?

  6. Plz send me full circuit diagram plz I do this project in final year. Plz help me sir. & all students

  7. Sir, I am a B.E. student and I want to do this project as my final yr project. So i want the complete ckt diagram of this project. I request you to please send me at my email address as early as possible.

  8. Dear sir ,
    i’m very interested on this project , can you send me the full details of this nice project ?
    Very appreciate 🙂

  9. dear sir, I am also intersted in doing this project, bt i hv ltl confusion, that when a car comes near to ground floor then wheather the user is inside or not, also if at any floor there are 2 cars alerady parked and next car has to be park then how the car will go from lift to that perticular space. Again if when any user wants to go and needs his car back then how his car will get back to perticular person. According to this project it is applicable only for the single car.

  10. SIR,
    I am the student of B E final yr , in intrested your project . but i have some problem in this project, so please send me circute dig and flow chart, coding please sir its urgant, please send as soon as possible.
    Thanks a lot.

  11. I am sty diploma final year sir this project all detills hear. but circuit diagram not pll help me…… pll Response me

  12. sir , i m final year student and i want to make multilevel car parking system as my minor project but i have some difficulty in programing pllzz help me..

  13. How we know that parking space is available or not I.e if in each floor their is capacity of park 10 car then how we know that 10 cars are parked or not??

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in