Microchip Technology

PIC16F874A-E/L - 8-bit 20MHz 7KB Flash MCU | Microchip | PLCC-44

MPN: PIC16F874A-E/L ✓ Active
In Stock Ships in 1-3 business days
4.0 V to 5.5 V Vdss PLCC-44 (L) Package 20 MHz Speed 7 KB Flash (self-programming) Memory
From $5.55 USD / Unit
MOQ: 1 |
Price updated: 2026-09-21
Volume Pricing
Qty Unit Price Extended
1 $8.5 $8.50
10 $7.65 $76.50
100 $6.81 $681.00
500 $6.1 $3,050.00
1,000 $5.55 $5,550.00
ℹ️ All prices are in USD

PIC16F874A-E/L Overview

The Microchip Technology PIC16F874A-E/L is a CMOS Flash-based 8-bit microcontroller built on the powerful PIC16 RISC architecture, executing instructions in 200 ns and offering 7 KB of self-programming Flash program memory, 192 bytes of RAM, and 128 bytes of EEPROM data memory in a 44-pin PLCC (L) package. It integrates 33 digital I/O lines, two 8-bit timers plus one 16-bit timer, two analog comparators, a 10-bit 8-channel Analog-to-Digital Converter (ADC), two Capture/Compare/PWM (CCP) modules, and a Synchronous Serial Port configurable as either 3-wire SPI or 2-wire I²C, along with a USART for asynchronous serial communication.

A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and peripherals. Within the semiconductor taxonomy, the PIC16F874A belongs to the 8-bit microcontroller family, which sits inside the broader mid-range PIC16 sub-family. The 'F' prefix denotes Flash program memory, 'A' indicates the enhanced flash generation, '874A' identifies the specific part with 7 KB Flash / 192 B RAM / 128 B EEPROM, and the 'E' suffix denotes the extended industrial temperature grade (-40°C to +125°C). The 'L' package code designates a 44-lead PLCC.

Key differentiating features include nanoWatt Technology for power-managed sleep modes, an ICD (In-Circuit Debug) interface, and 20 MHz operation from a 4.0 V to 5.5 V supply. The 10-bit ADC supports 8 input channels at up to approximately 12-15 ksps, while the CCP modules deliver 10-bit PWM resolution suitable for motor, lighting, and analog control loops. Internal RC oscillator options reduce BOM cost when precision is not required.

Typical applications include industrial sensor conditioning, motor control, low-end human-machine interfaces, automotive body modules, and educational/development platforms. The wide operating temperature range and 33 I/O make it well suited for distributed embedded nodes in factory automation.

When designing with this part, ensure the MCLR reset circuit uses the proper pull-up topology and that the configuration word (oscillator, watchdog, brown-out, code protection) is set before code execution. Decouple VDD with 100 nF ceramic capacitors placed within 5 mm of each power pin, and respect the 5.5 V absolute maximum supply rating.

Drop-in alternatives for PIC16F874A-E/L — 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 PIC16F874A-E/L (same form factor and footprint) — differing in Package, ADC, Timers, Operating Temperature, Instruction Cycle Time.

Microchip Technology
Package: 40-pin PDIP (0.600 in, 15.24 mm)
ADC: 8 channels x 10-bit
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin PLCC (16.59 x 16.59 mm)
ADC: 8 channels, 10-bit resolution
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-PLCC (16.59 x 16.59 mm)
ADC: 10-bit, up to 8 channels
Timers: Two 8-bit + one 16-bit
Microchip Technology
Package: 44-pin PLCC (J-lead, 16.59 x 16.59 mm)
ADC: 10-bit, up to 8 channels
Timers: 2 x 8-bit, 1 x 16-bit

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

PIC16F874A-I/L

✅ Drop-In
Microchip Technology
📦 PLCC-44 (L)
8-bit PIC16 enhanced Harvard RISC · 35 single-word instructions · 20 MHz · 200 ns at 20 MHz · 7 KB (4K x 14 words) · 192 bytes · 128 bytes · 2.0 V to 5.5 V

✓ In Stock

$5.2 / Unit

View Datasheet →

PIC16F874AT-I/L

✅ Drop-In
Microchip Technology
📦 PLCC-44 (L)
PIC16 8-bit RISC · Flash · 7 KB (4K x 14 words) · 192 bytes · 128 bytes · 20 MHz · 200 ns · 2.0 V to 5.5 V

✓ In Stock

$5.88 / Unit

View Datasheet →

PIC16F877A-E/L

