Introduction To Pic Microcontroller
Introduction To Pic Microcontroller
Introduction To Pic Microcontroller
MICROCONTROLLER
Overview and Features
• The term PIC stands for Peripheral Interface Controller .
• Microchip Technology, USA .
• Basically RISC microcontrollers
• 5 ports
• It has two types of internal memories .
• One is program memory and
• the other is data memory.
Features
• Speed :
• When operated at its maximum clock rate a PIC executes most of its instructions in
0.2 s or five instructions per microsecond.
• Instruction set Simplicity :
• The instruction set is so simple that it consists of only just 35 instructions
• Integration of operational features:
• Power-on-reset (POR) and brown-out protection ensure that the chip operates only
when the supply voltage is within specifications. A watch dog timer resets the PIC if
the chip malfunctions or deviates from its normal operation at any time.
• Programmable timer options:
• Three timers can characterize inputs, control outputs and provide internal timing for
the program execution.
Features
• Interrupt control:
• Up to 12 independent interrupt sources can control when the CPU deal with
each sources.
• Powerful output pin control:
• A single instruction can select and drive a single output pin high or low in its
0.2 s instruction execution time. The PIC can drive a load of up to 25A.
• I/O port expansion:
• With the help of built in serial peripheral interface the number of I/O ports
can be expanded. EPROM/DIP/ROM options are provided.
ARCHITECTURE - PIC16FXX - Harvard architecture
Memory organization and register file structure