SlideShare a Scribd company logo
1 of 31
Download to read offline
Khalil Zein Eddine
KAFAZ-2020
DIGITAL ELECTRONICS
KAFAZ-2020
What is the difference between a microprocessor
and micro-controller?
Microprocessor :
• is an IC which has only the CPU inside them i.e. only the
processing powers such as Intel’s Pentium 1,2,3,4, core 2
duo, i3, i5 etc.
• These microprocessors don’t have RAM, ROM, and other
peripheral on the chip. A system designer has to add them
externally to make them functional.
• Application of microprocessor includes Desktop PC’s,
Laptops, notepads etc.
Introduction
Microcontroller:
• has a CPU, in addition with a fixed amount of RAM,
ROM and other peripherals all embedded on a single chip.
• At times it is also termed as a mini computer or a computer
on a single chip.
• Today different manufacturers produce microcontrollers
with a wide range of features available in different
versions.
• Some manufacturers are ATMEL, Microchip, TI, Free
scale, Philips, Motorola etc.
DIGITAL ELECTRONICS
KAFAZ-2020
What is the difference between a microprocessor
and micro-controller?
KAFAZ-2020
DIGITAL ELECTRONICS
DIGITAL ELECTRONICS
KAFAZ-2020
Definition of microcontroller
an integrated circuit that contains
a microprocessor along with memory and associated
circuits and that controls some or all of the functions
of an electronic system.
Basic Structure of a Microcontroller
DIGITAL ELECTRONICS
KAFAZ-2020
The following image shows the Basic Structure of a
Microcontroller.
DIGITAL ELECTRONICS
KAFAZ-2020
Basic Structure of a Microcontroller
From the above image, you can understand that the
three important (or major) components of a
Microcontroller are:
•The CPU (Central Processing Unit)
•The Memory and
•The I/O Ports
This doesn’t mean that other components are of less
importance. But these can be considered as supporting
devices.
DIGITAL ELECTRONICS
KAFAZ-2020
CPU
 Central Processing Unit or CPU is the brain of the
Microcontroller.
 It consists of an Arithmetic Logic Unit (ALU) and a
Control Unit (CU). A CPU reads, decodes and
executes instructions to perform Arithmetic, Logic
and Data Transfer operations.
DIGITAL ELECTRONICS
KAFAZ-2020
Memory
Any Computational System requires two types of
Memory: Program Memory and Data Memory.
 Program Memory contains the program i.e. the
instructions to be executed by the CPU. Usually,
Program Memory is a Read Only Memory or ROM
 Data Memory on the other hand, is required to
store temporary data while executing the
instructions. Usually, the Data Memory is a
Random Access Memory or RAM.
DIGITAL ELECTRONICS
KAFAZ-2020
I/O Ports:
 The interface for the Microcontroller to the external world is
provided by the I/O Ports or Input / Output Ports. Inputs
device like Switches, Keypads, etc. provide information from
the user to the CPU in the form of Binary Data.
 The CPU, upon receiving the data from the input devices,
executes appropriate instructions and gives response through
Output Devices like LEDs, Displays, Printers, etc.
Bus:
 Another important component of a Microcontroller, but rarely
discussed is the System Bus. A System bus is a group of
connecting wire that connect the CPU with other peripherals
like Memory, I/O Ports and other supporting components.
DIGITAL ELECTRONICS
KAFAZ-2020
Timers/Counters:
 One of the important components of a Microcontroller are the
Timers and Counters.
 They provide the operations of Time Delays and counting
external events.
 Additionally, Timers and Counters can provide Function
Generation, Pulse Width Modulation, Clock Control, etc.
Serial Port :
 One of the important requirement of a Microcontroller is to
communicate with other device and peripherals (external).
 Serial Port proves such interface through serial
communication.
 Most common serial communication implemented in
Microcontrollers is UART.
DIGITAL ELECTRONICS
KAFAZ-2020
Interrupts:
 A very important feature of a Microcontroller is Interrupts
