SlideShare a Scribd company logo
1 of 34
EMBEDDED SYSTEM
St. Margaret Engineering College
Neemrana (Rajasthan)
Submitted to:- Submitted by:-
Mr. Rohit Gupta Shilpa Kumari
Mr. Pavan Yadav (12ESMEC043)
1
What is embedded system ?
 A specialized computer system that is part of a
larger system or machine .
 Typically , an embedded system is housed on a
single microprocessor board with the program
stored in ROM.
Ex. :- Fridge , mobile phones etc.
 Embedded system include an operating system
, but may are so specialized that the entire
logic can be implanted as a single program.
2
3
In one sentence , we can say that , A special purpose
computer built into a larger device.
Any device that includes a programmable computer
but is not itself a general purpose computer.
The microprocessor is an embedded system is like an
electric motor in a washing machine.
MICROPROCESSORS AND MICROCONTROLLERS
In an embedded system,
the microcontrollers
ROM is burned with a
purpose for specific
functions needed for the
system. A printer is an
example of an
embedded system
because the processor
inside it performs one
task only;namely
getting the data and
printed it.
 On the other hand, a
PC can also load & run
software for a variety
of applications.
Because it has RAM
memory & an
operating system that
loads the application
software into RAM &
lets the CPU run it.
4
5
MICROPROCESSORSAND
MICROCONTROLLERS
APPLICATIONS
1. Signal processing system:- Real time video ,
DVD players, medical equipment.
2. Distributed control:- Network routers,
switches , elevators.
3. Small system:- mobile phones, smart cards,
MP3 players, digital converters, PC keyboard
and mouse.
6
ABOUT 8051
The 8051 microcontroller is first controller of MCS 51
family introduced by intel corporation at the end of
1970s.
Characteristics of 8051:-
 4k bytes ROM
 128 bytes RAM
 Two timer/counter(16 bit)
 A serial port
 4 parallel input output port
 Interrupt controller
The 8051 can address 64k bytes of external data memory
and 64k bytes of external program memory.
7
8
INTERNAL ARCHITECHTURE 8051
ARCHITECTURE
 Based on CISC and RISC
 CISC:- (complex instruction set controller)
 It invariably employ a microcode for
decoding the instructions and generate the
necessary control signals for performing the
intended operation.
 When an instruction is fetched from
memory, it is compared with the existing bit
pattern, when match is found it generates
the associated control signals to ALU and
registers.
9
10
 It takes good amount of time to decode the
meaning of complex instructions which perform
more than one operation.
 Also microcode requires more number of
transistors that are used in fabricating the CISC
architecture based processors.
RISC
 Reduced Instruction Set Controller.
 These are fast at numerical computations
required in science, graphics and engineering
applications.
 The total number of transistors used for the
design of RISC is half the number used in
CISC.
 This reduced number of transistors reduces the
power consumption.
11
COMPUTER ARCHITECTURE
 Depending on how external memory is
connected to the processors
 Von-Neumann machine.
 Harvard machine.
Von-Neumann machine:-
 It has 3 hardware subsystems; a CPU, a main
memory system and an I/O system.
 It uses stored program concept i.e. the
program and data are stored in the same
memory unit.
12
13
• It has a single path between the main memory
system and the control unit of the CPU. Because the
common path is used to access both the program as
well as the data, there is possibility of congestion on
the bus. This situation is called Von Neumann
Bottleneck.
 Harvard machine:-
 It uses separate memories for storing the program
and data.
 To connect these separate memories, it uses a
separate set of address, data and control lines.
14
 As separate memories and buses are used,
simultaneous access to the memory is possible
without any congestion over the bus, which in
turn increases the performances.
 It increases the cost of the system as separate
memories & separate buses are used.
PIN DIAGRAM OF 8051
15
Registers in 8051
 In CPU, registers are used to store information
temporarily. That information could be a byte of
data to be processed, or an address pointing to the
data to be fetched. 8051 have 8-bit registers.
16
17
 The most widely used registers are A
