Microchip Technology

PIC16LF877A-I/P - 8-bit PIC MCU 14KB Flash 40-PDIP | Microchip

N.º de pieza: PIC16LF877A-I/P ✓ Activo
En stock Se envía en 1-3 días hábiles
2.0 V to 5.5 V Vdss 40-pin PDIP (DIP-40, 0.600 in / 15.24 mm) Package 20 MHz (200 ns instruction cycle) Speed 14 KB (8K x 14) Memory
Desde $5.2 USD / unidad
MOQ: 1 |
Precio actualizado: 2026-09-25
Precios por volumen
Cant. Precio unitario Total
1 $8.1 $8,10
10 $7.32 $73,20
100 $6.55 $655,00
500 $5.81 $2.905,00
1.000 $5.2 $5.200,00
ℹ️ Todos los precios están en USD

PIC16LF877A-I/P Descripción general

The Microchip PIC16LF877A-I/P is an 8-bit RISC Flash microcontroller from the PIC16F family delivering 14KB (8K x 14) of program memory, 368 bytes of RAM, and 256 bytes of EEPROM in a 40-pin PDIP (DIP-40) through-hole package. It operates from 2.0V to 5.5V and supports clock speeds up to 20 MHz, producing 200 ns instruction execution with a Harvard RISC architecture of only 35 single-word instructions. The part suffix -I denotes the industrial temperature range of -40C to +85C, while -LF indicates the low-power baseline flash process.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory (Flash/ROM), working RAM, and a rich set of peripherals such as timers, ADC, UART, and I/O ports onto one silicon die. PIC16F-series parts sit in the mid-range PIC16 family, which is positioned between the baseline PIC10/12/16/17 families and the high-performance PIC18/dsPIC33 families, and is widely used in industrial control, hobbyist, and education markets because of its deterministic instruction set, low cost, and the free MPLAB X IDE toolchain.

Key features include 33 digital I/O pins, a 10-bit ADC with up to 8 channels, two 8-bit timers plus one 16-bit timer, two capture/compare/PWM modules, a USART with RS-485 support, an MSSP port for SPI and I2C (master/slave), two analog comparators, an 8-bit parallel slave port, and brown-out reset plus power-on reset. The 40-pin PDIP package has a maximum power dissipation of approximately 1 W and is ideal for through-hole prototyping, breadboards, and legacy industrial boards.

The PIC16LF877A uses a 14-bit instruction word and a modified Harvard architecture with separate program and data buses, allowing instruction fetch and data access in the same cycle. The flash memory supports in-circuit serial programming (ICSP) via two pins (RB6/RB7), enabling firmware updates without removing the part from the board.

Typical applications include industrial sensor conditioning, motor control boards, HVAC thermostats, educational embedded platforms, and consumer appliance controllers. The wide 2.0V-5.5V range also supports battery-powered data loggers when paired with an external low-frequency crystal.

When designing with this device, place decoupling capacitors (100 nF plus 10 uF) within 5 mm of VDD/VSS, keep the MCLR pull-up close to the IC, and reserve RB6/RB7 for ICSP. The device is pin-compatible with PIC16F877A-I/P, allowing firmware migration at higher clock rates up to 20 MHz.

This page synthesizes distributor pricing, drop-in alternatives, and practical design notes that are not found in the manufacturer datasheet alone, giving engineers a single-source decision view.

Alternativas directas para PIC16LF877A-I/P — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.

Variantes de esta serie

Modelos de la misma serie compatibles directamente con PIC16LF877A-I/P (mismo factor de forma y huella) — difiere en Package, Mounting Type, Core Architecture, ADC, Timers.

