SlideShare a Scribd company logo
1 of 25
EMBEDDEDEMBEDDED
SYSTEMSSYSTEMS
MITESH KUMAR
10300513026
Third Year (B.Tech)
Applied Electronics & Instrumentation Engineering
Haldia Institute of Technology
WhatWhat AreAre Embedded Systems?Embedded Systems?
“Special purpose system which are either used as standalone or part of a
big system” 
An Embedded System is one that has computer hardware with software
embedded in it as one of its important components.
An embedded product uses a microprocessor (or microcontroller) to do
one task and one task only.
A printer is an example of embedded system since the processor inside
it
performs only one task; namely, getting the data and printing it
Household appliances
Integrated systems in aircrafts
and missiles
Cellular telephones
Electric and Electronic Motor
controllers
Engine controllers in
automobiles
Calculators
Medical equipment’s
Videogames
Digital musical instruments
WHERE ARE THEY PRESENT
?
The necessary tools for aThe necessary tools for a
microprocessor/microcontrollermicroprocessor/microcontroller
CPU: Central Processing Unit
I/O: Input /Output
Bus: Address bus & Data bus
Memory: RAM & ROM
Timer
Interrupt
Introduction to MicroprocessorsIntroduction to Microprocessors
“A Microprocessor is a general purpose chip used to create multifunction
device ”
No RAM, ROM, I/O ports on CPU chip itself
CPU is stand-alone, Must add RAM, ROM, I/O ports, and timers
externally to make them functional
Designer can decide on the amount of ROM, RAM and I/O ports
Example : Intel’s x86, Motorola’s 680x0
“A Microcontroller is a computer-on-a-chip optimized to control Electronic
devices”
CPU + I/O + Timer(s) [+ ROM] [+ RAM] All on single chip
Limited RAM space, ROM space and I/O pins
Low chip-count to implement a small system
Low-cost at large quantities
Development tools readily available at reasonable cost
Introduction to MicrocontrollersIntroduction to Microcontrollers
Microprocessor System Contrasted With Microcontroller SystemMicroprocessor System Contrasted With Microcontroller System
Microprocessor vs.
Microcontroller
Microprocessor
• CPU is stand-alone, RAM,
ROM, I/O, timer are separate
• Designer can decide the amount
of ROM, RAM and I/O ports
• Expansive
• Versatility
• General-purpose
Microcontroller
• CPU, RAM, ROM, I/O and
timer are all on a single chip
• Fix amount of on-chip ROM,
RAM, I/O ports
• For applications in which cost,
power and space are critical
• Not Expansive
• Single-purpose
Criteria for Choosing aCriteria for Choosing a
MicrocontrollerMicrocontroller
Following must be kept in mind while choosing a
microcontroller
 Speed
 Packaging
 Power consumption
 The amount of RAM and ROM on chip
 The number of I/O pins and the timer on chip
 How easy to upgrade to higher performance or lower power-
consumption versions
 Cost per unit
Microcontroller ArchitecturesMicrocontroller Architectures
CPU
Program
+ Data
Address Bus
Data Bus
Memory
Von Neumann
Architecture
CPU
Program
Address Bus
Data Bus
Harvard
Architecture
Memory
Data
Address Bus
Fetch Bus
0
0
0
2n
Features Of 8051
The Intel 8051 is used in embedded systems has
8-bit CPU
4k bytes ROM for the program
128 BYTES of RAM for variables
32 I/O lines ( 4 PORTS WITH 8 EACH )
2 timers
6 interrupt sources
Low cost per chip
8051 PIN description
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
RST
(RXD) P3.0
(TXD) P3.1
(INT0) P3.2
(INT1) P3.3
(T0) P3.4
(T1) P3.5
(WR) P3.6
(RD) P3.7
XTAL2
XTAL1
GND
P2.7 (A15)
P2.6 (A14)
P2.5 (A13)
P2.4 (A12)
P2.3 (A11)
P2.2 (A10)
P2.1 (A9)
P2.0 (A8)
PSEN
ALE/PROG
EA/VPP
P0.7 (AD7)
P0.6 (AD6)
P0.5 (AD5)
P0.4 (AD4)
P0.3 (AD3)
P0.2 (AD2)
P0.1 (AD1)
P0.0 (AD0)
Vcc
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
23
22
21
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
8051
I/0 Ports:-I/0 Ports:-
8051 microcontroller has four I/O ports P0, P1, P2 and P3 each use 8 pins making
them 8 bit ports. All the ports can be used as either input or output
•Port 0: Port 0 occupies a total of 8 pins (pins 32-39) .It can be used for input or
output. To use the pins of port 0 as both input and output ports, each pin must be
connected externally to a 10K ohm pull-up resistor.
•Port 1: Port 1 occupies a total of 8 pins (pins 1-8). It can be used as input or
output. In contrast to port 0, this port does not need any pull-up resistors since it
already has pull-up resistors internally.
•Port 2 : Port 2 occupies a total of 8 pins (pins 21- 28). It can be used as input or
output. Just like P1, P2 does not need any pull-up resistors since it already has
pull-up resistors internally.
•Port 3 : Port 3 occupies a total of 8 pins (pins 10 -17). It can be used as input or
output. P3 does not need any pull-up resistors, the same as P1 and P2 did not.
Port 3 has the additional function of providing some extremely important signals
such as interrupts, etc.
IMPORTANT PINSIMPORTANT PINS
 VCC (Pin-40): Vcc provides supply voltage to the chip. The
