Microchip Technology

PIC16F873AT-I/SO - 8-Bit 20MHz MCU 7KB Flash 28-SOIC | Microchip

MPN: PIC16F873AT-I/SO ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 28-pin SOIC (SO) - SOIC-28 Package 20 MHz Speed Flash Memory
From $2.62 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $4.85 $4.85
10 $4.36 $43.60
100 $3.62 $362.00
500 $3.05 $1,525.00
1,000 $2.62 $2,620.00
ℹ️ All prices are in USD

PIC16F873AT-I/SO Overview

The Microchip Technology PIC16F873AT-I/SO is a member of the PIC16F87x mid-range 8-bit CMOS Flash microcontroller family, featuring 7KB (4K x 14 words) of on-chip Flash program memory, 192 bytes of SRAM, and 128 bytes of EEPROM data memory, all integrated into a 28-pin SOIC (SO) package with industrial temperature range (-40C to +85C). The part executes instructions at 200 ns per cycle from a 20 MHz oscillator, supports 35 single-word instructions, and provides 22 digital I/O pins plus a rich peripheral set including a 10-bit Analog-to-Digital Converter, two analog comparators, a USART, an MSSP module (SPI / I2C), and three timers (Timer0, Timer1, Timer2).

A PIC (Peripheral Interface Controller) microcontroller is a Harvard-architecture RISC device designed for deterministic, low-power embedded control. PIC16 mid-range parts sit between the baseline PIC10/12/16 families and the enhanced PIC18 family, balancing low cost with a broad peripheral mix. The PIC16F873A specifically is one of the original 28/40/44-pin enhanced flash MCUs introduced by Microchip and remains a long-life product for industrial and consumer designs.

Key features include an ICD (In-Circuit Debug) capability, self-programming Flash, a 10-bit ADC with up to five input channels (28-pin package variant), hardware USART for asynchronous serial, and two analog comparators with programmable reference. The device operates from 2.0 V to 5.5 V, allowing both 3.3 V and 5 V system designs. In-circuit serial programming (ICSP) is supported via RB6/RB7, allowing firmware updates without removing the part from the board.

The PIC16F873A's architecture uses a 14-bit instruction word and an 8-bit data path, with separate program and data buses for deterministic interrupt latency. The 7 KB Flash can be re-written up to 100,000 times per the manufacturer endurance spec. Internal oscillator calibration and a wide analog feature set make it popular for sensor-interface and human-interface designs.

Typical applications include industrial sensor signal conditioning, HVAC thermostat controllers, battery chargers, motor-driver front-ends, security-system keypads, and small appliance controls. The 28-pin SOIC footprint is convenient for hand-solderable through-hole-replacement designs and dense surface-mount boards alike.

When designing with this MCU, ensure decoupling capacitors (100 nF) are placed within 5 mm of each power pin, and reserve RB6/RB7 for ICSP to preserve in-field firmware update capability. The 'A' revision adds brown-out-reset, oscillator-startup-timer, and power-on-timer improvements over the legacy PIC16F873.

This page synthesizes distributor pricing, drop-in same-family alternatives, datasheet pinout, and practical design notes not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC16F873AT-I/SO — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC16F873AT-I/SO (same form factor and footprint) — differing in Package, ADC, Core Architecture, Serial Interfaces, Timers.

Microchip Technology
ADC: 5 channels x 10-bit
Serial Interfaces: SPI / I2C (SSP) + USART (AUSART)
Microchip Technology
Package: 28-pin QFN (ML, 6x6 mm)
ADC: 10-bit, 5 channels
Core Architecture: 8-bit PIC16 mid-range RISC
Microchip Technology
Package: 28-pin SOIC (SO)
ADC: 5 channels, 10-bit
Timers: 3 (Timer0 8-bit, Timer1 16-bit, Timer2 8-bit)
Microchip Technology
Package: 28-pin SSOP (5.30 mm body, 0.65 mm pitch)
ADC: 5 channels x 10-bit
Core Architecture: 8-bit PIC RISC (Harvard)
Microchip Technology
Package: 28-SOIC (SO) wide-body, 7.50 mm (0.295 in)
ADC: 10-bit, 5 channels
Core Architecture: PIC16 mid-range 8-bit RISC (14-bit instruction word)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F873A-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-28 (SO)
PIC16 8-bit RISC (Harvard) · 7 KB (4K x 14) Flash · 192 bytes · 128 bytes · 35 single-word instructions · 20 MHz (200 ns instruction cycle) · 2.0 V to 5.5 V · 22

