main
Ray
pic16f84a-20i-so: renamed from pic16f84a-20i, the part it was built from (PIC16F84A-20I/SO); family listed
eb39084
PIC16F84A-20I/SO
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-18-300mil
PIC16F84A-20I 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 TTL input buffer. |
| 2 | RA3 | bidirectional | PORTA bidirectional I/O pin with TTL input buffer. |
| 3 | RA4/T0CKI | bidirectional | PORTA bidirectional I/O pin with Schmitt Trigger input that can also be selected as the TMR0 clock input; output is open drain. |
| 4 | MCLR | input | Active-low master clear (reset) input to the device, also used as the programming voltage input, with Schmitt Trigger input buffer. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | RB0/INT | bidirectional | PORTB bidirectional I/O pin with TTL input that can also be selected as the external interrupt pin, where the buffer becomes Schmitt Trigger. |
| 7 | RB1 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer and software-programmable internal weak pull-up. |
| 8 | RB2 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer and software-programmable internal weak pull-up. |
| 9 | RB3 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer and software-programmable internal weak pull-up. |
| 10 | RB4 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer; provides interrupt-on-change and software-programmable internal weak pull-up. |
| 11 | RB5 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer; provides interrupt-on-change and software-programmable internal weak pull-up. |
| 12 | RB6 | bidirectional | PORTB bidirectional I/O pin with TTL/Schmitt Trigger input; provides interrupt-on-change and serves as the serial programming clock. |
| 13 | RB7 | bidirectional | PORTB bidirectional I/O pin with TTL/Schmitt Trigger input; provides interrupt-on-change and serves as the serial programming data. |
| 14 | VDD | power_in | Positive supply for logic and I/O pins. |
| 15 | OSC2/CLKOUT | output | Oscillator crystal output that connects to a crystal or resonator in crystal mode; in RC mode it outputs CLKOUT at 1/4 the OSC1 frequency, denoting the instruction cycle rate. |
| 16 | OSC1/CLKIN | input | Oscillator crystal input or external clock source input; buffer is Schmitt Trigger in RC oscillator mode and CMOS otherwise. |
| 17 | RA0 | bidirectional | PORTA bidirectional I/O pin with TTL input buffer. |
| 18 | RA1 | bidirectional | PORTA bidirectional I/O pin with 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 and LP osc configuration) | VDD | 4 | 5.5 | V | XT, RC and LP osc configuration | 49 | |
| Supply voltage (HS osc configuration) | VDD | 4.5 | 5.5 | V | HS osc configuration | 49 | |
| RAM data retention voltage | VDR | 1.5 | V | Device in SLEEP mode | 49 | ||
| Supply current | IDD | 1.8 | 4.5 | mA | RC and XT osc configuration (Note 4), FOSC = 2.0 MHz, VDD = 5.5V | 49 | |
| Supply current | IDD | 3 | 10 | mA | RC and XT osc configuration (Note 4), FOSC = 4.0 MHz, VDD = 5.5V | 49 | |
| Supply current | IDD | 10 | 20 | mA | HS osc configuration (PIC16F84A-20), FOSC = 20 MHz, VDD = 5.5V | 49 | |
| Power-down current | IPD | 1.5 | 3.5 | µA | VDD = 4.5V, WDT disabled, industrial | 50 | |
| Watchdog Timer module differential current | IWDT | 0.2 | 16 | µA | VDD = 2.0V, Industrial, Commercial | 50 | |
| Watchdog Timer module differential current | IWDT | 3.5 | 28 | µA | VDD = 4.0V, Industrial, Extended | 50 | |
| Watchdog Timer module 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, MCLR and RA4/T0CKI | VIH | 8.5 | V | RA4/T0CKI | 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 | ||
| Capacitive loading, all I/O pins and OSC2 (RC mode) | CIO | 50 | pF | All I/O pins and OSC2 (RC mode) | 52 | ||
| Data EEPROM VDD for read/write | VDRW | 5.5 | V | VMIN = Minimum operating voltage | 52 | ||
| Data EEPROM erase/write cycle time | TDEW | 4 | 8 | ms | 52 | ||
| Program FLASH VDD for read | VPR | 5.5 | V | VMIN = Minimum operating voltage | 52 | ||
| Program FLASH VDD for erase/write | VPEW | 4.5 | 5.5 | V | 52 | ||
| Program FLASH erase/write cycle time | TPEW | 4 | 8 | ms | 52 | ||
| External CLKIN frequency (HS) | FOSC | 20 | MHz | HS osc (-20) | 55 | ||
| Oscillator frequency (HS) | FOSC | 1 | 20 | MHz | HS osc (-20) | 55 | |
| External CLKIN period (HS) | 1TOSC | 50 | ns | HS osc (-20) | 55 | ||
| Oscillator period (HS) | 1TOSC | 50 | 1000 | ns | HS osc (-20) | 55 | |
| Instruction cycle time | 2TCY | 0.2 | µs | 55 | |||
| Clock in (OSC1) high or low time (HS) | TosL, TosH | 17.5 | ns | HS osc (-20) | 55 | ||
| Clock in (OSC1) rise or fall time (HS) | TosR, TosF | 7.5 | ns | HS osc (-20) | 55 | ||
| OSC1 (Q1 cycle) to port out valid | TosH2ioV | 125 | ns | Standard | 56 | ||
| OSC1 (Q2 cycle) to port input invalid (I/O in hold time) | TosH2ioI | 10 | ns | Standard | 56 | ||
| Port input valid to OSC1 (I/O in setup time) | TioV2osH | -75 | ns | Standard | 56 | ||
| Port output rise time | TioR | 10 | 35 | ns | Standard | 56 | |
| Port output fall time | TioF | 10 | 35 | ns | Standard | 56 | |
| INT pin high or low time | TINP | 20 | ns | Standard | 56 | ||
| T0CKI high pulse width, with prescaler | Tt0H | 50 | ns | With prescaler, 2.0V ≤ VDD ≤ 3.0V | 58 | ||
| T0CKI high pulse width, with prescaler | Tt0H | 30 | ns | With prescaler, 3.0V ≤ VDD ≤ 6.0V | 58 | ||
| T0CKI low pulse width, with prescaler | Tt0L | 50 | ns | With prescaler, 2.0V ≤ VDD ≤ 3.0V | 58 | ||
| T0CKI low pulse width, with prescaler | Tt0L | 20 | ns | With prescaler, 3.0V ≤ VDD ≤ 6.0V | 58 | ||
| Operating temperature (industrial) | TA | -40 | 85 | °C | Industrial | 49 | |
| Ambient temperature under bias | -55 | 125 | °C | 47 | |||
| Storage temperature | -65 | 150 | °C | 47 | |||
| Voltage on any pin with respect to VSS (except VDD, MCLR, RA4) | -0.3 | V | Maximum printed as (VDD + 0.3V) | 47 | |||
| Voltage on VDD with respect to VSS | VDD | -0.3 | 7.5 | V | 47 | ||
| Voltage on MCLR with respect to VSS | VMCLR | -0.3 | 14 | V | Note 1 | 47 | |
| Voltage on RA4 with respect to VSS | -0.3 | 8.5 | V | 47 | |||
| Maximum current out of VSS pin | 150 | mA | 47 | ||||
| Maximum current into VDD pin | 100 | mA | 47 | ||||
| Input clamp current | IIK | 20 | mA | VI < 0 or VI > VDD | 47 | ||
| Output clamp current | IOK | 20 | mA | VO < 0 or VO > VDD | 47 | ||
| Maximum current sunk by PORTA | 80 | mA | 47 | ||||
| Maximum current sourced by PORTA | 50 | mA | 47 | ||||
| Maximum current sunk by PORTB | 150 | mA | 47 | ||||
| Maximum current sourced by PORTB | 100 | mA | 47 |
CAD (KiCad official)
- Symbol:
PIC16F84A-20I - Footprint:
Package_SO:SOIC-18W_7.5x11.6mm_P1.27mm - 3D model: SOIC-18-300mil (KiCad packages3D, STEP)
- 3D model files:
pic16f84a-20i-etched.step/pic16f84a-20i-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic16f84a-20i.step/pic16f84a-20i.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).
Other parts in this family
This page is PIC16F84A-20I/SO. These part numbers share its family name but are different parts (another package, rating or grade), each with its own page:
- PIC16F84A-20I/P
# PIC16F84A-20I/SO
**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-18-300mil
PIC16F84A-20I 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 TTL input buffer. |
| 2 | RA3 | bidirectional | PORTA bidirectional I/O pin with TTL input buffer. |
| 3 | RA4/T0CKI | bidirectional | PORTA bidirectional I/O pin with Schmitt Trigger input that can also be selected as the TMR0 clock input; output is open drain. |
| 4 | MCLR | input | Active-low master clear (reset) input to the device, also used as the programming voltage input, with Schmitt Trigger input buffer. |
| 5 | VSS | power_in | Ground reference for logic and I/O pins. |
| 6 | RB0/INT | bidirectional | PORTB bidirectional I/O pin with TTL input that can also be selected as the external interrupt pin, where the buffer becomes Schmitt Trigger. |
| 7 | RB1 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer and software-programmable internal weak pull-up. |
| 8 | RB2 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer and software-programmable internal weak pull-up. |
| 9 | RB3 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer and software-programmable internal weak pull-up. |
| 10 | RB4 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer; provides interrupt-on-change and software-programmable internal weak pull-up. |
| 11 | RB5 | bidirectional | PORTB bidirectional I/O pin with TTL input buffer; provides interrupt-on-change and software-programmable internal weak pull-up. |
| 12 | RB6 | bidirectional | PORTB bidirectional I/O pin with TTL/Schmitt Trigger input; provides interrupt-on-change and serves as the serial programming clock. |
| 13 | RB7 | bidirectional | PORTB bidirectional I/O pin with TTL/Schmitt Trigger input; provides interrupt-on-change and serves as the serial programming data. |
| 14 | VDD | power_in | Positive supply for logic and I/O pins. |
| 15 | OSC2/CLKOUT | output | Oscillator crystal output that connects to a crystal or resonator in crystal mode; in RC mode it outputs CLKOUT at 1/4 the OSC1 frequency, denoting the instruction cycle rate. |
| 16 | OSC1/CLKIN | input | Oscillator crystal input or external clock source input; buffer is Schmitt Trigger in RC oscillator mode and CMOS otherwise. |
| 17 | RA0 | bidirectional | PORTA bidirectional I/O pin with TTL input buffer. |
| 18 | RA1 | bidirectional | PORTA bidirectional I/O pin with 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 and LP osc configuration) | VDD | 4 | | 5.5 | V | XT, RC and LP osc configuration | 49 |
| Supply voltage (HS osc configuration) | VDD | 4.5 | | 5.5 | V | HS osc configuration | 49 |
| RAM data retention voltage | VDR | 1.5 | | | V | Device in SLEEP mode | 49 |
| Supply current | IDD | | 1.8 | 4.5 | mA | RC and XT osc configuration (Note 4), FOSC = 2.0 MHz, VDD = 5.5V | 49 |
| Supply current | IDD | | 3 | 10 | mA | RC and XT osc configuration (Note 4), FOSC = 4.0 MHz, VDD = 5.5V | 49 |
| Supply current | IDD | | 10 | 20 | mA | HS osc configuration (PIC16F84A-20), FOSC = 20 MHz, VDD = 5.5V | 49 |
| Power-down current | IPD | | 1.5 | 3.5 | µA | VDD = 4.5V, WDT disabled, industrial | 50 |
| Watchdog Timer module differential current | IWDT | | 0.2 | 16 | µA | VDD = 2.0V, Industrial, Commercial | 50 |
| Watchdog Timer module differential current | IWDT | | 3.5 | 28 | µA | VDD = 4.0V, Industrial, Extended | 50 |
| Watchdog Timer module 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, MCLR and RA4/T0CKI | VIH | | | 8.5 | V | RA4/T0CKI | 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 |
| Capacitive loading, all I/O pins and OSC2 (RC mode) | CIO | | | 50 | pF | All I/O pins and OSC2 (RC mode) | 52 |
| Data EEPROM VDD for read/write | VDRW | | | 5.5 | V | VMIN = Minimum operating voltage | 52 |
| Data EEPROM erase/write cycle time | TDEW | | 4 | 8 | ms | | 52 |
| Program FLASH VDD for read | VPR | | | 5.5 | V | VMIN = Minimum operating voltage | 52 |
| Program FLASH VDD for erase/write | VPEW | 4.5 | | 5.5 | V | | 52 |
| Program FLASH erase/write cycle time | TPEW | | 4 | 8 | ms | | 52 |
| External CLKIN frequency (HS) | FOSC | | | 20 | MHz | HS osc (-20) | 55 |
| Oscillator frequency (HS) | FOSC | 1 | | 20 | MHz | HS osc (-20) | 55 |
| External CLKIN period (HS) | 1TOSC | 50 | | | ns | HS osc (-20) | 55 |
| Oscillator period (HS) | 1TOSC | 50 | | 1000 | ns | HS osc (-20) | 55 |
| Instruction cycle time | 2TCY | 0.2 | | | µs | | 55 |
| Clock in (OSC1) high or low time (HS) | TosL, TosH | 17.5 | | | ns | HS osc (-20) | 55 |
| Clock in (OSC1) rise or fall time (HS) | TosR, TosF | 7.5 | | | ns | HS osc (-20) | 55 |
| OSC1 (Q1 cycle) to port out valid | TosH2ioV | | | 125 | ns | Standard | 56 |
| OSC1 (Q2 cycle) to port input invalid (I/O in hold time) | TosH2ioI | 10 | | | ns | Standard | 56 |
| Port input valid to OSC1 (I/O in setup time) | TioV2osH | -75 | | | ns | Standard | 56 |
| Port output rise time | TioR | | 10 | 35 | ns | Standard | 56 |
| Port output fall time | TioF | | 10 | 35 | ns | Standard | 56 |
| INT pin high or low time | TINP | 20 | | | ns | Standard | 56 |
| T0CKI high pulse width, with prescaler | Tt0H | 50 | | | ns | With prescaler, 2.0V ≤ VDD ≤ 3.0V | 58 |
| T0CKI high pulse width, with prescaler | Tt0H | 30 | | | ns | With prescaler, 3.0V ≤ VDD ≤ 6.0V | 58 |
| T0CKI low pulse width, with prescaler | Tt0L | 50 | | | ns | With prescaler, 2.0V ≤ VDD ≤ 3.0V | 58 |
| T0CKI low pulse width, with prescaler | Tt0L | 20 | | | ns | With prescaler, 3.0V ≤ VDD ≤ 6.0V | 58 |
| Operating temperature (industrial) | TA | -40 | | 85 | °C | Industrial | 49 |
| Ambient temperature under bias | | -55 | | 125 | °C | | 47 |
| Storage temperature | | -65 | | 150 | °C | | 47 |
| Voltage on any pin with respect to VSS (except VDD, MCLR, RA4) | | -0.3 | | | V | Maximum printed as (VDD + 0.3V) | 47 |
| Voltage on VDD with respect to VSS | VDD | -0.3 | | 7.5 | V | | 47 |
| Voltage on MCLR with respect to VSS | VMCLR | -0.3 | | 14 | V | Note 1 | 47 |
| Voltage on RA4 with respect to VSS | | -0.3 | | 8.5 | V | | 47 |
| Maximum current out of VSS pin | | | | 150 | mA | | 47 |
| Maximum current into VDD pin | | | | 100 | mA | | 47 |
| Input clamp current | IIK | | | 20 | mA | VI < 0 or VI > VDD | 47 |
| Output clamp current | IOK | | | 20 | mA | VO < 0 or VO > VDD | 47 |
| Maximum current sunk by PORTA | | | | 80 | mA | | 47 |
| Maximum current sourced by PORTA | | | | 50 | mA | | 47 |
| Maximum current sunk by PORTB | | | | 150 | mA | | 47 |
| Maximum current sourced by PORTB | | | | 100 | mA | | 47 |
## CAD (KiCad official)
- Symbol: `PIC16F84A-20I`
- Footprint: `Package_SO:SOIC-18W_7.5x11.6mm_P1.27mm`
- 3D model: SOIC-18-300mil (KiCad packages3D, STEP)
- 3D model files: `pic16f84a-20i-etched.step` / `pic16f84a-20i-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `pic16f84a-20i.step` / `pic16f84a-20i.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-20i-datasheet.pdf)
## Other parts in this family
This page is **PIC16F84A-20I/SO**. These part numbers share its family name but are different parts (another package, rating or grade), each with its own page:
- PIC16F84A-20I/P