voltage source is +5V.
 GND (Pin-20): It is ground pin.
 RST (Pin-9): It is reset pin. Upon applying high pulse to this
pin the micro controller will reset and terminate all activities.
 XTAL1 & XTAL2 (Pin-18,19): These 2 pins provide external
clock using a quartz crystal oscillator Crystal inputs for
internal oscillator.
 PSEN (Pin-29): Program Store Enable, the read signal for
external program memory.
IMPORTANT PINSIMPORTANT PINS
ALE (Pin-30): Address Latch Enable, to latch address outputs
at Port0 and Port2, used for both data and address transmission.
EA (Pin-31): External Access pin should be connected to Vcc in
order to fetch code from internal program memory and to fetch
code from external program memory EA is connected to Ground.
Interrupts (Pin-12,13): An interrupt is an event that disturbs the
microcontroller to inform it that a device needs its service.
Timers/Counters (Pin-14,15): They are used for counting
internal or external events.
TIMER/COUNTERS IN 8051TIMER/COUNTERS IN 8051
TI MER 8051 is of two types
 Timer T0 16-bit
 Timer T1 16-bit
Features
• Both Timer T0 and T1 are 16 bits wide.
• When used as a “timer” the register is programmed to count
internal clock pulses
• When used as a “counter” the register is programmed to
count external clock pulses
INTERRUPTINTERRUPT
Interrupt is an event that causes program to change its
normal execution and branch up to specific subroutine
putting normal program on hold.
Whenever any device needs its service, the device
notifies the microcontroller by sending it an interrupt
signal.
Upon receiving an interrupt signal, the microcontroller
interrupts whatever it is doing and serves the device.
ADDRESSING MODESADDRESSING MODES
Different addressing modes in 8051 microcontroller are
•IMMEDIATE ADDRESSING
•REGISTER ADDRESSING
•DIRECT ADDRESSING
•REGISTER INDIRECT ADDRESSING
Immediate Addressing :
This addressing mode is named as “immediate” because it transfers an data
immediately to the destination operand.
For example -
•MOV A, #77H ; Loads 77 (hexadecimal) to A and stores in A
•ADD A, #4DH ; Adds 4D (hexadecimal) to A and stores in A
•MOV DPTR, #1234H ; Moves 1234 (hexadecimal) to data pointer
The ‘#’ symbol before 77H indicates that operand is a data (8 bit). If ‘#’ is not
present then the hexadecimal number would be taken as address
Register Addressing :
Used while moving data between two registers.
Moving data between two Rn registers is not allowed.
For example-
•ADD A, R0 ;Adds content of R0 to A and stores in A
•MOV A, R1 ;Copy contents of R1 into A
Direct Addressing :
There are 128 bytes of RAM in 8051 and have been assigned
addresses 00 to 7FH. Entire 128 bytes of RAM can be accessed by
using direct addressing mode.
For example -
•MOV R0, 088H; Save the contents of RAM location 88h to R0
Register Indirect Addressing :
An address is considered to be the address of an address, rather than
the address of a value.
For example -
•MOV A, @R0; Moves content of address pointed by R0 to A
Value inside R0 is considered as an address, which holds the data to
be transferred to Accumulator.
SYSTEMS
AND APPLICATIONS
Embedded systems are more than part of human life. For instance, one cannot imagine life
without mobile phones for personal communication. Its presence is virtually unavoidable in
almost all facets of human endeavor.
We can clearly identify the trend as to where the future of embedded systems is heading.
Conventionally, chip manufacturers developed faster single core processors to meet the ever
increasing performance requirements but soon they realized that increasing frequency, though
offered certain benefits had drawbacks too such as:
•    It drove to higher power consumption
•    Overall cost increased as the peripherals surrounding also needed to operate at matching
speed, which was truly not practical in all cases, there by driving the costs.
So semiconductor manufacturers recognized that the way forward is to build processors that run
at lower frequency and voltages but include parallel cores onto single chip. The overall
performance increases because multicores can perform more than one task at given point of
time, so today most of our devices such as smartphones, are indeed getting 'smarter‘ and
‘smaller’
Embedded operating systems
Traditionally embedded systems did away with an operating system (OS), it had lightweight
control program/monitor to offer limited I/O and memory services, however, as the systems
became complex, it was inevitable to have OS which offered low latency real-time response.
Most of the new designs today are moving away from proprietary OS and tool chains and are
more and more opting for open source platforms both of development and deployment as the
key market differentiator for them is cost.
Royalty free licensing deployment is the key for reducing the end user costs so OS like Linux
embedded and new OS such as Android are making inroads into places where traditionally
Windows CE/Vx works etc., used to play. Today many new handhelds and smart phones are
embracing Android.
Convergence embedded systems and applications
The retail segment is one of the fastest growing segments in emerging markets and the trend in
retail markets is moving towards improving the user experience, which is most certainly setting
trend towards increased performance, connectivity and rich graphics, while reducing power
consumption and size of the device.
Ultrabook is a latest example which aims in reducing size of conventional laptops, while
efficiently managing power consumption and also improving performance
Healthcare
Electronic medical devices and other technological innovations with the convergence of biotech,
nanotech, manufacturing tech making breathtaking transformations in healthcare delivery and
creating new health care paradigms.
The fastest growing markets within medical for semiconductors are home monitoring and
diagnostic device ECG, pulse rate, temperature, oxygen, blood pressure etc.
Embedded digital security and surveillance
In the ever increasing interconnected world, Digital embedded security is no more an option but
a necessity as it is very critical for more transactions happening over embedded devices as front
ends.
Digital security and surveillance is currently in the host of new applications in the embedded
arena which is benefiting from multicore phenomenon.
The applications based on computer vision and tracking offers multiple benefits in capturing, post
processing and identification and alerting of security video in real time.
Telecommunications
If ever there is an industry that has reaped the benefits to Embedded Technology, for sure, it is
only Telecommunications.  The Telecom industry utilizes numerous embedded systems from
telephone switches for the network to mobile phones at the end-user.
Automotive
With drive across the world to improve on emission controls and bring in efficiency in
usage of fossil fuels, the automotive segment is challenged by various factors and
embedded systems are clearly the ways and means of achieving multiple objectives in
this segment taking it from infotainment systems, engine control unit, Car-area-network,
fuel management, safety systems all need embedded to be in it.
Entertainment
While we have seen mobiles, handhelds, iPods etc., have changed the landscape of the
personal entertainment in the world in the recent past, the emerging trend is adding more
intelligence in the personal entertainment, communication devices by converging the
social networks, city information, location based services into a single device.
Smart cards industry
Smart cards, though began prominently as either a debit or a credit card, are now being
introduced in personal identification and entitlement schemes at regional, national, and
international levels. Smart cards are appearing now as Citizen Cards, drivers’ licenses,
and patient cards.
THANKSTHANKS