and its Interrupt Handling Mechanism.
 Interrupts can be external, internal, hardware related or
software related.
ADC (Analog to Digital Converter):
 Analog to Digital Converter or ADC is a circuit that converts
Analog signals to Digital Signals.
 The ADC Circuit forms the interface between the external
Analog Input devices and the CPU of the Microcontroller.
 Almost all sensors are analog devices and the analog data from
these sensors must be converted in to digital data for the CPU
to understand.
DIGITAL ELECTRONICS
KAFAZ-2020
DAC (Digital to Analog Converter):
 Digital to Analog Converter or DAC is a circuit, that works in
contrast to an ADC i.e. it converts Digital Signals to Analog
Signals.
 DAC forms the bridge between the CPU of the
Microcontroller and the external analog devices.
DIGITAL ELECTRONICS
KAFAZ-2020
Advantages of Microcontrollers
 A Microcontroller is a true device that fits the computer-on-a-
chip idea.
 No need for any external interfacing of basic components like
Memory, I/O Ports, etc.
 Microcontrollers doesn’t require complex operating systems as
all the instructions must be written and stored in the memory.
(RTOS is an exception).
 All the Input/Output Ports are programmable.
 Integration of all the essential components reduces the cost,
design time and area of the product (or application).
DIGITAL ELECTRONICS
KAFAZ-2020
Disadvantages of Microcontrollers
 Microcontrollers are not known for their
computation power.
 The amount of memory limits the instructions that
a microcontroller can execute.
 No Operating System and hence, all the instruction
must be written.
DIGITAL ELECTRONICS
KAFAZ-2020
Applications of Microcontrollers
There are huge number of applications of
Microcontrollers. In fact, the entire embedded systems
industry is dependent on Microcontrollers. The
following are few applications of Microcontrollers.
 Front Panel Controls in devices like Oven,
washing Machine etc.
 Function Generators
 Smoke and Fire Alarms
 Home Automation Systems
 Automatic Headlamp ON in Cars
 Speed Sensed Door Locking System
Bloc schematic of Microprocessor System using 6809
MP
DIGITAL ELECTRONICS
KAFAZ-2020
Practical Example of Microprocessor System using
6809 MP
DIGITAL ELECTRONICS
KAFAZ-2020
Real Microcontroller
DIGITAL ELECTRONICS
KAFAZ-2020
Types of Microcontrollers
DIGITAL ELECTRONICS
KAFAZ-2020
Introduction to PIC Microcontroller
A microcontroller has 3 basic parts :
•The CPU core
•Memory (both ROM and RAM)
•Digital I/O
DIGITAL ELECTRONICS
KAFAZ-2020
PIC Microcontroller Architecture
The architecture of the 8 bit PIC microcontrollers can
be categorized as:
 Base Line Architecture – In the base-line
architecture PIC microcontrollers of PIC10F family
is included, other than that a fraction of PIC12 &
PIC16 families are also included. These gadgets
make use of 12 bit program word architecture with
six to twenty-eight pin package alternatives.
DIGITAL ELECTRONICS
KAFAZ-2020
Mid Range Architecture – In this midline member of
PIC12 & PIC16 families are added that attribute 14
bit program word architecture. The midrange
PIC16 gadgets proffer a broad variety of package
alternatives (from 8 to 64 package), with low to high
levels of peripheral incorporation.
High Performance Architecture – The high
performance architecture included the PIC18 family
of appliances. These micro-controllers make use of
16 bits program word architecture along with 18 to
100 pin package alternatives.
DIGITAL ELECTRONICS
KAFAZ-2020
PIC Microcontroller Architecture
 Base Line Architecture
