Microchip Technology

PIC16F873A-I/ML - 8-Bit 20MHz 7KB Flash MCU | Microchip 28-QFN

MPN: PIC16F873A-I/ML ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 28-pin QFN (ML, 6x6 mm) Package 20 MHz (200 ns instruction cycle) Speed 7 KB (4K x 14) Memory
From $2.32 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $3.42 $3.42
10 $3.06 $30.60
100 $2.74 $274.00
500 $2.51 $1,255.00
1,000 $2.32 $2,320.00
ℹ️ All prices are in USD

PIC16F873A-I/ML Overview

The Microchip PIC16F873A-I/ML is an 8-bit PIC16 family microcontroller based on a RISC architecture with 35 single-word instructions, delivering up to 20 MHz (200 ns instruction cycle) and packaged in a 28-pin QFN (ML, 6x6 mm) with industrial temperature range (-40C to +85C). It integrates 7KB of Flash program memory, 192 bytes of RAM, and 128 bytes of EEPROM data memory, while providing 22 digital I/O pins, two 8-bit and one 16-bit timers, and two Capture/Compare/PWM (CCP) modules. The device includes a 10-bit, 5-channel Analog-to-Digital Converter (ADC), two analog comparators, and a USART, plus a Synchronous Serial Port configurable as either 3-wire SPI or 2-wire I2C.

A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, I/O peripherals, and often communication interfaces. The PIC16 family belongs to Microchip's mid-range 8-bit portfolio, positioned between the baseline PIC10/12/16 families and the higher-performance PIC18/dsPIC families, serving cost-sensitive embedded applications that require low power, deterministic interrupt response, and small code footprint.

Key differentiators of the PIC16F873A include self-programmability (Flash In-Circuit Serial Programming, ICSP), In-Circuit Debugger (ICD) support for hardware breakpoints, nanoWatt technology for power management with multiple idle/sleep modes, and a wide 2.0V to 5.5V operating voltage range enabling both 3.3V and 5V systems. The 10-bit ADC supports 5 channels for direct sensor interfacing without external mux ICs.

The architecture uses a 14-bit instruction word with separate 8-bit data path, a hardware multiplier option, and Harvard bus structure for deterministic timing. ICSP and ICD allow code updates and live debugging without removing the MCU from the PCB, reducing NRE cost for prototypes and field upgrades.

Typical applications include industrial sensor signal conditioning, low-cost motor control (fans, small BLDC), consumer appliance user interfaces, and battery-powered measurement instruments such as thermometers and data loggers. The QFN-28 footprint makes it suitable for compact PCBs where SOIC alternatives would consume excessive board area.

Designers should provide adequate decoupling (0.1uF ceramic plus 10uF bulk) on VDD, route MCLR through a 10k pull-up for ICSP, and use the nanoWatt sleep modes for battery duty-cycled designs to extend runtime. The 6x6 mm QFN pad requires a thermal via array to the inner ground plane for proper heat spreading during high-MIPS operation.

This page consolidates distributor pricing, verified drop-in alternatives from the same PIC16F87xA family, and practical design notes not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC16F873A-I/ML — 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 PIC16F873A-I/ML (same form factor and footprint) — differing in Package, Serial Interfaces, Core Architecture, Timers, Operating Temperature Range.

Microchip Technology
Package: 28-pin SPDIP (SP)
Serial Interfaces: MSSP (SPI / I2C), Enhanced USART (RS-485/LIN)
Core Architecture: 8-bit RISC, 14-bit instruction word
Microchip Technology
Package: 28-QFN (6x6 mm) with Exposed Pad
Timers: 2 x 8-bit, 1 x 16-bit
Operating Temperature Range: -40C to +125C (Extended, "-E" grade)
Microchip Technology
Package: 28-pin SOIC (SO)
Core Architecture: PIC16 8-bit RISC (Harvard)
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)
Serial Interfaces: 1 x SPI / I2C (SSP), 1 x USART
Core Architecture: 8-bit PIC RISC (Harvard)
Microchip Technology
Package: 44-pin QFN (ML), exposed pad
Serial Interfaces: USART + SSP (SPI / I2C)
Operating Temperature Range: -40 C to +85 C (Industrial, -I suffix)
Microchip Technology
Package: 28-pin QFN (ML), 6x6 mm
Serial Interfaces: 1x MSSP (SPI or I2C), USART
Microchip Technology
Package: 28-pin QFN (6 x 6 mm) with EP
Serial Interfaces: SPI, I2C, EUSART (UART)
Core Architecture: PIC16 RISC

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

