Microchip Technology

PIC16F877-04/PT - 8-bit 4MHz 14KB Flash MCU | Microchip | 44-TQFP

N.º da peça: PIC16F877-04/PT ✓ Ativo
Em estoque Enviado em 1 a 3 dias úteis
2.0 V to 5.5 V Vdss 44-pin TQFP (10x10 mm) Package 4 MHz Speed 14 KB (8K x 14 word) Memory
A partir de $5.2 USD / unidade
MOQ: 1 |
Preço atualizado: 2026-09-21
Preços por volume
Qtd. Preço unitário Total
1 $8.12 $8,12
10 $7.3 $73,00
100 $6.5 $650,00
500 $5.85 $2.925,00
1.000 $5.2 $5.200,00
ℹ️ Todos os preços estão em USD

PIC16F877-04/PT Visão geral

The Microchip Technology PIC16F877-04/PT is an 8-bit CMOS FLASH-based microcontroller in the PIC16F family, offering 14KB of program memory and operating at a maximum clock speed of 4MHz. It is housed in a 44-pin TQFP package (10x10 mm) and features 368 bytes of RAM, 256 bytes of EEPROM, 33 digital I/O lines, and 8 channels of 10-bit Analog-to-Digital (A/D) conversion.

A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory (Flash program memory, RAM, and EEPROM), and configurable peripherals such as timers, communication interfaces, and analog inputs. Within the broader taxonomy, the PIC16F877-04/PT belongs to the 8-bit MCU class, which sits under the hierarchy of microcontrollers -> microprocessors -> digital ICs -> semiconductors. The 4MHz part suffix indicates the maximum oscillator frequency, while /PT denotes the TQFP-44 package. The device executes instructions in a 200ns single-cycle period and supports 35 single-word instructions, making it one of the most widely adopted mid-range 8-bit MCUs in legacy industrial and educational designs.

Key features include on-chip self-programming support, In-Circuit Debugger (ICD), two additional timers (Timer1 with dedicated 16-bit architecture, Timer2), two Capture/Compare/PWM (CCP) modules, and a Synchronous Serial Port (SSP) configurable as either 3-wire SPI or 2-wire I2C. The USART module enables asynchronous and synchronous serial communication. Together with the Parallel Slave Port, these peripherals give designers broad flexibility for embedded control.

Architecturally, the PIC16F877-04/PT is built on Microchip's enhanced mid-range 14-bit instruction set with a Harvard bus structure separating program and data paths, which allows simultaneous instruction fetch and operand access. Its 14-bit wide program memory word and 8-bit data path optimize both code density and execution determinism, making it well-suited for real-time control loops. The device operates across 2.0V to 5.5V and supports industrial temperature ranges.

Typical applications include industrial automation controllers, HVAC and building control systems, sensor signal conditioning nodes, motor control via the CCP/PWM outputs, and educational development boards. The 33 I/O pins and ample peripheral set also make it a frequent choice for prototype to production transitions where a stable, well-documented toolchain is required.

When designing with this device, ensure that the oscillator configuration matches the speed grade - the 04 suffix limits operation to 4MHz maximum, while higher-speed variants (e.g., PIC16F877-10/PT, PIC16F877-20/PT) support 10MHz and 20MHz respectively. For new designs, Microchip recommends the PIC16F887 as a modern functionally compatible successor.

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

Alternativas drop-in para PIC16F877-04/PT — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.

Variantes desta série

Modelos da mesma série compatíveis como drop-in com PIC16F877-04/PT (mesmo formato e footprint) — diferindo em Package, ADC, Timers, Operating Temperature, Core Architecture.