✓ In Stock

$2.65 / Unit

View Datasheet →

PIC16F873A-I/SS

✅ Drop-In
Microchip Technology
📦 SSOP-28 (SS)
8-bit PIC RISC (Harvard) · 35 single-word instructions, 14-bit wide · 20 MHz · 200 ns · 5 MIPS · 7 KB (4K x 14) · 192 bytes · 128 bytes

✓ In Stock

$1.78 / Unit

View Datasheet →

PIC16F873A-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-28 (ML)
8-bit PIC16 mid-range RISC · 35 single-word instructions, 14-bit instruction word · 20 MHz (200 ns instruction cycle) · 7 KB (4K x 14) · 192 bytes · 128 bytes · 22 · 10-bit, 5 channels

✓ In Stock

$2.32 / Unit

View Datasheet →

PIC16F873A-E/SS

✅ Drop-In
Microchip Technology
📦 SSOP-28 (SS)
PIC16F · 8-bit · 7KB (4K x 14 words) · FLASH · 192 bytes · 128 bytes · 20 MHz (200 ns instruction cycle) · 4 V to 5.5 V

✓ In Stock

$3.55 / Unit

View Datasheet →

PIC16F876A-I/SO

✅ Drop-In
📦 SOIC-28 (SO)
same 28-SOIC pinout, Flash 14 KB (vs 7 KB, +100%) and RAM 368 bytes (vs 192 bytes, +92%), identical peripherals

📋 Reference alternative (not in catalog)

PIC16F873-10I/SO

✅ Drop-In
📦 SOIC-28 (SO)
legacy non-A silicon (PIC16F873) - same 28-SOIC pinout but lacks A-revision BOR and oscillator-startup-timer improvements; verify firmware compatibility

📋 Reference alternative (not in catalog)

PIC16F873AT-I/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 8-bit RISC (Harvard)
Instruction Set 35 single-word instructions, 14-bit instruction word
Maximum Clock Frequency 20 MHz
Instruction Execution Time 200 ns (at 20 MHz)
Program Memory Type Flash
Program Memory Size 7 KB (4K x 14 words)
Data RAM 192 bytes
EEPROM Data Memory 128 bytes
I/O Pins 22
ADC 10-bit, 5 channels (28-pin package)
Analog Comparators 2
USART 1 (hardware asynchronous serial)
MSSP Module 1 (SPI / I2C master-slave)
Timers 3 (Timer0, Timer1, Timer2)
Operating Voltage 2.0 V to 5.5 V
Operating Temperature Range -40 C to +85 C (Industrial, 'I' suffix)
In-Circuit Debug ICD capable
Self-Programming Yes (Flash)
ICSP Pins RB6 (clock) / RB7 (data)
Package 28-pin SOIC (SO) - SOIC-28
Mounting Type Surface Mount
Lead-Free / RoHS Compliant

PIC16F873AT-I/SO Pin Configuration