PIC16F873A-E/ML

✅ Drop-In
Microchip Technology
📦 28-QFN (ML, 6x6 mm)
PIC 16F · PIC · 8-Bit · 20 MHz · 200 ns · 7 KB (4K x 14 words) FLASH · 192 bytes · 128 bytes

✓ In Stock

$3.35 / Unit

View Datasheet →

PIC16F876A-I/ML

✅ Drop-In
Microchip Technology
📦 28-QFN (ML, 6x6 mm)
PIC · 8-bit · PIC16 RISC · 35 single-word instructions · 200 ns · 14 KB (8K x 14 words) · 368 bytes · 256 bytes

✓ In Stock

$5.4 / Unit

View Datasheet →

PIC16F873A-I/SO

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 28-SOIC (SO, 7.50 mm)
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 →

PIC16F876A-E/ML

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 28-QFN (ML, 6x6 mm)
PIC16 8-bit RISC · 35 single-word instructions · 20 MHz · 200 ns · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 22

✓ In Stock

$4.85 / Unit

View Datasheet →

PIC16F737-I/SP

✅ Drop-In ⚠️ 参数待验证
Microchip Technology
📦 28-SPDIP (SP, 7.50 mm)
PIC16F7x7 mid-range 8-bit · 8-bit RISC, 14-bit instruction word · 35 single-word instructions · 20 MHz · 200 ns · 7 KB (4K x 14) · 368 bytes · 256 bytes

✓ In Stock

$3.34 / Unit

View Datasheet →

PIC16F873A-I/ML Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit PIC16 mid-range RISC
Instruction Set 35 single-word instructions, 14-bit instruction word
Maximum CPU Frequency 20 MHz (200 ns instruction cycle)
Program Memory (Flash) 7 KB (4K x 14)
Data RAM 192 bytes
Data EEPROM 128 bytes
Digital I/O Pins 22
ADC 10-bit, 5 channels
Comparators 2
Timers 2 x 8-bit, 1 x 16-bit (TMR1 with dedicated gate)
CCP/PWM Modules 2
Serial Interfaces USART, SSP (SPI master/slave or I2C master/slave)
Operating Voltage Range 2.0 V to 5.5 V
Operating Temperature Range -40 C to +85 C (Industrial)
Package 28-pin QFN (ML, 6x6 mm)
Mounting Type Surface Mount
In-Circuit Debug Yes (ICD via PGC/PGD)
Self-Programming Yes (ICSP)
Power-Saving Modes nanoWatt (sleep, idle, oscillator switchover)
RoHS Status Compliant

PIC16F873A-I/ML Pin Configuration