Microchip Technology
Package: 44-pin TQFP (10 x 10 mm)
ADC: 5-channel, 8-bit
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin TQFP (PT)
ADC: 8-bit, 8 channels
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin TQFP (PT)
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Operating Temperature: -40C to +125C (Extended, E suffix)
Microchip Technology
Package: 44-TQFP (10x10 mm)
ADC: 8 channels, 8-bit resolution
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
ADC: 10-bit, multi-channel (per family)
Timers: Timer0, Timer1, Timer2 (per family)
Core Architecture: PIC 8-bit RISC, Harvard
Microchip Technology
Package: 44-pin MQFP (PQ), 10x10 mm
Timers: Two 8-bit + one 16-bit
Operating Temperature: 0C to +70C (commercial)
Microchip Technology
Package: 44-pin TQFP (PT), 10 × 10 mm
Timers: 2 × 8-bit, 1 × 16-bit
Operating Temperature: -40 °C to +125 °C (automotive grade)
Microchip Technology
Package: 44-PLCC (16.59 x 16.59 mm)
ADC: 8 channels, 10-bit resolution
Timers: Two 8-bit + One 16-bit + WDT
Microchip Technology
Package: 44-pin MQFP (10x10 mm), PQ suffix
ADC: 10-bit, up to 8 channels
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin TQFP (PT) 10x10 mm
Timers: 2x 8-bit + 1x 16-bit + Watchdog Timer
Operating Temperature: -40C to +85C (industrial, 'I' grade)
Microchip Technology
Package: 44-TQFP (PT), 10x10 mm
ADC: 8 channels, 10-bit
Timers: 3 (Timer0, Timer1, Timer2)

Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:

PIC16F877-10/PT

✅ Drop-In
📦 TQFP-44
same TQFP-44 die/package, 10 MHz max clock vs 4 MHz (+150% compute), otherwise pin-to-pin identical

📋 Alternativa de referência (fora do catálogo)

PIC16F877-20/PT

✅ Drop-In
Microchip Technology
📦 TQFP-44
8-bit PIC16 RISC · FLASH · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 20 MHz · 200 ns · 2.0 V to 5.5 V

✓ Em estoque

$6.72 / unidade

Ver ficha técnica →

PIC16F877-04/PQ

✅ Drop-In
Microchip Technology
📦 TQFP-44 (MQFP)
8-bit PIC16 RISC (Harvard) · 14-bit · 4 MHz · 200 ns · 14 KB (8K x 14) · 368 bytes · 256 bytes · 33

✓ Em estoque

$5.7 / unidade

Ver ficha técnica →

PIC16F877A-04/PT

✅ Drop-In
📦 TQFP-44
PIC16F877A silicon revision (improved ADC, 100,000 erase/write cycle Flash), same TQFP-44 footprint, 4 MHz grade; pin-compatible per Microchip migration guide

📋 Alternativa de referência (fora do catálogo)

PIC16F877A-10/PT

✅ Drop-In
📦 TQFP-44
PIC16F877A silicon, 10 MHz grade, same TQFP-44 footprint, pin-compatible; superset of PIC16F877-04/PT functionality

📋 Alternativa de referência (fora do catálogo)

PIC16F877A-20/PT

✅ Drop-In
📦 TQFP-44
PIC16F877A silicon, 20 MHz grade, same TQFP-44 footprint, pin-compatible; offers 5x compute vs PIC16F877-04/PT

📋 Alternativa de referência (fora do catálogo)

PIC16F877-04/PT Classificações máximas e características elétricas

Family PIC16F8xx
Core PIC 8-bit
Program Memory Size 14 KB (8K x 14 word)
Program Memory Type FLASH
RAM Size 368 bytes
EEPROM Size 256 bytes
Frequência máxima de clock 4 MHz
Instruction Cycle Time 200 ns
Operating Voltage Range 2.0 V to 5.5 V
Number of I/O Pins 33
ADC 10-bit, 8 channels
Timers Timer0, Timer1 (16-bit), Timer2
CCP Modules 2
Communication Interfaces USART/SCI, SPI, I2C (via SSP), Parallel Slave Port
Encapsulamento 44-pin TQFP (10x10 mm)
Tipo de montagem Surface Mount
Instruction Set Size 35 single-word instructions
Lead-Free / RoHS Lead-free; RoHS compliant per Microchip product page
Speed Grade Suffix -04 = 4 MHz maximum
In-Circuit Debug ICD supported