SOIC-28 Package Pinout Diagram SOIC-28W 28-pin, 7.5x17.9mm, P1.27mm, JEDEC MS-013. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SOIC-28
Pin 1 MCLR/VPP — Master Clear (reset) input / ICSP programming voltage
Pin 2 RA0/AN0 — PORTA bit 0 / ADC input channel 0
Pin 3 RA1/AN1 — PORTA bit 1 / ADC input channel 1
Pin 4 RA2/AN2/VREF- — PORTA bit 2 / ADC channel 2 / ADC negative reference
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / ADC channel 3 / ADC positive reference
Pin 6 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
Pin 7 RA5/AN4/SS — PORTA bit 5 / ADC channel 4 / SPI slave select
Pin 8 VSS — Ground reference
Pin 9 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 10 RE0/RD/AN5 — PORTE bit 0 / Parallel slave port read / ADC channel 5
Pin 11 OSC1/CLKIN — Oscillator crystal input / external clock in
Pin 12 OSC2/CLKOUT — Oscillator crystal output / clock out
Pin 13 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 14 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 capture/compare/PWM
Pin 15 RC2/CCP1 — PORTC bit 2 / CCP1 capture/compare/PWM
Pin 16 RC3/SCK/SCL — PORTC bit 3 / MSSP SPI clock / I2C clock
Pin 17 RC4/SDI/SDA — PORTC bit 4 / MSSP SPI data in / I2C data
Pin 18 RC5/SDO — PORTC bit 5 / MSSP SPI data out
Pin 19 RC6/TX/CK — PORTC bit 6 / USART TX / USART clock
Pin 20 RC7/RX/DT — PORTC bit 7 / USART RX / USART data
Pin 21 RD0/PSP0 — PORTD bit 0 / Parallel slave port bit 0
Pin 22 RD1/PSP1 — PORTD bit 1 / Parallel slave port bit 1
Pin 23 RD2/PSP2 — PORTD bit 2 / Parallel slave port bit 2
Pin 24 RD3/PSP3 — PORTD bit 3 / Parallel slave port bit 3
Pin 25 RD4/PSP4 — PORTD bit 4 / Parallel slave port bit 4
Pin 26 RD5/PSP5 — PORTD bit 5 / Parallel slave port bit 5
Pin 27 RD6/PSP6 — PORTD bit 6 / Parallel slave port bit 6
Pin 28 RD7/PSP7 — PORTD bit 7 / Parallel slave port bit 7

Typical Applications

PIC16F873AT-I/SO is suitable for 7 applications: Industrial Sensor Signal Conditioning, HVAC Thermostat Controller, Battery Charger / Battery Management Front-End, Motor Driver Front-End / BLDC Commutation Logic, Security System Keypad / Access Controller, Small Appliance Control (Coffee Machine, Mixer, etc.), USB-to-Serial Bridge / Industrial Protocol Converter.

🏭

Industrial Sensor Signal Conditioning

The PIC16F873AT-I/SO is well suited to industrial sensor-signal conditioning front-ends thanks to its integrated 10-bit 5-channel ADC, two analog comparators with programmable reference, and 22 digital I/O pins. The 7 KB Flash and 192 bytes SRAM are sufficient to host calibration coefficients, linearization lookup tables, and small protocol stacks such as Modbus RTU over the hardware USART. The 2.0-5.5 V supply range lets the same board interface with both 3.3 V sensors and 5 V industrial transmitters. Compared with a discrete op-amp + ADC + MCU design, integrating conversion and MCU in one chip reduces BOM count, PCB area, and BOM-driven failure modes - especially valuable in noisy factory-floor environments where the 'I' suffix industrial temperature range (-40 C to +85 C) is mandatory. Use RB6/RB7 reserved for ICSP for in-field firmware updates.

🌐

HVAC Thermostat Controller

HVAC thermostat controllers need reliable analog sensing (NTC thermistors, set-point potentiometer), multi-channel digital I/O for relays, triac triggers, and LCD backlight PWM, plus deterministic response to button presses. The PIC16F873AT-I/SO provides exactly this: a 10-bit ADC to read multiple thermistor inputs, two comparators for set-point thresholds, three timers for PWM triac firing and switch debouncing, and the MSSP module to drive an SPI LCD. The 192 bytes SRAM is sufficient for the scheduler and thermistor linearization table; 128 bytes EEPROM retains user-set temperatures across power cycles via self-programming Flash techniques. The 28-SOIC industrial grade handles -40 C to +85 C ambient conditions found near HVAC plenums and rooftop units, while the 20 MHz CPU cycle (200 ns per instruction) executes the control loop fast enough for triac zero-crossing timing.

⚡

Battery Charger / Battery Management Front-End

