Sei sulla pagina 1di 11

AUTOMATIC VEHICLE PARKING SYSTEM

Group Members:
M.Haris Aslam (09-2371) Syed Nowroz Sahadat(09-2411) Rizwan Ahmed Shaikh(09-2377) Saifullah tumrani(09-2410)

Course Instructor: Sir Engr. Haris Mohsin

Table of Contents:
1. Project overview 2. Circuit diagram 3. Working and Explanation 4. Assembly Programming Code 5. Future plans 6. Components and cost 7. References 8. Data sheet (first 2 pages)

Project Overview:
This project will facilitate the companies, organization, apartments, airports etc who have been facing problems for the Parking of vehicles. Working of the project is described as suppose any object reached at the Parking area at BARRIER IN, the sensor will indicates whether it is a vehicle, if it is not, then BARRIER IN will not goes up & message Display on the Screen Parking not Available. There will be pre-defined vacancy for parking of vehicle which is Microcontroller based counter, that will identify space available in the parking area, and will produce a message on the main screen of Parking Available, if the occupied space is less than the predefined limit. Display Screen is linked with stepper motor, and Barrier IN will goes up if the main screen shows the message of Parking available. After filling predefined limit PARKING NOT AVAILABLE will be displayed on the display screen. Counter will define parking area which have been filled, and counter increments by one digit when Vehicle Enters into the IN BARRIER. BARRIER will remain open until and unless vehicle will pass out from the sensor that is fitted after BARRIER IN.

Project Component Cost: S.No 1 2 3 4 5 6 7 8 9 Component Name Microcontroller(ATMEL 89C51) Analog to Digital Convertor(ADC 0808) Liquid Crystal Display(LCD),16 *2 Stepper Motor Varo boards Burner Microcontroller(ATMEL 89C51) IR Sensors Capacitors,Cyrstal Oscillator,Resistors Seven Segment Total Project Cost: Quantity 2 2 1 1 3 1 4 1 1 Rate 100 125 350 150 60 1400 20 40 15 Amount 200 250 350 150 180 1400 80 40 15
2665/=

Working and Explanation: This project have 4-main segments. 1. Sensor 2. MicroController based Counter (0 to 5)using Seven Segment. 3. LCD(Liquid Crystal Display) 4. Stepper Motor. Sensor: We have used IR Sensors, which gives 0 output when beam of Transmitter(White) and Receiver(Black) cut by any object. Counter: MicroController based counter is a predefined counter whose limit is from 0 to 5,and it increment by 1 when sensors cuts the beams of IR Sensors Transmitter and Receiver. Liquid Crystal Display(LCD): We have used LCD to Display PARKING AVAILABLE message if the counter is with in the predefined limit that is from (0 to 5) and if counters value is 5 then message will be displayed on LCD PARKING NOT AVAILABLE. Stepper Motor: We have used Stepper motor to control Barrier.

Explanation of Project: Counter(Seven Segment first started from 0 and it has a predefined limit of 5).Our project contains two IR sensors, we have used IR to detect Vehicle, which actually measures the length of the Vehicle as a normal Vehicle have. When vehicle passes through the Sensor, vehicle cuts the beam/rays of Transmitter and Receiver (IR sensors).IR sensors gives low output when beams cut and it gives high output when no vehicle cuts the beam.When there is no Vehicle, sensors gives high input to controller and voltage keep on high until and unless vehicle cuts the beam it gives 0 input to controller and this zero means car has been passed from the sensor,then controller it checks the current limit of the counter,in the first counter is on zero,LCD display the message parking available ,the barrier will goes up and counter will increment by +1,after that sensors again give high voltage(Vcc +5V) to Controller,Seven Segment counter will be incremented by 1 (reaches to 2)when IR sensors beam cuts by 2nd Vehicle.Lastly, after passing 5 Vehicles through cutting beam of IR sensors, the counter reaches to 5 and LCD display the message Parking Not Available. Barrier will only goes up when parking available message display on the screen.