Microchip Technology
Package: 40-pin PDIP (DIP-40)
Core Architecture: 8-bit PIC RISC (PIC16 mid-range)
ADC: 10-bit, 8 channels
Microchip Technology
Package: 40-pin plastic DIP (PDIP)
Mounting Type: Through-hole DIP
Microchip Technology
Package: 40-pin PDIP (DIP-40) through-hole
Core Architecture: PIC16 enhanced mid-range 8-bit RISC
ADC: 14 channels x 10-bit
Microchip Technology
Package: 28-SPDIP (0.300", 7.62mm)
Mounting Type: Through-Hole (DIP)
ADC: 10-bit, 5 channels
Microchip Technology
Package: 44-pin TQFP (PT), 10 x 10 mm
Mounting Type: Surface Mount
Timers: 3 (Timer0 8-bit, Timer1 16-bit, Timer2 8-bit)
Microchip Technology
Package: 44-pin TQFP (10x10 mm)
Mounting Type: Surface Mount (Tape & Reel)
Core Architecture: PIC16 8-bit RISC
Microchip Technology
Package: 28-pin SOIC (SO), 0.295 inch / 7.50 mm body width
Mounting Type: Surface Mount (Tape and Reel)
Core Architecture: 8-bit RISC
Microchip Technology
Package: 40-pin PDIP (P)
Core Architecture: 8-bit PIC18 enhanced RISC
ADC: 10-bit, up to 13 channels

Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:

PIC16F877A-I/P

✅ Sustitución directa
Microchip Technology
📦 40-pin PDIP (DIP-40)
8-bit CMOS Flash PIC microcontroller · 20 MHz · 200 ns · 14 KB Flash · 368 bytes RAM · 33 pins · 40-pin plastic DIP (PDIP) · PIC 8-bit architecture

✓ En stock

Consulte el precio

Ver hoja de datos →

PIC16F887-I/P

✅ Sustitución directa
Microchip Technology
📦 40-pin PDIP (DIP-40)
PIC16 enhanced mid-range 8-bit RISC · 20 MHz (50 ns instruction cycle) · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 36 · 14 channels x 10-bit · 2

✓ En stock

$1.88 / unidad

Ver hoja de datos →

PIC16F877-20I/P

✅ Sustitución directa
Microchip Technology
📦 40-pin PDIP (DIP-40)
8-bit PIC RISC (PIC16 mid-range) · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 20 MHz · 200 ns · 2.0 V to 5.5 V · 33 (PORTA-PORTE)

✓ En stock

$5.1 / unidad

Ver hoja de datos →

PIC18F4520-I/P

✅ Sustitución directa
Microchip Technology
📦 40-pin PDIP (DIP-40)
8-bit PIC18 enhanced RISC · 40 MHz (10 MIPS) · 32 KB (16K x 16) · 1.5 KB (1536 bytes) · 256 bytes · 4.2 V to 5.5 V · 36 · 10-bit, up to 13 channels

✓ En stock

$5.35 / unidad

Ver hoja de datos →

PIC16F874A-I/P

✅ Sustitución directa
📦 40-pin PDIP (DIP-40)
same 40-PDIP footprint; 7 KB flash (50% less than 14 KB); 192 bytes RAM; 33 I/O; otherwise same peripherals - upgrade when more flash is not needed

📋 Alternativa de referencia (no en el catálogo)

PIC16LF876A-I/SP

✅ Sustitución directa ⚠️ Especificaciones sin verificar
Microchip Technology
📦 28-pin SPDIP (DIP-28)
PIC16 8-bit RISC · 14 KB (8K x 14) Flash · 368 bytes · 256 bytes · 10 MHz internal (20 MHz external) · 2.0 V to 5.5 V · 22 · 10-bit, 5 channels

✓ En stock

$4.02 / unidad

Ver hoja de datos →

PIC16LF877A-I/P Valores máximos y características eléctricas

Core Architecture PIC16 (8-bit RISC, 14-bit instruction word)
Program Memory (Flash) 14 KB (8K x 14)
Data RAM 368 bytes
Data EEPROM 256 bytes
Maximum CPU Speed 20 MHz (200 ns instruction cycle)
Supply Voltage (VDD) 2.0 V to 5.5 V
I/O Pins 33
ADC 10-bit, up to 8 channels
Timers 2 x 8-bit + 1 x 16-bit
Capture/Compare/PWM 2 modules
Serial Interfaces USART (RS-485), MSSP (SPI/I2C)
Analog Comparators 2
Parallel Slave Port Yes (8-bit)
Temperatura de funcionamiento -40 C to +85 C (Industrial)
Encapsulado 40-pin PDIP (DIP-40, 0.600 in / 15.24 mm)
Tipo de montaje Through-Hole
ICSP Yes (RB6/RB7)
Estado RoHS Compliant

Configuración de pines de PIC16LF877A-I/P

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR/VPP — Master Clear (reset) input / programming voltage input
Pin 2 RA0/AN0 — PORTA bit 0 / analog input 0
Pin 3 RA1/AN1 — PORTA bit 1 / analog input 1
Pin 4 RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC VREF-
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+
Pin 6 RA4/T0CKI — PORTA bit 4 (open-drain) / Timer0 clock input
Pin 7 RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select
Pin 8 RE0/RD/AN5 — PORTE bit 0 / parallel slave port read / analog input 5
Pin 9 RE1/WR/AN6 — PORTE bit 1 / parallel slave port write / analog input 6
Pin 10 RE2/CS/AN7 — PORTE bit 2 / parallel slave port chip select / analog input 7
Pin 11 VDD — Positive power supply
Pin 12 VSS — Ground reference
Pin 13 OSC1/CLKIN — Oscillator crystal input / external clock input
Pin 14 OSC2/CLKOUT — Oscillator crystal output / clock output
Pin 15 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pin 16 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 I/O
Pin 17 RC2/CCP1 — PORTC bit 2 / CCP1 I/O
Pin 18 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pin 19 RD0/PSP0 — PORTD bit 0 / parallel slave port data 0
Pin 20 RD1/PSP1 — PORTD bit 1 / parallel slave port data 1
Pin 21 RD2/PSP2 — PORTD bit 2 / parallel slave port data 2
Pin 22 RD3/PSP3 — PORTD bit 3 / parallel slave port data 3
Pin 23 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pin 24 RC5/SDO — PORTC bit 5 / SPI data out
Pin 25 RC6/TX/CK — PORTC bit 6 / USART async transmit / USART sync clock
Pin 26 RC7/RX/DT — PORTC bit 7 / USART async receive / USART sync data
Pin 27 RD4/PSP4 — PORTD bit 4 / parallel slave port data 4
Pin 28 RD5/PSP5 — PORTD bit 5 / parallel slave port data 5
Pin 29 RD6/PSP6 — PORTD bit 6 / parallel slave port data 6
Pin 30 RD7/PSP7 — PORTD bit 7 / parallel slave port data 7
Pin 31 VSS — Ground reference (second)
Pin 32 VDD — Positive power supply (second)
Pin 33 RB0/INT — PORTB bit 0 / external interrupt 0
Pin 34 RB1 — PORTB bit 1
Pin 35 RB2 — PORTB bit 2
Pin 36 RB3/PGM — PORTB bit 3 / low-voltage ICSP programming enable
Pin 37 RB4 — PORTB bit 4
Pin 38 RB5 — PORTB bit 5
Pin 39 RB6/PGC — PORTB bit 6 / ICSP clock (programming/debug clock)
Pin 40 RB7/PGD — PORTB bit 7 / ICSP data (programming/debug data)

Aplicaciones típicas

PIC16LF877A-I/P es adecuado para 7 aplicacións: Industrial Sensor Conditioning and 4-20 mA Loop Monitoring, Educational Microcontroller Training and Hobby Projects, HVAC Thermostat and Building Automation Controllers, Battery-Powered Data Loggers, Consumer Appliance Front Panels, Motor Control and PWM Drive Boards, Legacy Replacement and Industrial Board Maintenance.

🏭

Industrial Sensor Conditioning and 4-20 mA Loop Monitoring

The PIC16LF877A-I/P fits industrial sensor boards that must digitize analog signals and forward them over RS-485 to a PLC or SCADA node. Its 10-bit 8-channel ADC handles 4-20 mA loop current shunts or 0-10 V pressure and temperature transducers at up to ~50 ksamples/s, while the USART with RS-485 driver enable line natively drives a half-duplex transceiver. The 2.0 V minimum VDD lets the board run from a 24 V loop with a low-dropout regulator, and the industrial -40 C to +85 C rating covers outdoor and factory-floor enclosures.

🔧

Educational Microcontroller Training and Hobby Projects

The PIC16LF877A-I/P is a favorite for university embedded courses and hobbyist breadboard projects because it plugs directly into standard 0.600-inch DIP sockets and accepts through-hole components. The ICSP pins RB6/RB7 allow in-circuit programming with a PICkit 3/4 or Snap debugger, so students can iterate on code without an erase-and-socketing step. The 33 I/O pins and free MPLAB X IDE plus XC8 compiler provide a low-cost, low-friction entry into interrupt-driven embedded development on a deterministic RISC core.

💡

HVAC Thermostat and Building Automation Controllers

The PIC16LF877A-I/P fits thermostats, damper actuators, and small HVAC zone controllers where it must read NTC thermistors or 10K potentiometers, drive TRIACs or relay coils, and periodically display status on an LCD. The 10-bit ADC provides sub-0.5 C temperature resolution when paired with an NTC, while the two CCP modules generate PWM outputs for proportional damper or valve control. The wide 2.0-5.5 V supply tolerates rectified 24 VAC walls while the 5 MIPS throughput keeps the control loop under 5 ms.

⚡

Battery-Powered Data Loggers

The PIC16LF877A-I/P operates from 2.0 V to 5.5 V, allowing direct connection to a single lithium primary cell or two alkaline AA cells and extending runtime in remote sensor loggers. Its 14 KB flash stores weeks of buffered sample data while the 256-byte EEPROM provides non-volatile configuration storage for calibration constants. The USART and MSSP peripherals can drive an external UART- or SPI-based cellular or LoRa module, and the nanoWatt sleep modes cut average current to single-digit microamps between samples.

📱

Consumer Appliance Front Panels

The PIC16LF877A-I/P serves as the front-panel controller in white goods such as washing machines, dishwashers, and microwave ovens, scanning keypad matrices, driving seven-segment or character LCDs, and talking to the main motor-control board over I2C or SPI. The 33 I/O pins handle up to a 4x5 keypad plus eight LED indicators, while the parallel slave port allows external DMA-style data transfer from a higher-performance host controller. The industrial -40 C to +85 C temperature range survives the inside of a kitchen appliance during a steam cycle.

🏭

Motor Control and PWM Drive Boards

The PIC16LF877A-I/P is suitable for brushed DC and small stepper motor controllers, providing two CCP/PWM channels with up to 10-bit resolution to drive H-bridges or stepper drivers at variable duty cycle. The 16-bit timer can be configured for precise commutation timing, while the 8-bit timers handle user-input debounce and encoder feedback. The 33 I/O lines accept quadrature encoder inputs from incremental encoders or Hall-sensor feedback, and the industrial temperature range lets the board sit next to the motor in a sealed housing.

🔧

Legacy Replacement and Industrial Board Maintenance

The PIC16LF877A-I/P is widely used as a form-fit-function replacement on legacy 40-pin DIP boards in industrial PLCs, lab instruments, and test fixtures where the original PIC16F877A or 16C73/74 has reached end-of-life. Its 40-pin PDIP pinout matches PIC16F877A-I/P exactly, allowing direct socket swap on existing PCBs without layout changes. Existing 16F877A firmware can be re-flashed on the LF part with only the supply-voltage path re-checked if the original board ran from a 5 V rail below 4.0 V margin.

Resumen de productos recomendados

MAX485ESA RS-485 transceiver for USART connection Se usa en: Industrial Sensor Conditioning and 4-20 mA Loop Monitoring MCP601-I/P Low-offset op-amp for current-shunt amplification Se usa en: Industrial Sensor Conditioning and 4-20 mA Loop Monitoring PICkit 4 In-circuit debugger and programmer for ICSP Se usa en: Educational Microcontroller Training and Hobby Projects MCP1700-3302E 3.3 V LDO for low-voltage labs Se usa en: Educational Microcontroller Training and Hobby Projects MCP9700-E/TO Analog temperature sensor for ADC input Se usa en: HVAC Thermostat and Building Automation Controllers MOC3021 Optotriac driver for PWM-controlled AC loads Se usa en: HVAC Thermostat and Building Automation Controllers PIC16LF877A-I/P Microchip Technology Se usa en: Battery-Powered Data Loggers 25LC256-I/P 256-Kbit SPI EEPROM for extended logging Se usa en: Battery-Powered Data Loggers MCP23017-E/SP I2C I/O expander for additional panel I/O Se usa en: Consumer Appliance Front Panels HD44780 LCD Character LCD module for user interface Se usa en: Consumer Appliance Front Panels L298N STMicroelectronics Se usa en: Motor Control and PWM Drive Boards DRV8833 Low-voltage stepper driver for small motors Se usa en: Motor Control and PWM Drive Boards PIC16F877A-I/P Microchip Technology Se usa en: Legacy Replacement and Industrial Board Maintenance PIC16F887-I/P Microchip Technology Se usa en: Legacy Replacement and Industrial Board Maintenance
What is the program memory size of the PIC16LF877A-I/P?
The PIC16LF877A-I/P integrates 14 KB (8K x 14 words) of in-circuit-reprogrammable flash program memory, 368 bytes of data RAM, and 256 bytes of data EEPROM on-chip. According to the Microchip PIC16F877A datasheet (DS39582C), the flash is organized as 8,192 14-bit words and supports ICSP via the RB6/RB7 pins, so firmware can be updated in-circuit without removing the MCU from the board.
What is the operating voltage range of PIC16LF877A-I/P?
The PIC16LF877A-I/P operates from 2.0 V to 5.5 V on VDD, with the -LF suffix denoting the low-voltage flash process variant. The Microchip datasheet (DS39582C) specifies that this wide range lets the part run directly from a single Li-ion cell (3.6 V nominal) or from a regulated 5 V rail, simplifying analog design around 3.3 V sensors and 5 V peripherals without level shifters.
What is the maximum clock speed of PIC16LF877A-I/P?
The PIC16LF877A-I/P supports a maximum clock frequency of 20 MHz, producing a 200 ns instruction cycle. The datasheet (DS39582C) notes that at this speed the part delivers 5 MIPS of throughput, which is sufficient for sensor sampling, slow-bus protocol handling, and modest PWM control loops in industrial applications.
Does PIC16LF877A-I/P have an ADC?
Yes, the PIC16LF877A-I/P includes a 10-bit successive-approximation ADC with up to 8 input channels multiplexed onto port A and port E pins. According to the Microchip datasheet (DS39582C), the ADC can acquire up to approximately 50 ksamples/s and supports both single-ended and differential conversions, making it suitable for direct connection to potentiometers, thermistors, and 0-5 V analog sensors.
Where can I download the PIC16LF877A-I/P datasheet PDF?
The official PIC16LF877A-I/P datasheet can be downloaded from Microchip's document server at ww1.microchip.com/downloads/en/DeviceDoc/39582C.pdf. This document (DS39582C) covers the entire PIC16F87XA family in 40-pin PDIP, 44-pin TQFP, and 28-pin SOIC variants, including electrical characteristics, timing diagrams, and the full instruction set reference.
What is the pinout of the PIC16LF877A-I/P in 40-pin PDIP?
The PIC16LF877A-I/P uses a standard 40-pin PDIP outline with pin 1 at the upper-left of the notch. Per the Microchip datasheet (DS39582C), the pinout is: RA0-RA5 on pins 2-7, RE0-RE2 on pins 8-10, VDD on pin 11, VSS on pin 12, OSC1/OSC2 on pins 13/14, RC0-RC7 on pins 15-16 and 17-18 and 23-26, TX/RX on pins 25/26, RB0-RB7 on pins 33-40, and MCLR on pin 1. VSS is also on pin 31.
What is the difference between PIC16LF877A-I/P and PIC16F877A-I/P?
The PIC16LF877A-I/P is the low-voltage flash variant rated 2.0 V to 5.5 V, while the PIC16F877A-I/P is the standard flash variant rated 4.0 V to 5.5 V. The datasheet (DS39582C) confirms that both parts share identical pinout, peripherals, RAM, and flash size (14 KB), so the LF part is a drop-in replacement for F designs that need to operate below 4 V such as battery-powered or 3.3 V systems.
Is PIC16LF877A-I/P suitable for battery-powered designs?
Yes, the PIC16LF877A-I/P is well suited for battery-powered designs. Its 2.0 V minimum VDD lets it run down to nearly the end of a 3 V lithium or 2 x AA battery stack, and the PIC16 nanoWatt technology supports sleep currents below 1 uA with the RTCC and watchdog running. The -LF process variant further reduces active current draw compared to the standard F variant at the same clock.
What is the best drop-in replacement for PIC16LF877A-I/P?
The best drop-in replacement for the PIC16LF877A-I/P is the PIC16F877A-I/P from the same Microchip family, which shares the identical 40-pin PDIP footprint, pinout, and 14 KB flash. The standard F variant differs only by minimum VDD (4.0 V vs 2.0 V); for an exact LF-spec drop-in, the PIC16LF877A-I/P itself is still in production. For more flash and RAM, the PIC16F887-I/P in the same 40-pin PDIP is also pin-compatible.
How much does PIC16LF877A-I/P cost?
The PIC16LF877A-I/P is listed at approximately 8.10 USD per unit at qty 1, dropping to 5.20 USD per unit at qty 1000, as of 2026-09-25 across major distributors such as Mouser, DigiKey, and FindIC. Octopart's bulk comparison tool shows similar pricing across 13 distributors with quantity breaks; stock status and lead time should be confirmed at the time of order.
Is PIC16LF877A-I/P in stock and what is the lead time?
Stock and lead time for the PIC16LF877A-I/P vary by distributor but the part is generally listed as active and orderable as of 2026-09-25. Mouser and DigiKey both list tube-pack inventory in the 40-pin PDIP, and Microchip's factory lead time is typically 6-12 weeks for non-stocked part numbers. Always confirm current availability at the distributor before committing to a production build.
What are the key specifications of PIC16LF877A-I/P that engineers should know?
The PIC16LF877A-I/P offers 14 KB flash, 368 bytes RAM, 256 bytes EEPROM, 33 I/O pins, a 10-bit 8-channel ADC, two 8-bit plus one 16-bit timer, two CCP/PWM modules, USART, MSSP (SPI/I2C), two comparators, and a parallel slave port in a 40-pin PDIP package operating from 2.0 V to 5.5 V at up to 20 MHz (5 MIPS) and -40 C to +85 C industrial temperature range per Microchip datasheet DS39582C. It is pin-compatible with PIC16F877A-I/P and PIC16F887-I/P.
Which software tools support PIC16LF877A-I/P?
The PIC16LF877A-I/P is supported by Microchip's free MPLAB X IDE, the XC8 C compiler, and the legacy MPLAB IDE plus Hi-Tech PICC toolchain. Programming can be done in-circuit with the PICkit 3, PICkit 4, MPLAB ICD 3, ICD 4, or Snap debugger via the ICSP pins RB6/RB7, allowing engineers to develop, debug, and deploy firmware without removing the MCU from the target board.
What is the best Atmel or ST equivalent for PIC16LF877A-I/P?
There is no true drop-in 40-pin DIP cross-brand equivalent for the PIC16LF877A-I/P because peripheral mapping and instruction set differ between PIC, AVR, and STM8 architectures. For a pin-compatible 40-pin DIP migration, the ATmega16-16PU in PDIP-40 offers 16 KB flash, 1 KB RAM, 8-channel 10-bit ADC, USART, SPI, and TWI at up to 16 MHz from 4.5-5.5 V. Firmware must be rewritten because the AVR core is not binary-compatible with PIC16.

Datos de referencia de ingeniería para PIC16LF877A-I/P — comparación, orientación de diseño e información de cumplimiento.

Guía de selección

Choose the PIC16LF877A-I/P when you need a mature, fully-supported 8-bit PIC MCU in a 40-pin DIP with 14 KB flash, 368 bytes RAM, 10-bit ADC, USART, and a 2.0 V minimum supply for battery or 3.3 V designs. Pick PIC16F877A-I/P if your design is fixed at 5 V and you want identical firmware portability to the 5 V only mainstream -LF replacement. Pick PIC16F887-I/P when you need 14 ADC channels and nanoWatt XLP sleep in the same 40-pin DIP. Pick PIC18F4520-I/P when you need more than 14 KB flash, more than 1 KB RAM, and are willing to recompile against the PIC18 toolchain. Pick PIC16F874A-I/P only for cost-down designs that fit in 7 KB flash. All five parts share the same 40-pin PDIP footprint so PCB layout is reusable.

Comparación con alternativas

Parámetro Este producto PIC16F877A-I/P PIC16F887-I/P PIC16F877-20I/P PIC18F4520-I/P PIC16F874A-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 40-pin PDIP 40-pin PDIP - same 40-pin PDIP - same 40-pin PDIP - same 40-pin PDIP - same 40-pin PDIP - same
Core / Architecture PIC16 (8-bit, 14-bit instruction) PIC16 (8-bit, 14-bit instruction) PIC16 (8-bit, 14-bit instruction) PIC16 (8-bit, 14-bit instruction) PIC18 (8-bit, 16-bit instruction) PIC16 (8-bit, 14-bit instruction)
Program Flash 14 KB 14 KB 14 KB 14 KB 32 KB 7 KB
Data RAM 368 bytes 368 bytes 368 bytes 368 bytes 1536 bytes 192 bytes
Data EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 128 bytes
Max CPU Speed 20 MHz / 5 MIPS 20 MHz / 5 MIPS 20 MHz / 5 MIPS 20 MHz / 5 MIPS 40 MHz / 16 MIPS 20 MHz / 5 MIPS
Supply Voltage (VDD min) 2.0 V 4.0 V 2.0 V 4.0 V 2.0 V 4.0 V
ADC 10-bit, 8 channels 10-bit, 8 channels 10-bit, 14 channels 10-bit, 8 channels 10-bit, 13 channels 10-bit, 8 channels
Operating Temperature -40 C to +85 C (I) -40 C to +85 C (I) -40 C to +85 C (I) -40 C to +85 C (I) -40 C to +85 C (I) -40 C to +85 C (I)

Diferenciadores clave

  • Lowest minimum VDD at 2.0 V in a 40-PDIP PIC16F87XA family (frente a PIC16F877A-I/P)
  • More ADC channels and nanoWatt XLP than the legacy PIC16F877A (frente a PIC16F887-I/P)
  • Higher MIPS and more flash than the PIC16F874A (frente a PIC16F874A-I/P)

Notas de diseño

Place a 100 nF decoupling capacitor within 5 mm of each VDD pin (pins 11 and 32) and a single 10 uF bulk capacitor at the board power entry. The PIC16LF877A-I/P draws approximately 2 mA at 5 V/20 MHz active and under 1 uA in sleep, but the two-VDD-pin topology means both pins must be bypassed separately to prevent logic errors during ADC sampling. A bulk 10 uF near the IC improves analog VREF stability during high-current I/O transitions.

Keep traces from the 20 MHz crystal (or resonator) at OSC1/OSC2 short (< 10 mm) and route them away from RB6/RB7 to avoid coupling programming noise into the oscillator. The 40-pin PDIP footprint is forgiving for hand-wired prototypes, but production boards should still place a ground pour under the MCU and add a guard ring around the analog VREF/VSS pins. If the ICSP header is shared with end-user I/O, isolate PGC/PGD with jumpers or resistors to prevent accidental shorts.

Do not exceed the 5.5 V absolute maximum VDD on the PIC16LF877A-I/P - even a brief overshoot during hot-plug can damage the flash memory. Always tie MCLR to VDD through a 10 kohm resistor and a 100 nF cap to ground for proper brown-out reset; leaving MCLR floating is the most common cause of in-field lockups. When migrating from PIC16F877A, verify that any supply rail below 4.0 V is replaced with a 3.3 V regulator so the LF part starts reliably.

When using the parallel slave port (PSP) on PORTD, keep RD0-RD7 trace lengths matched within 10 mm to preserve setup/hold timing at the highest read/write rates. The MSSP module's SPI master can drive out at FOSC/4 (5 MHz at 20 MHz clock), so add a series resistor near the SCK pin if the cable length to the slave exceeds 50 mm. Use the analog comparators only with low-impedance sources to avoid oscillation on the C1OUT and C2OUT pins.

Información de cumplimiento

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Libre de plomo
Yes
Libre de halógenos
Yes
Minerales en conflicto
Compliant

RoHS and REACH compliant per Microchip product page and PIC16F877A datasheet (DS39582C). Industrial temperature range -40 C to +85 C. AEC-Q100 not applicable for general-purpose MCU grade.

Datos verificados el: 2026-09-25 — datos verificados y seleccionados por el equipo de ingeniería de componentes de XAIPART

Búsquedas relacionadas

PIC16LF877A-I/P datasheet PIC16LF877A-I/P price Microchip PIC16LF877A-I/P 8-bit PIC 14KB flash 40-PDIP PIC16LF877A-I/P pinout DIP-40 PIC16LF877A-I/P vs PIC16F877A-I/P PIC16LF877A-I/P drop-in replacement buy PIC16LF877A-I/P online PIC16LF877A-I/P ICSP programming PIC16LF877A-I/P lead time stock PIC16LF877A-I/P ADC application what is PIC16LF877A microcontroller

Componentes & términos relacionados

Microchip Technology PIC16LF877A-I/P PIC16F877A-I/P PIC16F887-I/P PIC18F4520-I/P PIC16F874A-I/P PIC microcontroller PIC16 family mid-range 8-bit MCU RISC architecture 14-bit instruction word PDIP-40 40-pin DIP package DIP-28 MPLAB X IDE XC8 compiler ICSP RB6 PGC RB7 PGD 10-bit ADC USART MSSP SPI I2C ICP PICkit 4 brown-out reset parallel slave port nanoWatt RS-485
RFQ de presupuesto rápido
Complete los detalles — nuestro equipo de ventas responderá en un plazo de 24 horas
Número de pieza Fabricante Encapsulado QTY Precio objetivo Total
Total: $0.00 USD
✓
¡Presupuesto enviado!

Responderemos a su correo electrónico en un plazo de 24 horas

1
RFQ enviado
2
Presupuesto recibido
3
Pedido realizado
4
Pago
5
Enviado
6
Entregado
Ver detalles del RFQ