Microchip Technology

PIC16F873-04E/SO - 8-bit Flash MCU, 7KB, 22 I/O, SOIC-28 | Microchip

MPN: PIC16F873-04E/SO βœ— End of Life
In Stock Ships in 1-3 business days
4.0 V to 5.5 V Vdss 28-pin SOIC (SO), wide-body 0.295 inch (7.50 mm) Package 4 MHz (200 ns instruction cycle) Speed Flash Memory
From $3.81 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $6.0493 $6.05
10 $5.44 $54.40
100 $4.84 $484.00
500 $4.29 $2,145.00
1,000 $3.81 $3,810.00
ℹ️ All prices are in USD

PIC16F873-04E/SO Overview

The Microchip Technology PIC16F873-04E/SO is an 8-bit Flash microcontroller in the PIC16 family, integrating 7KB of Flash program memory (4K x 14 words), 192 bytes of RAM, and 22 digital I/O pins in a 28-pin SOIC (SO) wide-body package. The "-04" speed grade denotes a 4 MHz maximum oscillator input (200 ns instruction cycle), while the "E" suffix indicates the Extended (industrial) operating temperature range of -40C to +125C. The part operates from a single 4.0 V to 5.5 V supply and is built on Microchip's enhanced mid-range RISC architecture with 35 single-word instructions.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, data memory, and peripheral interfaces. The PIC16F87X family occupies the mid-range tier of Microchip's 8-bit PIC portfolio, sitting between the baseline PIC10/12/16 families and the high-performance PIC18 enhanced family. Flash-based MCUs like this one allow in-circuit re-programming, making them suitable for prototyping and field-upgradeable products. Within the system hierarchy, this part is classified as an 8-bit CISC-style RISC MCU in the embedded controller segment of the semiconductor market.

Key features include a 10-bit Analog-to-Digital Converter (ADC) with up to 8 channels, a USART module for serial communication, an MSSP (Master Synchronous Serial Port) supporting SPI and I2C, two 8-bit timers plus one 16-bit timer, and a watchdog timer with its own on-chip RC oscillator. The nanoWatt Technology features deliver multiple power-managed modes including SLEEP, with typical sleep currents in the microamp range.

Architecturally, the part uses a Harvard bus topology with separate program and data paths, allowing instruction fetch and data access to occur in the same cycle. The 14-bit instruction word packs more capability per opcode than 12-bit baseline parts, but the register set remains compatible with the broader PIC16 mid-range ecosystem for code portability. Brown-out Reset (BOR), Power-on Reset (POR), and the programmable code-protection bitstream are standard on-die features.

Typical applications include industrial sensor nodes, white-goods control boards, low-cost motor controllers, smart meters, automotive body modules (with the -I or -04 extended variants), and standalone peripherals requiring serial bridge functionality. The wide SOIC-28 footprint simplifies hand-soldering and rework for prototype builds.

Design consideration: when migrating between PIC16F873/874/876/877 variants, remember that this -04 part is rated at 4 MHz / 200 ns minimum instruction cycle; for 20 MHz operation, choose the -20 (PIC16F873-20) variant. The 28-pin SOIC package has a thermal resistance theta_JA of approximately 80 C/W which limits continuous dissipation - keep clock-stretched idle states short in thermally enclosed enclosures.

Drop-in alternatives for PIC16F873-04E/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 PIC16F873-04E/SO (same form factor and footprint) β€” differing in Core Architecture, Package, Mounting Type, Timers, ADC.