More Related Content

What's hot

embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginnersmohamed gaber
 
Basics Of Embedded Systems
Basics Of Embedded SystemsBasics Of Embedded Systems
Basics Of Embedded Systemsarlabstech
 
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayEmbedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayVijay Kumar
 
Fundamentals of Modern Embedded Systems
Fundamentals of Modern Embedded SystemsFundamentals of Modern Embedded Systems
Fundamentals of Modern Embedded Systemseselab
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded SystemKaran Thakkar
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems Prabhakar Captain
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaAbhishekSharma2517
 
Embedded computer system
Embedded computer systemEmbedded computer system
Embedded computer systemGovind Kaintura
 
basic embedded system presentation
basic embedded system presentationbasic embedded system presentation
basic embedded system presentationVimal Tripathi
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scopeArshit Rai
 
Robotics & Embedded Systems
Robotics & Embedded SystemsRobotics & Embedded Systems
Robotics & Embedded Systemsanishgoel
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemRkrishna Mishra
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded Systemrmkceteee
 

What's hot (20)

embedded-systems-for-beginners
embedded-systems-for-beginnersembedded-systems-for-beginners
embedded-systems-for-beginners
 
Basics Of Embedded Systems
Basics Of Embedded SystemsBasics Of Embedded Systems
Basics Of Embedded Systems
 
embedded system
embedded systemembedded system
embedded system
 
Embedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijayEmbedded System Real Time Operating System (ERTS) I unit by vijay
Embedded System Real Time Operating System (ERTS) I unit by vijay
 
Fundamentals of Modern Embedded Systems
Fundamentals of Modern Embedded SystemsFundamentals of Modern Embedded Systems
Fundamentals of Modern Embedded Systems
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded System
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 
Embedded System Basics
Embedded System BasicsEmbedded System Basics
Embedded System Basics
 
An Entire Concept of Embedded systems
An Entire Concept of Embedded systems An Entire Concept of Embedded systems
An Entire Concept of Embedded systems
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Presentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharmaPresentation on embedded system by abhishek sharma
Presentation on embedded system by abhishek sharma
 
Embedded computer system
Embedded computer systemEmbedded computer system
Embedded computer system
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
Training report on embedded sys_AVR
Training report on embedded sys_AVRTraining report on embedded sys_AVR
Training report on embedded sys_AVR
 
basic embedded system presentation
basic embedded system presentationbasic embedded system presentation
basic embedded system presentation
 
Summer training embedded system and its scope
Summer training  embedded system and its scopeSummer training  embedded system and its scope
Summer training embedded system and its scope
 
Embedded system application
Embedded system applicationEmbedded system application
Embedded system application
 
Robotics & Embedded Systems
Robotics & Embedded SystemsRobotics & Embedded Systems
Robotics & Embedded Systems
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded System
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
 