Mid Range Architecture
High Performance Architecture
DIGITAL ELECTRONICS
KAFAZ-2020
Basic Block Diagram Structure
DIGITAL ELECTRONICS
KAFAZ-2020
MICROCHIP Microcontroller Family
DIGITAL ELECTRONICS
KAFAZ-2020
Main features of the 16 family
• Operating speed DC-10 Mhz clock input
• RISC CPU 35 single-word instructions
• Timer
• Different Interrupt sources
• Size memories (RAM, ROM) and an additional
features vary by the type of microcontroller
DIGITAL ELECTRONICS
KAFAZ-2020
Benefits of the PIC Microcontroller
• Faster speed
• Lower cost
• Easier and quicker development
DIGITAL ELECTRONICS
KAFAZ-2020
Programming languages
DIGITAL ELECTRONICS
• ASSEMBLY language
• C language
• BASIC language
PIC programming overview
Programming PIC microcontrollers is a simple 3 steps
process:
• Write the code
• Compile the code
• Upload the code into a microcontroller
DIGITAL ELECTRONICS
KAFAZ-2020
Examples of applications of PIC
• Vehicle systems (example ABS)
• Alarm systems and fire detection
• Home security systems
• Home automation systems
• Telecommunications systems
DIGITAL ELECTRONICS
KAFAZ-2020
DIGITAL ELECTRONICS
KAFAZ-2020

More Related Content

What's hot

8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded systemsb108ec
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded systemNiteesh Srivastava
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller Nitesh Kumar
 
Introduction of microcontroller
Introduction of microcontrollerIntroduction of microcontroller
Introduction of microcontrollerEngineer Maze
 
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyDilip Kumar Ckt
 
Microprocessor vs. microcontroller
Microprocessor vs. microcontrollerMicroprocessor vs. microcontroller
Microprocessor vs. microcontrolleraviban
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSVISHNU KP
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controllerOm Bheda
 
CISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESCISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESDr.YNM
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Ramadan Ramadan
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IVineethMP2
 
8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)HarshitParkar6677
 
Introduction to microcontroller
Introduction to microcontrollerIntroduction to microcontroller
Introduction to microcontrollerRajib Roy
 

What's hot (20)

PIC_ARM_AVR
PIC_ARM_AVRPIC_ARM_AVR
PIC_ARM_AVR
 
pic 18
pic 18pic 18
pic 18
 
8051 microcontroller and embedded system
8051 microcontroller and embedded system8051 microcontroller and embedded system
8051 microcontroller and embedded system
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
Microprocessor & microcontroller
Microprocessor & microcontroller Microprocessor & microcontroller
Microprocessor & microcontroller
 
Introduction of microcontroller
Introduction of microcontrollerIntroduction of microcontroller
Introduction of microcontroller
 
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar RoyPresentation for EEE engineers on Microcontroller by Dilip Kumar Roy
Presentation for EEE engineers on Microcontroller by Dilip Kumar Roy
 
Microprocessor vs. microcontroller
Microprocessor vs. microcontrollerMicroprocessor vs. microcontroller
Microprocessor vs. microcontroller
 
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERSPIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
PIC-MICROCONTROLLER TUTORIALS FOR BEGINNERS
 
8051 microcontrollers
8051 microcontrollers8051 microcontrollers
8051 microcontrollers
 
819 data sheet
819 data sheet819 data sheet
819 data sheet
 
micro controller
micro controllermicro controller
micro controller
 
Microprocessor & Micro-controller
Microprocessor & Micro-controllerMicroprocessor & Micro-controller
Microprocessor & Micro-controller
 
CISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESCISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURES
 
Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)Intro to micro controller (Atmega16)
Intro to micro controller (Atmega16)
 
seminar on PIC1684
seminar on PIC1684seminar on PIC1684
seminar on PIC1684
 
ATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part IATmega32-AVR microcontrollers-Part I
ATmega32-AVR microcontrollers-Part I
 
8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)8085 notes g scheme 2016 (2)
8085 notes g scheme 2016 (2)
 
Introduction to microcontroller
Introduction to microcontrollerIntroduction to microcontroller
Introduction to microcontroller
 
8085 notes g scheme 2016
8085 notes g scheme 20168085 notes g scheme 2016
8085 notes g scheme 2016
 