Configuração de pinos do PIC16F877-04/PT

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pino 1 MCLR/VPP — Master Clear (Reset) input / Programming voltage input
Pino 2 RA0/AN0 — PORTA bit 0 / Analog input channel 0
Pino 3 RA1/AN1 — PORTA bit 1 / Analog input channel 1
Pino 4 RA2/AN2/VREF- — PORTA bit 2 / Analog input channel 2 / ADC negative reference
Pino 5 RA3/AN3/VREF+ — PORTA bit 3 / Analog input channel 3 / ADC positive reference
Pino 6 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
Pino 7 RA5/AN4/SS — PORTA bit 5 / Analog input channel 4 / SPI slave select
Pino 8 RE0/RD/AN5 — PORT E bit 0 / Read control for PSP / Analog input 5
Pino 9 RE1/WR/AN6 — PORT E bit 1 / Write control for PSP / Analog input 6
Pino 10 RE2/CS/AN7 — PORT E bit 2 / Chip select for PSP / Analog input 7
Pino 11 VDD — Positive power supply (2.0 V to 5.5 V)
Pino 12 VSS — Ground reference
Pino 13 OSC1/CLKIN — Oscillator crystal input / external clock input
Pino 14 OSC2/CLKOUT — Oscillator crystal output / clock output (Fosc/4)
Pino 15 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pino 16 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output
Pino 17 RC2/CCP1 — PORTC bit 2 / CCP1 output
Pino 18 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pino 19 RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0
Pino 20 RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1
Pino 21 RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2
Pino 22 RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3
Pino 23 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pino 24 RC5/SDO — PORTC bit 5 / SPI data out
Pino 25 RC6/TX/CK — PORTC bit 6 / USART transmit / USART clock
Pino 26 RC7/RX/DT — PORTC bit 7 / USART receive / USART data
Pino 27 RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4
Pino 28 RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5
Pino 29 RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6
Pino 30 RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7
Pino 31 VSS — Ground reference
Pino 32 VDD — Positive power supply (2.0 V to 5.5 V)
Pino 33 RB0/INT — PORTB bit 0 / External interrupt input
Pino 34 RB1 — PORTB bit 1
Pino 35 RB2 — PORTB bit 2
Pino 36 RB3/PGM — PORTB bit 3 / Low-voltage programming input
Pino 37 RB4 — PORTB bit 4
Pino 38 RB5 — PORTB bit 5
Pino 39 RB6/PGC — PORTB bit 6 / In-circuit debugger clock
Pino 40 RB7/PGD — PORTB bit 7 / In-circuit debugger data
Pino 41 VSS — Ground reference (TQFP thermal pad tied to VSS recommended)
Pino 42 NC — Not connected (per datasheet - pin reserved on TQFP-44 footprint)
Pino 43 NC — Not connected (per datasheet - pin reserved on TQFP-44 footprint)
Pino 44 NC — Not connected (per datasheet - pin reserved on TQFP-44 footprint)

Aplicações típicas

PIC16F877-04/PT é adequado para 6 aplicaçãos: Industrial Automation Controllers, HVAC and Building Control Systems, Sensor Signal Conditioning Nodes, Motor Control via CCP/PWM Outputs, Educational Development Boards, Display and Keypad Interface Boards.

🏭

Industrial Automation Controllers

The PIC16F877-04/PT fits industrial automation controller designs thanks to its 33 I/O pins, 8-channel 10-bit ADC, and 2.0-5.5 V supply range that matches 24V-sourced industrial rails after regulation. Its 200ns deterministic instruction cycle supports real-time control loops for sensors and actuators. The 14 KB Flash and 256 bytes EEPROM allow on-site firmware updates and persistent parameter storage without external memory. Industrial temperature grade and the TQFP-44 package with exposed thermal pad provide robust mechanical reliability in factory environments. The CCP modules generate PWM outputs for proportional valve or motor speed control, and the USART interfaces to RS-485 transceivers for fieldbus connectivity. Compared to discrete logic, this single-chip integration reduces BOM cost and PCB area.

🏭

HVAC and Building Control Systems

The PIC16F877-04/PT is well suited to HVAC and building automation subsystems where 33 I/O lines interface with thermistors, damper actuators, and keypads while the 8-channel 10-bit ADC reads multiple temperature and humidity sensors. Its 4 MHz clock is sufficient for slow thermal control loops (typically <1 Hz bandwidth) and the 14 KB Flash holds complex scheduling tables. Brown-out Reset and Watchdog Timer provide reliable recovery from power glitches common in HVAC equipment. The I2C/SPI peripheral talks to digital temperature sensors and EEPROM for non-volatile setpoint storage. The TQFP-44 package supports reflow soldering in mass-produced control boards, and Microchip's MPLAB toolchain with ICD enables in-circuit firmware development.

🧩

Sensor Signal Conditioning Nodes

