MICROCONTROLLER TECHNOLOGY
CHAPTER 1:
Microcomputer System & Peripheral
Arithmetic Logic
Design Unit
Registers
1 2
3 4
Review of Microprocessor Review of Microprocessor
• Microprocessor alone is incapable of doing
anything. Additional components are required Address bus
to make use of microcomputer
• Along with microprocessor, a working system W
R/W
I/O
needs input/output interface, memory banks, 8085 Memory
EPROM
R
and other peripherals.
• Also being mentioned as microcomputer Data bus
system.
5 6
7 8
Comparison between Mirocomputer & Comparison between Mirocomputer &
Microcontroller Microcontroller
• Advantages
Single IC
– It is cheaper to purchase a microcontroller than all
of the components required for a microcomputer
MPU
– Reduced number of components makes
Memory I/O
production easier and reliable
Peripheral Devices
- A/D Converter
- Timer
- Serial I/O
9 10
11 12
Quick Q Quick Q
2. Which of the following is not one of the 3. Firmware is stored in which type of
buses in a microcomputer? memory?
a. Address a. ROM
b. Data b. RAM
c. Memory c. Write-only memory
d. Control d. Read/write memory
13 14
20
Features Families
• Program in Read Only Memory – ROM • Zilog Z8 series
• Limited RAM storage – for variables only • Intel 8051 series
• Built in I/O devices • Arm 32 bit microcontrollers
• Use very little power • MicroChip – PIC microcontrollers
21 22
23 24
ARM Processor PIC Microcontrollers
• One of the first RISC processors
• 32 Bit architecture
• Low transistor count compared to
conventional processors
• Very low power consumption
• Used in digital Phones and PDAs.
• At the top end of the micro-controller
performance spectrum.
25 26
27 28
PIC Microcontroller PIC Microcontroller
Harvard Architecture
• PIC16F877A Program memory and Data memory are separated
memories and they are accessed from separated
buses.
29 30
31 32
PIC Microcontroller RISC
• Instruction Set • PIC is a RISC (Reduced Instruction Set
- CISC (Complex Instruction Set Computer) Computer) design
Large quantity of every detailed commands • Only thirty seven instructions to remember
• Its code is efficient, allowing the PIC to run
- RISC (Reduced Instruction Set Computer)
with typically less program memory than its
Contains small number of key instructions larger competitors.
• It is low cost, high clock speed
33 34
35 36
Selecting Microcontroller Summary
• Choose one with good software development support • Microprocessors and embedded controllers
– good compiler and debugger availability
– evaluation boards
are a ubiquitous part of life today
– in-circuit emulators for those with deep pockets • These devices come in a wide variety of
– RTOS availability configurations and designs
• Beware of availability
– make sure you can actually purchase the • Headhunters report that EEs familiar with µC,
microcontroller before designing it in µP design are in the highest possible demand
* many micros are either phased out or just starting production,
so supply is limited
37
Next Lecture
• PIC16F877A Hardware description
• PIC software development
• Programming structures
39