Similar to INTRODUCTION TO MICRCONTROLLER

Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة salih mahmod
 
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdfIntroduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdfaienterpresses
 
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdfIntroduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdfaienterpresses
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxMeghdeepSingh
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to MicrocontrollerNikhil Sharma
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerRup Chowdhury
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded SystemsSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded SystemsArti Parab Academics
 
Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...Claude Ndayisenga
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robotAbhishek Sood
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Mohamed Atef
 
12.automatic toll gate billing system using rfid.
12.automatic toll gate billing system using rfid.12.automatic toll gate billing system using rfid.
12.automatic toll gate billing system using rfid.Sai Krishna
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Emb Sys Rev Ver1
Emb Sys   Rev Ver1Emb Sys   Rev Ver1
Emb Sys Rev Ver1ncct
 
Home automation using dtmf
Home automation using dtmfHome automation using dtmf
Home automation using dtmfAjay Naidu Jami
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxbhaveshagrawal35
 
Introduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdfIntroduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdfBereket Walle
 
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
 

Similar to INTRODUCTION TO MICRCONTROLLER (20)

Embedded systems الانظمة المدمجة
Embedded systems  الانظمة المدمجة Embedded systems  الانظمة المدمجة
Embedded systems الانظمة المدمجة
 
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdfIntroduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
Introduction to embedded systems using the msp430 6. 1 Enumerate the.pdf
 
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdfIntroduction to embedded systems using the msp430 6.1 Enumerate the .pdf
Introduction to embedded systems using the msp430 6.1 Enumerate the .pdf
 
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptxINDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
INDUSTRIAL TRAINING REPORT EMBEDDED SYSTEM.pptx
 
Introduction to Microcontroller
Introduction to MicrocontrollerIntroduction to Microcontroller
Introduction to Microcontroller
 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
 
Overview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontrollerOverview of Microcontroller and ATMega32 microcontroller
Overview of Microcontroller and ATMega32 microcontroller
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded SystemsSYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I   Core of Embedded Systems
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT I Core of Embedded Systems
 
Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...Design and implementation of real time security guard robot using GSM/CDMA ne...
Design and implementation of real time security guard robot using GSM/CDMA ne...
 
Embedded System - Dtmf robot
Embedded System - Dtmf robotEmbedded System - Dtmf robot
Embedded System - Dtmf robot
 
Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)Lecture 10.cont,11 (plc)
Lecture 10.cont,11 (plc)
 
12.automatic toll gate billing system using rfid.
12.automatic toll gate billing system using rfid.12.automatic toll gate billing system using rfid.
12.automatic toll gate billing system using rfid.
 
module 1.pptx
module 1.pptxmodule 1.pptx
module 1.pptx
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Emb Sys Rev Ver1
Emb Sys   Rev Ver1Emb Sys   Rev Ver1
Emb Sys Rev Ver1
 
Home automation using dtmf
Home automation using dtmfHome automation using dtmf
Home automation using dtmf
 
MergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptxMergeResult_2023_04_02_05_26_56.pptx
MergeResult_2023_04_02_05_26_56.pptx
 
Introduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdfIntroduction_to_Mechatronics_Chapter67.pdf
Introduction_to_Mechatronics_Chapter67.pdf
 
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
 

Recently uploaded

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...Call Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
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
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 

Recently uploaded (20)

Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
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
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
High Profile Call Girls Nashik Megha 7001305949 Independent Escort Service Na...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
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
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 