QFN-28 Package Pinout Diagram QFN-28 5x5mm, P0.5mm, EP 3.1x3.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 QFN-28
Pin 1 MCLR/VPP — Master Clear (reset) input / programming voltage input
Pin 2 RA0/AN0 — Digital I/O / analog input channel 0
Pin 3 RA1/AN1 — Digital I/O / analog input channel 1
Pin 4 RA2/AN2/VREF- — Digital I/O / analog input channel 2 / ADC VREF-
Pin 5 RA3/AN3/VREF+ — Digital I/O / analog input channel 3 / ADC VREF+
Pin 6 RA4/T0CKI/C1OUT — Digital I/O / Timer0 clock input / Comparator 1 output
Pin 7 RA5/AN4/SS/C2OUT — Digital I/O / analog input channel 4 / SPI slave select / Comparator 2 output
Pin 8 VSS — Ground reference
Pin 9 OSC1/CLKI — Crystal oscillator input / external clock input
Pin 10 OSC2/CLKO — Crystal oscillator output / clock output (Fosc/4)
Pin 11 RC0/T1OSO/T1CKI — Digital I/O / Timer1 oscillator output / Timer1 clock input
Pin 12 RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / CCP2 I/O
Pin 13 RC2/CCP1 — Digital I/O / CCP1 I/O (PWM)
Pin 14 RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock
Pin 15 RC4/SDI/SDA — Digital I/O / SPI data in / I2C data
Pin 16 RC5/SDO — Digital I/O / SPI data out
Pin 17 RC6/TX/CK — Digital I/O / USART async transmit / USART sync clock
Pin 18 RC7/RX/DT — Digital I/O / USART async receive / USART sync data
Pin 19 VSS — Ground reference
Pin 20 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 21 RB0/INT — Digital I/O / external interrupt
Pin 22 RB1 — Digital I/O
Pin 23 RB2 — Digital I/O
Pin 24 RB3/PGM — Digital I/O / ICSP LVP enable
Pin 25 RB4 — Digital I/O
Pin 26 RB5/PGM — Digital I/O / ICSP LVP enable
Pin 27 RB6/PGC — Digital I/O / ICSP clock (ICD clock)
Pin 28 RB7/PGD — Digital I/O / ICSP data (ICD data)

Typical Applications

PIC16F873A-I/ML is suitable for 6 applications: Industrial Sensor Signal Conditioning, Low-Cost BLDC / DC Motor Control, Consumer Appliance User Interface, Battery-Powered Data Logger / Thermometer, Automotive Interior Body Electronics (non-safety), Educational / Hobbyist Development Platforms.

🏭

Industrial Sensor Signal Conditioning

The PIC16F873A-I/ML fits industrial sensor signal conditioning because its built-in 5-channel 10-bit ADC directly digitizes analog sensor outputs (load cells, thermistors, pressure bridges) without an external mux IC, while its 22 digital I/O pins drive indicator LEDs, relay coils, and isolated digital outputs. The 7 KB Flash holds the calibration lookup tables and linearization routines, and the 2.0 V to 5.5 V supply range lets a single design serve both 3.3 V and 24 V industrial bus systems via a pre-regulator. Compared to a discrete op-amp + ADC chain, the integrated MCU reduces BOM by 5-7 parts and the QFN-28 footprint keeps the PCB under 25 x 25 mm.

🤖

Low-Cost BLDC / DC Motor Control

The PIC16F873A-I/ML is a strong fit for small BLDC or DC motor control because its two CCP modules generate complementary PWM signals with dead-band control for half-bridge drivers, while the 16-bit Timer1 captures Hall-sensor feedback for closed-loop speed regulation. The 20 MHz CPU runs the FOC or trapezoidal commutation algorithm at 10 kHz with 200 ns resolution, well within the 7 KB Flash budget for typical motor-control firmware. The QFN-28 footprint fits inside the motor housing, and the nanoWatt sleep mode drops current below 1 uA when the motor is idle.

🏠

Consumer Appliance User Interface

The PIC16F873A-I/ML suits consumer appliance UI boards (washing machines, microwaves, coffee makers) because its 22 digital I/O pins drive 7-segment displays, button matrices, buzzer, and triac interfaces directly, while the USART links to a Wi-Fi/BLE daughter module for smart-appliance connectivity. The 5-channel ADC reads NTC temperature probes and line-voltage feedback, and the 7 KB Flash is ample for menu state machines plus capacitive-touch software. Operating from 2.0 V to 5.5 V handles brownouts during motor inrush without resetting, improving field reliability.

🔋

Battery-Powered Data Logger / Thermometer

The PIC16F873A-I/ML fits battery-powered data loggers because its nanoWatt technology drops sleep current to ~100 nA, extending 2xAA battery life past 2 years on duty-cycled sampling. The internal 31 kHz LFINTOSC keeps time-stamping accurate while the CPU sleeps, and the I2C master reads an external EEPROM for log storage. The 5-channel ADC measures temperature (NTC via MCP9700), battery voltage, and 3 auxiliary analog channels. The 2.0 V to 5.5 V range supports single-cell lithium chemistries directly.