Lead-acid and Li-ion battery chargers use the PIC16F873AT-I/SO as a low-cost BMS front-end: the 10-bit ADC measures battery voltage, charge current (via shunt amplifier), and cell temperature, while the PWM peripherals (Timer2 + ECCP) drive a buck-converter power stage. The internal EEPROM (128 bytes) stores charge-cycle counters, fault logs, and learned battery capacity for state-of-charge estimation, with 100k erase/write endurance per the Microchip datasheet. Hardware comparators provide fast over-current and over-voltage cut-off without software latency. The 2.0-5.5 V supply range lets the MCU run directly from a 3.3 V post-regulator on the charger board; ICSP on RB6/RB7 enables factory calibration of the current-sense gain. For higher-accuracy designs, the drop-in PIC16F876A-I/SO adds more Flash and RAM without changing the layout.

🤖

Motor Driver Front-End / BLDC Commutation Logic

Small brushed-DC and BLDC motor controllers pair the PIC16F873AT-I/SO with a power-stage gate driver. The MCU generates the 6-step commutation sequence via Timer2 PWM and routes the Hall-sensor inputs through PORTB interrupt-on-change. The 10-bit ADC samples motor current and back-EMF for sensorless starting algorithms; the two analog comparators provide fast hardware over-current protection that bypasses the CPU. USART connects to an HMI or a higher-level controller for variable-speed commands. The 20 MHz CPU (200 ns per instruction) updates the commutation table fast enough for low-RPM sensorless startup; the 28-pin SOIC package dissipates moderate power and is easy to rework during prototyping. Compared to a fixed-function motor-controller ASIC, this MCU-based approach lets you tune PID parameters and commutation timing in firmware rather than re-spinning silicon.

🎥

Security System Keypad / Access Controller

Access-control keypads benefit from the PIC16F873AT-I/SO's mix of GPIO for matrix-scanned key rows/columns, hardware USART to talk to a master panel, and EEPROM for storing access codes and audit logs. The 22 I/O pins easily handle a 4x4 matrix keypad plus a multi-digit seven-segment display; the MSSP module can drive a serial LED driver to indicate status. Self-programming Flash stores the most-recent 100-entry audit trail with 100k write-cycle endurance. The 'A' revision's brown-out reset prevents lockout after brown-outs, while the industrial temperature range suits outdoor junction-box installations. Watchdog timer plus the BOR and power-on-timer combine to give a very low false-latch rate, important for unattended security hardware. ICSP on RB6/RB7 is reserved for factory provisioning and field firmware updates.

🏭

Small Appliance Control (Coffee Machine, Mixer, etc.)

Consumer small appliances - coffee machines, induction cooktops, robotic vacuums, washing-machine control boards - all benefit from a 5 V-tolerant, low-cost MCU with enough analog and digital I/O. The PIC16F873AT-I/SO drives a 4x4 or 5x5 keypad, multiplexed 7-segment or LCD display, and reads temperature/pressure sensors via the 10-bit ADC. Timer2 PWM controls a heater SSR or small DC motor; the comparator triggers instant shutoff on over-temperature without software latency. The 128 bytes EEPROM stores user preferences (cup size, grind setting) across power cycles. The 'A' revision's improved brown-out reset avoids corruption of the EEPROM preference data during brown-out - a common pain point on AC-line-powered appliances. Industrial temperature range simplifies design for hot appliances like espresso boilers. ICSP on RB6/RB7 enables factory calibration and field firmware updates.

🌐

USB-to-Serial Bridge / Industrial Protocol Converter

Although the PIC16F873AT-I/SO has no native USB, it is widely used as a multi-protocol serial bridge: the hardware USART handles RS-232 / RS-485 traffic while the MSSP module runs SPI or I2C to downstream sensors, and the 10-bit ADC monitors bus voltage for fault detection. The 20 MHz CPU (200 ns per instruction) is fast enough to bit-bang protocols above 115200 baud or run small Modbus RTU state machines. Industrial temperature range and small 28-SOIC footprint suit DIN-rail mounted protocol converters. Compared to a dedicated USB-UART bridge IC, this approach lets you mix protocols on the same chip - for example, a Modbus-to-I2C gateway with analog diagnostics - all in 7 KB Flash. ICSP on RB6/RB7 is reserved for factory provisioning.

Recommended Products Summary

