PIC16F877T-04I/PT - 8-bit 4MHz MCU 14KB Flash 44-TQFP | Microchip
Référence : PIC16F877T-04I/PT ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $12.5 | $12,50 |
| 10 | $11.4 | $114,00 |
| 100 | $10.2 | $1 020,00 |
| 500 | $9.1 | $4 550,00 |
| 1 000 | $8.25 | $8 250,00 |
PIC16F877T-04I/PT Présentation
A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory (FLASH/ROM), data memory (RAM), and integrated peripherals such as timers, ADC, communication interfaces, and I/O ports. Within the system hierarchy, an MCU belongs to the embedded controller category, sitting above simple logic ICs and below microprocessor-based systems in functional complexity. PIC16F-series microcontrollers specifically target cost-sensitive 8-bit applications where deterministic instruction execution and low power are valued over raw processing speed.
Key features of the PIC16F877T-04I/PT include a Harvard RISC architecture with 14-bit instructions, integrated 10-bit ADC with up to 8 channels, two 8-bit and one 16-bit timer/counter, USART for serial communication, MSSP module supporting SPI and I2C, and 256 bytes of EEPROM data memory. The wide operating voltage range of 2.0V to 5.5V supports both 3.3V and 5V designs.
Architecturally, the PIC16F877 uses a 14-bit instruction word with an 8-bit data path, providing byte-oriented operations while keeping instruction memory efficient. The 4MHz oscillator combined with the 4-instruction-cycle pipeline yields the 1 MIPS throughput characteristic of this family.
Typical applications include industrial control systems, sensor interfacing, motor control, low-cost instrumentation, and consumer electronics. The 33 I/O pins comfortably drive displays, keypads, and actuator relays without external glue logic.
When designing with this part, ensure decoupling capacitors are placed within 5mm of the VDD pins and follow Microchip's recommended PCB layout guidelines for oscillator stability. In-system programming (ICSP) requires dedicated RB6/RB7 pins, which must not be permanently tied low in the application circuit.
This page synthesizes distributor pricing, same-brand and cross-brand drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a single decision-ready reference.
Alternatives de remplacement direct pour PIC16F877T-04I/PT — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC16F877T-04I/PT (même facteur de forme et même empreinte) — différant par Operating Temperature, Package, Timers, Serial Interfaces, ADC.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC16F877-04I/PT
✅ Remplacement direct✓ En stock
$4.95 / unité
Voir la fiche technique →PIC16F877T-04E/PT
✅ Remplacement direct✓ En stock
$6.1 / unité
Voir la fiche technique →PIC16F877-20I/PT
✅ Remplacement direct✓ En stock
$5.1 / unité
Voir la fiche technique →PIC16F874T-04I/PT
✅ Remplacement direct✓ En stock
$6.62 / unité
Voir la fiche technique →PIC16F877T-04I/PT Valeurs maximales et caractéristiques électriques
| Architecture | 8-bit PIC16F RISC, Harvard |
| Instruction Set | 35 single-word instructions, 14-bit wide |
| CPU Speed | 4 MHz (4 MHz internal oscillator; 1 MIPS) |
| Program Memory (FLASH) | 14 KB (8K x 14) |
| RAM | 368 bytes |
| EEPROM | 256 bytes |
| I/O Pins | 33 |
| Boîtier | 44-pin TQFP (10x10 mm) |
| Type de montage | Surface Mount |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| Température de fonctionnement | -40 C to +85 C (Industrial) |
| ADC | 10-bit, up to 8 channels |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Serial Interfaces | USART, MSSP (SPI / I2C) |
| ICSP / ICD | Yes (RB6/RB7) |
| Instruction Execution Time | 200 ns at 4 MHz / 20 MHz oscillator with 4x PLL = 5 MIPS; see datasheet for speed grades |
| Niveau MSL | 3 (168 hours) |
| Statut RoHS | Compliant |
Configuration des broches de PIC16F877T-04I/PT
| Broche 1 | MCLR/VPP — Master Clear (Reset) input / ICSP programming voltage |
| Broche 2 | RA0/AN0 — PORTA bit 0 / Analog input channel 0 |
| Broche 3 | RA1/AN1 — PORTA bit 1 / Analog input channel 1 |
| Broche 4 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / Voltage reference negative |
| Broche 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / Voltage reference positive |
| Broche 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input (open-drain) |
| Broche 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| Broche 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel port read control / Analog 5 |
| Broche 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel port write / Analog 6 |
| Broche 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel port chip select / Analog 7 |
| Broche 11 | VDD — Positive supply voltage (+2.0V to +5.5V) |
| Broche 12 | VSS — Ground reference |
| Broche 13 | OSC1/CLKI — Oscillator crystal input / external clock input |
| Broche 14 | OSC2/CLKO — Oscillator crystal output / clock output |
| Broche 15 | RC0/T1OSOCC/T1CKI — PORTC bit 0 / Timer1 oscillator / Timer1 clock |
| Broche 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Broche 17 | RC2/CCP1 — PORTC bit 2 / Capture-Compare-PWM 1 |
| Broche 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Broche 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Broche 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Broche 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Broche 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Broche 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Broche 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Broche 25 | RC6/TX/CK — PORTC bit 6 / USART TX / synchronous clock |
| Broche 26 | RC7/RX/DT — PORTC bit 7 / USART RX / synchronous data |
| Broche 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Broche 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Broche 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| Broche 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| Broche 31 | VSS — Ground reference (second VSS) |
| Broche 32 | VDD — Positive supply (second VDD) |
| Broche 33 | RB0/INT — PORTB bit 0 / External interrupt |
| Broche 34 | RB1 — PORTB bit 1 |
| Broche 35 | RB2 — PORTB bit 2 |
| Broche 36 | RB3/PGM — PORTB bit 3 / Low-voltage ICSP programming enable |
| Broche 37 | RB4 — PORTB bit 4 |
| Broche 38 | RB5 — PORTB bit 5 |
| Broche 39 | RB6/PGC — PORTB bit 6 / ICSP clock (programming/debugging) |
| Broche 40 | RB7/PGD — PORTB bit 7 / ICSP data (programming/debugging) |
| Broche 41 | NC — Not connected |
| Broche 42 | NC — Not connected |
| Broche 43 | NC — Not connected |
| Broche 44 | NC — Not connected |
Applications typiques
PIC16F877T-04I/PT convient pour 6 applications: Industrial Control Systems, Sensor Interfacing and Data Acquisition, Motor Control and PWM Drive, Consumer Electronics and Appliance Control, Educational and Hobby Electronics, Automotive Subsystems (Non-Safety).
Industrial Control Systems
The PIC16F877T-04I/PT's 33 I/O pins, integrated 10-bit ADC, and 2.0V to 5.5V wide supply range make it ideal for industrial control panels and PLC sub-modules. The 368 bytes of RAM and 14 KB FLASH comfortably host modbus-style polling firmware and PID control loops, while the 4 MHz core delivers deterministic 200 ns instruction timing for precise signal sampling. The /PT 44-TQFP footprint allows compact PCB designs in DIN-rail mounted enclosures, and the industrial -40C to +85C temperature range covers factory floor ambient conditions. Per Microchip application note AN563, this family is widely deployed in factory automation sub-systems and process control instruments.
Recommandé
Sensor Interfacing and Data Acquisition
With 8 ADC channels at 10-bit resolution and dual USART / MSSP interfaces, the PIC16F877T-04I/PT is well suited for multi-sensor data acquisition front-ends. The internal 4 MHz oscillator and 256-byte EEPROM provide ample headroom for storing calibration coefficients and recent sample history. The 200 ns instruction execution enables high-rate sampling of up to 50 kS/s aggregate, suitable for temperature, pressure, and flow sensors in instrumentation. The 33 I/O pins support both digital sensor flags and analog inputs simultaneously. Engineers commonly pair this MCU with SPI-based ADCs or digital sensors in lab and field instrumentation.
Recommandé
Motor Control and PWM Drive
The PIC16F877T-04I/PT's three timer modules (2 x 8-bit + 1 x 16-bit) generate the PWM channels needed for brushed DC motor speed control, stepper drive sequencing, and small BLDC commutation. The 14 KB FLASH supports state-machine control firmware with look-up tables for sinusoidal commutation. The wide VDD range (2.0V to 5.5V) allows direct logic-level interfacing with 3.3V or 5V gate drivers, while 33 I/O pins handle Hall-effect inputs, fault flags, and current sense signals. Microchip application note AN847 documents RC servo and stepper implementations on this family, confirming 4 MHz operation is sufficient for sub-millisecond update loops in hobby and industrial motor drivers.
Recommandé
Consumer Electronics and Appliance Control
The PIC16F877T-04I/PT provides the right balance of low cost, small TQFP footprint, and rich peripherals for white goods, kitchen appliances, and consumer HVAC controls. The integrated 10-bit ADC reads thermistor and potentiometer inputs, while USART enables communication with display modules and main user-interface boards. The 256-byte EEPROM stores user-set preferences and cycle counters without external memory. At $8.25 per unit at qty 1000 (as of 2026-09-21), the part fits cost-engineered BOMs in mass-market appliance designs. Microchip's PIC16F family has been deployed in tens of millions of washing machines and microwave ovens.
Recommandé
Educational and Hobby Electronics
The PIC16F877T-04I/PT is a standard teaching MCU in universities and embedded systems courses because the 35 single-word instruction set is approachable for first-time programmers. The 4 MHz speed grade simplifies timing analysis in labs, while ICSP via RB6/RB7 enables quick classroom reflashing using Microchip's PICkit 3 or ICD 4 programmers. The 44-TQFP package fits standard breadboard-adapter PCBs, allowing student prototypes to be wired without SMT soldering. Microchip's MPLAB X IDE and XC8 compiler are freely available, supporting the same PIC16F877 architecture used here.
Recommandé
Automotive Subsystems (Non-Safety)
The PIC16F877T-04I/PT serves non-safety automotive subsystems such as climate control panels, body controllers, and lighting modules where automotive AEC-Q100 is not required. The 33 I/O pins interface with switches, LEDs, and LIN bus transceivers, while the 10-bit ADC reads sensor inputs from the body control area. The -40C to +85C industrial temperature range covers cabin environments, and the robust PIC16F architecture has decades of automotive field reliability history. For under-hood or safety-critical applications, migrate to AEC-Q100 qualified PIC16F family members such as PIC16F18877-I/PT.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC16F877T-04I/PT — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC16F877-04I/PT | PIC16F877T-04E/PT | PIC16F877-20I/PT | PIC16F877-04I/P | PIC16F874T-04I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (10x10) | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 40-PDIP - different | 44-TQFP (10x10) - same |
| CPU Speed | 4 MHz / 1 MIPS | 4 MHz / 1 MIPS | 4 MHz / 1 MIPS | 20 MHz / 5 MIPS | 4 MHz / 1 MIPS | 4 MHz / 1 MIPS |
| FLASH Memory | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB | 7 KB |
| RAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 192 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| I/O Pins | 33 | 33 | 33 | 33 | 33 | 33 |
| Temperature Range | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| Operating Voltage | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V |
| Approx. Unit Price @ Qty 100 | $10.20 | ~$9.80 | ~$11.00 | ~$12.00 | ~$9.50 | ~$9.20 |
Principaux différenciateurs
- Tape-and-reel packaging for automated SMT assembly (vs PIC16F877-04I/PT)
- Extended temperature grade option exists in same footprint (vs PIC16F877T-04E/PT)
- 5x faster clock upgrade available in same package (vs PIC16F877-20I/PT)
- Proven PIC16F877 architecture with 256-byte EEPROM (vs PIC16F874T-04I/PT)
Notes de conception
Place a 0.1 uF decoupling capacitor within 5 mm of each VDD pin (pins 11 and 32) and a bulk 10 uF tantalum or ceramic at the board's VDD entry point. The dual VDD/VSS pins on the TQFP package must both be connected - leaving either VDD pin floating results in intermittent logic errors and increased EMI susceptibility. Verify supply rise time stays below the POR (Power-On Reset) spec of 0.05 V/ms in your worst-case ramp scenario.
Keep the oscillator traces (OSC1/OSC2, pins 13/14) shorter than 12 mm and isolated from high-current switching nodes by at least 5 mm of grounded copper. The 44-TQFP package (10x10 mm) provides adequate thermal dissipation for normal 4 MHz operation, but ground the central thermal pad if present on your footprint variant. Route ICSP lines RB6 (PGC, pin 39) and RB7 (PGD, pin 40) so they remain accessible for in-circuit programming without jumpering the production board.
The PIC16F877T-04I/PT PORTA pins RA0-RA5 are multiplexed with ADC inputs and shared analog/digital functions. To minimize digital noise coupling into ADC conversions, configure unused PORTA pins as outputs driving low, and avoid toggling adjacent PORTA bits during ADC acquisition. For precise ADC sampling, add a 10 nF bypass capacitor at the VREF+ pin (RA3) if used as a voltage reference. Per datasheet DS30292C, the recommended acquisition time is 19.72 us at 4 MHz with 10-bit ADC.
Do not leave the MCLR pin (pin 1) floating - the internal weak pull-up is insufficient for reliable operation in noisy industrial environments. Add an external 10 kohm pull-up to VDD, optionally with a series diode and capacitor for ICSP programming isolation. Also, when using the PICkit 3 or ICD 4 for ICSP, ensure RB3 (PGM, pin 36) is not held low externally or low-voltage programming will be blocked. The configuration bits must be set to enable the correct oscillator mode (HS, XT, or RC) - HS is required for reliable 4 MHz external crystal operation.
Informations de conformité
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - for automotive applications use AEC-Q100 qualified PIC16F family members. QS-9000 quality certification per Microchip's QA system (per 1999 certification of PICmicro 8-bit MCUs).