🚗

Automotive Interior Body Electronics (non-safety)

The PIC16F873A-I/ML fits non-safety automotive interior modules (ambient lighting, seat-position memory, mirror control) where its industrial -40C to +85C range covers cabin temperatures and the 5-channel ADC reads potentiometers and current-sense shunts. Two CCP modules generate PWM for LED dimming and small DC motor speed control, while the USART links to a CAN bridge IC (MCP2515) for body-network communication. The QFN-28 footprint integrates into compact modules behind dashboard trim.

🎓

Educational / Hobbyist Development Platforms

The PIC16F873A-I/ML is a strong fit for educational microcontroller curricula because the 35-instruction RISC architecture is teachable in a single semester, MPLAB X IDE + XC8 compiler are free, and the ICSP/ICD interface allows in-circuit debugging on a $5 programmer. The 7 KB Flash holds reference projects (LED blinker, UART terminal, I2C scanner, ADC voltmeter) and the QFN-28 breakout boards are widely available on JLCPCB/PCBWay shared projects. The nanoWatt modes make it a natural teaching example for embedded power management.

Recommended Products Summary

PIC16F873A-E/ML Microchip Technology Used in: Industrial Sensor Signal Conditioning, Consumer Appliance User Interface, Automotive Interior Body Electronics (non-safety) MCP9700T-E/TT Analog temperature sensor feeding the 10-bit ADC Used in: Industrial Sensor Signal Conditioning, Battery-Powered Data Logger / Thermometer MCP6022-I/SN Rail-to-rail op-amp for sensor front-end buffering Used in: Industrial Sensor Signal Conditioning PIC16F876A-I/ML Microchip Technology Used in: Low-Cost BLDC / DC Motor Control MCP8024T-E/PT 3-phase BLDC gate driver companion Used in: Low-Cost BLDC / DC Motor Control ATSAMDA1G15B-MBT Microchip Technology Used in: Low-Cost BLDC / DC Motor Control MCP23S17-E/SP SPI I/O expander for extra display/keypad pins Used in: Consumer Appliance User Interface PIC16F818-I/ML Microchip Technology Used in: Consumer Appliance User Interface, Educational / Hobbyist Development Platforms 24LC256-I/SN I2C EEPROM for log persistence Used in: Battery-Powered Data Logger / Thermometer PIC16F818-I/SS Microchip Technology Used in: Battery-Powered Data Logger / Thermometer MCP2515-I/SO Standalone CAN controller over SPI Used in: Automotive Interior Body Electronics (non-safety) ATSAMDA1J14B-ABT Microchip Technology Used in: Automotive Interior Body Electronics (non-safety) PIC16F84A-20I/P Microchip Technology Used in: Educational / Hobbyist Development Platforms PIC18F46K22-I/PT Next-step upgrade for advanced classes Used in: Educational / Hobbyist Development Platforms
What is the flash program memory size of the PIC16F873A-I/ML?
The PIC16F873A-I/ML has 7 KB (4K x 14 words) of Flash program memory. According to Microchip datasheet DS39582C, the Flash is self-programmable via ICSP (In-Circuit Serial Programming) and supports up to 100,000 erase/write cycles, making it suitable for field-upgradable firmware in industrial and consumer applications.
How many ADC channels does the PIC16F873A-I/ML have?
The PIC16F873A-I/ML integrates a single 10-bit Analog-to-Digital Converter with 5 input channels multiplexed to AN0-AN4. According to the Microchip datasheet, the ADC supports acquisition time programmable via ACQT bits and a 2.5V reference internal option; for higher resolution designs (12-bit) the PIC16F18854 is recommended as the newer replacement.
What is the operating voltage of the PIC16F873A-I/ML?
The PIC16F873A-I/ML operates from 2.0 V to 5.5 V on VDD, supporting both 3.3 V and 5 V designs. According to Microchip datasheet DS39582C, the brown-out reset (BOR) and nanoWatt sleep modes remain functional across this range; at 5 V the CPU executes 5 MIPS while at 3.3 V it remains stable at 10 MHz.
Where can I buy the PIC16F873A-I/ML at the best price?
As of 2026-09-21, the PIC16F873A-I/ML is available from DigiKey (571535), Mouser, Microchip Direct, LCSC, Octopart, and Avaq. Unit pricing ranges from approximately $3.42 at qty 1 to $2.32 at qty 1000, with bulk-tray pricing dropping further above 5000 pieces. Lead time is generally 8-12 weeks from franchised distributors for non-stocked quantities.
Is the PIC16F873A-I/ML currently in stock at major distributors?
As of 2026-09-21, distributor inventory shows mixed stock levels: DigiKey lists several thousand pieces with ships-today indication, Mouser carries qty 1 to several thousand, and Microchip Direct typically lists factory stock. For large-volume orders (>10k), Microchip Direct usually offers the shortest lead time. Always confirm with your distributor's API for real-time inventory before placing BOM-locked orders.
What is the lead time for PIC16F873A-I/ML when ordering 1000 units?
As of 2026-09-21, the lead time for 1000 pieces of PIC16F873A-I/ML from franchised distributors is typically 2-4 weeks if in stock, or 8-12 weeks for factory orders placed through Microchip Direct. MOQ from Microchip is one tray (61 pieces per tray for the QFN-28 package). For urgent requirements, distributor-rack inventory on DigiKey or Mouser usually ships same-day.
What is the difference between PIC16F873A-I/ML and PIC16F873A-E/ML?
The PIC16F873A-I/ML has an industrial temperature range of -40C to +85C, while the PIC16F873A-E/ML has an extended temperature range of -40C to +125C. Both share the same 28-QFN package, 7 KB Flash, 192-byte RAM, and 5-channel 10-bit ADC, making the E/ML a drop-in thermal upgrade for harsher environments.
Which newer Microchip device replaces the PIC16F873A-I/ML?
Microchip recommends the PIC16F18854 as the newer functional replacement for the PIC16F873A-I/ML. The PIC16F18854 adds a 12-bit ADC (vs 10-bit), more PWM modules, and Core Independent Peripherals (CIPs), but pin compatibility is not guaranteed - PCB redesign may be required. For true drop-in pin compatibility within the same family, consider PIC16F873A-E/ML.
PIC16F873A-I/ML vs PIC16F876A - which is better for a 5-channel sensor application?
For a 5-channel sensor application on a tight budget, the PIC16F873A-I/ML is sufficient with its built-in 5-channel 10-bit ADC. The PIC16F876A offers 14 KB Flash (2x program space), 368 bytes RAM (~2x), and the same 5-channel 10-bit ADC, making it a better choice if firmware size or RAM headroom is a concern. Both share the same 28-pin QFN, SPI, I2C, and USART peripherals.
Can I use PIC16F876A-I/ML as a drop-in replacement for PIC16F873A-I/ML?
The PIC16F876A-I/ML shares the same 28-pin QFN footprint and pinout as the PIC16F873A-I/ML, but it is NOT a true drop-in because of doubled Flash (14 KB vs 7 KB) and RAM (368 vs 192 bytes). For pin-compatible code, the C/asm source remains compatible (same 35-instruction set, same SFR layout). Designers can substitute without PCB changes, but the linker must be reconfigured for the larger memory map.
When should I choose PIC16F873A-I/ML over a Cortex-M0+ MCU like ATSAMD21?
Choose the PIC16F873A-I/ML when BOM cost, ultra-low sleep current, deterministic interrupt latency, and a small 8-bit instruction footprint are priorities - typical for thermometers, simple motor controllers, and consumer appliances. Choose an ATSAMD21 (Cortex-M0+) when you need 32-bit arithmetic, USB, DMA, or modern toolchain support - typical for IoT sensor hubs. PIC16F873A wins on cost-per-MIPS for simple bit-banging tasks; ATSAMD21 wins on peripheral density and ecosystem.
Is the PIC16F873A-I/ML suitable for battery-powered designs?
Yes, the PIC16F873A-I/ML is suitable for battery-powered designs. According to Microchip datasheet DS39582C, its nanoWatt technology provides sleep currents below 1 uA (typical 100 nA in Sleep with WDT off), with fast wake-up via interrupts. Operating from 2.0 V allows single-cell lithium or 2xAA operation. The internal 31 kHz LF oscillator lets the CPU stay in sleep while a timer wakes it periodically for sensor sampling.
What is the pinout of the PIC16F873A-I/ML in the 28-QFN package?
The PIC16F873A-I/ML pinout in the 28-QFN (ML, 6x6 mm) package follows the standard PIC16F87xA 28-pin layout: pin 1 is the top-left pad with the marker dot, with pins numbered counter-clockwise. Pins 8, 19, and 28 are VSS (ground), pin 20 is VDD, pin 1 is MCLR/VPP, and pins 2/3 are RA0/RA1. For the official diagram refer to Microchip datasheet DS39582C page 4 (Package pinout diagram for 28-pin QFN).
Where can I download the PIC16F873A-I/ML datasheet PDF?
The official PIC16F873A-I/ML datasheet PDF is available at https://ww1.microchip.com/downloads/en/DeviceDoc/39582C.pdf (Microchip datasheet DS39582C, 234 pages). An alternative hosting is https://www.alldatasheet.com/datasheet-pdf/pdf/82339/MICROCHIP/PIC16F873A.html. Both are direct downloads of the same Microchip-authoritative document with electrical characteristics, ADC timing, and programming specifications.

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