(accumulator), B, R0 -R7, DPTR (Data Pointer),
PC (Program Counter). All the registers except
DPTR and the program counter are 8 bits. DPTR
and PC are 16 bits.
ROBOTICS
A reprogrammable, multifunctional
manipulators designed to move material, parts
, tools or specialized devices through various
programmed motions for the performance of a
variety of task.
The word robotics was coined by American
science fiction writer Isaac Asimov first used
in 1942 in his short story “RUABOUT”. He
also proposed three laws of Robotics .
18
LAWS OF ROBOTICS
 A Robot may not injure a human being or
through inaction , allow a human being to
come to harm.
 A Robot must obey the orders given it by
human beings except where such orders
would conflict with the 1st and 2nd law.
 A Robot must protect its own existence as
long as such protection does not conflict with
the 1st and 2nd law.
19
AVR MICROCONTROLER
 Devices range from 1 to
256KB
 Pin count range from 8 to 100
 Full code compatibility
 Pin/feature compatible
families
 One set of development tools
20
OVERVIEW OF ATMEGA16
 The ATmega16 is a
low-power CMOS 8-bit
microcontroller based
on the AVR enhanced
RISC Architecture.
21
FEATURES OF ATMEGA16
 16 Kbytes of In-System Programmable Flash
 Program memory with Read-While-Write
capabilities
 512 bytes EEPROM, 1 Kbyte SRAM
 32general purpose I/O lines
 32 general purpose working registers
22
Continued…
 Write/Erase Cycles: 10,000 Flash/100,000
EEPROM
 Data retention: 20 years at 85°C/100 years at
25°C(1)
 Programming Lock for Software Security
 Up to 16 MIPS Throughput at 16 MHz
 512 Bytes EEPROM
23
PERIPHERAL FEATURES
 Two 8-bit Timer/Counters
 One 16-bit Timer/Counter
 Four PWM Channels
 8-channel, 10-bit ADC
24
ATMEGA16 PIN DIAGRAM
25
PIN DISCRIPTION
Atmega16 have total of 40 pins
32 I/O pins..
PORTA = 8 Pins
PORTB = 8 Pins
PORTC = 8 Pins
PORTD = 8 Pins
26
PIN DISCRIPTION
 VCC (PIN11) - Digital supply voltage.
 GND (PIN12) - Ground
27
PIN DISCRIPTION
 Port A (PA7..PA0) - Port A serves as the analog
inputs to the A/D Converter Port A also serves as
an 8-bit bi-directional I/O port, if the A/D
Converter is not used. Port pins can provide
internal pull-up resistors (selected for each bit)
 Port B (PB7..PB0) - Port B is an 8-bit bi-
directional I/O port with internal pull-up resistors
(selected for each bit). Port B also serves the
functions of various special features of the
ATmega16
28
ALTERNATE FUNCTION OF PORT A AND B :-
29
PIN DISCRIPTION
 Port C (PC7..PC0) - Port C is an 8-bit bi-
directional I/O port with internal pull-up resistors
(selected for each bit). If the JTAG interface is
enabled, the pull-up resistors on pins PC5(TDI),
PC3(TMS) and PC2(TCK) will be activated even
if a reset occurs
 Port D (PD7..PD0) - Port D is an 8-bit bi-
directional I/O port with internal pull-up resistors
(selected for each bit). Port D also serves the
functions of various special features of the
ATmega16
30
ALTERNATE FUNCTION OF PORT C AND D:-
31
PIN DISCRIPTION
 RESET - Reset Input. A low level on this pin for
longer than the minimum pulse length will
generate a reset. Shorter pulses are not guaranteed
to generate a reset.
AVCC - AVCC is the supply voltage pin for Port
A and the A/D Converter. It should be externally
connected to VCC, even if the ADC is not used. If
the ADC is used, it should be connected to VCC
through a low-pass filter.
• AREF - AREF is the analog reference pin for the
A/D Converter.
32
REFERENCES
1. http://mathcs.slu.edu/~fritts/CSCI305_306_F0
8/AVR/AVR%20Introduction.pdf
2. http://www.circuitstoday.com/microcontroller-
invention-history
3. http://www.atmel.com/products/microcontroll
ers/avr/
4. http://www.circuitstoday.com/basics-of-
microcontrollers
33
34

More Related Content

What's hot

8085 micro processor- notes
8085 micro  processor- notes8085 micro  processor- notes
8085 micro processor- notesDr.YNM
 
Microcontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory portsMicrocontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory portsNilesh Bhaskarrao Bahadure
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6Xv Kalairajan
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureJamia Hamdard
 