The PIC16F877-04/PT works as a sensor signal conditioning and bridge node thanks to its 8-channel 10-bit ADC and configurable I/O, ideal for thermocouples, RTDs, strain gauges, and 4-20 mA loop inputs. At 4 MHz it executes linearization and averaging algorithms with deterministic latency. The Flash self-programming feature enables field calibration updates without hardware rework. The USART or SPI peripheral streams conditioned data to a master controller or wireless module, and the PWM outputs can drive excitation currents. The TQFP-44 footprint is compact enough for distributed sensor PCBAs inside instrument enclosures. The wide 2.0-5.5 V supply accommodates battery-backed or solar-powered installations.

🏭

Motor Control via CCP/PWM Outputs

The PIC16F877-04/PT handles brushed DC motor speed control, stepper pulse generation, and small BLDC commutation through its two CCP modules and 16-bit Timer1. At 4 MHz with 20 MHz PWM resolution, it generates stable drive signals for H-bridges or stepper driver ICs. The 33 I/O pins accommodate limit switches, quadrature encoder feedback, and direction logic. Programmable dead-band and PWM duty control allow precise torque management. The SSP peripheral configures as SPI to talk to intelligent driver ICs such as the DRV8711. The Flash-based firmware supports closed-loop PID implementation in software. The TQFP-44 package fits on compact motor-control PCBs.

🧩

Educational Development Boards

The PIC16F877-04/PT is a staple on educational development boards and university embedded systems curricula due to its well-documented 35-instruction RISC architecture and abundant tutorial support. At 4 MHz, instruction execution is observable with a logic analyzer, making it ideal for teaching fetch-decode-execute cycles. Its 33 I/O pins and full peripheral suite (ADC, PWM, UART, SPI, I2C) cover nearly every topic in a typical embedded systems course. MPLAB X IDE with the PICkit programmer and ICD interface provides a free end-to-end toolchain. The 14 KB Flash fits complete teaching projects including bootloader experiments. The TQFP-44 package is more assembly-friendly than fine-pitch alternatives.

📺

Display and Keypad Interface Boards

The PIC16F877-04/PT drives character LCDs and matrix keypads in instrument front panels, where its 33 I/O lines support both an 8-bit or 4-bit LCD interface and an 8x8 keypad matrix scan. At 4 MHz, the firmware debounces keys, manages menu state, and refreshes the LCD without flicker. The USART passes keystroke and display data to a host processor, while the I2C peripheral connects to a character LCD backpack. The 256-byte EEPROM stores user preferences and last-known state across power cycles. The 2.0-5.5 V supply is compatible with battery-backed RTC circuits. The TQFP-44 surface-mount package supports automated assembly of front-panel boards.

Resumo dos produtos recomendados