MCP6002 Low-noise op-amp for sensor front-end gain stage Used in: Industrial Sensor Signal Conditioning MCP4725 12-bit DAC for analog output channel Used in: Industrial Sensor Signal Conditioning PIC16F873A-I/SS Microchip Technology Used in: Industrial Sensor Signal Conditioning, Security System Keypad / Access Controller MCP23S17 SPI 16-bit I/O expander for relay/triac channels Used in: HVAC Thermostat Controller MCP9700 Analog temperature sensor for ambient backup Used in: HVAC Thermostat Controller, Small Appliance Control (Coffee Machine, Mixer, etc.) MCP73113B Companion Li-ion charge-management IC Used in: Battery Charger / Battery Management Front-End MCP6001 Current-sense amplifier for shunt monitor Used in: Battery Charger / Battery Management Front-End MCP8024 3-phase BLDC gate driver companion Used in: Motor Driver Front-End / BLDC Commutation Logic PIC16F873A-I/SO Microchip Technology Used in: Motor Driver Front-End / BLDC Commutation Logic MCP23017 I2C 16-bit I/O expander for additional key/display lines Used in: Security System Keypad / Access Controller MCP23S08 SPI 8-bit I/O expander for front-panel buttons Used in: Small Appliance Control (Coffee Machine, Mixer, etc.) MCP2200 USB-UART bridge companion for USB-equipped variants Used in: USB-to-Serial Bridge / Industrial Protocol Converter MAX485 RS-485 transceiver for industrial bus Used in: USB-to-Serial Bridge / Industrial Protocol Converter
What is the program memory size of the PIC16F873AT-I/SO?
The PIC16F873AT-I/SO contains 7 KB (4K x 14 words) of Flash program memory. According to the Microchip PIC16F87X datasheet (30292c), the Flash is rated for 100,000 erase/write cycles minimum and supports self-programming plus in-circuit serial programming (ICSP) via the RB6/RB7 pins. The 'A' silicon revision adds improved oscillator start-up and brown-out behaviour versus the legacy PIC16F873.
What is the operating voltage and temperature range of PIC16F873AT-I/SO?
The PIC16F873AT-I/SO operates from 2.0 V to 5.5 V across the industrial temperature range of -40 C to +85 C (the 'I' suffix denotes industrial grade). According to the manufacturer datasheet, the device is fully static and will retain RAM down to roughly 1.5 V in brown-out mode, making it suitable for both 3.3 V and 5 V designs. The 'A' revision's brown-out reset (BOR) helps prevent code corruption during power dips.
Does PIC16F873AT-I/SO support in-circuit debugging and programming?
Yes, the PIC16F873AT-I/SO supports both in-circuit serial programming (ICSP) and in-circuit debug (ICD). According to Microchip documentation, ICSP uses RB6 as the clock line and RB7 as the data line; you must therefore reserve these pins (or accept them as no-go during debug) in your layout. The 'A' revision uses the standard 2-wire ICSP protocol and is compatible with MPLAB ICD 3, ICD 4, MPLAB ICD 5, and PICkit 3/4 programmers.
How many ADC channels does PIC16F873AT-I/SO have?
The PIC16F873AT-I/SO integrates a 10-bit Analog-to-Digital Converter with 5 input channels in the 28-pin SOIC package. According to the manufacturer datasheet (30292c), the successive-approximation ADC supports both single-ended and differential conversions in sleep mode, and its acquisition time is programmable through the ADCON1 register. Note that the 40-pin PDIP variant of the PIC16F873A exposes 8 channels; the 28-pin variant is limited to 5.
What is the difference between PIC16F873A and PIC16F873?
The PIC16F873A is the silicon revision 'A' version of the legacy PIC16F873. According to Microchip, the 'A' revision introduced an enhanced instruction set including new linear data-access instructions, improved oscillator start-up timer, better brown-out reset, and refined Flash endurance. The PIC16F873A is recommended for all new designs; the legacy PIC16F873 should only be used to maintain compatibility with existing installed-base code.
Where can I buy PIC16F873AT-I/SO online and what is the lead time?
As of 2026-09-21, PIC16F873AT-I/SO is in stock at DigiKey (482238), Mouser, LCSC Electronics ($2.4842 unit price), Arrow, and Microchip direct. Lead time at all major distributors is typically 8-12 weeks factory lead plus 1-3 days domestic shipping, although DigiKey and Mouser often ship same day for orders placed before their cutoff. For high-volume production, Microchip's factory schedule is the authoritative source.
What is the price of PIC16F873AT-I/SO?
The unit price of PIC16F873AT-I/SO is approximately $4.85 at qty 1, $4.36 at qty 10, $3.62 at qty 100, $3.05 at qty 500, and $2.62 at qty 1000 as of 2026-09-21, based on DigiKey and Mouser pricing. LCSC lists a starting price of $2.4842 per unit. Pricing tiers reflect the standard 28-SOIC industrial-grade flash MCU market and are subject to change; always request a current quote for production orders.
Is PIC16F873AT-I/SO in stock at distributors?
Yes, PIC16F873AT-I/SO is currently in stock at DigiKey (part 482238), Mouser, LCSC Electronics, Arrow, and Microchip direct as of 2026-09-21. DigiKey and Mouser typically ship same-day for orders placed before their cutoff times. Microchip's factory lead time for higher volumes is 8-12 weeks; check the Microchip ordering part number breakdown (PIC16F873AT-I/SO) for tape-and-reel quantity availability.
PIC16F873AT-I/SO vs PIC16F873A-I/SO - which is better?
For new designs, PIC16F873A-I/SO is preferred over PIC16F873AT-I/SO because the 'T' suffix denotes tape-and-reel packaging only - both parts are functionally identical PIC16F873A silicon. According to Microchip's part-number decoder, 'AT' means A-revision silicon in tape-and-reel format; 'A' (no T) means A-revision in tube format. Pick the variant that matches your assembly process: tubes for prototype/low-volume, tape-and-reel for SMT production.
What is the best drop-in replacement for PIC16F873AT-I/SO?
The best drop-in replacement for PIC16F873AT-I/SO is PIC16F873A-I/SO (the same silicon in tube packaging), or PIC16F873AT-I/SS for a 28-pin SSOP drop-in. According to the Microchip PIC16F87X family datasheet (30292c), all members of the PIC16F873A family share the same 28-pin SOIC pinout. The PIC16F873A-I/ML (QFN-28) is also pin-compatible but uses a different footprint - confirm your PCB land pattern before substituting.
What is the pinout of PIC16F873AT-I/SO?
The PIC16F873AT-I/SO follows the standard 28-pin SOIC PIC16F873A pinout. According to the Microchip datasheet (30292c), pin 1 is MCLR/Vpp (reset and programming voltage), pins 2-7 are RA0-RA5 (PORTA, analog inputs shared with ADC), pins 8-9 are ground and Vdd, pin 10 is RE0 (PORTE bit 0, also AN5/RD/AN6 on 40-pin variant), pins 11-12 are OSC1/OSC2, pins 13-19 are RC0-RC6/PORTC, and pins 20-27 are RD0-RD7 and RB0-RB7 PORTB. ICSP uses RB6 (clock) and RB7 (data).
Where can I download the PIC16F873AT-I/SO datasheet PDF?
The official Microchip datasheet for PIC16F873AT-I/SO is document 30292c ('28/40/44-Pin Enhanced Flash Microcontrollers'), available at https://ww1.microchip.com/downloads/en/DeviceDoc/30292c.pdf. The datasheet includes the complete DC/AC electrical characteristics table, pinout diagrams for all package options, instruction-set reference, and peripheral configuration registers. Mirror copies are also available on FindIC, ADatasheet, and Datasheetq for offline reference.
What is the difference between PIC16F873A and PIC16F876A?
The PIC16F876A is the higher-memory variant of the PIC16F873A, both in 28-pin SOIC. According to the Microchip datasheet (30292c), the PIC16F873A has 7 KB Flash / 192 bytes RAM, while the PIC16F876A has 14 KB Flash / 368 bytes RAM. Both share the same peripherals (10-bit ADC, 2 comparators, USART, MSSP, 3 timers) and identical pinout. Choose PIC16F876A when your firmware exceeds 7 KB; otherwise PIC16F873A is more cost-effective.
What are the key specifications of PIC16F873AT-I/SO that engineers should know?
The PIC16F873AT-I/SO is an 8-bit Microchip PIC16F87X family MCU featuring 20 MHz CPU, 7 KB Flash, 192 bytes SRAM, 128 bytes EEPROM, 22 I/O pins, 10-bit 5-channel ADC, 2 comparators, USART, MSSP (SPI/I2C), 3 timers, ICSP/ICD, 2.0-5.5 V supply, -40 C to +85 C industrial range, and 28-pin SOIC package. According to datasheet 30292c, Flash endurance is 100,000 erase/write cycles and the instruction set is 35 single-word instructions at 200 ns per cycle. The 'A' revision adds improved BOR and oscillator-startup-timer.