Unit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsUnit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsDr. Pankaj Zope
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controllerNirbhay Singh
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086Waleed Khan
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERAnkita Jaiswal
 
Microprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMicroprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMathankumar S
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part AIkhwan_Fakrudin
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introductionShubham Singh
 

What's hot (16)

pic 18
pic 18pic 18
pic 18
 
Micro 8051
Micro 8051Micro 8051
Micro 8051
 
8085 micro processor- notes
8085 micro  processor- notes8085 micro  processor- notes
8085 micro processor- notes
 
Microcontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory portsMicrocontroller pic 16 f877 registers memory ports
Microcontroller pic 16 f877 registers memory ports
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Unit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsUnit II Study of Onchip Peripherals
Unit II Study of Onchip Peripherals
 
EE8551 MPMC
EE8551  MPMCEE8551  MPMC
EE8551 MPMC
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
register file structure of PIC controller
register file structure of PIC controllerregister file structure of PIC controller
register file structure of PIC controller
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
INTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLERINTRODUCTION TO MICROCONTROLLER
INTRODUCTION TO MICROCONTROLLER
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Microprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answersMicroprocessor & Microcontoller short questions with answers
Microprocessor & Microcontoller short questions with answers
 
Embedded system (Chapter 2) part A
Embedded system (Chapter 2) part AEmbedded system (Chapter 2) part A
Embedded system (Chapter 2) part A
 
Chapter 1 microprocessor introduction
Chapter 1 microprocessor introductionChapter 1 microprocessor introduction
Chapter 1 microprocessor introduction
 

Similar to EMBEDDED SYSTEM MICROCONTROLLERS

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
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080Vivek Venugopal
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller918007165995
 
Chp4 introduction to the pic microcontroller copy
Chp4 introduction to the pic microcontroller   copyChp4 introduction to the pic microcontroller   copy
Chp4 introduction to the pic microcontroller copymkazree
 
Microcontroller
MicrocontrollerMicrocontroller
MicrocontrollerSpitiq
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded SystemKaran Thakkar
 
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
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessorRamaPrabha24
 
Ec 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsEc 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsMerin Jesuraj
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsVeerakumar S
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1haymanotyehuala
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)Gurwinder Singh
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentationxavierpaulino
 

Similar to EMBEDDED SYSTEM MICROCONTROLLERS (20)

89s52 2
89s52 289s52 2
89s52 2
 
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
 
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
AN INTEGRATED FOUR-PORT DC-DC CONVERTER-CEI0080
 
AT89 S52
AT89 S52AT89 S52
AT89 S52
 
3.TechieNest microcontrollers
3.TechieNest  microcontrollers3.TechieNest  microcontrollers
3.TechieNest microcontrollers
 
Atmega8u2 mur
Atmega8u2 murAtmega8u2 mur
Atmega8u2 mur
 
002079
002079002079
002079
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
Study of 8051 microcontroller
Study of 8051 microcontrollerStudy of 8051 microcontroller
Study of 8051 microcontroller
 
Chp4 introduction to the pic microcontroller copy
Chp4 introduction to the pic microcontroller   copyChp4 introduction to the pic microcontroller   copy
Chp4 introduction to the pic microcontroller copy
 
Microcontroller
MicrocontrollerMicrocontroller
Microcontroller
 
Microcontoller and Embedded System
Microcontoller and Embedded SystemMicrocontoller and Embedded System
Microcontoller and Embedded System
 
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
 
Introduction to microprocessor
Introduction to microprocessorIntroduction to microprocessor
Introduction to microprocessor
 
Ec 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applicationsEc 1303 microprocessor_its_applications
Ec 1303 microprocessor_its_applications
 
Introduction to 8085 Microprocessors
Introduction to 8085 MicroprocessorsIntroduction to 8085 Microprocessors
Introduction to 8085 Microprocessors
 
4th yr dmumicrocontroller1
4th yr dmumicrocontroller14th yr dmumicrocontroller1
4th yr dmumicrocontroller1
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
 
Microcontroller presentation
Microcontroller presentationMicrocontroller presentation
Microcontroller presentation
 

