Embedded System: by Engr. Enrico Manalo
Embedded System: by Engr. Enrico Manalo
Outline
Definition of Embedded
Systems
Examples of Embedded System
Essentials in Embedded
System
Classifications of Embedded
System
Different Brands of a
Microcontroller
Embedded system
is a system whose principal
function is not computational,
but which is controlled by a
computer embedded within it.
Embedded System
Embedded System
Embedded System
Embedded System
Embedded System
Embedded System
Embedded System
What is Microprocessor ?
The Microprocessor is a
processor on one silicon
chip.
What is Microcomputer ?
Microcomputer is a computer
that uses a Microprocessor
MICROCOMPUTER HARDWARE
A Microprocessor
A Large Memory
(Primary and Secondary)
(RAM, ROM and caches)
Input Units
(Keyboard, Mouse, Scanner, etc.)
Output Units
(Monitor, printer, etc.)
Networking Units
(Ethernet Card, Drivers, etc.)
I/O Units
(Modem, Fax cum Modem, etc.)
What is Microcontroller ?
A Microcontroller is a
programmable digital
processor with necessary
peripherals.
Microprocessor vs Microcontroller
PROCESSOR
A Processor is the heart of the
Embedded System.
Processor technology
General-purpose processors
Programmable device used in a
variety of applications
Also known as microprocessor
Application-specific processors
Programmable processor optimized for a particular class of
applications having common characteristics
Compromise between general-purpose and single-purpose
processors
Single-purpose processors
Digital circuit designed to execute exactly one Program
a.k.a. coprocessor, accelerator or peripheral
MICROCONTROLLER
A microcontroller is a functional
computer system-on-a-chip. It contains a
processor, memory, and programmable
input/output peripherals.
Microcontrollers include an integrated
CPU, memory (a small amount of RAM,
program memory, or both) and peripherals
capable of input and output.
VARIOUS MICROCONTROLLERS
INTEL
8031,8032,8051,8052,8751,8752
PIC
8-bit PIC16, PIC18,
16-bit DSPIC33 / PIC24, PIC16C7x
Motorola
MC68HC11
Atmel
AT328
EMBEDDED PROCESSOR
Special microprocessors & microcontrollers
often called, Embedded processors.
An embedded processor is used when fast
processing fast context-switching & atomic
ALU operations are needed.
Examples : ARM 7, INTEL i960, AMD 29050.
What is PIC ?
PIC Characteristics
RISC CPUs
8-bit
16-bit
Number of I/O pins: 4-70
Memory types and sizes:
Flash; OTP
0.5k 256k
PIC Characteristics
All PICs require oscillators to execute
instructions:
Internal* (low speeds, up to 8 MHz)
External (high speeds, up to 40 MHz)
Instructions are executed at least at
oscillator speed (4
clocks/instruction)
(*Note: not all PICs have internal
oscillators)
PIC Characteristics
A/D converters and C/C modules
All PICs have between 0 and 16 A/D
converters with 8/10-bit resolution
8-16 bit Timers/Counters
Comparator Modules (0-2)
PIC Characteristics
PORT FUNCTION
ALL PORTS IN A PIC MICROCONTROLLER
ARE BIDIRECTIONAL PORTS
INITIALIZE PORT BY SETTING ( LOGIC 1 )
THOSE PORT TO MAKE IT AS OUTPUT
INITIALIZED PORT BY CLEARING ( LOGIC 0
)
THOSE PORT TO MAKE IT AS INPUT
PIC Architecture
PROGRAMMING A MICROCONTROLLER
C Source File
Assembly
Language File
C Compiler/Linker
Assembler/Linker
Device Programmer
Programming PIC IC
Getting Started with PIC Programming
Download an MPLAB IDE
@ http://microchip.com
Programming PIC IC
Getting Started with PIC Programming
LED Blinking
Delay
Delay
5.
Learn by Doing
Excel Thru Experimentation
Lead by Example
Thank You!!!