ES - Document (1) MVR 1
ES - Document (1) MVR 1
ES - Document (1) MVR 1
1
SRI SIVANI COLLEGE OF ENGINEERING
(Affiliated to Jawaharlal Nehru Technological University Kakinada, Kakinada)
Accredited by N.A.A.C with ‘B’ grade
Chilakapalem Junction, Srikakulam-532410, Andhra Pradesh.
CERTIFICATE
This is to certify that the project report entitled “WEB DESIGNING USING PYTHON”
2
ACKNOWLEDGEMENT
P.AKHILANDESWARI 21W61A0428
3
CONTENTS
CHAPTER-1: Introduction on embedded systems
1.1 History of embedded systems
1.2Classification of embedded systems
1.3 Components of embedded systems
1.4 Applications
CHAPTER-2:
2.1 Introduction on Microprocessor and Microcontroller
2.2 History of 8051
2.3 8051 Pin diagram and Architecture
CHAPTER -3
3.1 Description of the project
3.2 project code
3.3 output
4. Conclusion
4
Abstract:
In this paper we have shown the concept of Microcontroller Based
Automatic car parking system. As we see in the modern world
everything is going automatic we have built a system which will
automatically sense the entry and exit of cars with the help of
microcontroller through the gate and then display the number of cars
in the parking lot. We have deployed a microcontroller 89S52 which
is used to sense the movement of cars and depending upon whether
there is a capacity of cars to enter, it either opens the gate or not.
There is also RFID module to provide security as users who have
authority can swap the RFID cards and get entry otherwise not. The
project is designed for car parking. The goal of this paper is to
automatically park the car for allowing the cars into the parking area.
LCD display is provided to display the information about the total
number of cars that can be parked and the place free for parking. Two
IR sensors TX RX pairs are used in this paper to identify the entry or
exit of the cars into/out of park. These two IR sensor TX RX pairs are
arranged either side of the gate. Whenever the mains are switched on,
the LCD panel displays the message parking space for 3 vehicles. The
number indicates the maximum capacity of parking in this paper
5
CHAPTER -1
INTRODUCTION:
An Embedded systems is a computer system—a
combination of a computer processor, computer memory,
and input/output peripheral devices—that has a dedicated function within a
larger mechanical or electronic system. It is embedded as part of a complete
device often including electrical or electronic hardware and mechanical parts.
Because an embedded system typically controls physical operations of the
machine that it is embedded within, it often has real-time computing constraints.
Embedded systems control many devices in common use. In 2009, it was
estimated that ninety-eight percent of all microprocessors manufactured were
used in embedded systems.
Since the embedded system is dedicated to specific tasks, design engineers can
optimize it to reduce the size and cost of the product and increase its reliability
and performance. Some embedded systems are mass-produced, benefiting
from economies of scale.
6
1.1 HISTORY OF EMBEDDED SYSTEMS:
Early embedded operating systems:
In the late 1970s, the concept of a real-time multitasking kernel was proposed.
In the 1980s, while the embedded systems applications became more complex,
the embedded operating system with a real-time multitasking kernel could not
meet the requirement of embedded development. It began to develop into a
complete real-time multitasking
Operating System (RTOS) that
included a network, file,
development
and debugging environment.
Microsoft, also released its own embedded 460 operating system in 1996. The
embedded operating system is WinCE, supporting x86, ARM, SH4, MIPS and
other processor architectures. WinCE is now defunct, with mainstream support
discontinued in 2018
7
2. Performance of Micro-controllers
Based on Performance and Functional Requirements it is
divided into 4 types as follows:
1)Real time embedded systems:
A Real-Time Embedded System is strictly time specific which means these
embedded systems provides output in a particular/defined time interval. These
type of embedded systems provide quick response in critical situations which
gives most priority to time based task performance and generation of output.
That’s why real time embedded systems are used in defense sector, medical
and health care sector, and some other industrial applications where output in
the right time is given more importance.
Further this Real-Time Embedded System is divided into two types i.e.
a) Soft Real Time Embedded systems:
In these types of embedded systems time/deadline is not so strictly
followed. If deadline of the task is passed (means the system didn’t give
result in the defined time) still result or output is accepted.
b) Hard Real Time Embedded Systems:
In these types of embedded systems time/deadline of task is strictly
followed. Task must be completed in between time frame (defined time
interval) otherwise result/output may not be accepted.
Examples:
Traffic control system
Military usage in defense sector
Medical usage in health sector
2)Stand Alone embedded systems:
Stand Alone Embedded Systems are independent systems which can work by
themselves they don’t depend on a host system. It takes input in digital or
analog form and provides the output.
Examples:
MP3 players
Microwave ovens
Calculator
3)Networked Embedded systems :
Networked Embedded Systems are connected to a network which may be
wired or wireless to provide output to the attached device. They communicate
with embedded web server through network.
Examples:
Home security systems
ATM machine
Card swipe machine
4)Mobile Embedded systems:
8
Mobile embedded systems are small and easy to use and requires less
resources. They are the most preferred embedded systems. In portability point
of view mobile embedded systems are also best.
Examples:
MP3 player
Mobile phones
Digital Camera
Based on Performance and micro-controller it is divided
into 3 types as follows:
1)Small Scale Embedded Systems:
Small Scale Embedded Systems are designed using an 8-bit or 16-bit micro-
controller. They can be powered by a battery. The processor uses very
less/limited resources of memory and processing speed. Mainly these systems
does not act as an independent system they act as any component of computer
system but they did not compute and dedicated for a specific task.
2)Medium Scale Embedded Systems:
Medium Scale Embedded Systems are designed using an 16-bit or 32-bit
micro-controller. These medium Scale Embedded Systems are faster than that
of small Scale Embedded Systems. Integration of hardware and software is
complex in these systems. Java, C, C++ are the programming languages are
used to develop medium scale embedded systems. Different type of software
tools like compiler, debugger, simulator etc are used to develop these type of
systems.
3)Sophisticated or Complex Embedded Systems:
Sophisticated or Complex Embedded Systems are designed using multiple 32-
bit or 64-bit micro-controller. These systems are developed to perform large
scale complex functions. These systems have high hardware and software
complexities. We use both hardware and software components to design final
systems or hardware products.
9
Normally, a 5V power supply is required for the system, however, it can also
range 1.8 to 3.3V.
2)Microcontroller:
An embedded system is either
a microcontroller-based or
microprocessor-based system.
They give a system
computing power and are
called Integrated cicuits
The embedded hardware
performance is mainly
dependent on the processor
which is normally called the brain of the embedded system.
Pick from a range of processors including 8-bit,16-bit,32-bit processors.
They are different in terms of processing speed. For example, a 32-bit
processor comes with more processing speed and can manipulate 32-bits
at a time while an 8-bit processor comes with less processing speed and
can manipulate 8-bits at a time.
3)Memory:
Memory is essential to store important information in the embedded
computer system.
Memory is integrated into a microcontroller or microprocessor
4)Timer/counter:
Sometimes you need to create a delay before a specific function. Timers are
used in such cases. While at times you want to count the number of times a
particular event occurs. Counters are used in such cases. If an up counter is used
in the system, it will count up from the initial value to 0xFF and if it is down
counter, it will count down to 0x00. The counters are integrated using register-
type circuits like a flip-flop.
5)Communication port:
Communication ports are used in embedded systems to establish
communication with other embedded systems. There are several communication
ports including USB, UART, USB, I2C, SPI, and RS-485. For simple
applications, communications ports are utilized from the microcontroller, and
for complex and advanced applications these ports are externally installed inside
the embedded systems.
6)Output/Input:
Input is required to interact with the embedded system. A sensor can be used to
provide input to the system. The microcontroller used in the system can be
10
configured as an input or output port. In the microcontroller, there are a fixed
number of input and output ports that you can utilize as per your requirement.
1.4 APPLICATIONS:
Embedded systems are crucial in several technologies, including the internet of
things (IoT) and machine-to-machine (M2M) devices. Almost every smart
device today uses this versatile technology in some capacity or the other.
11
Automated fare collection solutions enable public transportation passengers to
pay their fares through automated machines or even online without interacting
with another human being. The automatic transit fare collection ecosystem
consists of ticketing machines, magnetic stripe cards and smart cards for regular
travelers, ticket and card checking machines, and automatic gate machines. All
these components include embedded systems to enable them to communicate
with each other and thus keep the mechanism operational.
5. Fitness trackers:
Fitness trackers have become increasingly popular wearable devices that
monitor health metrics and track activities such as running, walking, and
sleeping. These devices leverage embedded systems for data collection such as
heart rate, body temperature, and steps walked. This data is transmitted to
servers via a wide area network (WAN) such as LTE or GPRS.
CHAPTER-2
12
2.1 Introduction on Microprocessor and Microcontroller
MICROPROCESSOR:
A microprocessor is a computer processor where the data
processing logic and control is included on a single integrated circuit (IC), or a
small number of ICs. The microprocessor contains the arithmetic, logic, and
control circuitry required to perform the functions of a computer's central
processing unit (CPU). The IC is capable of interpreting and executing program
instructions and performing arithmetic operations. The microprocessor is a
multipurpose, clock-driven, register-based, digital integrated circuit that
accepts binary data as input, processes it according to instructions stored in
its memory, and provides results (also in binary form) as output.
Microprocessors contain both combinational logic and sequential digital logic,
and operate on numbers and symbols represented in the binary number system.
MICRO CONTROLLER:
A microcontroller (MC, UC, or μC)
or microcontroller (MCU) is a small computer on a single integrated
circuit. A microcontroller contains one or more CPUs (processor cores) along
with memory and programmable input/output peripherals. Program memory in
the form of ferroelectric RAM, NOR flash or OTP ROM is also often included
on chip, as well as a small amount of RAM. Microcontrollers are designed
for embedded applications, in contrast to the microprocessors used in personal
computers or other general purpose applications consisting of various discrete
chips.
13
components needed to control non-digital electronic systems. In the context of
the internet of things, microcontrollers are an economical and popular means
of data collection, sensing and actuating the physical world as edge devices.
Intel has introduced standard 8-bit microcontroller 8048 in 1976. The same
company has continued to drive the evolution of single chip microcontrollers. In
the year 1980, Intel has introduced the 8051microcontroller, with higher
performance than 8048. With the advantages of 8051, the microcontrollers
applications took a peak level. The 8-bit microcontroller, 8051 family. quickly
gained the position of the generation world standard microcontrollers.
The Motorola Microcontroller family was first introduced to the market in 1978
and is built in the same pattern of the microprocessor 6800. Even though the
Microcontroller 6801 family was designed similar to the microprocessor 6800,
its design and instruction set have been modified to suit the control applications.
The microcontroller 6801 family includes On chip Input/Output ports, an
14
Asynchronous serial communication device and 16 bit timer modules. The
Microcontrollers 6801. 6803, 6805. 6811 are available from Motorola
Company. The 6811microcontroller family have different version with ROM,
RAM, EPROM, and EEPROM. These versions are denoted by suffix characters
and numbers.
Port1 (Pin1 to Pin8): Port1 includes pin1.0 to pin1.7 and these pins
can be configured as input or output pins.
Port3 (Pin 10 to 17): The Port3 Pins are similar to port1 pins and can
be used as universal Input or output pins. These pins dual-function
Pins and the function of each Pin is given as:
15
Pin 10 (RXD): RXD pin is a Serial Asynchronous Communication
Input or Serial synchronous Communication Output.
Port 0 (Pin 32 to 39): Similar to the port 2 and 3 pins, these pins can
be used as input output pins when we don’t use any external memory.
When ALE or Pin 30 is at 1, then this port is used as data bus: when
16
the ALE pin is at 0, then this port is used as a lower order address bus
(A0 to A7)
CHAPTER -3
3.1 Description of the project:
Nowadays in many multiplex systems, there is a severe problem with car
parking systems. There are many lanes for car parking, so to park a car one has
to look for all the lanes. Moreover, there is a lot of men’s labor involved in this
process for which there is a lot of investment. So the need is to develop a
system which indicates directly which parking slot is vacant in any lane. The
Automatic Car Parking Indicator system project involves a system including an
infrared transmitter and receiver in every lane and an LED & LCD display
outside the car parkinggate.
The person entering the parking area can view the LED display and can decide
which lane to enter so as to park the car. Conventionally, car parking systems do
not have any intelligent monitoring system. Parking lots are monitored by
human beings. All vehicles enter into the parking and waste time searching for a
parking slot. Sometimes it creates a blockage. The condition becomes worse
when there are multiple parking lanes and each lane has multiple parking slots.
The use of automated systems for car parking monitoring will reduce human
efforts. The display unit is installed at the entrance of the parking lot which will
show LEDs for all Parking slots and for all parking lanes. An empty slot is
indicated by the respective glowing LED.
17
Block diagram of the automatic car parking indicator
system:
Working principal :
First when a car enters the gate LCD displays empty parking
slot that empty parking slot was sensed by the IR sensor we are using object
sensor to sense the car in the parking slot. The TX and RX-was kept in the
parking slot. If any car parks at one slot the TX-transmits the signal and the RX
can’t receive any signal therefore display, displays “NOT EMPTY”. If the
signal is received by the IR receiver, then display displays “EMPTY”, through
Microcontroller.
CONCLUSION:
Automated multi storied car parking system allows for an error-free, fast read,
non- alternative to the traditional means of site security. With a variety of
22
transponder form factors that can be mounted on or within the vehicle, people
can enter a secured area without opening a door or a window to obtain
authorization. By automated car parking management system, we can
accommodate more cars in less space. This principle can be applied to almost
any city in the world. This is probably the prime reasons why automated car
park systems are a very attractive alternative to conventional car parking
systems by making use of available space in more efficient manner.
23
24
25