✅ Drop-In
Microchip Technology
📦 PLCC-44 (L)
PIC16 · 8-bit Harvard RISC · 35 single-word instructions · 200 ns @ 20 MHz · 20 MHz · 14 KB (8K x 14 words) · 368 bytes · 256 bytes

✓ In Stock

$7.4 / Unit

View Datasheet →
ℹ️ 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.

PIC16F874A-E/L Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 8-bit RISC
Program Memory 7 KB Flash (self-programming)
RAM 192 B
EEPROM 128 B
Maximum CPU Frequency 20 MHz
Instruction Cycle 200 ns
Instruction Set 35 single-word instructions
Supply Voltage 4.0 V to 5.5 V
Operating Temperature -40°C to +125°C (E suffix = extended)
Digital I/O Pins 33
ADC 10-bit, 8 channels
Timers 2 × 8-bit + 1 × 16-bit
Capture/Compare/PWM 2 CCP modules, 10-bit PWM
Analog Comparators 2
Serial Interfaces SPI / I²C / USART
Package PLCC-44 (L)
Mounting Type Surface Mount
RoHS Status Compliant (per manufacturer product page)
Low-Power Mode nanoWatt Technology

PIC16F874A-E/L plcc-44 (l) Pin Configuration Guide

Pin configuration for PIC16F874A-E/L (plcc-44 (l) package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.

plcc-44 (l) package pinout diagram for PIC16F874A-E/L

No detailed pinout data available for PIC16F874A-E/L.

Refer to the datasheet for full pin configuration.

Typical Applications

PIC16F874A-E/L is suitable for 6 applications: Industrial Sensor Conditioning, Motor Control (Brushed DC / Stepper), Automotive Body Electronics, Human-Machine Interface Panels, Smart Home / IoT Edge Nodes, Educational / Development Platforms.

🏭

Industrial Sensor Conditioning

The PIC16F874A-E/L is well suited for industrial sensor signal conditioning nodes thanks to its 8-channel 10-bit ADC (4.88 mV/LSB at 5 V) and 33 digital I/O lines, allowing multiple analog sensors and digital actuators to be aggregated on a single MCU. The PIC16F874A-E/L's 192 B RAM and 128 B EEPROM support calibration constants and look-up tables for sensor linearization. Typical placement is on a 24 V → 5 V regulator input rail, with the on-chip USART used to forward conditioned measurements to a PLC or gateway. The nanoWatt sleep modes let battery-backed remote sensor nodes achieve multi-year battery life.

🏭

Motor Control (Brushed DC / Stepper)

The PIC16F874A-E/L drives brushed DC and stepper motors through its two 10-bit PWM/CCP modules, which deliver up to 10-bit duty-cycle resolution for smooth torque control. With 20 MHz CPU clock, the firmware loop runs at 200 ns/instruction allowing sub-microsecond control updates; the 16-bit timer provides a high-resolution timebase for trapezoidal commutation. Typical placement is on a 5 V logic rail with MOSFET drivers downstream, with the comparator inputs used for back-EMF sensing on brushed DC motors.

🚗

Automotive Body Electronics

The PIC16F874A-E/L's -40°C to +125°C extended industrial temperature grade supports automotive body-electronics modules like seat controllers, mirror adjusters, and interior lighting nodes. Its 33 I/O handle multiple LED drivers, switch inputs, and LIN-bus transceivers via the USART. The PIC16F874A-E/L's 7 KB Flash with self-programming supports OTA-style bootloader updates via the CAN/LIN interface; the 128-byte EEPROM stores per-unit trim and diagnostic counters that survive battery disconnects.

📺

Human-Machine Interface Panels

The PIC16F874A-E/L interfaces with character LCDs, keypads, and rotary encoders using its 33 digital I/O and SPI peripheral for display refresh. At 20 MHz, the firmware can refresh a 16x2 character LCD at >100 Hz without visible flicker; the I²C peripheral can drive LED-driver expanders such as the MCP23017 for additional indicators. Typical placement is on a front-panel PCB with a 5 V rail and ESD-protected key inputs, with the on-chip EEPROM storing user preferences and menu state.

🧩

Smart Home / IoT Edge Nodes

The PIC16F874A-E/L serves as a low-cost edge controller in smart-home products such as thermostats, irrigation controllers, and appliance sub-modules. Its nanoWatt modes drop quiescent current to microampere levels for battery-backed wireless sensor nodes, while its 33 I/O manage multiple relays, push-buttons, and LED indicators. The SPI peripheral connects to sub-GHz transceivers or Wi-Fi co-processors, and the USART links to BLE modules for smartphone pairing.

🔧

Educational / Development Platforms

The PIC16F874A-E/L is widely adopted in university embedded-systems courses and hobbyist development boards because of its 35-instruction RISC core, built-in ICD, and broad peripheral set. The on-chip ICD allows real-time breakpoint debugging with PICkit 3/4, and 7 KB Flash provides ample room for teaching labs covering PWM, ADC, I²C, and interrupt-driven firmware. Microchip's MPLAB X IDE plus XC8 compiler offers a free toolchain, and the PIC16F874A-E/L is supported by the open-source SDCC compiler for portability.

Recommended Products Summary

MCP6002 Op-amp for sensor signal buffering Used in: Industrial Sensor Conditioning MCP1700 3.3V LDO for low-power rail Used in: Industrial Sensor Conditioning, Automotive Body Electronics TC4427 MOSFET gate driver Used in: Motor Control (Brushed DC / Stepper) IRF540N N-channel MOSFET power stage Used in: Motor Control (Brushed DC / Stepper) MCP2551 CAN transceiver Used in: Automotive Body Electronics MCP23017 I/O expander for additional buttons/LEDs Used in: Human-Machine Interface Panels HD44780 Character LCD module Used in: Human-Machine Interface Panels MCP9808 High-accuracy temperature sensor Used in: Smart Home / IoT Edge Nodes RN2483 LoRaWAN transceiver Used in: Smart Home / IoT Edge Nodes PICkit 4 In-circuit debugger/programmer Used in: Educational / Development Platforms MCP2200 USB-to-UART bridge for PC interface Used in: Educational / Development Platforms
What is the program memory size of PIC16F874A-E/L?
The PIC16F874A-E/L integrates 7 KB of Flash program memory with self-programming capability, plus 192 bytes of data RAM and 128 bytes of EEPROM. According to Microchip's PIC16F87XA datasheet, the Flash supports up to 100,000 erase/write cycles typical and the EEPROM supports up to 1,000,000 erase/write cycles typical, which is more than adequate for firmware updates and parameter storage in long-lifecycle products.
What is the maximum clock speed of PIC16F874A-E/L?
The PIC16F874A-E/L runs at up to 20 MHz external oscillator input, producing a 200 ns instruction cycle (one instruction per 4 clocks). For applications requiring slower operation, internal oscillator modes of 31 kHz to 8 MHz are configurable via the configuration word, which lets the same part serve ultra-low-power and high-throughput designs with a single BOM line.
How many I/O pins and ADC channels does PIC16F874A-E/L provide?
The PIC16F874A-E/L provides 33 digital I/O lines and an 8-channel 10-bit ADC. The 33 I/O are multiplexed with the ADC inputs and CCP peripherals; shared pins require peripheral priority decisions at firmware level. The 10-bit resolution yields 1024 quantization steps, equivalent to ~4.88 mV per LSB at a 5 V reference - more than sufficient for sensor conditioning and process-variable monitoring.
Is PIC16F874A-E/L drop-in compatible with PIC16F874A-I/L?
Yes, the PIC16F874A-E/L is pin-for-pin compatible with PIC16F874A-I/L; only the operating temperature grade differs. The 'E' suffix specifies -40°C to +125°C extended industrial range while the 'I' suffix specifies -40°C to +85°C industrial range. For new designs in automotive or harsh-environment applications, choose the E suffix. Both parts share identical PLCC-44 (L) package and feature set per the Microchip datasheet.
Where to buy PIC16F874A-E/L online and what is the price?
The PIC16F874A-E/L is stocked at DigiKey (P/N PIC16F874A-E/L-ND), Mouser, LCSC Electronics ($2.5624 as of 2026-09-21), and other authorized distributors. Pricing as of 2026-09-21 ranges roughly from $5.55/unit at 1000-piece volume to $8.50 unit at qty-1. Authorized distribution is recommended to avoid counterfeit parts - Microchip recommends ordering through Authorized distributors.
What is the lead time for PIC16F874A-E/L?
Lead time for the PIC16F874A-E/L is generally immediate ex-stock from major authorized distributors including DigiKey and Mouser, as Microchip reports the part as Active lifecycle with no NRND/EOL. For high-volume OEM orders (10k+ units), lead time can extend to 8-12 weeks; consult your franchised distributor for a real-time quote. The part remains in full production with no last-time-buy date announced.
PIC16F874A-E/L vs PIC16F874A-I/L - which should I choose?
Choose PIC16F874A-E/L when the end equipment is exposed to temperatures above 85°C such as automotive under-hood, outdoor enclosures, or industrial near-motor installations. Choose PIC16F874A-I/L for indoor commercial or industrial-control enclosures where -40°C to +85°C is sufficient. Both parts share the PLCC-44 package, identical electrical specs, and the same datasheet - so the choice is purely a temperature-grade and cost decision.
Can PIC16F877A-I/L replace PIC16F874A-E/L?
The PIC16F877A-I/L is NOT a drop-in replacement for the PIC16F874A-E/L. Both share the PLCC-44 footprint, but PIC16F877A has 14 KB Flash versus 7 KB for PIC16F874A. Code compiled for 7 KB will run on the 877A only if it fits within 7 KB; the larger memory does not hurt, but the temperature grade differs (I vs E). For a true pin-compatible swap, prefer PIC16F874A-E/L <-> PIC16F874A-I/L or PIC16F874A-E/PT vs PIC16F874A-I/PT in TQFP.
What is the best drop-in replacement for PIC16F874A-E/L?
The best drop-in replacements for PIC16F874A-E/L are PIC16F874A-I/L (same PLCC-44, -40°C to +85°C industrial grade) and PIC16F874AT-I/L (tape-and-reel variant of I grade). Both are pin-to-pin identical. The PIC16F874A-E/PT in TQFP-44 is a same-silicon, same-temperature-grade variant for SMT designs that need a finer pitch. Always verify your PCB land pattern matches the L (PLCC-44) package before substitution.
Where can I download the PIC16F874A-E/L datasheet PDF?
The PIC16F874A datasheet (DS39582B) is freely downloadable from Microchip's website at https://ww1.microchip.com/downloads/en/devicedoc/39582b.pdf. The datasheet covers the PIC16F873A, PIC16F874A, PIC16F876A, and PIC16F877A family, with device-specific sections explaining each variant. Alldatasheet and Digchip also host a mirror. Always prefer the manufacturer PDF for the latest revision.
What are the serial interfaces on PIC16F874A-E/L?
The PIC16F874A-E/L integrates three serial peripherals: a Synchronous Serial Port (SSP) configurable as 3-wire SPI master/slave or 2-wire I²C slave, and an enhanced USART supporting RS-232/RS-485 asynchronous modes. Per the Microchip datasheet, the I²C module supports Standard mode (100 kHz) and Fast mode (400 kHz), and the SPI can run up to 5 MHz at 5 V. These three channels cover virtually all embedded sensor-bus, GPS, and HMI-display interfaces.
Does PIC16F874A-E/L support in-circuit debugging?
Yes, the PIC16F874A-E/L includes a built-in In-Circuit Debugger (ICD) accessible via the PGD/PGC pins. Per the Microchip datasheet, this requires two I/O pins (RB6/RB7) reserved for ICD during development and an MPLAB ICD 2/3/4 or PICkit programmer/debugger. Production boards can release the pins after firmware lock by clearing the debug bit in the configuration word, allowing the full 33 I/O for end-product use.
Is PIC16F874A-E/L RoHS compliant?
Yes, the PIC16F874A-E/L is RoHS compliant. The PLCC-44 (L) package uses lead-free matte-tin plating on the leads and a RoHS-compliant molding compound, certified to Microchip product page data. REACH SVHC and halogen-free status are typically also compliant per Microchip's standard policy; consult the manufacturer declaration letter for the specific lot.
What is the difference between PIC16F874A and PIC16F877A?
The PIC16F874A has 7 KB Flash / 192 B RAM, while the PIC16F877A has 14 KB Flash / 368 B RAM. Both share the same 28/40/44-pin PIC16 enhanced architecture, peripherals (ADC, CCP, SPI/I²C/USART), and instruction set, so PIC16F877A is upward code-compatible. If your firmware fits in 7 KB and you need the larger memory for future-proofing, PIC16F877A in the same PLCC-44 footprint is a viable upgrade path.
What are the key specifications of PIC16F874A-E/L that engineers should know?
The PIC16F874A-E/L key specs per the Microchip datasheet are: 8-bit PIC16 RISC core at 20 MHz / 200 ns instruction cycle, 7 KB Flash with self-programming, 192 B RAM, 128 B EEPROM, 33 I/O, 10-bit 8-channel ADC, 2 CCP, 2 comparators, SPI/I²C/USART, 4.0-5.5 V supply, and -40°C to +125°C extended temperature in PLCC-44. These parameters make it well suited for industrial control, automotive body, and sensor-interface applications.

Engineering reference data for PIC16F874A-E/L — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16F874A-E/L when you need an 8-bit PIC16 MCU in a through-hole-friendly PLCC-44 footprint with extended -40C to +125C temperature grade for industrial or automotive body applications. The 7 KB Flash and 192 B RAM suit sensor-conditioning, low-end motor control, and human-machine-interface designs. If you need larger memory in the same package, upgrade to PIC16F877A-E/L (14 KB Flash, 368 B RAM). If your environment stays below 85C and you want a lower-cost option, choose PIC16F874A-I/L. For SMT-only designs with no PLCC socket, choose the TQFP-44 variant PIC16F874A-E/PT - but note the PCB footprint differs.

Comparison with Alternatives

Parameter This Product PIC16F874A-I/L PIC16F877A-E/L
Brand Microchip Technology Microchip Technology Microchip Technology
Package PLCC-44 (L) PLCC-44 (L) - same PLCC-44 (L) - same
Flash Memory 7 KB 7 KB 14 KB (+100%)
RAM 192 B 192 B 368 B (+92%)
EEPROM 128 B 128 B 256 B (+100%)
Operating Temperature -40C to +125C (E) -40C to +85C (I) -40C to +125C (E)
Max Clock Speed 20 MHz 20 MHz 20 MHz
I/O Pins 33 33 33
ADC 10-bit, 8 channels 10-bit, 8 channels 10-bit, 8 channels

Key Differentiators

  • Self-programming Flash with 100k erase/write cycles (vs OTP PIC16C774)
  • nanoWatt low-power modes vs non-power-managed 8051 MCUs (vs Generic 8051 (e.g. AT89C51))
  • Extended -40C to +125C industrial temperature range (vs PIC16F874A-I/L (-40C to +85C))

Design Notes

Decouple VDD/AVDD/VSS/AVSS with 100 nF ceramic capacitors placed within 5 mm of each power pin; add a bulk 10 uF tantalum or aluminum-polymer capacitor at the regulator output. The PIC16F874A-E/L has separate analog (AVDD/AVSS) and digital (VDD/VSS) supply pins; tying AVSS to VSS is acceptable but for ADC accuracy route AVDD through a ferrite bead or small L-C filter from VDD to keep digital switching noise below 1 mV at the analog supply. Estimated: with 20 MHz CPU and all peripherals active, IDD is typically 10-15 mA; sleep mode reduces this to under 2 uA.

The 44-pin PLCC (L) package uses J-leads on a 1.27 mm pitch with a square socket footprint. Provide at least 1.5 mm clearance around the package outline for socket insertion, and avoid routing traces under the IC body. The exposed die paddle is not present on PLCC, so thermal dissipation is via the 44 lead frame to inner-layer copper pours - place a 4 mm² thermal via array beneath the package tied to GND. For production, hand-solder or socket the PLCC rather than reflow, as J-leads can be damaged by repeated thermal cycling.

Do not leave the MCLR pin floating; tie it to VDD through a 10-47 kohm pull-up resistor and a 100 nF capacitor to ground to filter noise. Failing to do so will cause spurious resets. Also remember that the ICD pins (RB6/RB7) are shared with digital I/O - in production firmware you must clear the DEBUG configuration bit to free those pins. The brown-out reset (BOR) is configurable; enable it for automotive and industrial designs to avoid undefined behavior at slow VDD ramp-up. Per the datasheet, oscillator start-up timer (OST) and power-up timer (PWRT) must be enabled if the application uses an external crystal.

Compliance Information

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

RoHS compliance per Microchip product page. The 'E' suffix denotes extended industrial temperature grade; AEC-Q100 qualification is not declared for the standard PIC16F874A-E/L - consult Microchip automotive-grade PIC16 variants for qualified parts. Halogen-free status not explicitly stated in the verified data and should be confirmed via the manufacturer declaration.

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

Related Searches

PIC16F874A-E/L PIC16F874A-E/L datasheet Microchip PIC16F874A PIC16F874A 20MHz 7KB flash 8-bit MCU PLCC-44 8-bit microcontroller PIC16F874A automotive sensor node PIC16F874A vs PIC16F877A PIC16F874A-E/L drop-in replacement buy PIC16F874A-E/L in stock what is the operating temperature of PIC16F874A-E/L PIC16F874A-E/L pinout PLCC-44 extended temperature 8-bit microcontroller industrial

Related Components & Terms

Microchip Technology PIC16F874A PIC16F874A-E/L PIC16F874A-I/L PIC16F877A PIC16 8-bit microcontroller MCU RISC Flash memory EEPROM PLCC-44 RoHS AEC-Q100 nanoWatt Technology ADC CCP SPI I²C USART MCLR In-Circuit Debug
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