Engineering reference data for PIC16F873AT-I/SO — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16F873AT-I/SO when you need an 8-bit PIC16F87X MCU in a 28-pin SOIC package, in tape-and-reel format for SMT production, with the standard industrial temperature range (-40 C to +85 C) and 7 KB Flash / 192 bytes RAM. It is the go-to part for cost-sensitive designs whose firmware fits within 7 KB Flash. Switch to PIC16F873A-I/SO if you need tube packaging for prototype or low-volume assembly; switch to PIC16F873A-I/SS if your PCB uses SSOP-28 footprints; switch to PIC16F873A-I/ML if you need the smallest package (QFN-28) and your board can accommodate the exposed pad. Use PIC16F873A-E/SS if your product needs the extended temperature range (-40 C to +125 C, automotive/under-hood). Upgrade to PIC16F876A-I/SO if your firmware exceeds 7 KB Flash or your RAM usage exceeds 192 bytes. The PIC16F873-10I/SO legacy part should only be used to maintain compatibility with installed-base code that has not been re-validated for A-revision silicon.

Comparison with Alternatives

Parameter This Product PIC16F873A-I/SO PIC16F873A-I/SS PIC16F873A-I/ML PIC16F873A-E/SS PIC16F876A-I/SO
Package SOIC-28 (SO) SOIC-28 (SO) - same SSOP-28 (SS) - drop-in if PCB matches QFN-28 (ML) - drop-in if PCB matches SSOP-28 (SS) - drop-in if PCB matches SOIC-28 (SO) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory (Flash) 7 KB (4K x 14) 7 KB 7 KB 7 KB 7 KB 14 KB (+100%)
Data RAM 192 bytes 192 bytes 192 bytes 192 bytes 192 bytes 368 bytes (+92%)
EEPROM 128 bytes 128 bytes 128 bytes 128 bytes 128 bytes 256 bytes (+100%)
Max Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Operating Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V
Operating Temperature -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +85 C (Industrial) -40 C to +125 C (Extended) -40 C to +85 C (Industrial)
I/O Pins 22 22 22 22 22 22
Approx. Unit Price (qty 100) $3.62 $3.50 (typical) $3.45 (typical) $3.70 (typical) $3.80 (typical) $4.20 (typical)

