PIC16F84A 8-Bit Flash Microcontroller (DIP-18)
PIC16F84A, 1K Flash, 68B SRAM, 64B EEPROM, DIP18
Aliase:PIC16F84, 16F84A
DIP-18 Top View
18 Pins
Pinout Table18
| Pin | Signal / Name | Type | Alternative Functions |
|---|---|---|---|
| 1 | RA2 | Digital | RA2 — General Purpose I/O, Port A bit 2 |
| 2 | RA3 | Digital | RA3 — General Purpose I/O, Port A bit 3 |
| 3 | RA4 | Digital | RA4 — General Purpose I/O, Port A bit 4 (open-drain output; requires external pull-up for HIGH output)T0CKI — Timer0 external clock input |
| 4 | MCLR | Digital | MCLR — Master Clear Reset (Active Low); tie to VDD via 10kΩ resistor for normal operationVpp — High-voltage ICSP programming input (+12V to +14V) |
| 5 | VSS | Ground | System Ground (0V) — add 100nF bypass cap to VDD near pin |
| 6 | RB0 | Digital | RB0 — General Purpose I/O, Port B bit 0 (programmable weak pull-up)INT — External interrupt input (rising or falling edge selectable via INTEDG bit) |
| 7 | RB1 | Digital | RB1 — General Purpose I/O, Port B bit 1 (programmable weak pull-up; interrupt-on-change capable) |
| 8 | RB2 | Digital | RB2 — General Purpose I/O, Port B bit 2 (interrupt-on-change capable) |
| 9 | RB3 | Digital | RB3 — General Purpose I/O, Port B bit 3 (interrupt-on-change capable) |
| 10 | RB4 | Digital | RB4 — General Purpose I/O, Port B bit 4 (interrupt-on-change capable) |
| 11 | RB5 | Digital | RB5 — General Purpose I/O, Port B bit 5 (interrupt-on-change capable) |
| 12 | RB6 | Digital | RB6 — General Purpose I/O, Port B bit 6 (interrupt-on-change capable)PGC — ICSP programming clock |
| 13 | RB7 | Digital | RB7 — General Purpose I/O, Port B bit 7 (interrupt-on-change capable)PGD — ICSP programming data |
| 14 | VDD | Power | Positive Power Supply (+2.0V to +5.5V; add 100nF bypass cap to VSS near pin) |
| 15 | OSC2 | Digital | OSC2 — Crystal oscillator output (connect crystal between OSC1 and OSC2)CLKOUT — Instruction clock output (Fosc/4) in RC oscillator mode |
| 16 | OSC1 | Digital | OSC1 — Crystal oscillator input (XT, HS, LP modes); connect crystal between OSC1 and OSC2CLKIN — External clock input in EC mode |
| 17 | RA0 | Digital | RA0 — General Purpose I/O, Port A bit 0 |
| 18 | RA1 | Digital | RA1 — General Purpose I/O, Port A bit 1 |