Microchip Technology
Core Architecture: PIC16 RISC, Harvard, 14-bit instruction word
Package: 28-SOIC (0.295", 7.50 mm width)
ADC: 10-bit, 5 channels
Microchip Technology
Core Architecture: 8-bit RISC, 35 single-word instructions
Package: 28-pin SOIC (SO), wide-body 7.50 mm
Mounting Type: Surface Mount (Tape & Reel - T suffix)
Microchip Technology
Core Architecture: PIC16 Mid-Range 8-bit RISC
Package: 28-SOIC (SO) wide-body 7.50 mm
Mounting Type: Surface Mount (Tape & Reel - 'T' suffix)

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

PIC16F873-04I/SO

βœ… Drop-In
πŸ“¦ SOIC-28 (0.295 inch wide-body)
Industrial temp grade -40C to +85C vs Extended -40C to +125C; otherwise same die, same Flash/RAM, same SOIC-28 footprint

πŸ“‹ Reference alternative (not in catalog)

PIC16F873T-04E/SO

βœ… Drop-In
Microchip Technology
πŸ“¦ SOIC-28 (0.295 inch wide-body)
PIC16F87x (PIC Mid-Range 8-bit MCU) Β· 8-bit RISC, 35 single-word instructions Β· 14-bit Β· 4 MHz (speed grade 04) Β· 200 ns at 4 MHz Β· 5 MIPS at 20 MHz (speed grade limited to 4 MHz on this part) Β· 7 KB (4K x 14 words) Β· 192 bytes

βœ“ In Stock

$4.85 / Unit

View Datasheet β†’

PIC16F876-04E/SO

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ SOIC-28 (0.295 inch wide-body)
Same SOIC-28 footprint, but Flash doubled from 7KB to 14KB and RAM from 192B to 368B; peripherals and pinout identical

πŸ“‹ Reference alternative (not in catalog)

ℹ️ 2 cross-package part(s) hidden β€” different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC16F873-04E/SO Maximum Ratings & Electrical Characteristics

Family PIC16F Mid-Range 8-bit
Core Architecture PIC RISC (Harvard)
Program Memory Type Flash
Program Memory Size 7 KB (4K x 14 words)
RAM 192 bytes
EEPROM Data Memory 128 bytes
Maximum Clock Frequency 4 MHz (200 ns instruction cycle)
Supply Voltage (Vdd) 4.0 V to 5.5 V
I/O Pins 22
ADC 10-bit, up to 5 channels
Timers 2 x 8-bit + 1 x 16-bit
Communication Interfaces USART, MSSP (SPI/I2C)
Operating Temperature Range -40C to +125C (Extended, "E" suffix)
Package 28-pin SOIC (SO), wide-body 0.295 inch (7.50 mm)
Mounting Type Surface Mount
Instruction Set 35 single-word instructions
Watchdog Timer Yes (with dedicated on-chip RC oscillator)
Power-Saving Modes SLEEP and nanoWatt Technology modes
RoHS Status Compliant

PIC16F873-04E/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/RE3 β€” Master Clear (reset) input / Programming voltage / PORTE bit 3
Pin 2 RA0/AN0 β€” PORTA bit 0 / Analog input channel 0
Pin 3 RA1/AN1 β€” PORTA bit 1 / Analog input channel 1
Pin 4 RA2/AN2/CVREF β€” PORTA bit 2 / Analog input channel 2 / Comparator voltage reference output
Pin 5 RA3/AN3/VREF+ β€” PORTA bit 3 / Analog input channel 3 / ADC positive voltage reference
Pin 6 RA4/T0CKI/C1OUT β€” PORTA bit 4 / Timer0 clock input / Comparator 1 output
Pin 7 RA5/AN4/SS/C2OUT β€” PORTA bit 5 / Analog input channel 4 / SPI slave select / Comparator 2 output
Pin 8 VSS β€” Ground reference
Pin 9 OSC1/CLKIN β€” Oscillator crystal input / External clock input
Pin 10 OSC2/CLKOUT β€” Oscillator crystal output / External clock output (FOSC/4)
Pin 11 RB0/INT β€” PORTB bit 0 / External interrupt input
Pin 12 RB1 β€” PORTB bit 1
Pin 13 RB2 β€” PORTB bit 2
Pin 14 RB3/PGM β€” PORTB bit 3 / Low-voltage programming entry
Pin 15 RB4 β€” PORTB bit 4
Pin 16 RB5 β€” PORTB bit 5
Pin 17 RB6/PGC β€” PORTB bit 6 / In-Circuit Debugger clock
Pin 18 RB7/PGD β€” PORTB bit 7 / In-Circuit Debugger data
Pin 19 VSS β€” Ground reference
Pin 20 VDD β€” Positive supply voltage (4.0 V to 5.5 V)
Pin 21 RC0/T1OSO/T1CKI β€” PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 22 RC1/T1OSI/CCP2 β€” PORTC bit 1 / Timer1 oscillator input / CCP2 module
Pin 23 RC2/CCP1 β€” PORTC bit 2 / CCP1 (Capture/Compare/PWM) module
Pin 24 RC3/SCK/SCL β€” PORTC bit 3 / MSSP SPI clock / I2C clock
Pin 25 RC4/SDI/SDA β€” PORTC bit 4 / MSSP SPI data input / I2C data
Pin 26 RC5/SDO β€” PORTC bit 5 / MSSP SPI data output
Pin 27 RC6/TX/CK β€” PORTC bit 6 / USART asynchronous transmit / synchronous clock
Pin 28 RC7/RX/DT β€” PORTC bit 7 / USART asynchronous receive / synchronous data

Typical Applications

PIC16F873-04E/SO is suitable for 6 applications: Industrial Sensor Interface Node, Appliance Control Board (White Goods), Low-Cost Serial-to-Bridge Module, Automotive Body Module (Non-Safety), Smart Meter Edge Subsystem, Educational / Hobby Development Board.

🏭

Industrial Sensor Interface Node

The PIC16F873-04E/SO fits industrial 4-20 mA sensor interface nodes thanks to its 10-bit ADC (5 channels), 4 MHz deterministic instruction timing, and Extended -40C to +125C temperature rating per the E suffix. In a typical deployment, the MCU digitizes one or more analog transducer signals and exposes the results over the integrated USART (RS-485) or MSSP (I2C) for a host PLC. Its nanoWatt SLEEP mode holds sensor-power draw under 10 uA between samples, and the SOIC-28 wide-body package simplifies hand-rework during commissioning. The 200 ns instruction cycle is fast enough to service ADC, comms, and TIMER1-based sample scheduling without missing events, while the 7KB Flash holds a full command-set interpreter and diagnostics stack.

🏭

Appliance Control Board (White Goods)

For washing-machine or dishwasher control boards, the PIC16F873-04E/SO provides the right mix of cost, I/O count (22 pins), and ruggedness: the USART drives a UI display, the MSSP in I2C mode talks to a temperature sensor front-end, and the 8-bit Timer2 hardware PWM drives TRIAC-based motor phase control. Per Microchip's PIC16F87X datasheet, the ICSP interface on RB6/RB7 allows firmware tuning on the production line without removing the SOIC-28 part. The Extended temperature rating and built-in brown-out reset keep the part reliable across the wide thermal envelope of laundry equipment, and the 7KB Flash comfortably stores look-up tables for cycle profiles, water-level calibrations, and fault history.

🌐

Low-Cost Serial-to-Bridge Module

Design engineers use the PIC16F873-04E/SO as a low-cost serial bridge between legacy UART peripherals and a host processor: one USART connects to a 5V sensor string, while MSSP in SPI mode talks to an SPI peripheral, with the MCU repackaging data into a different protocol stream. Its 4 MHz / 200 ns cycle sustains multi-kbaud rates without throttling, and the 22 I/O pins give plenty of GPIO for status LEDs and a fault output. According to Microchip's PIC16F87X family documentation, the part supports in-circuit debugging via ICD on RB6/RB7, letting engineers iterate protocol firmware quickly. The SOIC-28 wide-body is friendly to assembly houses using conservative no-lead reflow profiles.

πŸš—

Automotive Body Module (Non-Safety)

Non-safety body electronics such as lighting controllers, mirror adjusters, or seat-position memories can use the PIC16F873-04E/SO with its Extended -40C to +125C rating to ride through cabin temperature extremes. Its 10-bit ADC reads potentiometer wiper voltages, the 16-bit Timer1 times LIN-bus-style intervals, and the PWM outputs ease motor soft-start. The 28-pin SOIC footprint supports the larger-creepage PCB designs typical of under-dash boards. For safety-critical or powertrain modules, Microchip recommends using AEC-Q100 qualified parts such as PIC16F15313-I/SL instead; the E-suffix PIC16F873 is appropriate for cabin comfort modules where functional-safety documentation is not required.

⚑

Smart Meter Edge Subsystem

In electricity or water-meter edge subsystems, the PIC16F873-04E/SO reads pulses from a metering front-end via its 16-bit Timer1 in counter mode, drives an LCD or LED display via I/O and the MSSP peripheral, and forwards aggregate readings over the USART to a concentrator. Its nanoWatt SLEEP mode keeps battery drain minimal between pulse events, and the brown-out reset ensures the meter keeps its calibration across main-battery swap events. The 4 MHz speed grade is fast enough for 100+ Hz pulse counting, and the 7KB Flash stores calibration coefficients, accumulated readings, and tamper flags per the meter manufacturer's protocol. The wide-body SOIC eases assembly across the long-lifecycle meter product lifespan.

πŸ”§

Educational / Hobby Development Board

The PIC16F873-04E/SO is a staple of university microcontroller courses and hobby robotics projects because the standard 28-pin SOIC footprint is easy to breadboard with SOIC-to-DIP adapter boards, the ICSP programming scheme needs only two GPIO pins, and 7KB of Flash supports full syllabus-spanning C programs without page banking. The Microchip MPLAB X IDE supports the full PIC16F87X family with free XC8 compiler and in-circuit debugger integration, letting students see register-level effects of their code. The Extended -40C to +125C rating is overkill for a classroom but reinforces the part's reliability for outdoor hobby projects and competitive robotics events. Many legacy reference designs and textbooks from 2000-2010 remain directly applicable.

Recommended Products Summary

MCP3221 External 12-bit ADC companion for precision Used in: Industrial Sensor Interface Node MAX485 RS-485 transceiver paired with USART Used in: Industrial Sensor Interface Node MCP23S17 I/O expander for additional panel buttons/LEDs Used in: Appliance Control Board (White Goods) PIC16F872T-I/SS Microchip Technology Used in: Appliance Control Board (White Goods) MCP2221 USB-to-UART companion for USB bridging variant Used in: Low-Cost Serial-to-Bridge Module 25AA256 External EEPROM for protocol-config storage Used in: Low-Cost Serial-to-Bridge Module MCP2515 Standalone CAN controller for CAN bus body modules Used in: Automotive Body Module (Non-Safety) PIC16F819-I/SO Microchip Technology Used in: Automotive Body Module (Non-Safety) PIC16F870-I/SO Microchip Technology Used in: Smart Meter Edge Subsystem MCP1700 Low-Iq LDO for meter battery life Used in: Smart Meter Edge Subsystem PICkit 3 In-circuit debugger/programmer for ICSP Used in: Educational / Hobby Development Board MCP9700 Analog temp sensor for ADC exercises Used in: Educational / Hobby Development Board
What type of microcontroller is the PIC16F873-04E/SO?
The PIC16F873-04E/SO is a Microchip PIC16 mid-range 8-bit RISC Flash microcontroller with 7KB of program memory, 192 bytes of RAM, 22 I/O pins, and a 4 MHz / 200 ns instruction cycle. According to the PIC16F87X datasheet, the part integrates a 10-bit ADC, USART, MSSP (SPI/I2C), three timers, and nanoWatt Technology power saving in a 28-pin wide-body SOIC package rated for industrial -40C to +125C operation.
Where can I buy the PIC16F873-04E/SO?
Per XAIPART distributor data as of 2026-09-21, PIC16F873-04E/SO is in stock at Heisener with 6,624 pieces available, and is also listed on Mouser, DigiKey, Octopart, Hotenda, and Microchip USA. The reference unit price is USD 6.0493 at qty 1, with typical volume pricing in the USD 3.80-4.30 range at 500-1000 pieces. Lead time is normally confirmed at order placement.
What is the current price of PIC16F873-04E/SO?
The PIC16F873-04E/SO lists at USD 6.0493 per unit at qty 1 and falls to approximately USD 3.81 at qty 1000 as of 2026-09-21, per Heisener inventory data. Pricing on Mouser and DigiKey may differ slightly due to reel quantity and packaging variant; the verified tape-and-reel price from one distributor is USD 6.0493 single-piece with standard SOIC-28 tube packaging.
Is the PIC16F873-04E/SO still in production?
Microchip's product page marks PIC16F873 with the status "Not Recommended for new designs" (NRND), meaning the part is still manufactured but new designs should consider PIC16F1x enhanced replacements. PIC16F873-04E/SO is still listed as ACTIVE on chip-level distributor data, with stock available across major channels as of 2026-09-21, so it remains available for sustaining production and legacy redesign.
What is the difference between PIC16F873 and PIC16F876?
The PIC16F873 and PIC16F876 share the same 28-pin SOIC pinout and core architecture, but they differ in memory size: PIC16F873 has 7KB Flash / 192 bytes RAM / 128 bytes EEPROM, while PIC16F876 has 14KB Flash / 368 bytes RAM / 256 bytes EEPROM. According to Microchip's PIC16F87X datasheet, this makes the PIC16F876 a drop-in expansion if your application later needs more code space without a PCB change. Both remain in the same 28-pin SOIC footprint.
PIC16F873-04E/SO vs PIC16F873-04I/SO - which should I choose?
The PIC16F873-04E/SO has the Extended (-40C to +125C) industrial temperature grade, while the PIC16F873-04I/SO has the Industrial (-40C to +85C) grade, both running at the 4 MHz / 200 ns speed grade. For enclosed industrial equipment, automotive cabins, or any environment above 85C, choose the E suffix. According to the Microchip PIC16F87X datasheet, the E and I grades share the same 28-pin SOIC footprint and feature set, making them drop-in interchangeable aside from thermal rating.
When should I select PIC16F873-04E/SO over the 20 MHz -20 variant?
Choose the PIC16F873-04E/SO (4 MHz / 200 ns instruction cycle) when your application does not require maximum throughput and you value lower EMI, lower power consumption, and lower cost. Select the -20 variant (20 MHz / 200 ns instruction cycle divided differently) for timing-sensitive protocols, faster ADC sequencing, or higher baud-rate USART links. Both share the same 28-pin SOIC footprint according to the Microchip PIC16F87X datasheet, allowing a one-component BOM change.
What is the best drop-in replacement for PIC16F873-04E/SO?
The strongest same-brand drop-in replacement is PIC16F873-04I/SO (Industrial grade, same 28-pin SOIC footprint, same 4 MHz speed) followed by PIC16F873T-04E/SO (tape-and-reel variant of the same die). According to Microchip's PIC16F87X datasheet and Abacus cross-reference data, these parts preserve full pin-to-pin compatibility. For more code space, the PIC16F876-04E/SO in the same 28-pin SOIC is a drop-in upgrade with 14KB Flash instead of 7KB.
Can PIC16F876-04E/SO replace PIC16F873-04E/SO?
Yes, the PIC16F876-04E/SO is a drop-in replacement for the PIC16F873-04E/SO in the same 28-pin SOIC package, with the only material difference being larger memory: 14KB Flash (vs 7KB) and 368 bytes RAM (vs 192 bytes). Per Microchip's PIC16F87X datasheet, both share the same pinout, peripherals, voltage range, and 4 MHz speed grade. Existing firmware will execute identically; if you later rewrite code to use the extra memory, the swap is transparent to the hardware.
Where can I download the PIC16F873 datasheet PDF?
The official Microchip PIC16F873/4/6/7 datasheet PDF is available at ww1.microchip.com/downloads/en/DeviceDoc/39584F.pdf, covering the entire PIC16F87X family (F873, F874, F876, F877). According to Microchip's product page, the document includes electrical specifications, ADC and peripheral timing diagrams, instruction-set descriptions, and packaging information for all family members including the -04E/SO variant.
What is the pinout of PIC16F873-04E/SO?
The PIC16F873-04E/SO uses the standard 28-pin SOIC PIC16F87X pinout: pin 1 is MCLR/Vpp/RE3, pins 2-7 are RA0-RA5, pin 8 is Vss, pins 9-10 are OSC1/CLKI and OSC2/CLKO, pins 11-18 are RB0-RB7, pin 19 is Vss, pin 20 is Vdd, pins 21-28 are RC0-RC7. According to the Microchip PIC16F87X datasheet, the same pinout applies across the F873/874/876/877 SOIC variants and supports in-circuit serial programming (ICSP) on RB6/RB7 with RB3 as low-voltage programming entry.
What peripherals does the PIC16F873-04E/SO support?
The PIC16F873-04E/SO integrates a 10-bit ADC with up to 5 input channels, an enhanced USART for RS-232/RS-485 asynchronous and synchronous serial, an MSSP supporting both SPI and I2C (master and slave), three timers (Timer0 8-bit, Timer1 16-bit, Timer2 8-bit with PWM), a watchdog timer with dedicated oscillator, and PORTB weak pull-ups. Per Microchip's PIC16F87X datasheet, these peripherals work independently and can trigger interrupts on completion or edge events.
How does the PIC16F873-04E/SO compare to PIC18F2520?
Both are 28-pin Microchip 8-bit Flash MCUs but target different tiers: PIC16F873-04E/SO is mid-range (7KB Flash, 192 bytes RAM, 4 MHz) while PIC18F2520 is enhanced (32KB Flash, 1536 bytes RAM, 40 MHz). According to Microchip's migration guides, PIC18F2520 supports the same SOIC-28 footprint for easy PCB drop-in, but with added multiply instruction, deeper stack, and significantly more peripherals. Choose PIC16 for cost-sensitive 5V legacy designs, PIC18 for new high-performance projects.
Is the PIC16F873-04E/SO RoHS compliant?
Yes, PIC16F873-04E/SO is RoHS compliant per the Microchip product page and the PIC16F87X family datasheet, with a lead-free matte-tin finish on the SOIC-28 pins. The part is also rated for -40C to +125C operation per the Extended ("E") suffix, making it suitable for industrial applications. REACH, conflict-mineral, and halogen-free status should be confirmed against your specific shipment's certificate of compliance (CoC) from the distributor.
What is the maximum supply voltage and current draw of PIC16F873-04E/SO?
The PIC16F873-04E/SO operates from a single 4.0 V to 5.5 V supply; absolute maximum Vdd is 6.5 V per the Microchip PIC16F87X datasheet. Typical active current is approximately 2-5 mA at 4 MHz and 5V depending on peripherals enabled, and the nanoWatt SLEEP mode drops this into the microamp range with most peripherals disabled. Inrush current during ADC conversion or sustained I/O drive may temporarily reach 10-15 mA peaks - budget decoupling capacitors accordingly.

Engineering reference data for PIC16F873-04E/SO β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F873-04E/SO when your 5V 8-bit embedded design needs 7 KB Flash, 22 I/O pins, and the Extended -40C to +125C operating range, especially in industrial or under-dash automotive cabin environments with moderate computational load at 4 MHz (200 ns instruction cycle). Its 10-bit ADC (5 channels), USART, MSSP (SPI/I2C), and CCP module cover the majority of sensor-bridging and motor-control tasks for sensor nodes, appliance boards, and serial-bridge modules. If you instead need industrial-grade temperature and live in a stable thermal environment, the PIC16F873-04I/SO is a same-footprint drop-in alternative at lower cost. If you need more code space (e.g., for a richer command stack or fault log), step up to the PIC16F876-04E/SO with 14 KB Flash and 368 B RAM in the same SOIC-28 footprint. For tape-and-reel production assembly, select the PIC16F873T-04E/SO; the die and footprint are identical to PIC16F873-04E/SO. Trade-off to acknowledge: this NRND part is not recommended for new designs - new 5V 8-bit projects should consider the PIC16F1x enhanced family for modern peripherals and longer product lifecycle support.

Comparison with Alternatives

Parameter This Product PIC16F873-04I/SO PIC16F873T-04E/SO PIC16F876-04E/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package SOIC-28 (0.295 inch wide-body) SOIC-28 (0.295 inch wide-body) - same SOIC-28 (0.295 inch wide-body) - same SOIC-28 (0.295 inch wide-body) - same
Temperature Range -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +125C (Extended) -40C to +125C (Extended)
Maximum Clock Frequency 4 MHz (200 ns instruction cycle) 4 MHz 4 MHz 4 MHz
Flash Program Memory 7 KB (4K x 14) 7 KB 7 KB 14 KB (8K x 14)
RAM 192 bytes 192 bytes 192 bytes 368 bytes
I/O Pins 22 22 22 22
Operating Voltage 4.0 V to 5.5 V 4.0 V to 5.5 V 4.0 V to 5.5 V 4.0 V to 5.5 V
Packaging Format Tube (28-pin SOIC) Tube Tape and Reel Tube

Key Differentiators

  • Extended temperature rating for harsh thermal environments (vs PIC16F873-04I/SO (Industrial grade))
  • Doubles Flash and RAM for forward-looking designs (vs PIC16F876-04E/SO (14 KB / 368 B))
  • Tube-format production-pack option (vs PIC16F873T-04E/SO (Tape-and-Reel))

Design Notes

Estimated: Power-supply decoupling for the PIC16F873-04E/SO should use a 100 nF ceramic capacitor between VDD (pin 20) and VSS (pin 19) placed within 5 mm of the package, plus a bulk 10 uF tantalum or aluminum-polymer cap at the board power entry. The Microchip PIC16F87X datasheet emphasizes that the brown-out reset (BOR) trip-point accuracy depends on a clean VDD; noisy rails cause spurious resets. Avoid routing high-current switching nodes (relay coils, motors) under or near the MCU's VDD pin to prevent ground-bounce faults. For battery-powered designs, the nanoWatt SLEEP mode with watchdog disabled drops I_DD below 1 uA per the datasheet's typical curve.

Two common pitfalls when using the PIC16F873-04E/SO: (1) confusing the -04E (Extended -40C to +125C) with the -04I (Industrial -40C to +85C) - verify the suffix before committing to a design that runs hot; and (2) choosing -04 instead of -20 for high-speed serial work - the 04 part's 4 MHz oscillator limit restricts USART baud rates to roughly 38.4 kbps at 1.5% error, while the -20 part supports 115.2 kbps. If you later need more code space, the PIC16F876 is a same-footprint upgrade (14 KB Flash / 368 B RAM) per the PIC16F87X family datasheet, but you cannot drop firmware from 876 to 873 if it exceeds 7 KB.

For reliable ICSP programming and in-circuit debugging on the 28-pin SOIC footprint, keep the MCLR/VPP line accessible (one test pad or pull-up to VDD with a 10 kohm resistor and a programming header) and reserve RB6/PGC plus RB7/PGD as a clean 2-pin bus without series resistors greater than 100 ohm. The Microchip PIC16F87X datasheet's AC characteristics list the PGC and PGD slew-rate limits, so source-terminated traces longer than 50 mm need a 33 ohm series resistor. Crystal traces (OSC1/OSC2) should be short, ground-guarded, and routed away from the I/O switching edges to avoid injected jitter on the system clock.

Compliance Information

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

RoHS compliant per Microchip PIC16F87X datasheet and product page. Not AEC-Q100 qualified - use AEC-Q100 grade MCUs (e.g., PIC16F15313-I/SL) for automotive safety-critical applications. REACH compliant per Microchip product page statement. Halogen-free status should be verified from shipment-specific Certificate of Compliance.

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

Related Searches

PIC16F873-04E/SO PIC16F873-04E/SO datasheet PDF Microchip PIC16F873 7KB flash PIC16F873 SOIC-28 wide body PIC16F873 Extended temperature MCU PIC16F873 industrial sensor node PIC16F873 vs PIC16F876 PIC16F873 drop-in replacement buy PIC16F873-04E/SO online PIC16F873 4 MHz 200 ns instruction cycle PIC16F873 pinout SOIC 28 PIC16 mid-range 8-bit MCU PIC16F873 USART MSSP SPI I2C PIC16F873 ICSP programming ICSP PIC16F873 lead time stock

Related Components & Terms

Microchip Technology PIC16F873-04E/SO PIC16F873 PIC16F873-04I/SO PIC16F873T-04E/SO PIC16F876-04E/SO PIC16 family 8-bit microcontroller RISC architecture Harvard bus Flash memory MPLAB X IDE ICSP USART MSSP SPI I2C ADC CCP SOIC-28 RoHS REACH nanoWatt extended temperature
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