Viewers also liked

Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded SystemsVishwa Mohan
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded systemmanish katara
 
Presentation embeded system in automobile aditya ( edited again)
Presentation embeded system in automobile   aditya ( edited again)Presentation embeded system in automobile   aditya ( edited again)
Presentation embeded system in automobile aditya ( edited again)Aditya Porwal
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O portsanishgoel
 
Embedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersEmbedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersKamesh Mtec
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded SystemZakaria Gomaa
 
13986149 c-pgming-for-embedded-systems
13986149 c-pgming-for-embedded-systems13986149 c-pgming-for-embedded-systems
13986149 c-pgming-for-embedded-systemsPRADEEP
 
Embedded system in automobile
Embedded system in automobileEmbedded system in automobile
Embedded system in automobileAali Aalim
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED CAman Sharma
 
Programming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded CProgramming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded CVarun A M
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manualHari K
 

Viewers also liked (20)

Presentation1
Presentation1Presentation1
Presentation1
 
Introduction To Embedded Systems
Introduction To Embedded SystemsIntroduction To Embedded Systems
Introduction To Embedded Systems
 
Embedded System Presentation
Embedded System PresentationEmbedded System Presentation
Embedded System Presentation
 
ppt on embedded system
ppt on embedded systemppt on embedded system
ppt on embedded system
 
Presentation embeded system in automobile aditya ( edited again)
Presentation embeded system in automobile   aditya ( edited again)Presentation embeded system in automobile   aditya ( edited again)
Presentation embeded system in automobile aditya ( edited again)
 
I/O Ports
I/O Ports I/O Ports
I/O Ports
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
Embedded c
Embedded cEmbedded c
Embedded c
 
Embedded _c_
Embedded  _c_Embedded  _c_
Embedded _c_
 
Embedded c program and programming structure for beginners
Embedded c program and programming structure for beginnersEmbedded c program and programming structure for beginners
Embedded c program and programming structure for beginners
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
Embedded system ppt
Embedded system pptEmbedded system ppt
Embedded system ppt
 
13986149 c-pgming-for-embedded-systems
13986149 c-pgming-for-embedded-systems13986149 c-pgming-for-embedded-systems
13986149 c-pgming-for-embedded-systems
 
Embedded system in automobile
Embedded system in automobileEmbedded system in automobile
Embedded system in automobile
 
Embedded C - Lecture 1
Embedded C - Lecture 1Embedded C - Lecture 1
Embedded C - Lecture 1
 
8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C8051 programming skills using EMBEDDED C
8051 programming skills using EMBEDDED C
 
Programming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded CProgramming ATmega microcontroller using Embedded C
Programming ATmega microcontroller using Embedded C
 
HVDC vs HVAC ppt
HVDC vs HVAC pptHVDC vs HVAC ppt
HVDC vs HVAC ppt
 
Embedded c lab and keil c manual
Embedded  c  lab  and keil c  manualEmbedded  c  lab  and keil c  manual
Embedded c lab and keil c manual
 
Embedded c
Embedded cEmbedded c
Embedded c
 

Similar to Embeded system by Mitesh Kumar

Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerAmandeep Alag
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERAnkita Jaiswal
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontrollerankitsharmaj
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)Gurwinder Singh
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf818Farida
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 MicrocontrollersArti Parab Academics
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interfaceAbhishek Choksi
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontrollerthokalpv
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and RoboticsNIT Raipur
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentseceprinter6
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller nitugatkal
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontrollerSHILPA Sillobhargav
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuVignan Munna
 

Similar to Embeded system by Mitesh Kumar (20)

Ppt embedded
Ppt embeddedPpt embedded
Ppt embedded
 
Embedded systems, 8051 microcontroller
Embedded systems, 8051 microcontrollerEmbedded systems, 8051 microcontroller
Embedded systems, 8051 microcontroller
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Uc1(vii sem)
Uc1(vii sem)Uc1(vii sem)
Uc1(vii sem)
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Embedded system 8051 Microcontroller
Embedded system 8051 MicrocontrollerEmbedded system 8051 Microcontroller
Embedded system 8051 Microcontroller
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
 
microcontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdfmicrocontroller 8051 17.07.2023.pdf
microcontroller 8051 17.07.2023.pdf
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 MicrocontrollersSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III  The 8051 Microcontrollers
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT III The 8051 Microcontrollers
 
8051 microcontroller and it’s interface
8051 microcontroller and it’s interface8051 microcontroller and it’s interface
8051 microcontroller and it’s interface
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
12 mt06ped005
12 mt06ped005 12 mt06ped005
12 mt06ped005
 
Training Report on embedded Systems and Robotics
Training Report on embedded  Systems and RoboticsTraining Report on embedded  Systems and Robotics
Training Report on embedded Systems and Robotics
 
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering studentsEMBEDDED SYSTEMS AND IOT lab manual for enginnering students
EMBEDDED SYSTEMS AND IOT lab manual for enginnering students
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
embedded system and microcontroller
 embedded system and microcontroller embedded system and microcontroller
embedded system and microcontroller
 
Gesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docuGesture based vehicle movements control and alerting system docu
Gesture based vehicle movements control and alerting system docu
 
unit-2.pptx
unit-2.pptxunit-2.pptx
unit-2.pptx
 
Microcontroller 8051 gs
Microcontroller 8051 gsMicrocontroller 8051 gs
Microcontroller 8051 gs
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 

More from Mitesh Kumar

Fiber optics measurement Technique by mitesh kumar
Fiber optics measurement Technique by mitesh kumarFiber optics measurement Technique by mitesh kumar
Fiber optics measurement Technique by mitesh kumarMitesh Kumar
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMitesh Kumar
 
Temperature measurement By Mitesh Kumar
Temperature  measurement By Mitesh KumarTemperature  measurement By Mitesh Kumar
Temperature measurement By Mitesh KumarMitesh Kumar
 
Synchronous machine by Mitesh Kumar
Synchronous machine by Mitesh KumarSynchronous machine by Mitesh Kumar
Synchronous machine by Mitesh KumarMitesh Kumar
 
Three phase induction motor By Mitesh Kumar
Three phase induction motor By Mitesh KumarThree phase induction motor By Mitesh Kumar
Three phase induction motor By Mitesh KumarMitesh Kumar
 
Transmitter By MItesh Kumar
Transmitter By MItesh KumarTransmitter By MItesh Kumar
Transmitter By MItesh KumarMitesh Kumar
 
Temperature measurement By Mitesh Kumar
Temperature  measurement By Mitesh KumarTemperature  measurement By Mitesh Kumar
Temperature measurement By Mitesh KumarMitesh Kumar
 
Resistance Temperature Detector By Mitesh Kumar
Resistance Temperature Detector By Mitesh KumarResistance Temperature Detector By Mitesh Kumar
Resistance Temperature Detector By Mitesh KumarMitesh Kumar
 
Synchronous machine Mitesh Kumar
Synchronous machine Mitesh KumarSynchronous machine Mitesh Kumar
Synchronous machine Mitesh KumarMitesh Kumar
 
Pressure measurement id Mitesh Kuamr
Pressure measurement id Mitesh KuamrPressure measurement id Mitesh Kuamr
Pressure measurement id Mitesh KuamrMitesh Kumar
 
Piezoelectric pressure sensor Mitesh Kumar
Piezoelectric pressure sensor Mitesh KumarPiezoelectric pressure sensor Mitesh Kumar
Piezoelectric pressure sensor Mitesh KumarMitesh Kumar
 
Optical measurent Mitesh kumar
Optical measurent Mitesh kumarOptical measurent Mitesh kumar
Optical measurent Mitesh kumarMitesh Kumar
 
Net neutrality by Mitesh Kumar
Net neutrality by Mitesh KumarNet neutrality by Mitesh Kumar
Net neutrality by Mitesh KumarMitesh Kumar
 
Dc to Ac inverter By Mitesh Kumar
Dc to Ac inverter By Mitesh KumarDc to Ac inverter By Mitesh Kumar
Dc to Ac inverter By Mitesh KumarMitesh Kumar
 
Pid controller by Mitesh Kumar
Pid controller by Mitesh KumarPid controller by Mitesh Kumar
Pid controller by Mitesh KumarMitesh Kumar
 
Network problem cpm and pert BY MITESH KUMAR
Network problem cpm and pert BY MITESH KUMARNetwork problem cpm and pert BY MITESH KUMAR
Network problem cpm and pert BY MITESH KUMARMitesh Kumar
 
Water pollution treatment BY Mitesh Kumar
Water pollution treatment BY Mitesh KumarWater pollution treatment BY Mitesh Kumar
Water pollution treatment BY Mitesh KumarMitesh Kumar
 
Biomass ppt By Mitesh Kumar
Biomass ppt By Mitesh KumarBiomass ppt By Mitesh Kumar
Biomass ppt By Mitesh KumarMitesh Kumar
 
Humanoid robot by mitesh kumar
Humanoid robot by mitesh kumarHumanoid robot by mitesh kumar
Humanoid robot by mitesh kumarMitesh Kumar
 
Humanoid robot by Mitesh kumar
Humanoid robot by Mitesh kumar Humanoid robot by Mitesh kumar
Humanoid robot by Mitesh kumar Mitesh Kumar
 

More from Mitesh Kumar (20)

Fiber optics measurement Technique by mitesh kumar
Fiber optics measurement Technique by mitesh kumarFiber optics measurement Technique by mitesh kumar
Fiber optics measurement Technique by mitesh kumar
 
Microcontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumarMicrocontroller 8051 By Mitesh kumar
Microcontroller 8051 By Mitesh kumar
 
Temperature measurement By Mitesh Kumar
Temperature  measurement By Mitesh KumarTemperature  measurement By Mitesh Kumar
Temperature measurement By Mitesh Kumar
 
Synchronous machine by Mitesh Kumar
Synchronous machine by Mitesh KumarSynchronous machine by Mitesh Kumar
Synchronous machine by Mitesh Kumar
 
