You are on page 1of 33

PIC Study Group

Session 1

Ahmed Abdien
Study Group Contents :

1-Introduction to PIC architecture

2-PIC softwares , programmer,


LCD & keypad interface

3-Some electronic circuits


components, DTMF, RC5

2 12/7/21
What PIC Stands for ?

• "Peripheral Interface Controller"

3 12/7/21
Why PIC ?

 Large user base, application notes.

 Low cost, wide availability.

 Serial programming.

4 12/7/21
PIC families

PIC10
   PIC12
   PIC14
   PIC16
   PIC17
   PIC18
   PIC24

5 12/7/21
How to choose ur chip
Microcontrollers
  Memory Type
   FLASH
   ENHANCED FLASH
   ROM    & if u want special
features
  I/O Pins
   4 - 18 Pin
   20 - 28 Pin
   32 - 60 Pin
   64 and Above

6 12/7/21
Special Features for PIC

   USB
   Ethernet
Motor Control
NanoWatt Technology
Radio Frequency
RfPIC™ Microcontrollers with UHF RF Transmitter
UHF RF Receiver  
  Battery Fuel Gauge ICs
  LCD
CAN

7 12/7/21
Programs used :

Compiler: CCS with MPLAB IDE

Simulating Program: Proteus

Writing Code : ICprog.

8 12/7/21
Architecture-PIC 16f628a

9 12/7/21
Architecture Overview

10 12/7/21
Von Neumann & Harvard Architecture

11 12/7/21
Instruction pipelining

12 12/7/21
Long Word Instruction

13 12/7/21
Block Diagram

14 12/7/21
Oscillator

15 12/7/21
Oscillator Modes Overview

16 12/7/21
Clock Modes

17 12/7/21
HS Mode
capacitors value datasheet

18 12/7/21
XT Mode

19 12/7/21
LP Mode

The Low Power (LP) mode is designed for


circuits where low power is a primary
concern. LP mode is engineered for use with a
32.768 kHz crystal, although it
can function at any frequency below 200 kHz.
The 32Khz crystal is commonly
used for timing-sensitive applications since
this frequency is easily divided down
to one that is suitable for timekeeping
functions.
20 12/7/21
It is important to note that in order to
produce accurate timing, the system
should
be as stable as possible with respect to
variables like temperature, voltage, etc

21 12/7/21
RC Mode

22 12/7/21
EXTRC Mode

23 12/7/21
EXTRC

24 12/7/21
25 12/7/21
INTRC

26 12/7/21
INTRC

27 12/7/21
28 12/7/21
ER Mode

29 12/7/21
The last mode is the External Resistor
(ER) mode which requires only one
resistor to operate. The value of the
resistor is what sets the frequency
range for
the ER mode. For information on the
frequency resulting from various resistor
values, refer to the device datasheet.
Similar to RC mode, ER mode has
moderate power consumption and is very
low cost.

30 12/7/21
31 12/7/21
Some Important Sites

http://www.microchip.com/stellent/idcp
lg?IdcService=SS_GET_PAGE&nodeId=
2047

http://www.microchip.com/stellent/idcp
lg?IdcService=SS_GET_PAGE&nodeId=
64

32 12/7/21
Thank you

Our Yahoo Group :

http://groups.yahoo.com/group/ieee_microcont
roller/

And see you next session ……..

33

You might also like