Selection Guide

Choose the PIC16F873A-I/ML when you need a compact 8-bit MCU with 7 KB Flash, 5-channel 10-bit ADC, USART, SPI/I2C, and 22 I/O pins in a small 6x6 mm QFN-28, and your application runs in -40C to +85C industrial environments. For extended-temperature (engine bay, oven-adjacent) designs, substitute with the PIC16F873A-E/ML. If firmware exceeds 7 KB or RAM exceeds 192 B, switch to PIC16F876A-I/ML (14 KB Flash, 368 B RAM, same QFN-28 pinout) without changing the PCB. For hobbyist or breadboard designs where SMD is impractical, use PIC16F873A-I/SO (SOIC-28, same electrical specs, larger PCB footprint). For new designs where the supply chain allows, consider migrating to PIC16F18854 which adds 12-bit ADC and Core Independent Peripherals but requires PCB redesign.

Comparison with Alternatives

Parameter This Product PIC16F873A-E/ML PIC16F876A-I/ML PIC16F873A-I/SO PIC16F876A-E/ML PIC16F737-I/SP
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-QFN (ML, 6x6 mm) 28-QFN (ML, 6x6 mm) - same 28-QFN (ML, 6x6 mm) - same 28-SOIC (SO, 7.50 mm) - different 28-QFN (ML, 6x6 mm) - same 28-SPDIP (SP, 7.50 mm) - different
Flash Memory 7 KB 7 KB 14 KB 7 KB 14 KB 14 KB
RAM 192 B 192 B 368 B 192 B 368 B 368 B
EEPROM 128 B 128 B 256 B 128 B 256 B 256 B
ADC Resolution / Channels 10-bit / 5 ch 10-bit / 5 ch 10-bit / 5 ch 10-bit / 5 ch 10-bit / 5 ch 10-bit / 8 ch
Maximum Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Operating Temperature -40C to +85C (Industrial) -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +85C (Industrial) -40C to +125C (Extended) -40C to +85C (Industrial)
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

