# PIC16F84A 8-Bit Flash Microcontroller (DIP-18)

- **Manufacturer**: Microchip Technology
- **Type**: Chip
- **Year**: 1998
- **URL (German)**: https://pinoutdb.org/component/pic16f84a
- **URL (English)**: https://pinoutdb.org/en/component/pic16f84a
- **Description**: PIC16F84A, 1K Flash, 68B SRAM, 64B EEPROM, DIP18
- **Datasheets & Links**:
  - [PIC16F84A Datasheet (PDF)](http://ww1.microchip.com/downloads/en/devicedoc/35007b.pdf) (datasheet)

## View: DIP-18 Top View (Package: dip)

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


---
Source: PinoutDatabase (https://pinoutdb.org). Verify against the manufacturer datasheet before production use.