Future Plans: This project is only for incoming vehicle which enters into the Barrier, we can modify this project to make it for incoming and outgoing Vehicle both, in which when Vehicle Enters , counter increments by 1 and leave the Barriers it decremented by 1. Silent Features: Parking system for all types of Vehicles. Secured parking system which only sense Vehicle. Well organized Parking system. Display PARKING AVAILBE & NOT,when it is available & not available. Reduce the wastage of area.

References:
http://www.engineersgarage.com/electronic-components/at89c51-microcontroller-datasheet http://www.atmel.com/dyn/resources/prod_documents/doc0265.pdf http://www.edaboard.com/thread48345.html http://www.google.com.pk/search?hl=en&q=ir+sensor&gs_sm=sc&gs_upl=7809l8465l0l13165l3l3l0l 0l0l0l428l1099l21.0.2l3l0&bav=on.2,or.r_gc.r_pw.,cf.osb&biw=1440&bih=797&pdl=300&um=1&ie= UTF-8&tbm=isch&source=og&sa=N&tab=wi&ei=U7zXTpTqCIHrrQewldzoDQ http://www.futurlec.com/74LS/74LS373.shtml

http://www.seattlerobotics.org/encoder/sep97/basics.html http://www.botskool.com/tutorials/electronics/8051/introduction-8051-assemblylanguage-programming http://www.xgamestation.com/products/sx_key/downloads/BegAssemforSX.pdf http://www.mikroe.com/eng/chapters/view/68/chapter-5-assembly-language/ http://www.pjrc.com/tech/8051/board5/lcd_example.htm

DATA SHEETS:
DM74LS373 DM74LS374 3-STATE Octal D-Type Transparent Latches and Edge-Triggered Flip-Flops:
General Description

These 8-bit registers feature totem-pole 3-STATE outputs designed specifically for driving highly-capacitive or relatively low-impedance loads. The high-impedance state and increased high-logic level drive provide these registers with the capability of being connected directly to and driving the bus lines in a bus-organized system without need for interface or pull-up components. They are particularly attractive for implementing buffer registers, I/O ports, bidirectional bus drivers, and working registers. The eight latches of the DM74LS373 are transparent Dtype latches meaning that while the enable (G) is HIGH the Q outputs will follow the data (D) inputs. When the enable is taken LOW the output will be latched at the level of the data that was set up.The eight flip-flops of the DM74LS374 are edge-triggered D-type flip flops. On the positive transition of the clock, the Q outputs will be set to the logic states that were set up at the D inputs.A buffered output control input can be used to place the eight outputs in either a normal logic state (HIGH or LOW logic levels) or a high-impedance state. In the high-impedance state the outputs neither load nor drive the bus lines significantly .The output control does not affect the internal operation of the latches or flip-flops. That is, the old data can be retained or new data can be entered even while the outputs

DATA SHEET:

ATmel 89C51 Technical Description


The ATmel 89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The ATmel 89C51 device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and costeffective solution to many embedded control applications. The ATmel 89C51 provides the following standard features: 4K Bytes of Flash, 128 bytes of RAM, 32 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, on-chip oscillator and clock circuitry. In addition, the 89C51 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The AT89C51 Power-down Mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.

Compatible with MCS-51 Products 4K Bytes of In-System Reprogrammable Flash Memory Fully Static Operation: 0 Hz to 24 MHz Three-level Program Memory Lock 128 x 8-bit Internal RAM 32 Programmable I/O Lines Two 16-bit Timer/Counters Six Interrupt Sources Programmable Serial Channel Low-power Idle and Power-down Modes 40-pin DIP

The AT89C51 is a low-power, high-performance CMOS 8-bit microcomputer with 4K bytes of Flash programmable and erasable read only memory (PEROM). The device is manufactured using Atmels high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set and pinout. The on-chip Flash allows the program memory to be reprogrammed in-system or by a conventional nonvolatile memory programmer. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C51 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications

ATmel 89C51 Pinouts:

ATmel 89C51 Circuit / Block Diagram:

Potrebbero piacerti anche