Three phase induction motor By Mitesh Kumar
Three phase induction motor By Mitesh KumarThree phase induction motor By Mitesh Kumar
Three phase induction motor By Mitesh Kumar
 
Transmitter By MItesh Kumar
Transmitter By MItesh KumarTransmitter By MItesh Kumar
Transmitter By MItesh Kumar
 
Temperature measurement By Mitesh Kumar
Temperature  measurement By Mitesh KumarTemperature  measurement By Mitesh Kumar
Temperature measurement By Mitesh Kumar
 
Resistance Temperature Detector By Mitesh Kumar
Resistance Temperature Detector By Mitesh KumarResistance Temperature Detector By Mitesh Kumar
Resistance Temperature Detector By Mitesh Kumar
 
Synchronous machine Mitesh Kumar
Synchronous machine Mitesh KumarSynchronous machine Mitesh Kumar
Synchronous machine Mitesh Kumar
 
Pressure measurement id Mitesh Kuamr
Pressure measurement id Mitesh KuamrPressure measurement id Mitesh Kuamr
Pressure measurement id Mitesh Kuamr
 
Piezoelectric pressure sensor Mitesh Kumar
Piezoelectric pressure sensor Mitesh KumarPiezoelectric pressure sensor Mitesh Kumar
Piezoelectric pressure sensor Mitesh Kumar
 
Optical measurent Mitesh kumar
Optical measurent Mitesh kumarOptical measurent Mitesh kumar
Optical measurent Mitesh kumar
 
Net neutrality by Mitesh Kumar
Net neutrality by Mitesh KumarNet neutrality by Mitesh Kumar
Net neutrality by Mitesh Kumar
 
Dc to Ac inverter By Mitesh Kumar
Dc to Ac inverter By Mitesh KumarDc to Ac inverter By Mitesh Kumar
Dc to Ac inverter By Mitesh Kumar
 
Pid controller by Mitesh Kumar
Pid controller by Mitesh KumarPid controller by Mitesh Kumar
Pid controller by Mitesh Kumar
 
Network problem cpm and pert BY MITESH KUMAR
Network problem cpm and pert BY MITESH KUMARNetwork problem cpm and pert BY MITESH KUMAR
Network problem cpm and pert BY MITESH KUMAR
 
Water pollution treatment BY Mitesh Kumar
Water pollution treatment BY Mitesh KumarWater pollution treatment BY Mitesh Kumar
Water pollution treatment BY Mitesh Kumar
 
Biomass ppt By Mitesh Kumar
Biomass ppt By Mitesh KumarBiomass ppt By Mitesh Kumar
Biomass ppt By Mitesh Kumar
 
Humanoid robot by mitesh kumar
Humanoid robot by mitesh kumarHumanoid robot by mitesh kumar
Humanoid robot by mitesh kumar
 
Humanoid robot by Mitesh kumar
Humanoid robot by Mitesh kumar Humanoid robot by Mitesh kumar
Humanoid robot by Mitesh kumar
 

Recently uploaded

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniquesugginaramesh
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 

Recently uploaded (20)

Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Comparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization TechniquesComparative Analysis of Text Summarization Techniques
Comparative Analysis of Text Summarization Techniques
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 

