030 220 160 429

 

 

Representation 8pin, 18pin, 28pin, 44pin, 64pin  8-Bit CMOS Microcontrollers

PIN
OUT

Device

 

Data
Mem
(Flash)

S
RAM

EEP
ROM

I/O

10-bit
A/D

ECCP
/CCP

EUS
ART

MS
SP

Com
parators

Timers
(8/16)

Device

 

 

8

PIC12F508
PIC12F509

*

512
1024

25
41

-

6

-

-

-

-

-

1/0

12F508
12F509

0.41
0.49

-
50-26.84

8

PIC12F629
PIC12F675

*

1024

64

128

6

-
4

-

-

-

1

1/1

12F629
12F675

1.75
0.99

-
100-29.0

8

PIC12F683

**

2048

128

256

6

4

-

-

-

1

2/1

12F683

0.91

100-48.8

18

PIC16C84

 

1024(EEP)

36

64

13

-

-

-

-

-

1/0

16C84

 

-

18

PIC16F84A

 

1024

68

64

13

-

-

-

-

-

1/0

16F84A

3.11

-

18

PIC16F716

 

2048

128

256

13

4(8bit)

1/1

-

-

-

2/1

16F716

0.77

50-26.35

28

PIC16F882
PIC16F883
PIC16F886

***

2048
4096
8192

128
256
368

128
256
256

24

11

1/1

1

1

2

2/1

16F882
16F883
16F886

xxx
1.37
1.49

-
50-42.99

50-55.00

44

PIC16F884
PIC16F887

***

4096
8192

256
368

256

35

14

1/1

1

1

2

2/1

16F884
16F887

1.63
1.78

-
50-55.20

64

PIC16F946

**

8192

336

256

53

8

0/2

-

-

-

2/1

16F946

2.31

50-57.34

 

                * 4 MHz Precision Internal Oscillator
              
 ** Software selectable frequency range of 8 MHz to 125 kHz   (2.0V-5.5V)
               *** Software selectable frequency range of 8 MHz to 31 kHz   (2.0V-5.5V)
               PIC12F509 ?? MDT10P509

      

 

Feature  

PIC16F88X

PIC16F87X

Max Operating Speed

20 MHz

20 MHz

Max Program Memory (Words)

8192

8192

SRAM (bytes)

368

368

A/D Resolution

10-bit

10-bit

Data EEPROM (Bytes)

256

256

Timers (8/16-bit)

2/1

2/1

Comparator

2

2

Oscillator Modes

8

4

Brown-out Reset

Y (2.1V/4V)

Y

Software Control Option WDT/BOR

Y

N

Internal Pull-ups

RB<7:0>, MCLR

RB<7:4>

Interrupt-on-change

RB<7:0>

RB<7:4>

References

CVREF & VP6

CVREF

ECCP/CCP

1/1

0/2

Ultra Low-Power Wake-Up

Y

N

Extended WDT

Y

N

INTOSC Frequencies

32 kHz ~ 8 MHz

N

Clock Switching

Y

N

MSSP  

w/Slave Address Mask

Standard

USART  

EUSART

AUSART

ADC Channels

14

8

 

 

 

 

 


Microchip社
마이컴 (마이크로콘트롤러 ; 마이크로制御機 ; Micro-controller)

     ※ ARM(Advanced RISC Machine) : 고성능 저전력(High Performance, Low Power). 모바일 등 휴대기기에 많이 사용. 32bit
                                                    1985년 4월 26일 영국의 캠브리지에 있는 Acron Computers에 의해서 탄생.
                                                    1990년 11월에
애플사VLSI의 조인트 벤처 형식으로 ARM(Advanced RISC Machines Ltd.)가 생김.


     ※ DSP(Digital Signal Processor) : 다양한 신호 처리 및 고속 연산에 유리하도록 특별히 제작한 MCU로,
                                                  하드웨어 적으로 부동 소수점(floating point)을 연산하거나 MAC(multiplication and accumulation,
                                                  덧셈과 곱셈을 한 사이클에 수행) 연산 기능, 빠른 외부 메모리 인터페이스 등이 특징

     ※ 8051(MCS-51 Family)

     ※ AVR
: Alf(Bogen) Vergard(Wollen) Risc 의 약자로서 ATMEL사에서 제작된 RISC 구조의 MPU

     ※ PIC

8-bit Microcontrollers   PIC10, 12, 14, 16, 18

      

 

  이 마이컴은 Microprocessor인 CPU(Central Processing Unit)에 메모리와 I/O포트를 결합하여 하나의 대규모 집적회로인 VLSI형태의 소형 원칩 컴퓨터이다. 하드웨어 구성은 제어, 연산, 입력과 출력 등 컴퓨터의 일반적 기능을 갖는 소형 컴퓨터로 8pin, 14pin, 18pin, 20pin,28pin, 40pin 등 많은 종류가 있으며 메이커에 따라 여러 제어 기능을 하는 것이 많으며 A/D변환기가 내장된 마이컴도 많이 있다.
 대표적인 원칩 마이컴으로 8051, 80196, PIC 등이 있으며 특히
PIC(Peripheral Interface Controller ; ???Programmable Interrupt Controller)는 다 품종이 있으며 출력 구동능력이 20~25mA정도로 8051 등 보다 매우큰 편이다.  또한 PIC Family는 제품의 소형화, 적은 비용으로 개발이 가능하며 다양한 개발 환경에 맞는 다양한 종류의 마이컴을 출시 하고 있다.   RISC(Reduced Instruction Set Code)
PIC 시리즈는 분기 명령만 2개 사이클이 필요할 뿐, 그 외의 명령들은 1개 사이클에 수행된다

PIC용 C컴파일러  : HI-TECH PICC-Compiler, CCS-C PIC C-Compiler(PCWH Compiler),  IAR System Midrange,
                              