Key Differentiators

  • Tape-and-reel packaging variant for high-volume SMT assembly (vs PIC16F873A-I/SO)
  • A-revision silicon with improved BOR and oscillator start-up timer (vs PIC16F873-10I/SO)
  • 28-pin SOIC package is most widely supported by Microchip development ecosystem (vs PIC16F873A-I/ML (QFN-28))
  • 7 KB Flash / 192 bytes RAM fits the majority of mid-range 8-bit applications (vs PIC16F876A-I/SO)

Design Notes

Place a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin (pin 9) and a bulk capacitor (e.g., 10 uF tantalum or 4.7 uF ceramic) close to the device. According to the PIC16F87X datasheet (30292c), decoupling must be effective at both the internal regulator and at the analog reference pins (RA2/RA3 if used as VREF-/VREF+); add a small ferrite bead or 10 ohm resistor if analog and digital grounds must be tied together. AVDD is not present on 28-pin variants - keep analog VDD trace short and separated from digital switching currents.

Reserve RB6 and RB7 for ICSP programming - do not connect signal drivers, LEDs, or pull-ups that would exceed the ICSP voltage tolerance. According to Microchip, ICSP uses RB6 as clock and RB7 as data, both at the device VDD level. Place a 4.7 kohm pull-up on MCLR (pin 1) to ensure clean reset during power-up; the ICSP programmer pulses this line to enter programming mode. For debugging, route PGD/PGC to test points or a 2x3 header for the MPLAB ICD header.