Key Differentiators

  • Smaller QFN-28 footprint than SOIC-28 with same electrical specs (vs PIC16F873A-I/SO)
  • Larger Flash and RAM for richer firmware without PCB change (vs PIC16F873A-E/ML)
  • Extended temperature drop-in variant for harsh environments (vs PIC16F873A-I/SO)

Design Notes

The 28-QFN package has a central exposed pad (pin 29, EPAD) that MUST be soldered to a 4x4 via-array thermal pad tied to VSS for both electrical grounding and thermal dissipation. Skipping the EPAD soldering voids the -40C to +85C thermal rating and may cause latch-up at high temperatures. Recommended pad geometry per Microchip package drawing TB3013 (DS01049B): 0.4 mm via diameter, 1.0 mm pitch, 9 thermal vias minimum for the 6x6 mm QFN.

Place a 100 nF X7R ceramic decoupling capacitor within 3 mm of each VDD pin (pin 20) and a 10 uF X5R bulk capacitor within 10 mm. Tie all VSS pins (8, 19) to a single ground plane with 0.5 mm-wide traces minimum. The PIC16F873A draws up to 30 mA at 20 MHz/5 V, so the supply trace must handle 50 mA peak; use a 0.2 mm-wide trace or pour connected directly to the bulk cap. Without proper decoupling the internal ADC will show 2-3 LSB noise at full sampling rate.