INTRODUCTION TO MICRCONTROLLER

  • 2. DIGITAL ELECTRONICS KAFAZ-2020 What is the difference between a microprocessor and micro-controller? Microprocessor : • is an IC which has only the CPU inside them i.e. only the processing powers such as Intel’s Pentium 1,2,3,4, core 2 duo, i3, i5 etc. • These microprocessors don’t have RAM, ROM, and other peripheral on the chip. A system designer has to add them externally to make them functional. • Application of microprocessor includes Desktop PC’s, Laptops, notepads etc. Introduction
  • 3. Microcontroller: • has a CPU, in addition with a fixed amount of RAM, ROM and other peripherals all embedded on a single chip. • At times it is also termed as a mini computer or a computer on a single chip. • Today different manufacturers produce microcontrollers with a wide range of features available in different versions. • Some manufacturers are ATMEL, Microchip, TI, Free scale, Philips, Motorola etc. DIGITAL ELECTRONICS KAFAZ-2020 What is the difference between a microprocessor and micro-controller?
  • 4. KAFAZ-2020 DIGITAL ELECTRONICS DIGITAL ELECTRONICS KAFAZ-2020 Definition of microcontroller an integrated circuit that contains a microprocessor along with memory and associated circuits and that controls some or all of the functions of an electronic system.
  • 5. Basic Structure of a Microcontroller DIGITAL ELECTRONICS KAFAZ-2020 The following image shows the Basic Structure of a Microcontroller.
  • 6. DIGITAL ELECTRONICS KAFAZ-2020 Basic Structure of a Microcontroller From the above image, you can understand that the three important (or major) components of a Microcontroller are: •The CPU (Central Processing Unit) •The Memory and •The I/O Ports This doesn’t mean that other components are of less importance. But these can be considered as supporting devices.
  • 7. DIGITAL ELECTRONICS KAFAZ-2020 CPU  Central Processing Unit or CPU is the brain of the Microcontroller.  It consists of an Arithmetic Logic Unit (ALU) and a Control Unit (CU). A CPU reads, decodes and executes instructions to perform Arithmetic, Logic and Data Transfer operations.
  • 8. DIGITAL ELECTRONICS KAFAZ-2020 Memory Any Computational System requires two types of Memory: Program Memory and Data Memory.  Program Memory contains the program i.e. the instructions to be executed by the CPU. Usually, Program Memory is a Read Only Memory or ROM  Data Memory on the other hand, is required to store temporary data while executing the instructions. Usually, the Data Memory is a Random Access Memory or RAM.
  • 9. DIGITAL ELECTRONICS KAFAZ-2020 I/O Ports:  The interface for the Microcontroller to the external world is provided by the I/O Ports or Input / Output Ports. Inputs device like Switches, Keypads, etc. provide information from the user to the CPU in the form of Binary Data.  The CPU, upon receiving the data from the input devices, executes appropriate instructions and gives response through Output Devices like LEDs, Displays, Printers, etc. Bus:  Another important component of a Microcontroller, but rarely discussed is the System Bus. A System bus is a group of connecting wire that connect the CPU with other peripherals like Memory, I/O Ports and other supporting components.
  • 10. DIGITAL ELECTRONICS KAFAZ-2020 Timers/Counters:  One of the important components of a Microcontroller are the Timers and Counters.  They provide the operations of Time Delays and counting external events.  Additionally, Timers and Counters can provide Function Generation, Pulse Width Modulation, Clock Control, etc. Serial Port :  One of the important requirement of a Microcontroller is to communicate with other device and peripherals (external).  Serial Port proves such interface through serial communication.  Most common serial communication implemented in Microcontrollers is UART.
  • 11. DIGITAL ELECTRONICS KAFAZ-2020 Interrupts:  A very important feature of a Microcontroller is Interrupts and its Interrupt Handling Mechanism.  Interrupts can be external, internal, hardware related or software related. ADC (Analog to Digital Converter):  Analog to Digital Converter or ADC is a circuit that converts Analog signals to Digital Signals.  The ADC Circuit forms the interface between the external Analog Input devices and the CPU of the Microcontroller.  Almost all sensors are analog devices and the analog data from these sensors must be converted in to digital data for the CPU to understand.
  • 12. DIGITAL ELECTRONICS KAFAZ-2020 DAC (Digital to Analog Converter):  Digital to Analog Converter or DAC is a circuit, that works in contrast to an ADC i.e. it converts Digital Signals to Analog Signals.  DAC forms the bridge between the CPU of the Microcontroller and the external analog devices.
  • 13. DIGITAL ELECTRONICS KAFAZ-2020 Advantages of Microcontrollers  A Microcontroller is a true device that fits the computer-on-a- chip idea.  No need for any external interfacing of basic components like Memory, I/O Ports, etc.  Microcontrollers doesn’t require complex operating systems as all the instructions must be written and stored in the memory. (RTOS is an exception).  All the Input/Output Ports are programmable.  Integration of all the essential components reduces the cost, design time and area of the product (or application).
  • 14. DIGITAL ELECTRONICS KAFAZ-2020 Disadvantages of Microcontrollers  Microcontrollers are not known for their computation power.  The amount of memory limits the instructions that a microcontroller can execute.  No Operating System and hence, all the instruction must be written.
  • 15. DIGITAL ELECTRONICS KAFAZ-2020 Applications of Microcontrollers There are huge number of applications of Microcontrollers. In fact, the entire embedded systems industry is dependent on Microcontrollers. The following are few applications of Microcontrollers.  Front Panel Controls in devices like Oven, washing Machine etc.  Function Generators  Smoke and Fire Alarms  Home Automation Systems  Automatic Headlamp ON in Cars  Speed Sensed Door Locking System
  • 16. Bloc schematic of Microprocessor System using 6809 MP DIGITAL ELECTRONICS KAFAZ-2020
  • 17. Practical Example of Microprocessor System using 6809 MP DIGITAL ELECTRONICS KAFAZ-2020
  • 19. Types of Microcontrollers DIGITAL ELECTRONICS KAFAZ-2020
  • 20. Introduction to PIC Microcontroller A microcontroller has 3 basic parts : •The CPU core •Memory (both ROM and RAM) •Digital I/O DIGITAL ELECTRONICS KAFAZ-2020
  • 21. PIC Microcontroller Architecture The architecture of the 8 bit PIC microcontrollers can be categorized as:  Base Line Architecture – In the base-line architecture PIC microcontrollers of PIC10F family is included, other than that a fraction of PIC12 & PIC16 families are also included. These gadgets make use of 12 bit program word architecture with six to twenty-eight pin package alternatives. DIGITAL ELECTRONICS KAFAZ-2020
  • 22. Mid Range Architecture – In this midline member of PIC12 & PIC16 families are added that attribute 14 bit program word architecture. The midrange PIC16 gadgets proffer a broad variety of package alternatives (from 8 to 64 package), with low to high levels of peripheral incorporation. High Performance Architecture – The high performance architecture included the PIC18 family of appliances. These micro-controllers make use of 16 bits program word architecture along with 18 to 100 pin package alternatives. DIGITAL ELECTRONICS KAFAZ-2020
  • 23. PIC Microcontroller Architecture  Base Line Architecture Mid Range Architecture High Performance Architecture DIGITAL ELECTRONICS KAFAZ-2020
  • 24. Basic Block Diagram Structure DIGITAL ELECTRONICS KAFAZ-2020
  • 26. Main features of the 16 family • Operating speed DC-10 Mhz clock input • RISC CPU 35 single-word instructions • Timer • Different Interrupt sources • Size memories (RAM, ROM) and an additional features vary by the type of microcontroller DIGITAL ELECTRONICS KAFAZ-2020
  • 27. Benefits of the PIC Microcontroller • Faster speed • Lower cost • Easier and quicker development DIGITAL ELECTRONICS KAFAZ-2020
  • 28. Programming languages DIGITAL ELECTRONICS • ASSEMBLY language • C language • BASIC language
  • 29. PIC programming overview Programming PIC microcontrollers is a simple 3 steps process: • Write the code • Compile the code • Upload the code into a microcontroller DIGITAL ELECTRONICS KAFAZ-2020
  • 30. Examples of applications of PIC • Vehicle systems (example ABS) • Alarm systems and fire detection • Home security systems • Home automation systems • Telecommunications systems DIGITAL ELECTRONICS KAFAZ-2020