main
Ray
Publish 0.1.0
00cd817
PIC16F84A-20
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-18-300mil
PIC16F84A-20 from Microchip Tech, in a SOIC-18-300mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | RA2 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
| 2 | RA3 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
| 3 | RA4/T0CKI | bidirectional | PORTA bidirectional I/O pin with a Schmitt Trigger input that can also be selected as the TMR0 timer/counter clock input, and whose output is open drain. |
| 4 | MCLR | input | Active-low master clear (reset) input that also serves as the programming voltage input. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | RB0/INT | bidirectional | PORTB bidirectional I/O pin with TTL/Schmitt Trigger input (Schmitt Trigger when configured as external interrupt) that can also be selected as the external interrupt pin RB0/INT. |
| 7 | RB1 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer; PORTB inputs can be software-programmed for internal weak pull-up. |
| 8 | RB2 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer; PORTB inputs can be software-programmed for internal weak pull-up. |
| 9 | RB3 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer; PORTB inputs can be software-programmed for internal weak pull-up. |
| 10 | RB4 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer that provides interrupt-on-change; PORTB inputs can be software-programmed for internal weak pull-up. |
| 11 | RB5 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer that provides interrupt-on-change; PORTB inputs can be software-programmed for internal weak pull-up. |
| 12 | RB6 | bidirectional | PORTB bidirectional I/O pin with interrupt-on-change and a TTL/Schmitt Trigger input buffer (Schmitt Trigger when used in serial programming mode), serving as the serial programming clock. |
| 13 | RB7 | bidirectional | PORTB bidirectional I/O pin with interrupt-on-change and a TTL/Schmitt Trigger input buffer (Schmitt Trigger when used in serial programming mode), serving as the serial programming data. |
| 14 | VDD | power_in | Positive supply for logic and I/O pins. |
| 15 | OSC2/CLKOUT | output | Oscillator crystal output connecting to a crystal or resonator in crystal oscillator mode; in RC mode it outputs CLKOUT at 1/4 the frequency of OSC1. |
| 16 | OSC1/CLKIN | input | Oscillator crystal input or external clock source input, with Schmitt Trigger buffer in RC oscillator mode and CMOS input otherwise. |
| 17 | RA0 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
| 18 | RA1 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-18-300mil |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 18 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage (XT, RC, LP osc; 16F84A) | VDD | 4 | 5.5 | V | XT, RC and LP osc configuration | 49 | |
| Supply voltage (HS osc; PIC16F84A-20) | VDD | 4.5 | 5.5 | V | HS osc configuration | 49 | |
| RAM data retention voltage | VDR | 1.5 | V | Device in SLEEP mode | 49 | ||
| VDD rise rate for internal POR | SVDD | 0.05 | V/ms | 49 | |||
| Supply current, RC/XT osc | IDD | 1.8 | 4.5 | mA | RC and XT osc configuration (Note 4), FOSC = 4.0 MHz, VDD = 5.5V | 49 | |
| Supply current during FLASH programming | IDD | 3 | 10 | mA | RC and XT osc configuration (Note 4), FOSC = 4.0 MHz, VDD = 5.5V (During FLASH programming) | 49 | |
| Supply current, HS osc (PIC16F84A-20) | IDD | 10 | 20 | mA | HS osc configuration (PIC16F84A-20), FOSC = 20 MHz, VDD = 5.5V | 49 | |
| Power-down current, VDD 4.5V industrial | IPD | 1.5 | 3.5 | µA | VDD = 4.5V, WDT disabled, industrial | 50 | |
| Power-down current, VDD 4.5V extended | IPD | 1.5 | 5.5 | µA | VDD = 4.5V, WDT disabled, extended | 50 | |
| Watchdog Timer differential current | IWDT | 3.5 | 20 | µA | VDD = 4.0V, Commercial | 50 | |
| Watchdog Timer differential current | IWDT | 3.5 | 28 | µA | VDD = 4.0V, Industrial, Extended | 50 | |
| Watchdog Timer differential current | IWDT | 4.8 | 25 | µA | VDD = 4.5V, Commercial | 50 | |
| Watchdog Timer differential current | IWDT | 4.8 | 30 | µA | VDD = 4.5V, Industrial, Extended | 50 | |
| Input low voltage, I/O ports with TTL buffer | VIL | 0.8 | V | 4.5V ≤ VDD ≤ 5.5V (Note 4) | 51 | ||
| Input high voltage, I/O ports with TTL buffer | VIH | 2 | V | 4.5V ≤ VDD ≤ 5.5V (Note 4) | 51 | ||
| Input high voltage, RA4/T0CKI | VIH | 8.5 | V | 51 | |||
| Input leakage current, I/O ports | IIL | 1 | µA | Vss ≤ VPIN ≤ VDD, pin at hi-impedance | 51 | ||
| Input leakage current, MCLR and RA4/T0CKI | IIL | 5 | µA | Vss ≤ VPIN ≤ VDD | 51 | ||
| Input leakage current, OSC1 | IIL | 5 | µA | Vss ≤ VPIN ≤ VDD, XT, HS and LP osc configuration | 51 | ||
| PORTB weak pull-up current | IPURB | 50 | 250 | 400 | µA | VDD = 5.0V, VPIN = VSS | 51 |
| Output low voltage, I/O ports | VOL | 0.6 | V | IOL = 8.5 mA, VDD = 4.5V | 52 | ||
| Open drain high voltage, RA4 pin | VOD | 8.5 | V | RA4 pin | 52 | ||
| Capacitive loading, all I/O pins and OSC2 (RC mode) | CIO | 50 | pF | All I/O pins and OSC2 (RC mode) | 52 | ||
| VDD for data EEPROM read/write | VDRW | 5.5 | V | VMIN = Minimum operating voltage (lower limit is an expression, not numeric) | 52 | ||
| Data EEPROM erase/write cycle time | TDEW | 4 | 8 | ms | Erase/Write cycle time | 52 | |
| VDD for FLASH erase/write | VPEW | 4.5 | 5.5 | V | VDD for erase/write | 52 | |
| VDD for FLASH read | VPR | 5.5 | V | VMIN = Minimum operating voltage (lower limit is an expression, not numeric) | 52 | ||
| Program FLASH erase/write cycle time | TPEW | 4 | 8 | ms | Erase/Write cycle time | 52 | |
| External CLKIN frequency, HS osc | FOSC | 20 | MHz | HS osc (-20) | 55 | ||
| Oscillator frequency, HS osc | FOSC | 1 | 20 | MHz | HS osc (-20) | 55 | |
| Oscillator period, HS osc | TOSC | 50 | 1000 | ns | HS osc (-20) | 55 | |
| Clock in (OSC1) high or low time, HS osc | TosL, TosH | 17.5 | ns | HS osc (-20) | 55 | ||
| Instruction cycle time | TCY | 0.2 | µs | 55 | |||
| OSC1 to CLKOUT | TosH2ckL | 15 | 30 | ns | (Note 1) | 56 | |
| Port output valid from OSC1 (Q1 cycle) | TosH2ioV | 125 | ns | Standard | 56 | ||
| OSC1 (Q2 cycle) to port input invalid (I/O in hold time) | TosH2ioI | 10 | ns | Standard | 56 | ||
| Port output rise time | TioR | 10 | 35 | ns | Standard | 56 | |
| INT pin high or low time | TINP | 20 | ns | Standard | 56 | ||
| Absolute max: ambient temperature under bias | -55 | 125 | °C | 47 | |||
| Absolute max: storage temperature | -65 | 150 | °C | 47 | |||
| Absolute max: voltage on any pin wrt VSS (except VDD, MCLR, RA4) | -0.3 | V | Upper limit printed as (VDD + 0.3V) | 47 | |||
| Absolute max: voltage on VDD wrt VSS | -0.3 | 7.5 | V | 47 | |||
| Absolute max: voltage on MCLR wrt VSS | -0.3 | 14 | V | Note 1 | 47 | ||
| Absolute max: voltage on RA4 wrt VSS | -0.3 | 8.5 | V | 47 | |||
| Absolute max: current out of VSS pin | 150 | mA | 47 | ||||
| Absolute max: current into VDD pin | 100 | mA | 47 | ||||
| Absolute max: input clamp current IIK | IIK | 20 | mA | VI < 0 or VI > VDD | 47 | ||
| Absolute max: output clamp current IOK | IOK | 20 | mA | VO < 0 or VO > VDD | 47 | ||
| Absolute max: current sunk by PORTA | 80 | mA | 47 | ||||
| Absolute max: current sourced by PORTA | 50 | mA | 47 | ||||
| Absolute max: current sunk by PORTB | 150 | mA | 47 | ||||
| Absolute max: current sourced by PORTB | 100 | mA | 47 | ||||
| Operating ambient temperature, commercial | TA | 0 | 70 | °C | Commercial | 49 | |
| Operating ambient temperature, industrial | TA | -40 | 85 | °C | Industrial | 49 | |
| Operating ambient temperature, extended | TA | -40 | 125 | °C | Extended | 49 |
CAD (KiCad official)
- Symbol:
PIC16F84A-20 - Footprint:
Package_SO:SOIC-18W_7.5x11.6mm_P1.27mm - 3D model: SOIC-18-300mil (KiCad packages3D, STEP)
- 3D model files:
pic16f84a-20-etched.step/pic16f84a-20-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic16f84a-20.step/pic16f84a-20.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (90 pp, sha256
33e026b441bd51c2, retrieved 2026-10-30, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-haiku-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).
# PIC16F84A-20
**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-18-300mil
PIC16F84A-20 from Microchip Tech, in a SOIC-18-300mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | RA2 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
| 2 | RA3 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
| 3 | RA4/T0CKI | bidirectional | PORTA bidirectional I/O pin with a Schmitt Trigger input that can also be selected as the TMR0 timer/counter clock input, and whose output is open drain. |
| 4 | MCLR | input | Active-low master clear (reset) input that also serves as the programming voltage input. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | RB0/INT | bidirectional | PORTB bidirectional I/O pin with TTL/Schmitt Trigger input (Schmitt Trigger when configured as external interrupt) that can also be selected as the external interrupt pin RB0/INT. |
| 7 | RB1 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer; PORTB inputs can be software-programmed for internal weak pull-up. |
| 8 | RB2 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer; PORTB inputs can be software-programmed for internal weak pull-up. |
| 9 | RB3 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer; PORTB inputs can be software-programmed for internal weak pull-up. |
| 10 | RB4 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer that provides interrupt-on-change; PORTB inputs can be software-programmed for internal weak pull-up. |
| 11 | RB5 | bidirectional | PORTB bidirectional I/O pin with a TTL input buffer that provides interrupt-on-change; PORTB inputs can be software-programmed for internal weak pull-up. |
| 12 | RB6 | bidirectional | PORTB bidirectional I/O pin with interrupt-on-change and a TTL/Schmitt Trigger input buffer (Schmitt Trigger when used in serial programming mode), serving as the serial programming clock. |
| 13 | RB7 | bidirectional | PORTB bidirectional I/O pin with interrupt-on-change and a TTL/Schmitt Trigger input buffer (Schmitt Trigger when used in serial programming mode), serving as the serial programming data. |
| 14 | VDD | power_in | Positive supply for logic and I/O pins. |
| 15 | OSC2/CLKOUT | output | Oscillator crystal output connecting to a crystal or resonator in crystal oscillator mode; in RC mode it outputs CLKOUT at 1/4 the frequency of OSC1. |
| 16 | OSC1/CLKIN | input | Oscillator crystal input or external clock source input, with Schmitt Trigger buffer in RC oscillator mode and CMOS input otherwise. |
| 17 | RA0 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
| 18 | RA1 | bidirectional | PORTA bidirectional I/O pin with a TTL input buffer. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-18-300mil |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 18 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Supply voltage (XT, RC, LP osc; 16F84A) | VDD | 4 | | 5.5 | V | XT, RC and LP osc configuration | 49 |
| Supply voltage (HS osc; PIC16F84A-20) | VDD | 4.5 | | 5.5 | V | HS osc configuration | 49 |
| RAM data retention voltage | VDR | 1.5 | | | V | Device in SLEEP mode | 49 |
| VDD rise rate for internal POR | SVDD | 0.05 | | | V/ms | | 49 |
| Supply current, RC/XT osc | IDD | | 1.8 | 4.5 | mA | RC and XT osc configuration (Note 4), FOSC = 4.0 MHz, VDD = 5.5V | 49 |
| Supply current during FLASH programming | IDD | | 3 | 10 | mA | RC and XT osc configuration (Note 4), FOSC = 4.0 MHz, VDD = 5.5V (During FLASH programming) | 49 |
| Supply current, HS osc (PIC16F84A-20) | IDD | | 10 | 20 | mA | HS osc configuration (PIC16F84A-20), FOSC = 20 MHz, VDD = 5.5V | 49 |
| Power-down current, VDD 4.5V industrial | IPD | | 1.5 | 3.5 | µA | VDD = 4.5V, WDT disabled, industrial | 50 |
| Power-down current, VDD 4.5V extended | IPD | | 1.5 | 5.5 | µA | VDD = 4.5V, WDT disabled, extended | 50 |
| Watchdog Timer differential current | IWDT | | 3.5 | 20 | µA | VDD = 4.0V, Commercial | 50 |
| Watchdog Timer differential current | IWDT | | 3.5 | 28 | µA | VDD = 4.0V, Industrial, Extended | 50 |
| Watchdog Timer differential current | IWDT | | 4.8 | 25 | µA | VDD = 4.5V, Commercial | 50 |
| Watchdog Timer differential current | IWDT | | 4.8 | 30 | µA | VDD = 4.5V, Industrial, Extended | 50 |
| Input low voltage, I/O ports with TTL buffer | VIL | | | 0.8 | V | 4.5V ≤ VDD ≤ 5.5V (Note 4) | 51 |
| Input high voltage, I/O ports with TTL buffer | VIH | 2 | | | V | 4.5V ≤ VDD ≤ 5.5V (Note 4) | 51 |
| Input high voltage, RA4/T0CKI | VIH | | | 8.5 | V | | 51 |
| Input leakage current, I/O ports | IIL | | | 1 | µA | Vss ≤ VPIN ≤ VDD, pin at hi-impedance | 51 |
| Input leakage current, MCLR and RA4/T0CKI | IIL | | | 5 | µA | Vss ≤ VPIN ≤ VDD | 51 |
| Input leakage current, OSC1 | IIL | | | 5 | µA | Vss ≤ VPIN ≤ VDD, XT, HS and LP osc configuration | 51 |
| PORTB weak pull-up current | IPURB | 50 | 250 | 400 | µA | VDD = 5.0V, VPIN = VSS | 51 |
| Output low voltage, I/O ports | VOL | | | 0.6 | V | IOL = 8.5 mA, VDD = 4.5V | 52 |
| Open drain high voltage, RA4 pin | VOD | | | 8.5 | V | RA4 pin | 52 |
| Capacitive loading, all I/O pins and OSC2 (RC mode) | CIO | | | 50 | pF | All I/O pins and OSC2 (RC mode) | 52 |
| VDD for data EEPROM read/write | VDRW | | | 5.5 | V | VMIN = Minimum operating voltage (lower limit is an expression, not numeric) | 52 |
| Data EEPROM erase/write cycle time | TDEW | | 4 | 8 | ms | Erase/Write cycle time | 52 |
| VDD for FLASH erase/write | VPEW | 4.5 | | 5.5 | V | VDD for erase/write | 52 |
| VDD for FLASH read | VPR | | | 5.5 | V | VMIN = Minimum operating voltage (lower limit is an expression, not numeric) | 52 |
| Program FLASH erase/write cycle time | TPEW | | 4 | 8 | ms | Erase/Write cycle time | 52 |
| External CLKIN frequency, HS osc | FOSC | | | 20 | MHz | HS osc (-20) | 55 |
| Oscillator frequency, HS osc | FOSC | 1 | | 20 | MHz | HS osc (-20) | 55 |
| Oscillator period, HS osc | TOSC | 50 | | 1000 | ns | HS osc (-20) | 55 |
| Clock in (OSC1) high or low time, HS osc | TosL, TosH | 17.5 | | | ns | HS osc (-20) | 55 |
| Instruction cycle time | TCY | 0.2 | | | µs | | 55 |
| OSC1 to CLKOUT | TosH2ckL | | 15 | 30 | ns | (Note 1) | 56 |
| Port output valid from OSC1 (Q1 cycle) | TosH2ioV | | | 125 | ns | Standard | 56 |
| OSC1 (Q2 cycle) to port input invalid (I/O in hold time) | TosH2ioI | 10 | | | ns | Standard | 56 |
| Port output rise time | TioR | | 10 | 35 | ns | Standard | 56 |
| INT pin high or low time | TINP | 20 | | | ns | Standard | 56 |
| Absolute max: ambient temperature under bias | | -55 | | 125 | °C | | 47 |
| Absolute max: storage temperature | | -65 | | 150 | °C | | 47 |
| Absolute max: voltage on any pin wrt VSS (except VDD, MCLR, RA4) | | -0.3 | | | V | Upper limit printed as (VDD + 0.3V) | 47 |
| Absolute max: voltage on VDD wrt VSS | | -0.3 | | 7.5 | V | | 47 |
| Absolute max: voltage on MCLR wrt VSS | | -0.3 | | 14 | V | Note 1 | 47 |
| Absolute max: voltage on RA4 wrt VSS | | -0.3 | | 8.5 | V | | 47 |
| Absolute max: current out of VSS pin | | | | 150 | mA | | 47 |
| Absolute max: current into VDD pin | | | | 100 | mA | | 47 |
| Absolute max: input clamp current IIK | IIK | | | 20 | mA | VI < 0 or VI > VDD | 47 |
| Absolute max: output clamp current IOK | IOK | | | 20 | mA | VO < 0 or VO > VDD | 47 |
| Absolute max: current sunk by PORTA | | | | 80 | mA | | 47 |
| Absolute max: current sourced by PORTA | | | | 50 | mA | | 47 |
| Absolute max: current sunk by PORTB | | | | 150 | mA | | 47 |
| Absolute max: current sourced by PORTB | | | | 100 | mA | | 47 |
| Operating ambient temperature, commercial | TA | 0 | | 70 | °C | Commercial | 49 |
| Operating ambient temperature, industrial | TA | -40 | | 85 | °C | Industrial | 49 |
| Operating ambient temperature, extended | TA | -40 | | 125 | °C | Extended | 49 |
## CAD (KiCad official)
- Symbol: `PIC16F84A-20`
- Footprint: `Package_SO:SOIC-18W_7.5x11.6mm_P1.27mm`
- 3D model: SOIC-18-300mil (KiCad packages3D, STEP)
- 3D model files: `pic16f84a-20-etched.step` / `pic16f84a-20-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `pic16f84a-20.step` / `pic16f84a-20.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/35007C.pdf) (90 pp, sha256 `33e026b441bd51c2`, retrieved 2026-10-30, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
- **CAD:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/pic16f84a-20-datasheet.pdf)