Recently uploaded

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with 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
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
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
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitterShivangiSharma879191
 
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
 
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
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm Systemirfanmechengr
 
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
 
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
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgsaravananr517913
 
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
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the weldingMuhammadUzairLiaqat
 

Recently uploaded (20)

Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with 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
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
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
 
8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter8251 universal synchronous asynchronous receiver transmitter
8251 universal synchronous asynchronous receiver transmitter
 
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
 
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
 
Class 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm SystemClass 1 | NFPA 72 | Overview Fire Alarm System
Class 1 | NFPA 72 | Overview Fire Alarm System
 
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
 
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
 
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
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfgUnit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
Unit7-DC_Motors nkkjnsdkfnfcdfknfdgfggfg
 
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
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
welding defects observed during the welding
welding defects observed during the weldingwelding defects observed during the welding
welding defects observed during the welding
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 

EMBEDDED SYSTEM MICROCONTROLLERS

  • 1. EMBEDDED SYSTEM St. Margaret Engineering College Neemrana (Rajasthan) Submitted to:- Submitted by:- Mr. Rohit Gupta Shilpa Kumari Mr. Pavan Yadav (12ESMEC043) 1
  • 2. What is embedded system ?  A specialized computer system that is part of a larger system or machine .  Typically , an embedded system is housed on a single microprocessor board with the program stored in ROM. Ex. :- Fridge , mobile phones etc.  Embedded system include an operating system , but may are so specialized that the entire logic can be implanted as a single program. 2
  • 3. 3 In one sentence , we can say that , A special purpose computer built into a larger device. Any device that includes a programmable computer but is not itself a general purpose computer. The microprocessor is an embedded system is like an electric motor in a washing machine.
  • 4. MICROPROCESSORS AND MICROCONTROLLERS In an embedded system, the microcontrollers ROM is burned with a purpose for specific functions needed for the system. A printer is an example of an embedded system because the processor inside it performs one task only;namely getting the data and printed it.  On the other hand, a PC can also load & run software for a variety of applications. Because it has RAM memory & an operating system that loads the application software into RAM & lets the CPU run it. 4
  • 6. APPLICATIONS 1. Signal processing system:- Real time video , DVD players, medical equipment. 2. Distributed control:- Network routers, switches , elevators. 3. Small system:- mobile phones, smart cards, MP3 players, digital converters, PC keyboard and mouse. 6
  • 7. ABOUT 8051 The 8051 microcontroller is first controller of MCS 51 family introduced by intel corporation at the end of 1970s. Characteristics of 8051:-  4k bytes ROM  128 bytes RAM  Two timer/counter(16 bit)  A serial port  4 parallel input output port  Interrupt controller The 8051 can address 64k bytes of external data memory and 64k bytes of external program memory. 7
  • 9. ARCHITECTURE  Based on CISC and RISC  CISC:- (complex instruction set controller)  It invariably employ a microcode for decoding the instructions and generate the necessary control signals for performing the intended operation.  When an instruction is fetched from memory, it is compared with the existing bit pattern, when match is found it generates the associated control signals to ALU and registers. 9
  • 10. 10  It takes good amount of time to decode the meaning of complex instructions which perform more than one operation.  Also microcode requires more number of transistors that are used in fabricating the CISC architecture based processors.
  • 11. RISC  Reduced Instruction Set Controller.  These are fast at numerical computations required in science, graphics and engineering applications.  The total number of transistors used for the design of RISC is half the number used in CISC.  This reduced number of transistors reduces the power consumption. 11
  • 12. COMPUTER ARCHITECTURE  Depending on how external memory is connected to the processors  Von-Neumann machine.  Harvard machine. Von-Neumann machine:-  It has 3 hardware subsystems; a CPU, a main memory system and an I/O system.  It uses stored program concept i.e. the program and data are stored in the same memory unit. 12
  • 13. 13 • It has a single path between the main memory system and the control unit of the CPU. Because the common path is used to access both the program as well as the data, there is possibility of congestion on the bus. This situation is called Von Neumann Bottleneck.  Harvard machine:-  It uses separate memories for storing the program and data.  To connect these separate memories, it uses a separate set of address, data and control lines.
  • 14. 14  As separate memories and buses are used, simultaneous access to the memory is possible without any congestion over the bus, which in turn increases the performances.  It increases the cost of the system as separate memories & separate buses are used.
  • 15. PIN DIAGRAM OF 8051 15
  • 16. Registers in 8051  In CPU, registers are used to store information temporarily. That information could be a byte of data to be processed, or an address pointing to the data to be fetched. 8051 have 8-bit registers. 16
  • 17. 17  The most widely used registers are A (accumulator), B, R0 -R7, DPTR (Data Pointer), PC (Program Counter). All the registers except DPTR and the program counter are 8 bits. DPTR and PC are 16 bits.
  • 18. ROBOTICS A reprogrammable, multifunctional manipulators designed to move material, parts , tools or specialized devices through various programmed motions for the performance of a variety of task. The word robotics was coined by American science fiction writer Isaac Asimov first used in 1942 in his short story “RUABOUT”. He also proposed three laws of Robotics . 18
  • 19. LAWS OF ROBOTICS  A Robot may not injure a human being or through inaction , allow a human being to come to harm.  A Robot must obey the orders given it by human beings except where such orders would conflict with the 1st and 2nd law.  A Robot must protect its own existence as long as such protection does not conflict with the 1st and 2nd law. 19
  • 20. AVR MICROCONTROLER  Devices range from 1 to 256KB  Pin count range from 8 to 100  Full code compatibility  Pin/feature compatible families  One set of development tools 20
  • 21. OVERVIEW OF ATMEGA16  The ATmega16 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC Architecture. 21
  • 22. FEATURES OF ATMEGA16  16 Kbytes of In-System Programmable Flash  Program memory with Read-While-Write capabilities  512 bytes EEPROM, 1 Kbyte SRAM  32general purpose I/O lines  32 general purpose working registers 22
  • 23. Continued…  Write/Erase Cycles: 10,000 Flash/100,000 EEPROM  Data retention: 20 years at 85°C/100 years at 25°C(1)  Programming Lock for Software Security  Up to 16 MIPS Throughput at 16 MHz  512 Bytes EEPROM 23
  • 24. PERIPHERAL FEATURES  Two 8-bit Timer/Counters  One 16-bit Timer/Counter  Four PWM Channels  8-channel, 10-bit ADC 24
  • 26. PIN DISCRIPTION Atmega16 have total of 40 pins 32 I/O pins.. PORTA = 8 Pins PORTB = 8 Pins PORTC = 8 Pins PORTD = 8 Pins 26
  • 27. PIN DISCRIPTION  VCC (PIN11) - Digital supply voltage.  GND (PIN12) - Ground 27
  • 28. PIN DISCRIPTION  Port A (PA7..PA0) - Port A serves as the analog inputs to the A/D Converter Port A also serves as an 8-bit bi-directional I/O port, if the A/D Converter is not used. Port pins can provide internal pull-up resistors (selected for each bit)  Port B (PB7..PB0) - Port B is an 8-bit bi- directional I/O port with internal pull-up resistors (selected for each bit). Port B also serves the functions of various special features of the ATmega16 28
  • 29. ALTERNATE FUNCTION OF PORT A AND B :- 29
  • 30. PIN DISCRIPTION  Port C (PC7..PC0) - Port C is an 8-bit bi- directional I/O port with internal pull-up resistors (selected for each bit). If the JTAG interface is enabled, the pull-up resistors on pins PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even if a reset occurs  Port D (PD7..PD0) - Port D is an 8-bit bi- directional I/O port with internal pull-up resistors (selected for each bit). Port D also serves the functions of various special features of the ATmega16 30
  • 31. ALTERNATE FUNCTION OF PORT C AND D:- 31
  • 32. PIN DISCRIPTION  RESET - Reset Input. A low level on this pin for longer than the minimum pulse length will generate a reset. Shorter pulses are not guaranteed to generate a reset. AVCC - AVCC is the supply voltage pin for Port A and the A/D Converter. It should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through a low-pass filter. • AREF - AREF is the analog reference pin for the A/D Converter. 32
  • 33. REFERENCES 1. http://mathcs.slu.edu/~fritts/CSCI305_306_F0 8/AVR/AVR%20Introduction.pdf 2. http://www.circuitstoday.com/microcontroller- invention-history 3. http://www.atmel.com/products/microcontroll ers/avr/ 4. http://www.circuitstoday.com/basics-of- microcontrollers 33
  • 34. 34