PIC16F877-20/PT Microchip Technology Usado em: Industrial Automation Controllers, Sensor Signal Conditioning Nodes, Motor Control via CCP/PWM Outputs PIC16F877A-04/PT Compatible silicon revision with improved ADC Usado em: Industrial Automation Controllers, Educational Development Boards MAX485 RS-485 transceiver for USART fieldbus Usado em: Industrial Automation Controllers MCP9808 I2C high-accuracy temperature sensor Usado em: HVAC and Building Control Systems PIC16F877-10/PT Higher-frequency variant for faster polling Usado em: HVAC and Building Control Systems, Display and Keypad Interface Boards 24LC256 I2C EEPROM for setpoint storage Usado em: HVAC and Building Control Systems MCP3421 18-bit delta-sigma ADC companion for high-resolution channels Usado em: Sensor Signal Conditioning Nodes MAX31855 SPI thermocouple-to-digital converter Usado em: Sensor Signal Conditioning Nodes DRV8711 SPI stepper motor pre-driver Usado em: Motor Control via CCP/PWM Outputs L298N STMicroelectronics Usado em: Motor Control via CCP/PWM Outputs PICkit 3 In-circuit debugger/programmer Usado em: Educational Development Boards MCP9700 Analog temperature sensor for ADC lab exercises Usado em: Educational Development Boards HD44780 Character LCD controller Usado em: Display and Keypad Interface Boards PCF8574 I2C I/O expander for additional keypad lines Usado em: Display and Keypad Interface Boards
What is the maximum clock frequency of PIC16F877-04/PT?
The PIC16F877-04/PT operates at a maximum oscillator frequency of 4 MHz, giving an instruction cycle time of 200 ns. According to the Microchip PIC16F87X datasheet (DS30292D), the "-04" suffix indicates this speed grade; higher-frequency variants (PIC16F877-10 and PIC16F877-20) support 10 MHz and 20 MHz respectively, but the -04/PT part is locked at 4 MHz max.
How much program memory and RAM does PIC16F877-04/PT have?
The PIC16F877-04/PT contains 14 KB (8K x 14-bit words) of Flash program memory, 368 bytes of data RAM, and 256 bytes of EEPROM for non-volatile data storage. The 14-bit wide instruction word gives excellent code density for a mid-range 8-bit MCU per the Microchip PIC16F87X datasheet (DS30292D).
What package and pin count does PIC16F877-04/PT use?
The PIC16F877-04/PT is housed in a 44-pin TQFP (Thin Quad Flat Pack) measuring 10x10 mm with a 0.8 mm pitch. The /PT suffix is Microchip's package designator for TQFP-44. This is the surface-mount variant of the PIC16F877 family; the /P suffix indicates the 40-pin PDIP, /PQ is 44-pin QFP, and /L is 44-pin PLCC.
What is the operating voltage of PIC16F877-04/PT?
The PIC16F877-04/PT operates from 2.0 V to 5.5 V, covering both 3.3 V and 5 V system rails. According to the Microchip PIC16F87X datasheet (DS30292D), the device also supports industrial temperature ranges. Brown-out Detect (BOD) and Power-on Reset (POR) are integrated.
What peripherals does PIC16F877-04/PT provide?
The PIC16F877-04/PT integrates 33 digital I/O pins, an 8-channel 10-bit ADC, three timers (Timer0, 16-bit Timer1, Timer2), two CCP (Capture/Compare/PWM) modules, a USART for serial communication, an SSP configurable as SPI or I2C, and a Parallel Slave Port. This peripheral density is what made it popular for both hobbyist and industrial designs.
How many ADC channels does PIC16F877-04/PT have?
The PIC16F877-04/PT provides 8 channels of 10-bit Analog-to-Digital conversion. According to the Microchip PIC16F87X datasheet (DS30292D), the ADC supports both single-ended and differential conversion modes with programmable acquisition time, which is ample for typical sensor signal chains such as temperature, light, or potentiometer inputs.
Is PIC16F877-04/PT still in production?
Yes, the PIC16F877-04/PT lifecycle status is ACTIVE per the FindMyChip and Microchip product pages. Microchip's product page notes a newer device, the PIC16F887, is recommended for new designs, but the PIC16F877-04/PT remains active for sustaining long-life industrial customers.
What is the current price of PIC16F877-04/PT as of 2026-09-21?
The PIC16F877-04/PT is priced at approximately $8.12 in single-unit quantity and $5.20 at 1000 pieces, as of 2026-09-21 according to FindMyChip distributor data. Pricing may vary by distributor (DigiKey, Mouser, Octopart listings); for current volume quotes, request a quote directly from an authorized Microchip distributor.
Where can I buy PIC16F877-04/PT online?
The PIC16F877-04/PT is in stock at major authorized distributors including DigiKey, Mouser, and listed on Octopart with lead time of 3-7 business days, as of 2026-09-21 per the FindMyChip listing. Bulk pricing is available through Microchip direct or franchised distributors. Avoid brokers for production volumes to ensure factory traceability.
What is the lead time for PIC16F877-04/PT?
The PIC16F877-04/PT typically has a 3-7 business day lead time at authorized distributors as of 2026-09-21 per the FindMyChip listing. For production volumes, contact Microchip direct for scheduled orders. Lead time may extend during supply chain constraints.
PIC16F877-04/PT vs PIC16F887 - which is better for new designs?
For new designs, the PIC16F887 is recommended by Microchip as a functionally compatible successor to the PIC16F877-04/PT, with more memory and an internal oscillator. However, the PIC16F887 is not pin-compatible with the PIC16F877-04/PT in TQFP-44; the PIC16F887 uses different pin assignments, so it is not a drop-in replacement. Choose PIC16F877-04/PT for sustaining legacy designs where pin-compatibility is mandatory.
What is the difference between PIC16F877-04/PT and PIC16F877-20/PT?
The PIC16F877-04/PT operates at 4 MHz maximum clock, while the PIC16F877-20/PT operates at 20 MHz maximum, giving 5x faster instruction throughput. Both share the same TQFP-44 footprint, same Flash/RAM/EEPROM sizes, and same peripherals per the Microchip PIC16F87X datasheet (DS30292D). The PIC16F877-20/PT is the drop-in upgrade when more compute performance is required.
What is the best drop-in replacement for PIC16F877-04/PT?
The best drop-in replacement for PIC16F877-04/PT in the same TQFP-44 package is the PIC16F877-10/PT (same die, 10 MHz max clock, ~25% faster compute) or the PIC16F877-20/PT (same die, 20 MHz max clock, ~5x faster compute). All three are speed-grade variants of the same silicon in the same package, so they share identical pinout and peripherals per the Microchip PIC16F87X datasheet (DS30292D).
Some search results show PIC16F877-04/PT as obsolete - is this accurate?
No, Microchip's own product page and distributor listings (DigiKey, FindMyChip) list the PIC16F877-04/PT as ACTIVE (not obsolete) as of 2026-09-21. While Microchip recommends the PIC16F887 for new designs, the PIC16F877 family remains in production for sustaining long-life industrial customers. Verify with the manufacturer Product Change Notification (PCN) page for the latest status.
What are the key specifications of PIC16F877-04/PT that engineers should know?
The PIC16F877-04/PT is an 8-bit PIC microcontroller with 14 KB Flash, 368 bytes RAM, 256 bytes EEPROM, 4 MHz max clock, 33 I/O pins, 8-channel 10-bit ADC, 2 CCP modules, USART, SPI/I2C, 2.0-5.5 V supply, and TQFP-44 package. Per the Microchip PIC16F87X datasheet (DS30292D), it executes one instruction per 200 ns cycle using a 14-bit wide instruction word from a 35-instruction RISC-like set.