MPLAB C18C Compiler IAR PIC18  등
PIC용 ASM컴파일러 & 통합개발환경  : MPLAB IDE, MR.PIC V12.7 (mrpidev127.exe  ; http://www.comfile.co.kr)
PIC용 Writer : PICKIT2, PICKIT3, ICD2, ICD3 ...............
 

           ALL07     AT1006
 

USB PIC Writer


PK2S (Mykit)




PICkit2 (Microchip)

F88x -> RB3, RB4

Baseline Device
PIC10F200, 202, 204, 206  
PIC10F220, 222  
PIC12F508, 509, 510, 519  
PIC16F505, 506, *526  
PIC16F54, 57, 59

Midrange Device
PIC12F609, HV609

PIC12F615, HV615  
PIC12F629, 635, 675, 683  
PIC16F610, HV610  
PIC16F616, HV616  
PIC16F627, 628
PIC16F627A, 628A, 648A  
PIC16F630, 631, 636, 639, 676  
PIC16F677, 684, 685, 687  
PIC16F688, 689, 690  
PIC16F72  






PIC16F73, 74
, 76, 77  
PIC16F716  
PIC16F737, 747, 767, 777  
PIC16F785, HV785  
PIC16F84A, 87, 88  
PIC16F818, 819  
PIC16F870, 871, 872  
PIC16F873, 874, 876, 877  
PIC16F873A, 874A, 876A, 877A  
PIC16F883, 884, 886, 887  
PIC16F913, 914, 916,
917  
PIC16F946
  
 * indicates new devices in this version

PIC18 Device
PIC18F242, 252, 442, 452  
PIC18F248, 258, 448, 458  
PIC18F1220, 1320, 2220, 2320
PIC18F1230, 1330 PIC18F2221, 2321   PIC18F2331, 2410, 2420, 2431
PIC18F2423, 2523 
PIC18F2450, 2455, 2480  
PIC18F2510, 2515, 2520, 2525  
PIC18F
2550, 2580, 2585  
PIC18F2610, 2620, 2680
PIC18F2682, 2685 
PIC18F4220, 4320, 4331, 4410
PIC18F4221, 4321, 4423, 4523 
PIC18F4420, 4431, 4450, 4455  
PIC18F4480, 4510, 4515,
4520  
PIC18F4525,
4550, 4580, 4585  
PIC18F4610, 4620, 4680
PIC18F4682, 4685
PIC18F6310, 6390, 6410, 6490  
PIC18F6520, 6620, 6720, 8520
PIC18F6525, 6585, 6621, 6680
PIC18F8310, 8390, 8410, 8490
PIC18F8525, 8585, 8621, 8680
PIC18F8620, 8720  
PIC18F6527, 6622, 6627, 6722  
 


PIC18F8527, 8622, 8627, 8722
PIC18F24J10, 25J10, 44J10, 45J10 PIC18F65J10, 65J15, 66J10, 66J15 PIC18F67J10  
PIC18F66J60, 66J65, 67J60  
PIC18F85J10, 85J15, 86J10, 86J15 PIC18F87J10  
PIC18F86J60, 86J65, 87J60  
PIC18F96J60, 96J65, 97J60

PIC18F13K50, 14K50
PIC18F24K20, 25K20, 26K20
PIC18F44K20,
45K20, 46K20



PIC24 Device (16bit)

PIC24FJ64GA006, 64GA008, 64GA010
PIC24FJ96GA006, 96GA008, 96GA010 PIC24FJ128GA006, 128GA008, 128GA010 PIC24HJ64GP206, 64GP210, 64GP506,                          64GP510
PIC24HJ128GP206, 128GP210, 128GP306,                            128GP310

PIC24HJ128GP506, 128GP510   PIC24HJ256GP206, 256GP210, 256GP610  

dsPIC33 Device
dsPIC33FJ64GP206, 64GP306, 64GP310
dsPIC33FJ64GP706, 64GP708, 64GP710 dsPIC33FJ128GP206, 128GP306, 128GP310 dsPIC33FJ128GP706, 128GP708, 128GP710 dsPIC33FJ256GP506, 256GP510, 256GP710 -   dsPIC33FJ64MC506, 64MC508, 64MC510 dsPIC33FJ64MC706, 64MC710   dsPIC33FJ128MC506, 128MC510   dsPIC33FJ128MC706, 128MC708, 128MC710 dsPIC33FJ256MC510, 256MC710


 

ICSP cable configurations strange problem.(12F675 only)

  

            

 PIC12F675
Vpp-Vdd, DAT-CLK is not used in pairs.(Earphone Cable)


      Vpp-Vdd : Download
is OK. But, It does not operate. IC damage.
(Fatal Error  ??? not operate)
      DAT-CLK : 12F675 is not visible to the pickit2. The download was denied.
                      (PKWarn0003: Unexpected device ID:  Please verify that a PIC12F675 is correctly installed in the application.)
      ※ Vpp and Vdd, Vpp and GND, CLK and DAT must be separated. (Do not twist.)



12F675     2016-02

 

Device

ICSP

Operating



   • PIC18FxxKxx :
     Single-supply
3V In-Circuit Serial Programming™ (ICSP™) via two pins

   • Operating voltage range:

     - PIC18F1XK50 : 1.8V to 5.5V
     - PIC18LF1XK50 : 1.8V to 3.6V

PIC16F883

5V

2.0V~5.5V

PIC18F1xK50

3V

1.8V~5.5V

PIC18LF1xK50

3V

1.8V~3.6V

PIC18FxxK20

3V

1.8V~3.6V

PIC18FxxK22

3V

Full 5.5V

PIC18LFxxK22

3V

1.8V~3.6V

 


    list    P=16F84A
    radix   HEX

   __CONFIG    _WDT_OFF&_XT_OSC&_CP_OFF&_PWRTE_ON

_CP_OFF     EQU  0X3FFF   ; code protection off
_PWRTE_ON   EQU  0X3FF7   ; power up timer enable
                          ; 16C84 = 0X3FFF; 16F84 = 3FF7
_WDT_OFF    EQU  0X3FFB   ; watch dog timer off
_XT_OSC     EQU  0X3FFD   ; crystal oscillator

常數;constant
**********************************************************
Index     EQU       0Ch      
Help      EQU       0Eh
LED1      equ       0Fh
LED2      equ       010h
LED3      equ       011h
**********************************************************
**********************************************************
   CBLOCK  0X0C    ; Start RAM Add.
Index  
Help   
LED1   
LED2   
LED3   
   ENDC
**********************************************************

 

 

Device

 

Data
Mem

S
RAM

EEP
ROM

I/O

10-bit
A/D

ECCP
/CCP

EUS
ART

MS
SP

Com
parators

Timers
(8/16)

Device

 

 

8

PIC12F508
PIC12F509

*

512
1024

25
41

-

6

-

-

-

-

-

1/0

12F508
12F509

0.41
0.49

 

8

PIC12F629
PIC12F675

*

1024

64

128

6

-
4

-

-

-

1

1/1

12F629
12F675

1.75
0.99


100-29.0

8

PIC12F683

**

2048

128

256

6

4

-

-

-

1

2/1

12F683

0.91

100-48.8

18

PIC16F84A

 

1024

68

64

13

-

-

-

-

-

1/0

16F84A

3.11

 

18

PIC16F716

 

2048

128

256

13

4(8bit)

1/1

-

-

-

2/1

16F716

0.77

50-26.35

28

PIC16F882
PIC16F883
PIC16F886

**

2048
4096
8192

128
256
368

128
256
256

24

11

1/1

1

1

2

2/1

16F882
16F883
16F886

xxx
1.37
1.49



0

44

PIC16F884
PIC16F887

**

4096
8192

256
368

256

35

14

1/1

1

1

2

2/1

16F884
16F887

1.63
1.78


50-55.20

64

PIC16F946

**

8192

336

256

53

8

0/2

-

-

-

2/1

16F946

2.31

50-57.34

 

                * 4 MHz Precision Internal Oscillator
              
 ** Software selectable frequency range of 8 MHz to 125 kHz

 

ICD2  <------   Cross Cable   ------> Target

 



Pro ENGINE2 (USB type)


        - PC의 프린터포트(or USB)에 연결하는 방식              ↑
        - PIC12/14/16 패밀리를 지원 (일부 디바이스 지원안함)
        - 18V 200mA 아답터 사용

 

지원디바이스 목록 (MR.PIC IDE V 12.7)

CF745, 775
PIC12C508/A, 509/A, 671, 672
 → DIP타입 라이팅시
ENG-DIP1214 소켓 필요!
PIC12CE518, 519, 673, 674
 → DIP타입 라이팅시
ENG-DIP1214 소켓 필요!
PIC12F629, 675  → DIP타입 라이팅시
ENG-DIP1214 소켓 필요!
PIC14C000  → DIP타입 라이팅시
ENG-DIP1214 소켓 필요!
PIC16C52, 54/A, 54C, 55/A, 56/A, 57/C, 58A, 58B
PIC16C505  → DIP타입 라이팅시
ENG-DIP1214 소켓 필요!
PIC16C554, 558
PIC16C62A, 62B, 63/A, 64/A, 65/A, 65B, 66, 67
PIC16C620/A, 621/A, 622/A
PIC16CE623, 624, 625
PIC16C642, 662
PIC16C71, 72/A, 73/A, 73B, 73C, 74/A, 74B, 74C, 76, 77/A
PIC16C710, 711, 712, 715, 716, 745, 765, 773, 774
PIC16C84
PIC16C923, 924
PIC16C925, 926  → DIP타입 라이팅시
ENG-12DIP 소켓 필요!
PIC16F627/A, 628/A
PIC16F630, 676  → DIP타입 라이팅시
ENG-DIP1214 소켓 필요!
PIC16F72, 73, 74, 76, 77, 716
PIC16F83, 84, 84A
PIC16F870, 871, 872, 873/A, 874/A, 876/A, 877/A


ENG-DIP1214

40pin

1

32

31

40

39

8pin

4

1

8

7

6

*

VPP

VDD

GND

DAT

CLK

 

 

 

BaseLine

Flash bytes
(Word)
SRAM (Bytes) EEPROM (Kbytes) Max I/O Pins F.max (MHz) 16-bit Timers 8-bit Timer Comp 10-bit A/D (Channels)  

PIC10F200

384(256) 16   4     1-8bt - -

60T, 8pin

PIC10F202

768(512)

24   4     1-8bt - -

60T, 8

PIC10F204

384(256)

16   4     1-8bt 1 -

60T, 8

PIC10F206

768(512)

24   4     1-8bt 1 -

60T, 8

PIC10F220

384(256)

16   4     1-8bt - 3x8bit

60T, 8

PIC10F222

768(512)

23   4     1-8bt - 3x8bit

60T, 8

PIC12F508

768(512)

25   6     1-8bt - 3x8bit

8,  SN

PIC12F509

1,536(1,024)

41   6     1-8bt - -

8,  SN

PIC12F510

1,536(1,024)

38   6     1-8bt 1 -

8,  SN

PIC12F519*new

1,536(1,024)

41   6     1-8bt ? 3x8bit

8,  SO

PIC16F505

1,536(1,024)

72   12     1-8bt - 3x8bit 14 Sl ST

PIC16F506

1,536(1,024)

67   12     1-8bt 2 - 14  SO/ST

PIC16F526*new

1,536(1,024)

67

 

12?

 

 

1-8bt 2 3x8bit 14 /SO

PIC16F54

768(512)

25   12     1-8bt - - 18 SO/SS

PIC16F57

3,072(2,048)

72   20     1-8bt - - 28 SO/SS

PIC16F59

3,072(2,048)

134   32     1-8bt - - 40 / PT

 

MidRange

Flash bytes
(Word)
SRAM (Bytes) EEPROM (Kbytes) Max I/O Pins WTD 16-bit Timers 8-bit Timer Comp 10-bit A/D (Channels)  

PIC12F629

1,792(1,024)

64 128 6 1-WDT 1-16bit 1-8bit 1 -

8pin

PIC12F675

1,792(1,024)

64 128 6 1-WDT 1-16bit 1-8bit 1 4x10bit

8pin

PIC12F683

3,584(2,048)

128

256 6 1-WDT 1-16bit 2-8bit 1 4x10bit

8pin

PIC12F635

1,792(1,024)

64 128 6 1-WDT 1-16bit 1-8bit 1 -

8pin

PIC16F630

1,792(1,024)

64 128 12 1-WDT 1-16bit 1-8bit 1 -

14pin

PIC16F676

1,792(1,024)

64 128 12 1-WDT 1-16bit 1-8bit 1 8x10bit

14pin/SO?

PIC16F684

3,584(2,048)

128

256 18 1-WDT 1-16bit 2-8bit 2 8x10bit

20pin

PIC16F636

3,584(2,048)

128

256 12 1-WDT 1-16bit 1-8bit 2 -

14pin

PIC16F639

3,584(2,048)

128

256 12 1-WDT 1-16bit 1-8bit 2 -

14pin

PIC16F688

7,168(4,096) 

256

256 12 1-WDT 1-16bit 1-8bit 2 8x10bit

14pin

PIC16F785

3,584(2,048)

128

256 17+1 1-WDT 1-16bit 2-8bit 2

12x10bit

20pin

PIC16F631

1,792(1,024)

64 128 18 1-WDT 1-16bit 2-8bit 2 12x10bit

20pin/SO/SS/QFN

PIC16F676

3,584(2,048)

128 256 18 1-WDT 1-16bit 1-8bit 2 12x10bit

20pin/SO/SS/QFN

PIC16F677

3,584(2,048)

128 256 18 1-WDT 1-16bit 1-8bit 2 12x10bit

20pin/SO/SS/QFN

PIC16F685

7,168(4,096) 

256

256 18 1-WDT 1-16bit 2-8bit 2 12x10bit

20pin/SO/SS/QFN

PIC16F687

3,584(2,048)

128

256 18 1-WDT 1-16bit 1-8bit 2 12x10bit

20pin/SO/SS/QFN

PIC16F689

7,168(4,096) 

256

256 18 1-WDT 1-16bit 2-8bit 2 12x10bit

20pin/SO/SS/QFN

PIC16F690

7,168(4,096) 

256

256 18 1-WDT 1-16bit 2-8bit 2 12x10bit 20pin/SO/SS/Q

PIC16F883

7,168(4,096) 

256

256 1 1-WDT 1-16bit 2-8bit 2 12x10bit 28pin/SO/SS/Q

PIC16F887

14k(8k)

368

256 1 1-WDT 1-16bit 2-8bit 2 12x10bit 44pin/TQFP

PIC16F946

7,168(4,096) 

336

256 1 1-WDT 1-16bit 2-8bit 2 12x10bit 64pin/TQFP

 

PIC18F Series

Flash bytes
(Word)
SRAM (Bytes) EEPROM (Kbytes) Max I/O Pins PWM 16-bit Timers 8-bit Timer Comp 10-bit A/D (Channels)  

PIC18F6520

16 384(32k) 2048 1024 52 5 3 2   12 64pin TQFP

PIC18F8520

32 768(64k)

3840

1024

52

5

3

2

 

12

80pin TQFP

PIC18F6620

65536(128k)

3840

1024

52

5

3

2

 

12

64pin TQFP

PIC18F8620

16 384(32k) 2048 1024

68

5

3

2

 

16

80pin TQFP

PIC18F6720

32 768(64k)

3840

1024

68

5

3

2

 

16

64pin TQFP

PIC18F8720

65536(128k)

3840

1024

68

5

3

2

 

16

80pin TQFP

PIC18F2420

8193(16k)

768

256

25

2

3

1

2

10

28pin DIP/SOIC

PIC18F2520

16384(32k)

1536

256

25

2

3

1

2

10

28pin DIP/SOIC

PIC18F4420

8193(16k)

768

256

36

1

3

1

2

13

40pinDIP/44TQFP

PIC18F4520

16384(32k)

1536

256

36

1

3

1

2

13

40pinDIP/44TQFP

 





TEST source


 8pin  •
PIC12F508  • PIC12F629  • PIC12F635  • PIC12F509  • PIC12F675  • PIC12F683  • PIC12F510
14pin  • PIC16F505  • PIC16F630  • PIC16F684  • PIC16F506  •
PIC16F676  • PIC16F688
20pin  • PIC16F685  • PIC16F689  • PIC16F785  • PIC16F687  •
PIC16F690
 

Low Pin Count Demo Board

8-pin DIP Flash Devices:
PIC12F508  • PIC12F629  • PIC12F635
• PIC12F509  • PIC12F675  • PIC12F683
• PIC12F510

14-pin DIP Flash Devices:
• PIC16F505  • PIC16F630  • PIC16F684
• PIC16F506  • PIC16F676  • PIC16F688

20-pin DIP Flash Devices:
• PIC16F685  • PIC16F689  • PIC16F785
• PIC16F687  • PIC16F690

 




28-Pin Demo Board

PIC16F57   PIC16CR63   PIC18F2510
PIC16F72   PIC16CR72   PIC18F2520
PIC16F73   PIC16CR73   PIC18F2515
PIC16F737   PIC16CR76   PIC18F2523
PIC16F767   PIC18F2220   PIC18F2525
PIC16F870   PIC18F2221   PIC18F2550
PIC16F872   PIC18F2320   PIC18F2580
PIC16F873A   PIC18F2321   PIC18F2585
PIC16F876A   PIC18F2331   PIC18F2610
PIC16F913   PIC18F2410   PIC18F2620
PIC16F916   PIC18F2420   PIC18F2680
PIC16C55A   PIC18F2423   PIC18F2682
PIC16C62B   PIC18F2431   PIC18F2685
PIC16C63A   PIC18F2450   PIC18F24J10
PIC16C745   PIC18F2455   PIC18F25J10
PIC16C773   PIC18F2480

 




44-Pin Demo Board

• PIC16F74   • PIC16F747   • PIC16F77
• PIC16F777  • PIC16F871   • PIC16F874A
• PIC16F877A • PIC16F887   • PIC16F914
• PIC16F917  • PIC18F4220  • PIC18F4221
• PIC18F4320 • PIC18F4321  • PIC18F4331
• PIC18F4410 • PIC18F4420  • PIC18F4423
• PIC18F4431 • PIC18F4450  • PIC18F4455
• PIC18F4480 • PIC18F44J10 • PIC18F4510
• PIC18F4515 • PIC18F4520  • PIC18F4523
• PIC18F4525 • PIC18F4550  • PIC18F4580
• PIC18F4585 • PIC18F45J10 • PIC18F4610
• PIC18F4620 • PIC18F4680  • PIC18F4682
• PIC18F4685

 





Crystal Frequency Designator
 

LP

Low Power Crystal

RC

Resistor Capacitor

XT

Standard Crystal/Resonator

HS

High Speed Crystal

02

2MHz

04

200kHz (LP mode)

04

4 MHz (XT & RC mode)

10

10 MHz

20

20 MHz

25

25 MHz

33

33MHz



Specification of ICSP  (PIC16F84A)

    The PIC16F84A program is written into flash memory. In order to program the flash memory the following specification is used.

The following five pins are used for reading and writing the data.
Pin Name Pin No. During Programming
Pin Name Pin Type Pin Description

RB6

12 CLOCK I Clock input

RB7

13 DATA I/O Data input/output

MCLR

4 VTEST MODE P Program Mode Select

VDD

14 VDD P Power Supply

VSS

5 VSS P Ground
I = Input,O = Output,P = Power
To activate the programming mode, high voltage( VHH =
+13V ) must be applied to the MCLR input.
Also, +5V is applied to VDD.
    Program/Verify Mode
(1) RB6, RB7 and MCLR are made 0V (Low).
(2) Raise MCLR pin from 0V(Low) to +13V(VHH).
The PIC is now in Program/Verify mode.

 




PIC16F84A
PIC16F627   628




 




 







 

 



 

The PCB is for 12 BIT parts and PCM is for 14 BIT parts.
PCB:
MTA81010,PIC12C508,PIC12C509,PIC16C505,PIC16C52,PIC16C54,PIC16C54A,PIC16C54B,PIC16C55, PIC16C56,PIC16C57,PIC16C57A,PIC16C57B,PIC16C58,PIC16C58A,PIC16C58B,
PCM:
PIC12C671,PIC12C672,PIC14000,PIC16C554,PIC16C556,PIC16C558,PIC16C61,PIC16C62,
PIC16C20,PIC16C621,PIC16C622,PIC16C62A,PIC16C63,PIC16C63EM,PIC16C64,PIC16C641,
PIC16C642,PIC16C64A,PIC16C65,PIC16C65A,PIC16C66,PIC16C661,PIC16C662,PIC16C67,
PIC16C70,PIC16C71,PIC16C710,PIC16C711,PIC16C715,PIC16C71A,PIC16C72,PIC16C73,
PIC16C73A,PIC16C73EM,PIC16C74,PIC16C74A,PIC16C76,PIC16C77,PIC16C83,PIC16C84,
PIC16C84A,PIC16C923,PIC16C924,PIC16CR84,PIC16F83,PIC16F84

 

Built-in Functions:

 
Standard C Char
atoi()
atol()
atoi32()
atof()
tolower()
toupper()
isalnum()
isalpha()
isamoung()
isdigit()
islower()
isspace()
isupper()
isxdigit()
strlen()
strcpy()
strncpy()
strcopy()
strcmp()
stricmp()
strncmp()
strcat()
strstr()
strchr()
strrchr()
strtok()
strspn()
strcspn()
strpbrk()
strlwr()
 
Delays
delay_cycles()
delay_us()
delay_ms()
 
Capture / Compare / PWM
setup_ccpX()
set_pwmX_duty()
 
Processor Controls
sleep()
reset_cpu()
restart_cause()
disable_interrupts()
enable_interrupts()
ext_int_edge()
read_bank()

Standard C Memory
memset()
memcpy()
 
RS232 I/O
getc()
putc()
gets()
puts()
printf()
kbhit()
set_uart_speed()
 
I2C I/O
i2c_start()
i2c_stop()
i2c_read()
i2c_write()
i2c_poll()
 
Discrete I/O
output_low()
output_high()
output_float()
output_bit()
input()
output_X()
input_X()
port_b_pullups()
set_trix_X()
 
SPI 2 Wire I/O
setup_spi()
spi_read()
spi_write()
spi_data_is_in()
 
Parallel Slave I/O
setup_psp()
psp_input_full()
psp_output_full()
psp_overflow()
 
Timers
setup_timer_X()
set_timer_X()
get_timer_X()
setup_counters()
setup_wdt()
restart_wdt()

Standard C Math

abs()
abs32()
acos()
asin()
atan()
ceil()
cos()
exp()
floor()
labs()
log()
log10()
pwr()
sin()
sqrt()
tan()
 
A/D Conversion
setup_adc_ports()
setup_adc()
set_adc_channel()
read_adc()
 
Analog Compare
setup_comparator()
 
Voltage Ref
setup_vref()
 
Internal EEPROM
read_eeprom()
write_eeprom()
read_program_eeprom()
write_program_eeprom()
read_calibration()
 
Bit Manipulation
shift_right()
shift_left()
rotate_right()
rotate_left()
bit_clear()
bit_set()
bit_test()
swap()


Pre-Processor:

 
Standard C
#define
#undef
#include
#if
#ifdef
#ifndef
#else
#endif
#list
#nolist
#error
#pragma

 
Function Qualifiers
#inline
#seperate
#int_XXXXX
#int_global
#int_default

 
Standard C
#device #id #fuses

Libraries
#use delay
#use rs232
#use i2c
#use standard_io
#use fixed_io
#use fast_io

 
Standard C
#byte
#bit
#locate
#reserve
#rom
#zero_ram
#asm
#endasm

 
Standard C
#case
#opt
#priority
__date__
__device__
__pcb__
__pcm__
__pch__

 


Standard C:

    IF, ELSE, WHILE, DO, SWITCH, CASE, FOR, RETURN, GOTO, BREAK, CONTINUE

    !   ~   ++   --   +   -   ,   &   |  

    *   /   %   <<   >>   ^   &&   ||   ?:  

    <   <=   >   >=   ==   !=  

    =   +=   -=   *=   /=   %=   >>=   <<=   &=   ^=   |=

    TYPEDEF, STATIC, AUTO, CONST, ENUM, STRUCT, UNION

    Arrays up to 5 subscripts

    Structures and Unions may be nested.

    Custom bit fields (1-8 bits) within structures.

    ENUMurated types

    CONSTant variables, arrays and strings.

    Full function parameter support (any number).

    Some support for C++ reference parameters.

 
PICmicro® Microcontrollers By Family
  PIC12 Microcontroller Family
  PIC14 Microcontroller Family
  PIC16 Microcontroller Family
  PIC17 Microcontroller Family
  PIC18 Microcontroller Family

 

8-18/20 pin, .5k-2k word (0.7-3.5k bytes) devices

 

spacer

 

Parameter

PIC16F88

PIC16F84A

PIC16F870

PIC16F873A

PIC16F877A

PIC16F627A

PIC18F1220

PIC18F1320

Package
Relative cost

Prog memory
RAM
EE memory

Input/outputs
ADC
Serial port
Comparators

Internal RC Osc
14 bit lookup

Code protection

18 pins
2.4

4096 x 14 bits
368 x 8 bits
256 x 8 bits

16
10 bit 7 inputs
USART
2

Yes
Yes

Extremely good

18 pins
3.4

1024 x 14 bits
68 x 8 bits
64 x 8 bits

13
None
None
None

No
No

Very good

28 pins
2.8

2048 x 14 bits
128 x 8 bits
64 x 8 bits

22
10 bit 5 inputs
USART
None

No
Yes

Very good

28 pins
4.0

4096 x 14 bits
192 x 8 bits
128 x 8 bits

22
10 bit 5 inputs
USART
2

No
Yes

Extremely good

40 pins
4.7

8192 x 14 bits
368 x 8 bits
256 x 8 bits

33
10 bit 8 inputs
USART
2

No
Yes

Extremely good

18 pins
1.5

1024 x 14 bits
224 x 8 bits
128 x 8 bits

16
None
USART
2

Yes
No

Extremely good

18 pins
2.8

2048 x 16 bits
256 x 8 bits
256 x 8 bits

16
10 bit 7 inputs
USART
None

Yes
Yes

Extremely good

18 pins
3.2

4096 x 16 bits
256 x 8 bits
256 x 8 bits

16
10 bit 7 inputs
USART
None

Yes
Yes

Extremely good

 

Device

Opc

ROM

RAM

I/O

H/W Features

MTA81010

B

512

25

12

TIM0

PIC12C508

B

512

25

6

POR TIM0

PIC12C508A

B

512

25

6

POR TIM0

PIC12C509

B

1024

41

6

POR TIM0

PIC12CR509A

B

1024

41

6

POR TIM0

PIC12C509A

B

1024

41

6

POR TIM0

PIC12CE518

B

512

25

6

EEPROM(64) POR TIM0

PIC12CE519

B

1024

40

6

EEPROM(64) POR TIM0

PIC12F629

M

1024

64

6

EEPROM(128) COMP VREF POR TIM0 TIM1

PIC12C671

M

1024

128

6

ADC(4)/8PINPOR TIM0

PIC12C672

M

2048

128

6

ADC(4)/8PINPOR TIM0

PIC12CE673

M

1024

128

6

ADC(4)/8PINPOR TIM0

PIC12CE674

M

2048

128

6

ADC(4)/8PINPOR TIM0

PIC12F675

M

1024

64

6

EEPROM(128) COMP VREF VREF POR TIM0 TIM1

PIC14000

M

4031

192

20

ADC(16)/16BIT I2C POR TIM0

PIC16C52

B

384

25

12

POR TIM0

PIC16C54

B

512

25

12

POR TIM0

PIC16C54A

B

512

25

12

POR TIM0

PIC16CR54A

B

512

25

12

POR TIM0

PIC16C54B

B

512

25

12

TIM0

PIC16CR54B

B

512

25

12

POR TIM0

PIC16CR54C

B

512

25

12

POR TIM0

PIC16C54C

B

512

25

12

TIM0

PIC16C55

B

512

24

20

POR TIM0

PIC16C55A

B

512

24

20

POR TIM0

PIC16C56

B

1024

25

12

POR TIM0

PIC16CR56A

B

1024

25

12

POR TIM0

PIC16C56A

B

1024

25

12

POR TIM0

PIC16C57

B

2048

72

20

POR TIM0

PIC16C57A

B

2048

72

20

TIM0

PIC16CR57A

B

2048

72

20

POR TIM0

PIC16CR57B

B

2048

72

20

POR TIM0

PIC16C57B

B

2048

72

20

TIM0

PIC16C57C

B

2048

72

20

TIM0

PIC16CR57C

B

2048

72

20

TIM0

PIC16C58

B

2048

73

12

TIM0

PIC16C58A

B

2048

73

12

POR TIM0

PIC16CR58A

B

2048

25

12

POR TIM0

PIC16CR58B

B

2048

25

12

POR TIM0

PIC16C58B

B

2048

73

12

TIM0

PIC16C61

M

1024

36

13

TIM0

PIC16C62

M

2048

128

22

SPI I2C TIM0 TIM1 TIM2 CC1 PWM1

PIC16CR62

M

2048

128

22

SPI I2C TIM0 TIM1 TIM2 CC1 PWM1

PIC16C62A

M

2048

128

22

SPI I2C TIM0 TIM1 TIM2 CC1 PWM1

PIC16C62B

M

2048

128

22

SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16CR63

M

4096

192

22

SCI SPI I2C TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C63

M

4096

192

22

SCI SPI I2C TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C63A

M

4096

192

22

SCI SPI I2C TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C64

M

2048

128

33

SCI SPI I2C PSP TIM0 TIM1 TIM2 CC1 PWM1

PIC16CR64

M

2048

128

33

SPI I2C PSP TIM0 TIM1 TIM2 CC1 PWM1

PIC16C64A

M

2048

128

33

SCI SPI I2C PSP TIM0 TIM1 TIM2 CC1 PWM1

PIC16C65

M

4096

192

33

SCI SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16CR65

M

4096

192

33

SCI SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C65A

M

4096

192

33

SCI SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C65B

M

4096

192

33

SCI SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C66

M

8192

367

22

SCI SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C67

M

8192

367

33

SCI SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C70

M

512

36

13

TIM0

PIC16C711

M

1024

36

13

POR TIM0

PIC16F72

M

2048

128

22

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16CR72

M

2048

128

22

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16F72

M

2048

128

22

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16C72

M

2048

128

22

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16C72A

M

2048

128

22

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16C73

M

4096

192

22

SCI ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16F73

M

4096

192

22

SCI ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16C73A

M

4096

192

22

SCI ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C73B

M

4096

192

22

SCI ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16F74

M

4096

192

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16C74

M

4096

192

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C74A

M

4096

192

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16LC74B

M

4096

192

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16LC74B

M

4096

192

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C74B

M

4096

192

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C76

M

8192

367

22

SCI ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16F76

M

8192

367

22

SCI ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16C77

M

8192

367

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16F77

M

8192

367

33

SCI ADC(8) SPI I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16C83

M

512

36

13

EEPROM(64) TIM0

PIC16F83

M

512

36

13

EEPROM(64) POR TIM0

PIC16CR83

M

512

36

13

EEPROM(64) POR TIM0

PIC16F84

M

1024

68

13

EEPROM(64) POR TIM0

PIC16CR84

M

1024

36

13

EEPROM(64) POR TIM0

PIC16C84

M

1024

36

13

EEPROM(64) POR TIM0

PIC16C84A

M

1024

68

13

EEPROM(64) TIM0

PIC16F84A

M

1024

68

13

EEPROM(64) TIM0

PIC16LF84A

M

1024

68

13

EEPROM(64) TIM0

PIC16C432

M

2048

144

6

POR TIM0

PIC16C433

M

2048

144

6

ADC(4) POR TIM0

PIC16C505

B

1024

72

12

POR TIM0

PIC16HV540

B

512

25

12

POR TIM0

PIC16C554

M

512

80

13

POR TIM0

PIC16C558

M

2048

128

13

POR TIM0

PIC16C620

M

512

80

13

COMP VREF TIM0

PIC16C620A

M

512

80

13

COMP VREF TIM0

PIC16C621

M

1024

80

13

EEPROM(64) COMP VREF VREF TIM0

PIC16C621A

M

1024

80

13

COMP VREF VREF TIM0

PIC16C622

M

2048

128

13

COMP VREF VREF TIM0

PIC16C622A

M

2048

128

13

COMP VREF VREF TIM0

PIC16CE623

M

512

96

13

EEPROM(64) COMP VREF VREF TIM0

PIC16CE624

M

1024

96

13

EEPROM(64) COMP VREF VREF TIM0

PIC16CE625

M

2048

128

13

EEPROM(64) COMP VREF VREF TIM0

PIC16F627

M

1024

223

16

SCI EEPROM(112) COMP VREF VREF POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16F628

M

2048

223

16

SCI EEPROM(112) COMP VREF VREF POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16F630

M

1024

64

12

EEPROM(128) COMP VREF POR TIM0 TIM1 PRGMEM

PIC16C642

M

4096

176

22

COMP VREF TIM0

PIC16C662

M

4096

176

32

COMP VREF PSP TIM0

PIC16F676

M

1024

64

12

EEPROM(128) COMP VREF POR TIM0 TIM1 PRGMEM

PIC16C710

M

512

36

13

POR TIM0

PIC16C711

M

1024

68

13

TIM0

PIC16C712

M

1024

128

13

ADC(4) POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16C715

M

2048

128

13

ADC(4)/715 TIM0

PIC16C716

M

2048

128

13

ADC(4) POR TIM0 TIM1 TIM2 CC1 PWM1

PIC16C717

M

2048

256

16

ADC(6)/10BITas SPI I2C-M VREF POR TIM0 TIM1 TIM2 ECC1 PWM1 EPRGMEM

PIC16C745

M

8192

256

22

SCI ADC(5) SPI USB I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C765

M

8192

255

33

SCI ADC(8) SPI USB I2C POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C770

M

2048

256

13

ADC(6)/12BITas SPI I2C-M VREF POR TIM0 TIM1 TIM2 ECC1 PWM1 EPRGMEM

PIC16C771

M

4096

256

13

ADC(6)/12BITas SPI I2C-M VREF POR TIM0 TIM1 TIM2 ECC1 PWM1 EPRGMEM

PIC16C773

M

4096

255

21

9BSCI ADC(8)/12BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C774

M

4096

255

33

9BSCI ADC(10)/12BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2

PIC16C781

M

1024

256

16

ADC(8) COMP VREF VREF POR TIM0 TIM1 TIM2 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC16C782

M

2048

256

16

ADC(8) COMP VREF VREF POR TIM0 TIM1 TIM2 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC16F818

M

1024

128

16

ADC(5)/10BIT EEPROM(128) SPI I2C-M POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F819

M

2048

256

16

ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F870

M

2048

128

22

9BSCI ADC(5)/10BIT EEPROM(1024) SPI POR PSP TIM0 TIM1 TIM2 CC1 PWM1 PRGMEM

PIC16F871

M

2048

128

33

9BSCI ADC(8)/10BIT EEPROM(1024) SPI POR PSP TIM0 TIM1 TIM2 CC1 PWM1 PRGMEM

PIC16F872

M

2048

128

22

ADC(5)/10BIT EEPROM(1024) SPI I2C-M POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F873

M

4096

190

22

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F873A

M

4096

190

22

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F874

M

4096

190

33

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F874A

M

4096

190

33

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F876

M

8192

367

22

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F876A

M

8192

367

22

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F877

M

8192

367

33

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16F877A

M

8192

367

33

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR PSP TIM0 TIM1 TIM2 CC1 PWM1 CC2 PWM2 PRGMEM

PIC16C923

M

4096

175

52

SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 LCD

PIC16C924

M

4096

175

52

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 LCD

PIC16C925

M

4096

175

52

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 LCD

PIC16C926

M

8192

335

52

ADC(5) SPI I2C POR TIM0 TIM1 TIM2 CC1 PWM1 LCD

PIC18C242

H

8192

512

22

9BSCI ADC(8)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F242

H

8192

768

23

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F248

H

8192

768

22

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 TIM3 CAN CC1 PWM1 PRGMEM

PIC18C252

H

16384

1536

23

9BSCI ADC(8)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F252

H

16384

1536

23

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F258

H

16384

1536

22

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 TIM3 CAN CC1 PWM1 PRGMEM

PIC18C442

H

8192

512

33

9BSCI ADC(8)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F442

H

8192

768

34

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F448

H

8192

768

33

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M COMP VREF POR PSP TIM0 TIM1 TIM2 TIM3 CAN ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18F452

H

16384

1536

34

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18C452

H

16384

1536

42

9BSCI ADC(8)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F458

H

16384

1536

33

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M COMP VREF POR PSP TIM0 TIM1 TIM2 TIM3 CAN ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18C601

H

131072

1536

51

9BSCI ADC(8)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18C658

H

16384

1536

52

9BSCI ADC(12)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CAN CC1 PWM1 CC2 PWM2 PRGMEM

PIC18C801

H

1048576

1536

67

9BSCI ADC(12)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18C858

H

16384

1536

68

9BSCI ADC(16)/10BIT SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CAN CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F1220

H

2048

256

16

9BSCI ADC(7)/10BIT EEPROM(1024) POR TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 EPRGMEM

PIC18F1320

H

4096

256

16

9BSCI ADC(7)/10BIT EEPROM(1024) POR TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 EPRGMEM

PIC18F2220

H

2048

512

25

9BSCI ADC(10)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F2320

H

4096

512

25

9BSCI ADC(10)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F2439

H

6144

768

21

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F2539

H

12288

1536

21

9BSCI ADC(5)/10BIT EEPROM(256) SPI I2C-M POR TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F4220

H

2048

512

25

9BSCI ADC(10)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR PSP TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18F4320

H

4096

512

25

9BSCI ADC(10)/10BIT EEPROM(256) SPI I2C-M COMP VREF VREF POR PSP TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18F4439

H

6144

768

32

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F4539

H

12288

1536

32

9BSCI ADC(8)/10BIT EEPROM(256) SPI I2C-M POR PSP TIM0 TIM1 TIM2 TIM3 CC1 PWM1 CC2 PWM2 PRGMEM

PIC18F6620

H

32768

3840

51

9BSCI ADC(12)/10BIT EEPROM(1024) SPI I2C-M COMP VREF VREF POR TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18F6720

H

65536

3840

51

9BSCI ADC(12)/10BIT EEPROM(1024) SPI I2C-M COMP VREF VREF POR TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18F8620

H

32768

3840

67

9BSCI ADC(16)/10BIT EEPROM(1024) SPI I2C-M COMP VREF VREF POR PSP TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 ECC2 PWM2 PRGMEM

PIC18F8720

H

65536

3840

67

9BSCI ADC(16)/10BIT EEPROM(1024) SPI I2C-M COMP VREF VREF POR PSP TIM0 TIM1 TIM2 TIM3 ECC1 PWM1 ECC2 PWM2 PRGMEM

RFPIC12C509AF

B

1024

41

6

POR TIM0

RFPIC12C509AG

B

1024

41

6

POR TIM0

SX18AC

SX

2048

136

12

POR TIM0

SX20AC

SX

2048

136

12

POR TIM0

SX28AC

SX

2048

136

20

POR TIM0

SX48BD

SX

4096

260

36

POR TIM0 TIM1 TIM2

SX52BD

SX

4096

260

40

POR TIM0 TIM1 TIM2

 


www.microchip.com

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

DIY PIC PROGRAMMER


PK2 Lite  (DIY PICKIT2)

 

 

 



AAA건전지 홀더케이스에 넣은 모습 (전지는 크기 비교)

 

 

 

 

 


마이크로칩 社 PICKIT2 와 PK2 lite의 PCB 비교 사진
 

 

 

 

 

 

 

 

 

 

MPLAB IDE Problem (PICkit 2 Programmer intermittence problem)

Found PICkit 2 - Operating System Version 2.32.0
PICkit 2 Unit ID =
Target power detected ( 4.72V)
PKWarn0003: Unexpected device ID:  Please verify that a PICxxxxxx is correctly installed in the application.
                          (Expected ID = 0x2020, ID Read = 0x0)

PICkit 2 Ready  : No Device Detected ; Vpp-Vdd Cap.


Programming Target (2010-00-00  오후 12:00:00)
PIC18Fxxxx found (Rev 0x0)
Erasing Target
Programming Program Memory (0x0 - 0x837)
Programming Program Memory (0xB90 - 0xFFF)
Verifying Program Memory (0x0 - 0x837)
PK2Error0027:  Failed verify (Address = 0x0 - Expected Value 0x3000 - Value Read 0x0)
PICkit 2 Read : GPIO down(b5,4,3, ....), Vdd 4.6V~5.2V(Low Voltage)


Found PICkit 2 - Operating System Version 2.32.0
PICkit 2 Unit ID =
Target power detected ( 4.72V)
PIC16F883 found (Rev 0x0)
PICkit 2 Ready

Programming Target (2010-00-00  오후 12:00:00)
PIC18Fxxxx found (Rev 0x0)

Erasing Target
Programming Program Memory (0x0 - 0x837)
Programming Program Memory (0xB90 - 0xFFF)
Verifying Program Memory (0x0 - 0x837)
Verifying Program Memory (0xB90 - 0xFFF)
Programming Configuration Memory
Verifying Configuration Memory
PICkit 2 Ready


1. CPU & Clock
2. GPIO
3. Interupt
4. Ext. INT
5. Timer INT
6. UART
7. ADC
8. SPI
9. TWI (I2C)
10. USB
11. Flash Self  Writing
11. 응용(G LCD, Text LCD, IR, PWM, Key, DOT Metrix, LDM, Voice Chip, LAN, RTC