Professional Documents
Culture Documents
1 INTRODUCTION
1.1 Objective
2.2.1 Entering
2.2.2 Leaving
3 HARDWARE DESCRIPTION
3.1 Microcontroller
3.2.2 Characteristics
3.3 Motors
3.4 Motors
3.5 Sensors
3.5.1 Specifications
3.6 Encoder
4 SOFTWARE DESCRIPTION
7 FUTURE SCOPE
8 BIBILOGRAPHY
9 APPENDIX
ABSTRACT
Due to the increase in the number of vehicles on the road, traffic problems are
bound to exist. This is due to the fact that the current transportation infrastructure and car
park facility developed are unable to cope with the influx of vehicles on the road. To
alleviate the aforementioned problems, the smart card parking system has been
developed. With the implementation of the parking system, patrons can easily locate and
secure a vacant parking space at any car park deemed convenient to them.
In this car parking system, there are two types which it refers to, one is allocating
a slot for parking and another is a charging/ticketing system. The present design deals
with a display board which shows a vacancy slot for a car as well as displaying bill of
parking a car has parked. Whenever a car is ready to move out of parking area the system
displays the charge/amount to be paid for the use of parking slot.
This system is effectively in use in most of the European countries and many of
the American states. This design is mainly comprised of low manual operation as well as
efficient equipment can be installed any of the
commercial,industrial,apartments,institutions/universities,etc.,Hence it is a low cost
apparatus as it mainly uses a microcontroller which is programmable, which is easy to
install in any of the above places mentioned.
CHAPTER-I
1.1 INTRODUCTION
Automated parking systems can be designed to fit above or below ground, allowing for
flexible usage of land space; this means the footprint can be reduced to one-third of the
land required by conventional car parking solutions. Cost effective on a number of fronts,
automated parking also offers significantly improved service to the customer.
Automated parking systems are about making the best use of available space above and
below ground. With less environment impact and time impact, reduced opportunities for
theft and vandalism and real cost benefits, automatic parking is the new watchword in
urban planning.
There is an overwhelming need for these systems because of increasing traffic. These
systems can be integrated with in consumer based electronic devices. The individual
components are installed inside this structure for its operation.
1.2 BLOCK DIAGRAM
Comp motor
arator interface
Microcon
troller and
ATMEGA LCD
32
Sensor Comparator
/array of
sensors
As per the block diagram in this automated car parking system, the processing unit which
contains the microcontroller is interfaced with motor circuits and Liquid Crystal Display.
Through that the sensor block is connected so that it is used to sense the vehicle, in
between them comparator block is connected so that conversion of code is being done.
To place a vehicle in particular rack based on the information provided by the LCD about
the empty spaces, it will allot the place for that vehicle based on that information. Motor
is used to open and close the gate.
Finally the vehicle is entered through an entry gate and placed there and through exit
gate it returns.
Through this system, ground space required is less and high security is maintained.
CHAPTER-II
The power supply unit consists of a transformer, rectifier and a regulator. The
transformer used is a step down transformer which converts the 230v AC to 12v AC. This
12v AC is fed to the bridge rectifier as well as motor simultaneously. The bridge rectifier
converts the 12v AC to 12v DC. The fluctuations produced during this conversion are
reduced by the capacitor. This voltage is fed to the voltage regulator.
The processing unit consists of micro controller. The microcontroller is the heart
of the circuit. The input to the micro controller is taken from the voltage regulator which
gives an output of 5v as only 5v is required for the microcontroller. The input command
given to the micro controller should be in such a way that it should check for the empty
slots and display that information on the LCD. Another important command to be given
is the open and close of gate according to the availability of slot.
The sensor circuit senses the availability of slots as well as near the gate. This is
how the circuit works.
1. Entering
2. Leaving.
2.2.1 ENTERING:
Whenever a vehicle comes to the parking zone for parking the LED at the entrance gate
will gives the information about the vacancy i.e. if the LED is red, there are no vacant
cells, if it is green there is a vacant cell for parking. If the LED is green, the user has to
tale his feedback to the MC, then the MC moves the priority of the rack in which empty
cells are available depending on vehicle to the entry gate of the rack, the vehicle will
moves to the respective slot. When the user is in front of the entry gate, the LCD displays
“ENTER ‘1’for parking, ‘2’ for leaving.
The user has to enter his option through the keypad. If he enters ‘1’ the LCD displays the
vacant cells in that rack, then the entry gate will open and allows the user to park his
vehicle in the specified cell. Whenever the user parks his vehicle in the correct cell the
sensor at the cell gives feedback to the Microcontroller that the vehicle has been parked.
With this the entering process is complete.
2.2.2 LEAVING:
Whenever the user comes to the rack to take his vehicle the LCD displays’’ enter ‘1’ for
parking, ‘2’ for leaving”. Whenever the user takes the car from a cell the sensor at the
cell give feedback to the Microcontroller.
If the sensor that responded is a correct one, the exit will gate will be open and it also
brings the lift to the particular rack. If that is a wrong sensor then it will not respond.
With this the leaving process is completed
CHAPTER-III
HARDWARE DESCRIPTION
1. Transformer
2. Rectifier
3. Regulator
4. Comparator
5. Transistor
6. Photo resistor
7. Microcontroller
8. LCD display
9. Motor Driver
10. Motor
3.1 Transformer:
Transformer is static equipment which transforms power from one circuit to another by
stepping up or stepping down the primary voltage with out any change in the frequency.
E= N d@/dt :- (@=fi)
A step down transformer has less turns of wire on the secondary coil, which makes a
smaller induced voltage in the secondary coil. Decreasing the voltage does not decrease
the power. As the voltage goes down, the current goes up. It is called a step down
transformer because the voltage output is smaller than the voltage input. If the secondary
coil has half as many turns of wire then the output voltage will be half the input voltage.
3.2 Rectifier
Rectifier circuits are found in all dc power supplies that operate from an ac
voltage source. They convert the ac input voltage to a pulsating dc voltage. The most
basic type of rectifier circuit is the half-wave rectifier. Although half-wave rectifiers have
some applications, the full-wave rectifiers are the most commonly used type in dc power
supplies. These are two types of full-wave rectifiers:
Here in this particular design we are using a bridge rectifier which is discussed as
follows.
The full –wave bridge rectifier uses four diodes, as shown in below figure. When
the input cycle is positive, diodes D1 and D2 are forward-biased and conduct current
through RL. During this time, diodes D3 and D4 are reverse-biased.
D1
D3
Vin
Vout
D2 D4 + 0
RL
-
During positive half-cycles of the input, D1 and D2 are forward-biased and conduct
current, D3 and D4 are reverse-biased.
When the input cycle is negative as shown in below figure, diodes D3 and D4 are
forward-biased and conduct current in the same direction through RL as during the
positive half-cycle. During the negative half-cycle, D1 and D2 are reverse-biased. A full-
wave rectifier output voltage appears across RL as a result of this action.
F
- - D3 D1
V in
D2 Vout
+ + D4 + 0
RL
-
During negative half-cycles of the input, D3 and D4 are forward-biased and conduct
current, D1 and D2 are reverse-biased.
These diodes are used to convert AC into DC these are used as half wave rectifier or full
wave rectifier. Three points must he kept in mind while using any type of diode.
The number and voltage capacity of some of the important diodes available in the market
are as follows:
AC or DC voltages.
With the exception of passive shunt regulators, all modern electronic voltage regulators
operate by comparing the actual output voltage to some internal fixed reference voltage.
Any difference is amplified and used to control the regulation element in such a way as to
reduce the voltage error. This forms a negative feedback servo control loop; increasing
the open-loop gain tends to increase regulation accuracy but reduce stability (avoidance
of oscillation, or ringing during step changes). There will also be a trade-off between
stability and the speed of the response to changes. If the output voltage is too low
(perhaps due to input voltage reducing or load current increasing), the regulation element
is commanded, up to a point, to produce a higher output voltage - by dropping less of the
input voltage (for linear series regulators and buck switching regulators), or to draw input
current for longer periods (boost-type switching regulators); if the output voltage is too
high, the regulation element will normally be commanded to produce a lower voltage.
However, many regulators have over-current protection, so entirely stop sourcing current
(or limit the current in some way) if the output current is too high, and some regulators
may also shut down if the input voltage is outside a given range (see also: crowbar
circuits).
The LM78XX series of three terminal regulators is available with several fixed
output voltages making them useful in a wide range of applications. One of these is local
on card regulation, eliminating the distribution problems associated with single point
regulation. The voltages available allow these regulators to be used in logic systems,
instrumentation, Hi-Fi, and other solid state electronic equipment. Although
designed primarily as fixed voltage regulators these devices can be used with external
components to obtain adjustable voltages and currents. The LM78XX series is available
in an aluminum TO-3 package which will allow over 1.0A load current if adequate heat
sinking is provided.
Current limiting is included to limit the peak output current to a safe value. Safe area
protection for the output transistor is provided to limit internal power dissipation.
If internal power dissipation becomes too high for the heat sinking provided, the thermal
shutdown circuit takes over preventing the IC from overheating. Considerable effort was
expanded to make the LM78XX series of regulators easy to use and minimize the number
of external components. It is not necessary to bypass the output, although this does
improve transient response. Input bypassing is needed only if the regulator is located far
from the filter capacitor of the power supply.
For output voltage other than 5V, 12V and 15V the LM117 series provides an output
voltage range from 1.2V to 57V.
Features
Voltage Range
LM7805C 5V
LM7812C 12V
LM7815C 15V
3.6 Transistor
In electronics, a transistor is a semiconductor device commonly used to amplify or
switch electronic signals. A transistor is made of a solid piece of a semiconductor
material, with at least three terminals for connection to an external circuit. A voltage or
current applied to one pair of the transistor's terminals changes the current flowing
through another pair of terminals. Because the controlled (output) power can be much
more than the controlling (input) power, the transistor provides amplification of a signal.
The transistor is the fundamental building block of modern electronic devices, and is used
in radio, telephone, computer and other electronic systems. The transistor is often cited as
being one of the greatest achievements in the 20th century. Some transistors are packaged
individually but most are found in integrated circuits.
In the preceding pages we explained the internal workings of the transistor and
introduced new terms, such as emitter, base, and collector. Since you should be familiar
by now with all of the new terms mentioned earlier and with the internal operation of the
transistor, we will move on to the basic transistor amplifier.
To understand the overall operation of the transistor amplifier, you must only consider
the current in and out of the transistor and through the various components in the circuit.
Therefore, from this point on, only the schematic symbol for the transistor will be used in
the illustrations, and rather than thinking about majority and minority carriers, we will
now start thinking in terms of emitter, base, and collector current.
Before going into the basic transistor amplifier, there are two terms you should be
familiar with: AMPLIFICATION and AMPLIFIER. Amplification is the process of
increasing the strength of a SIGNAL. A signal is just a general term used to refer to any
particular current, voltage, or power in a circuit. An amplifier is the device that provides
amplification (the increase in current, voltage, or power of a signal) without appreciably
altering the original signal.
Transistors are frequently used as amplifiers. Some transistor circuits are CURRENT
amplifiers, with a small load resistance; other circuits are designed for VOLTAGE
amplification and have a high load resistance; others amplify POWER.
Now take a look at the NPN version of the basic transistor amplifier in figure 2-12 and
let's see just how it works.
So far in this discussion, a separate battery has been used to provide the necessary
forward-bias voltage. Although a separate battery has been used in the past for
convenience, it is not practical to use a battery for emitter-base bias. For instance, it
would take a battery slightly over .2 volts to properly forward bias a germanium
transistor, while a similar silicon transistor would require a voltage slightly over .6 volts.
However, common batteries do not have such voltage values. Also, since bias voltages
are quite critical and must be held within a few tenths of one volt, it is easier to work with
bias currents flowing through resistors of high ohmic values than with batteries.
Class A amplifiers are biased so that variations in input signal polarities occur within the
limits of CUTOFF and SATURATION. In a PNP transistor, for example, if the base
becomes positive with respect to the emitter, holes will be repelled at the PN junction and
no current can flow in the collector circuit. This condition is known as cutoff. Saturation
occurs when the base becomes so negative with respect to the emitter that changes in the
signal are not reflected in collector-current flow.
Biasing an amplifier in this manner places the dc operating point between cutoff and
saturation and allows collector current to flow during the complete cycle (360 degrees) of
the input signal, thus providing an output which is a replica of the input. Figure 2-12 is an
example of a class A amplifier. Although the output from this amplifier is 180 degrees
out of phase with the input, the output current still flows for the complete duration of the
input.
For a comparison of output signals for the different amplifier classes of operation, during
the following discussion.
3.6.1 BC 548
BC546/547/548/549/550 is a NPN epitaxial silicon transistor. It used for both switching
and amplification. The exact specs of a given device depend on the manufacturer. It is
important to check the datasheet for the exact device and brand you are dealing with.
Philips and Telefunken are two manufacturers of the BC548.
Vcbo = 30 Volts, Ic = 100mA, Ptotal = 50mW and ft = 300MHz.
3.7 Small signal Diode
Applications
High-speed
Features
2) High speed.
3) High reliability.
Construction
Introduction
TSOP1738 is an Infrared (IR) receiver which is widely used in large number of electronic
products for receiving and demodulating infrared signals. The received demodulated
signals can be easily decoded by a microcontroller. It supports RC5, RC6 code, Sony
format (SIRCS), NEC code, Sharp code, etc.
Specifications
**DATASHEET**
3.1 MICROCONTROLLER(AT89C52)
The AT89C52 provides the following standard features: 8Kbytes of Flash, 256 bytes of
RAM, 32 I/O lines, three 16-bittimer/counters, a six-vector two-level interrupt
architecture, a full-duplex serial port, on-chip oscillator, and clock circuitry.
In addition, the AT89C52 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 Power-down mode saves the RAM contents but freezes the oscillator, disabling all
other chip functions until the next hardware reset.
Pin Description
VCC
Supply voltage.
GND
Ground.
Port 0
Port 0 is an 8-bit open drain bi-directional I/O port. As an output port, each pin can sink
eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as high
impedance inputs.
Port 0 can also be configured to be the multiplexed low order address/data bus during
accesses to external program and data memory. In this mode, P0 has internal pull ups.
and outputs the code bytes during program verification. External pull ups are required
during program verification.
Port 1
Port 1 is an 8-bit bi-directional I/O port with internal pull ups. The Port 1 output buffers
can sink/source four TTL inputs. When 1s are written to Port 1 pins, they are pulled high
by the internal pull ups and can be used as inputs. As inputs, Port 1 pins that are
externally being pulled low will source current (IIL) because of the internal pull ups.
In addition, P1.0 and P1.1 can be configured to be the timer/counter 2 external count
input (P1.0/T2) and the timer/counter 2 trigger input (P1.1/T2EX
Port 1 also receives the low-order address bytes during Flash programming and
verification.
Port 2
Port 2 is an 8-bit bi-directional I/O port with internal pull ups .The Port 2 output buffers
can sink/source four TTL inputs. When 1s are written to Port 2 pins, they are pulled high
by the internal pull ups and can be used as inputs. As inputs, Port 2 pins that are
externally being pulled low will source current (IIL) because of the internal pull ups.
from external program memory and during accesses to external data memory that use 16-
bit addresses (MOVX @ DPTR). In this application, Port 2 uses strong internal pull-ups
when emitting 1s. During accesses to external data
memory that use 8-bit addresses (MOVX @ RI), Port 2 emits the contents of the P2
Special Function Register.
Port 2 also receives the high-order address bits and some control signals during Flash
programming and verification.
Port 3
Port 3 is an 8-bit bi-directional I/O port with internal pullups. The Port 3 output buffers
can sink/source four TTL inputs. When 1s are written to Port 3 pins, they are pulled high
by the internal pullups and can be used as inputs. As inputs,
Port 3 pins that are externally being pulled low will source current (IIL) because of the
pullups.
Port 3 also receives some control signals for Flash programming and verification.
RST
Reset input. A high on this pin for two machine cycles while the oscillator is running
resets the device.
ALE/PROG
Address Latch Enable is an output pulse for latching the low byte of the address during
accesses to external memory.
This pin is also the program pulse input (PROG) during Flash programming.
In normal operation, ALE is emitted at a constant rate of 1/6 the oscillator frequency and
may be used for external
timing or clocking purposes. Note, however, that one ALE pulse is skipped during each
access to external data memory. If desired, ALE operation can be disabled by setting bit 0
of SFR location 8EH. With the bit set, ALE is active only during
a MOVX or MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the
ALE-disable bit has no effect if the microcontroller is in external execution mode.
PSEN
Program Store Enable is the read strobe to external program memory.
When the AT89C52 is executing code from external program memory, PSEN is activated
twice each machine cycle, except that two PSEN activations are skipped during each
access to external data memory.
EA/VPP
External Access Enable. EA must be strapped to GND in order to enable the device to
fetch code from external program memory locations starting at 0000H up to FFFFH.
Note, however, that if lock bit 1 is programmed, EA will be
EA should be strapped to VCC for internal program executions..This pin also receives the
12-volt programming enable voltage (VPP) during Flash programming when 12-volt
programming is selected.
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating circuit.
XTAL2
The alphanumeric 16 character * 2 line LCD requires 8 data lines and 3 control signals.
To interface the LCD, to the microcontroller it require an 8 bit and also three control
signals differentiate the data from the control words send to the LCD. The
Microcontroller has to send the necessary control words followed by the data to be
displayed. The data lines from microcontroller are from PORT B and 3 control signals
are from PORT D as pins PD4, PD5 and PD6,
Depending on the operation to be performed the control words are selected and passes to
the LCD. The data to be displayed on the LCD is to be sent in the ASCII format. Thus all
the character to be displayed are converted into ASCII form and then sent to the LCD
along with different control words. The remaining can be used for some other purpose
.There are two major types of LCD s which are:
1. Dynamic-scattering LCD’s
2. Field-effect LCD’s.
Field-effect LCD ‘S are normally used in such applications where source of energy is a
prime factor and height limited to 2 inches. The response time of LCD s is in the range of
100 to 300 Ms. Life time of LCD s is steadily increasing beyond 10,000+hours limit.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
VS VC VE RS R/ E DB DB DB DB DB DB DB DB LE LE
S C E W 0 1 2 3 4 5 6 7 D+ D-
3.3 DC MOTORS
Often referred to as a “tin can” or “can stack” motor the permanent magnet step motor is
a low cost and low resolution type motor with typical step angles of 7.5 t o 15 . (48 –
24
steps/revolution) PM motors as the name implies have permanent magnets added to the
motor structure. The rotor no longer has teeth as with the VR motor. Instead the rotor is
magnetized with alternating north and south poles situated in a straight line parallel to the
rotor shaft.
These magnetized rotor poles provide an increased magnetic flux intensity and because of
this the PM motor exhibits improved torque characteristics when compared with the VR
type
3.4 MotordriverL293d
This schematic shows the use of L293D to drive a pair of DC motors/Geared Motors. The
motor supply voltage can go up to 24Volts safely. But remember that the IC supports a
maximum of only 600mA current/channel; which is more than enough to drive small DC
geared motors.
Remember to add 0.22uF capacitors across both the motors to reduce the effect of noise
on the circuitry. It is also recommended to add 100uF capacitor between the motor supply
pin and the Gnd. Connections M1-A and M2-B correspond to Motor 1 while connections
M2-A and M2-B correspond to Motor 2. You can connect these control inputs to any
logic circuitry or a microcontroller of you choice.
LM324
DESCRIPTION
These circuits consist of four independent, high gain, internally frequency compensated
operational amplifiers. They operate from a single power supply over a wide range of
voltages. Operation from split power supplies is also possible and the low power supply
current drain is independent of the magnitude of the power supply voltage.
Application areas include transducer amplifiers, DC gain blocks and all the conventional
op amp circuits which now can be more easily implemented in single power supply
systems.
For example, the LM124 series can be directly operated off of the standard a5V power
supply voltage which is used in digital systems and will easily provide the required
A photo resistor is made of a high resistance semiconductor. If light falling on the device
is of high enough frequency, photons absorbed by the semiconductor give
bound electrons enough energy to jump into the conduction band. The resulting free
electron (and its hole partner) conduct electricity, thereby lowering resistance.
Applications
Photo resistors come in many different types. Inexpensive cadmium sulfide cells can be
found in many consumer items such as camera light meters, street lights, clock
radios, alarms, and outdoor clocks.
They are also used in some dynamic compressors together with a small incandescent
lamp or light emitting diode to control gain reduction.
Lead sulfide and indium antimonite LDRs are used for the mid infrared spectral
region. Ge: Cu photoconductors are among the best far-infrared detectors available, and
are used for infrared astronomy and infrared spectroscopy.
CHAPTER-V
MERITS
• However, the disadvantage is the cost of the mechanical equipment within the
area that is needed to transport cars to the parking spaces.
• At peak periods when a wait may be involved before entering or leaving. The wait
is caused by loading passengers and luggage at the entrance and exit locations of
the car park rather than at the parked stall. This loading blocks the entrance or exit
from being available to others. However the retrieval of vehicles can be faster in
an automatic car park depending on the layout and number of exits.
CHAPTER-VI
RESULTS
• The compact parking system has been successfully designed for automating the
parking system in huge complexes, Trade centers, Multiplexes etc, and the
problems due to non availability of adequate space for parking of four wheelers is
solved out.
CHAPTER-VII
FUTURE SCOPE
FUTURE SCOPE
When a vehicle arrived for parking, there is a chance of probability to extend this system
along with the identity cards .The LCD displays the empty spaces availability of that
particular rack. Then user has to enter his password, provided the first digit must be the
empty space in which he wishes to park his vehicle thus ensuring protection. Again if he
entered correct password then only the exit gate will be opened for him. If the person
removes another vehicle then the sensors that are provided beneath every parking place
gives a buzzer sound which is being provided and automatically the exit gate gets closed
providing security to vehicle owner.
BIBILOGRAPHY
• http://electrosofts.com/carparking/
• http://www.roadtraffic-technology.com/projects/cesena/
• http://www.woehr.de/de/news/index.php?Kennung=79