Dados de referência de engenharia para PIC16F877-04/PT — comparação, orientação de projeto e informações de conformidade.

Guia de seleção

Choose PIC16F877-04/PT when you need a proven, in-production 8-bit MCU for legacy sustaining designs and the TQFP-44 footprint is locked into your PCB layout. The 4 MHz speed grade is sufficient for sensor monitoring, slow control loops, and basic serial communication. Upgrade to PIC16F877-10/PT or PIC16F877-20/PT (same TQFP-44 package) when more compute is needed without PCB rework. Choose the PIC16F877A-04/PT variant if you need higher Flash endurance or improved ADC performance - it is pin-compatible with the same TQFP-44 package. For new designs where pin compatibility is not required, consider Microchip's recommended successor, the PIC16F887, which offers more memory and an internal oscillator. All PIC16F877 family variants share the same TQFP-44 footprint, enabling flexible design scaling.

Comparação com alternativas

Parâmetro Este produto PIC16F877-10/PT PIC16F877-20/PT PIC16F877-04/PQ PIC16F877A-04/PT PIC16F877A-10/PT PIC16F877A-20/PT
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package TQFP-44 (PT) TQFP-44 (PT) - same TQFP-44 (PT) - same TQFP-44 (PQ) - same footprint TQFP-44 (PT) - same TQFP-44 (PT) - same TQFP-44 (PT) - same
Max Clock Frequency 4 MHz 10 MHz 20 MHz 4 MHz 4 MHz 10 MHz 20 MHz
Program Memory (Flash) 14 KB 14 KB 14 KB 14 KB 14 KB 14 KB 14 KB
RAM 368 bytes 368 bytes 368 bytes 368 bytes 368 bytes 368 bytes 368 bytes
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes 256 bytes
Number of I/O Pins 33 33 33 33 33 33 33
ADC Resolution x Channels 10-bit x 8 10-bit x 8 10-bit x 8 10-bit x 8 10-bit x 8 (improved) 10-bit x 8 (improved) 10-bit x 8 (improved)
Silicon Revision Original PIC16F877 Original PIC16F877 Original PIC16F877 Original PIC16F877 PIC16F877A (improved) PIC16F877A (improved) PIC16F877A (improved)

Principais diferenciais

  • Mature and stable silicon in active production (vs PIC16F887 (recommended successor))
  • Wide compatibility ecosystem of same-package variants (vs PIC16F877-20/PT (20 MHz grade))
  • Improved silicon revision available in same package (vs PIC16F877A-04/PT (A-suffix revision))

Notas de projeto