Embeded system by Mitesh Kumar

  • 1. EMBEDDEDEMBEDDED SYSTEMSSYSTEMS MITESH KUMAR 10300513026 Third Year (B.Tech) Applied Electronics & Instrumentation Engineering Haldia Institute of Technology
  • 2. WhatWhat AreAre Embedded Systems?Embedded Systems? “Special purpose system which are either used as standalone or part of a big system”  An Embedded System is one that has computer hardware with software embedded in it as one of its important components. An embedded product uses a microprocessor (or microcontroller) to do one task and one task only. A printer is an example of embedded system since the processor inside it performs only one task; namely, getting the data and printing it
  • 3. Household appliances Integrated systems in aircrafts and missiles Cellular telephones Electric and Electronic Motor controllers Engine controllers in automobiles Calculators Medical equipment’s Videogames Digital musical instruments WHERE ARE THEY PRESENT ?
  • 4. The necessary tools for aThe necessary tools for a microprocessor/microcontrollermicroprocessor/microcontroller CPU: Central Processing Unit I/O: Input /Output Bus: Address bus & Data bus Memory: RAM & ROM Timer Interrupt
  • 5. Introduction to MicroprocessorsIntroduction to Microprocessors “A Microprocessor is a general purpose chip used to create multifunction device ” No RAM, ROM, I/O ports on CPU chip itself CPU is stand-alone, Must add RAM, ROM, I/O ports, and timers externally to make them functional Designer can decide on the amount of ROM, RAM and I/O ports Example : Intel’s x86, Motorola’s 680x0
  • 6. “A Microcontroller is a computer-on-a-chip optimized to control Electronic devices” CPU + I/O + Timer(s) [+ ROM] [+ RAM] All on single chip Limited RAM space, ROM space and I/O pins Low chip-count to implement a small system Low-cost at large quantities Development tools readily available at reasonable cost Introduction to MicrocontrollersIntroduction to Microcontrollers
  • 7. Microprocessor System Contrasted With Microcontroller SystemMicroprocessor System Contrasted With Microcontroller System
  • 8. Microprocessor vs. Microcontroller Microprocessor • CPU is stand-alone, RAM, ROM, I/O, timer are separate • Designer can decide the amount of ROM, RAM and I/O ports • Expansive • Versatility • General-purpose Microcontroller • CPU, RAM, ROM, I/O and timer are all on a single chip • Fix amount of on-chip ROM, RAM, I/O ports • For applications in which cost, power and space are critical • Not Expansive • Single-purpose
  • 9. Criteria for Choosing aCriteria for Choosing a MicrocontrollerMicrocontroller Following must be kept in mind while choosing a microcontroller  Speed  Packaging  Power consumption  The amount of RAM and ROM on chip  The number of I/O pins and the timer on chip  How easy to upgrade to higher performance or lower power- consumption versions  Cost per unit
  • 10. Microcontroller ArchitecturesMicrocontroller Architectures CPU Program + Data Address Bus Data Bus Memory Von Neumann Architecture CPU Program Address Bus Data Bus Harvard Architecture Memory Data Address Bus Fetch Bus 0 0 0 2n
  • 11. Features Of 8051 The Intel 8051 is used in embedded systems has 8-bit CPU 4k bytes ROM for the program 128 BYTES of RAM for variables 32 I/O lines ( 4 PORTS WITH 8 EACH ) 2 timers 6 interrupt sources Low cost per chip
  • 12. 8051 PIN description P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST (RXD) P3.0 (TXD) P3.1 (INT0) P3.2 (INT1) P3.3 (T0) P3.4 (T1) P3.5 (WR) P3.6 (RD) P3.7 XTAL2 XTAL1 GND P2.7 (A15) P2.6 (A14) P2.5 (A13) P2.4 (A12) P2.3 (A11) P2.2 (A10) P2.1 (A9) P2.0 (A8) PSEN ALE/PROG EA/VPP P0.7 (AD7) P0.6 (AD6) P0.5 (AD5) P0.4 (AD4) P0.3 (AD3) P0.2 (AD2) P0.1 (AD1) P0.0 (AD0) Vcc 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 23 22 21 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 8051
  • 13. I/0 Ports:-I/0 Ports:- 8051 microcontroller has four I/O ports P0, P1, P2 and P3 each use 8 pins making them 8 bit ports. All the ports can be used as either input or output •Port 0: Port 0 occupies a total of 8 pins (pins 32-39) .It can be used for input or output. To use the pins of port 0 as both input and output ports, each pin must be connected externally to a 10K ohm pull-up resistor. •Port 1: Port 1 occupies a total of 8 pins (pins 1-8). It can be used as input or output. In contrast to port 0, this port does not need any pull-up resistors since it already has pull-up resistors internally. •Port 2 : Port 2 occupies a total of 8 pins (pins 21- 28). It can be used as input or output. Just like P1, P2 does not need any pull-up resistors since it already has pull-up resistors internally. •Port 3 : Port 3 occupies a total of 8 pins (pins 10 -17). It can be used as input or output. P3 does not need any pull-up resistors, the same as P1 and P2 did not. Port 3 has the additional function of providing some extremely important signals such as interrupts, etc.
  • 14. IMPORTANT PINSIMPORTANT PINS  VCC (Pin-40): Vcc provides supply voltage to the chip. The voltage source is +5V.  GND (Pin-20): It is ground pin.  RST (Pin-9): It is reset pin. Upon applying high pulse to this pin the micro controller will reset and terminate all activities.  XTAL1 & XTAL2 (Pin-18,19): These 2 pins provide external clock using a quartz crystal oscillator Crystal inputs for internal oscillator.  PSEN (Pin-29): Program Store Enable, the read signal for external program memory.
  • 15. IMPORTANT PINSIMPORTANT PINS ALE (Pin-30): Address Latch Enable, to latch address outputs at Port0 and Port2, used for both data and address transmission. EA (Pin-31): External Access pin should be connected to Vcc in order to fetch code from internal program memory and to fetch code from external program memory EA is connected to Ground. Interrupts (Pin-12,13): An interrupt is an event that disturbs the microcontroller to inform it that a device needs its service. Timers/Counters (Pin-14,15): They are used for counting internal or external events.
  • 16. TIMER/COUNTERS IN 8051TIMER/COUNTERS IN 8051 TI MER 8051 is of two types  Timer T0 16-bit  Timer T1 16-bit Features • Both Timer T0 and T1 are 16 bits wide. • When used as a “timer” the register is programmed to count internal clock pulses • When used as a “counter” the register is programmed to count external clock pulses
  • 17. INTERRUPTINTERRUPT Interrupt is an event that causes program to change its normal execution and branch up to specific subroutine putting normal program on hold. Whenever any device needs its service, the device notifies the microcontroller by sending it an interrupt signal. Upon receiving an interrupt signal, the microcontroller interrupts whatever it is doing and serves the device.
  • 18. ADDRESSING MODESADDRESSING MODES Different addressing modes in 8051 microcontroller are •IMMEDIATE ADDRESSING •REGISTER ADDRESSING •DIRECT ADDRESSING •REGISTER INDIRECT ADDRESSING
  • 19. Immediate Addressing : This addressing mode is named as “immediate” because it transfers an data immediately to the destination operand. For example - •MOV A, #77H ; Loads 77 (hexadecimal) to A and stores in A •ADD A, #4DH ; Adds 4D (hexadecimal) to A and stores in A •MOV DPTR, #1234H ; Moves 1234 (hexadecimal) to data pointer The ‘#’ symbol before 77H indicates that operand is a data (8 bit). If ‘#’ is not present then the hexadecimal number would be taken as address Register Addressing : Used while moving data between two registers. Moving data between two Rn registers is not allowed. For example- •ADD A, R0 ;Adds content of R0 to A and stores in A •MOV A, R1 ;Copy contents of R1 into A
  • 20. Direct Addressing : There are 128 bytes of RAM in 8051 and have been assigned addresses 00 to 7FH. Entire 128 bytes of RAM can be accessed by using direct addressing mode. For example - •MOV R0, 088H; Save the contents of RAM location 88h to R0 Register Indirect Addressing : An address is considered to be the address of an address, rather than the address of a value. For example - •MOV A, @R0; Moves content of address pointed by R0 to A Value inside R0 is considered as an address, which holds the data to be transferred to Accumulator.
  • 21. SYSTEMS AND APPLICATIONS Embedded systems are more than part of human life. For instance, one cannot imagine life without mobile phones for personal communication. Its presence is virtually unavoidable in almost all facets of human endeavor. We can clearly identify the trend as to where the future of embedded systems is heading. Conventionally, chip manufacturers developed faster single core processors to meet the ever increasing performance requirements but soon they realized that increasing frequency, though offered certain benefits had drawbacks too such as: •    It drove to higher power consumption •    Overall cost increased as the peripherals surrounding also needed to operate at matching speed, which was truly not practical in all cases, there by driving the costs. So semiconductor manufacturers recognized that the way forward is to build processors that run at lower frequency and voltages but include parallel cores onto single chip. The overall performance increases because multicores can perform more than one task at given point of time, so today most of our devices such as smartphones, are indeed getting 'smarter‘ and ‘smaller’
  • 22. Embedded operating systems Traditionally embedded systems did away with an operating system (OS), it had lightweight control program/monitor to offer limited I/O and memory services, however, as the systems became complex, it was inevitable to have OS which offered low latency real-time response. Most of the new designs today are moving away from proprietary OS and tool chains and are more and more opting for open source platforms both of development and deployment as the key market differentiator for them is cost. Royalty free licensing deployment is the key for reducing the end user costs so OS like Linux embedded and new OS such as Android are making inroads into places where traditionally Windows CE/Vx works etc., used to play. Today many new handhelds and smart phones are embracing Android. Convergence embedded systems and applications The retail segment is one of the fastest growing segments in emerging markets and the trend in retail markets is moving towards improving the user experience, which is most certainly setting trend towards increased performance, connectivity and rich graphics, while reducing power consumption and size of the device. Ultrabook is a latest example which aims in reducing size of conventional laptops, while efficiently managing power consumption and also improving performance
  • 23. Healthcare Electronic medical devices and other technological innovations with the convergence of biotech, nanotech, manufacturing tech making breathtaking transformations in healthcare delivery and creating new health care paradigms. The fastest growing markets within medical for semiconductors are home monitoring and diagnostic device ECG, pulse rate, temperature, oxygen, blood pressure etc. Embedded digital security and surveillance In the ever increasing interconnected world, Digital embedded security is no more an option but a necessity as it is very critical for more transactions happening over embedded devices as front ends. Digital security and surveillance is currently in the host of new applications in the embedded arena which is benefiting from multicore phenomenon. The applications based on computer vision and tracking offers multiple benefits in capturing, post processing and identification and alerting of security video in real time. Telecommunications If ever there is an industry that has reaped the benefits to Embedded Technology, for sure, it is only Telecommunications.  The Telecom industry utilizes numerous embedded systems from telephone switches for the network to mobile phones at the end-user.
  • 24. Automotive With drive across the world to improve on emission controls and bring in efficiency in usage of fossil fuels, the automotive segment is challenged by various factors and embedded systems are clearly the ways and means of achieving multiple objectives in this segment taking it from infotainment systems, engine control unit, Car-area-network, fuel management, safety systems all need embedded to be in it. Entertainment While we have seen mobiles, handhelds, iPods etc., have changed the landscape of the personal entertainment in the world in the recent past, the emerging trend is adding more intelligence in the personal entertainment, communication devices by converging the social networks, city information, location based services into a single device. Smart cards industry Smart cards, though began prominently as either a debit or a credit card, are now being introduced in personal identification and entitlement schemes at regional, national, and international levels. Smart cards are appearing now as Citizen Cards, drivers’ licenses, and patient cards.

Editor's Notes

  1. 8051 (8031)