Do not connect MCLR (pin 1) directly to VDD without a pull-up - leave it floating or tie through a 10 kohm resistor to VDD for normal operation, and provide a path to VPP (13 V typical) for ICSP. For ICSP/ICD bring out PGC (RB6, pin 27), PGD (RB7, pin 28), MCLR (pin 1), VDD, and VSS to a 5-pin header to support PICkit programmers. Configuring RB3 as PGM (low-voltage programming) without disabling it in code can accidentally enter programming mode during EMI events.

Route the analog inputs (AN0-AN4, RA0-RA3, RA5) on a separate analog ground island if the board has noisy digital currents > 50 mA switching. Keep ADC traces short (<25 mm) and away from switching regulator feedback traces. The VREF+/VREF- pins (RA3/RA2) should each have a 100 nF ceramic directly to analog ground. Reference Microchip AN546 (DS00546) for ADC layout best practices.

When using the SPI master at 10 MHz, ensure the SCK trace is <50 mm and that SDI/SDO traces do not run parallel for more than 10 mm without a ground guard trace. The I2C master requires external 4.7 kohm pull-ups on SCL (RC3) and SDA (RC4) for 400 kHz Fast Mode operation. For long I2C buses (>200 mm), add 100 ohm series resistors at the master end to dampen ringing on rising edges.

Compliance Information

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

RoHS compliant per Microchip product page. Industrial temperature grade - not AEC-Q100 qualified; for automotive safety-critical applications use PIC16F873A-I/ML only in non-safety body electronics. Halogen-free status not explicitly stated in source data.

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

Related Searches

PIC16F873A-I/ML PIC16F873A-I/ML datasheet Microchip PIC16F873A 8-bit 20MHz microcontroller 7KB flash QFN-28 PIC16F873A QFN-28 pinout PIC16F873A-I/ML industrial sensor PIC16F873A-I/ML vs PIC16F876A PIC16F873A-I/ML drop-in replacement buy PIC16F873A-I/ML PIC16F873A-I/ML price lead time PIC16F873A 10-bit ADC 5 channels PIC16F873A battery powered data logger PIC16F873A-I/ML new replacement PIC16F18854 what is the flash size of PIC16F873A hey google what can replace PIC16F873A

Related Components & Terms

Microchip Technology PIC16F873A PIC16F873A-I/ML PIC16F873A-E/ML PIC16F876A-I/ML PIC16F876A-E/ML PIC16F873A-I/SO PIC16F737-I/SP PIC16F18854 8-bit microcontroller PIC16 mid-range family MCU Flash memory EEPROM RAM ADC 10-bit ADC CCP module PWM USART SPI I2C QFN-28 QFN package family surface mount SMD ICSP ICD In-Circuit Debug nanoWatt technology RoHS AEC-Q100 industrial temperature range operating voltage range brown-out reset comparator timer sensor signal conditioning BLDC motor control consumer appliance UI battery-powered data logger educational microcontroller platform
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