Upload
others
View
16
Download
1
Embed Size (px)
Citation preview
1
Eng. Mohammed Al Hennawi
INTRODUCTION TO
MICROCONTROLLER
The Islamic University of Gaza
Electrical Engineering Department
What is a Microcontroller ?
is a computer inside a small chip
The microcontroller includes:
• CPU (Brain)
• Memory
• Peripherals (Input/Output)
2
Von Neumann and Harvard Computers
3
Types of microcontrollers4
PIC features:5
PIC features:
Memory Unit:
The purpose of memories is storing the data.
Flash Program Memory.
Data memory(RAM).
EEPROM.
6
PIC features:
Oscillator:
• LP Low Power Crystal
• XT Crystal /Resonator
• HS High Speed Crystal /Resonator
• RC Resistor/Capacitor
7
CPU
PIC features:
• RC Resistor/Capacitor
Note: Freq Increase>>current consumption increase, so the LP
mode is the best for application that don’t need accurate time.
8
Embedded System General Block
Diagram9
PICs Families:-
10
Minor differences between PICs Families:
o Power Consumption
o Speed
o Package size
o Memory Capacity
Software Requirements
Proteus.
QL-2006 programmer
MPLAB, MPASM.
MicroC.
FlowCode.
11
Data Sheet
PIC 16f84A
12