Decouple VDD pins (pins 11 and 32 on TQFP-44) with a 0.1 uF ceramic capacitor placed within 5 mm of each VDD pin, and add a bulk 10 uF tantalum or aluminum polymer capacitor on the same rail. The PIC16F877-04/PT has two VDD pins to reduce supply inductance for the internal Flash and ADC blocks; bypassing each separately prevents digital switching noise from coupling into the analog supply. Estimated: based on standard Microchip PIC16F87X decoupling recommendations; actual values may need adjustment based on board-level EMI testing.

Route the analog inputs (AN0-AN7) away from the OSC1/OSC2 crystal traces and the parallel slave port (RD/RE) digital switching lines to minimize ADC crosstalk. Use a ground guard ring around the analog input pins and connect the analog ground (VSS at pin 12) directly to the power supply ground star point rather than daisy-chaining through digital grounds. The PIC16F877-04/PT's 10-bit ADC is approximately 9.5 ENOB typical at 4 MHz; layout discipline preserves this in production.

Do not exceed 4 MHz oscillator frequency on the PIC16F877-04/PT - the -04 speed grade is locked at this maximum, and using a 20 MHz crystal will cause Flash read errors and erratic behavior. If more compute is needed, choose the PIC16F877-10/PT (10 MHz) or PIC16F877-20/PT (20 MHz) drop-in upgrade. Also ensure configuration bits (FOSC, WDTE, PWRTE, BOREN) are set correctly in the hex file - particularly the oscillator mode (HS vs XT vs LP) which must match the actual crystal used.

The PIC16F877-04/PT in TQFP-44 has a typical theta_JA of approximately 50-60 C/W on a 4-layer JEDEC EIA/JESD51 test board. At maximum 4 MHz operation, the core consumes roughly 5-10 mW, so thermal rise is negligible (well below 5 C). However, in sealed enclosures without airflow, ensure the TQFP thermal pad on pin 41 is soldered to a grounded copper pour to provide the heat-spreading path even at low power.

When using the USART at higher baud rates with long cable runs, add 100 ohm source termination on TX/CK lines (RC6, pin 25) to dampen reflections. For SPI bus above 2 MHz, keep traces under 50 mm and place a 33 ohm series resistor near the master SCK output (RC3, pin 18). The PIC16F877-04/PT's I/O drive strength is 20-25 mA typical; this is sufficient for short traces but not for backplanes.

Informações de conformidade

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Sem chumbo
Yes
Sem halogênios
Unknown
Minerais de conflito
Compliant

RoHS compliant per Microchip product page. Lead-free terminal finish. Not AEC-Q100 qualified (not automotive grade). Halogen-free status not explicitly stated in available data - marked unknown.

Dados verificados em: 2026-09-21 — dados verificados e curados pela equipe de engenharia de componentes da XAIPART

Buscas relacionadas

PIC16F877-04/PT datasheet PDF PIC16F877-04/PT buy price stock Microchip PIC16F877 8-bit MCU TQFP-44 PIC16F877 4 MHz 14KB Flash 33 I/O PIC16F877-04/PT vs PIC16F877-20/PT PIC16F877-04/PT drop-in replacement PIC16F877 44-pin TQFP microcontroller PIC16F877 industrial automation controller PIC16F877A compatible upgrade same footprint what is the difference between PIC16F877 and PIC16F887 PIC16F877 pinout TQFP-44 PIC16F877 replacement alternatives Microchip PIC16F877 ADC 10-bit 8 channels PIC16F877 PWM motor control CCP PIC16F877 SPI I2C USART peripherals

Componentes & termos relacionados

Microchip Technology PIC16F877 PIC16F877-04/PT PIC16F877-10/PT PIC16F877-20/PT PIC16F877A-04/PT PIC16F877-04/PQ PIC16F887 PIC microcontroller 8-bit MCU RISC architecture Harvard bus FLASH memory EEPROM TQFP-44 TQFP package family TQFP-44 (10x10 mm) Surface mount RoHS compliant Lead-free AEC-Q100 (not qualified) ADC 10-bit USART SPI I2C CCP/PWM In-Circuit Debugger (ICD) MPLAB X IDE
RFQ de cotação rápida
Preencha todos os detalhes — nossa equipe de vendas responderá em até 24 horas
Part number Fabricante Encapsulamento QTY Preço-alvo Total
Total: $0.00 USD
✓
Cotação enviada!

Responderemos seu e-mail em até 24 horas

1
RFQ enviada
2
Cotação recebida
3
Pedido realizado
4
Pagamento
5
Enviado
6
Entregue
Ver detalhes da RFQ