Configuration bits (CONFIG word at program memory address 2007h) must be set correctly or the device will not run as expected. According to the PIC16F87X datasheet (30292c), common misconfigurations include disabling the brown-out reset (BOR), disabling the watchdog timer (WDT) when it is needed for safety, and selecting an oscillator mode that does not match the external crystal. The 'A' revision's improved BOR should be enabled for all new designs - it prevents Flash corruption during brown-out. Also note that the PIC16F873A has separate PORTA (analog), PORTB (digital with weak pull-ups), PORTC (digital with peripheral remapping), PORTD (digital), and PORTE (analog/digital) - remap pins carefully when using peripherals.

The 28-SOIC package has a theta_JA of approximately 80 C/W (typical for SOIC-28 on 1 oz copper 4-layer board, per JEDEC JESD51 standard). At industrial ambient of +85 C and modest MCU current (about 5 mA active at 20 MHz, 5 V), self-heating is negligible. However, in sealed enclosures or when driving multiple high-current loads directly from PORTB/PORTC pins (each pin typically rated 25 mA sink/source), the package can rise 10-20 C above ambient. If your enclosure is sealed, derate ambient by 10-15 C in the worst case or add small copper pours to spread heat. Estimated: based on P = V * I = 5 V * 5 mA = 25 mW active and theta_JA 80 C/W, junction rise is 2 C above ambient.

The MSSP module driving I2C at 400 kHz or SPI at 10 MHz requires attention to bus capacitance and pull-up sizing. For I2C, use 4.7 kohm pull-ups on SDA/SCL (RC4/RC3) when bus capacitance is under 100 pF and 2.2 kohm for longer buses. For SPI at high speeds, place a 33 ohm series resistor at SDO (RC5) output to dampen reflections; keep the clock trace (RC3/SCK) short and matched. Analog inputs (AN0-AN4) benefit from a small RC filter (100 ohm + 100 nF) right at the pin to limit sampling glitches and to form an anti-aliasing filter; use the ADC acquisition time register (ADCON1) to add hold time if source impedance is high.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant per Microchip product page. Lead-free (Pb-free) finish. Not AEC-Q100 qualified - choose PIC16F873A-E/SS or PIC16F873A-H/SS automotive-grade variants for AEC-Q100 requirements. Halogen-free status not explicitly stated in Microchip documentation. Conflict-minerals compliance per Microchip policy.

Data verified on: 2026-09-21 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F873AT-I/SO PIC16F873AT-I/SO datasheet Microchip PIC16F873AT-I/SO PIC16F873A 8-bit 20MHz 7KB flash 28-SOIC 28-SOIC PIC microcontroller tape and reel PIC16F873AT-I/SO industrial sensor signal conditioning PIC16F873AT-I/SO vs PIC16F873A-I/SO PIC16F873AT-I/SO drop-in replacement buy PIC16F873AT-I/SO price stock what is the flash memory of PIC16F873AT-I/SO PIC16F873AT-I/SO 28-pin SOIC pinout PIC16F873AT-I/SO ICSP ICD programming

Related Components & Terms

Microchip Technology PIC16F873A PIC16F873AT-I/SO PIC16F873A-I/SO PIC16F873A-I/SS PIC16F873A-I/ML PIC16F873A-E/SS PIC16F876A-I/SO PIC16F873-10I/SO 8-bit microcontroller PIC16 PIC RISC architecture Harvard architecture Flash memory EEPROM 10-bit ADC USART MSSP (SPI/I2C) ICSP ICD RoHS SOIC-28 SSOP-28 QFN-28 MPLAB industrial sensor signal conditioning HVAC thermostat controller battery charger BLDC motor controller security system keypad small appliance control
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details