PIC16F877-04E/PT - 8-bit PIC MCU, 14KB Flash, 44-TQFP | Microchip
Артикул: PIC16F877-04E/PT ✗ Снят с производства| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $4.93 | $4,93 |
| 10 | $4.5 | $45,00 |
| 100 | $4.05 | $405,00 |
| 500 | $3.65 | $1.825,00 |
| 1.000 | $3.25 | $3.250,00 |
PIC16F877-04E/PT Обзор
What is an 8-bit PIC microcontroller? An 8-bit PIC microcontroller is a RISC-based Harvard-architecture MCU from Microchip Technology. The PIC16F877 belongs to the mid-range PIC16F family, sits inside the broader PIC16F family, and is part of Microchip's 8-bit microcontroller portfolio alongside PIC18 and PIC10/12/16 devices. These MCUs integrate CPU core, Flash program memory, SRAM, EEPROM, ADCs, timers, and communication peripherals on a single chip.
Key features of the PIC16F877-04E/PT include 200 ns instruction execution, 8 channels of 10-bit Analog-to-Digital conversion, two 8-bit timers plus one 16-bit timer, two Capture/Compare/PWM modules, an MSSP configurable as SPI or I2C, a USART, an ICD (In-Circuit Debugger) interface, and self-programming support. The -04E suffix indicates a 4 MHz speed grade with the Extended temperature range.
The architecture is built on a 14-bit instruction word with a 35-instruction RISC set, delivering deterministic interrupt latency and predictable timing. The 10-bit ADC provides 8 input channels at conversion rates suitable for sensor signal acquisition, while the two PWM/Capture/Compare modules can drive motor control, LED dimming, or waveform generation tasks.
Applications include industrial automation controllers, sensor signal acquisition systems, motor control boards, embedded instrumentation, and legacy equipment retrofits. The PIC16F877A is the preferred successor for new designs; the -04E/PT is intended for maintenance of existing designs.
When designing with this part, ensure Vdd decoupling with 100 nF and 10 uF capacitors placed close to the supply pins. The MCLR pin requires proper configuration for in-circuit debugging or reset. Use ICD2/ICD3 programmers for development.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet. The PIC16F877 datasheet (DS30292C) remains the authoritative reference for electrical characteristics and peripheral configuration.
Аналоги без доработки для PIC16F877-04E/PT — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC16F877-04E/PT (тот же форм-фактор и посадочное место) — отличается по Core Architecture, Package, ADC, Operating Temperature, Serial Interfaces.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC16F877A-I/PT
✅ Прямая замена✓ В наличии
$4.95 / шт.
Открыть даташит →PIC16F877-04I/PT
✅ Прямая замена✓ В наличии
$4.95 / шт.
Открыть даташит →PIC16F887-I/PT
✅ Прямая замена✓ В наличии
$1.66 / шт.
Открыть даташит →PIC16F874A-I/PT
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC16F877-20E/PT
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC16F877-04E/PT Максимальные параметры и электрические характеристики
| Core Architecture | PIC (RISC, Harvard) |
| Разрядность шины данных | 8 bit |
| Instruction Word Width | 14 bit |
| Program Memory Type | Flash |
| Program Memory Size | 14 KB (8K x 14) |
| RAM Size | 368 byte |
| EEPROM Size | 256 byte |
| Максимальная тактовая частота | 4 MHz |
| Instruction Execution Time | 200 ns |
| Рабочее напряжение питания | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 8 channels x 10 bit |
| Timers | 2 x 8-bit + 1 x 16-bit |
| PWM / CCP Modules | 2 |
| Communication Interfaces | MSSP (SPI/I2C), USART |
| Корпус | 44-TQFP (10x10 mm) |
| Тип монтажа | Surface Mount |
| Диапазон рабочих температур | -40C to +125C (Extended, E suffix) |
| In-Circuit Debug | ICD interface |
| Self-Programming | Yes |
| Статус RoHS | Compliant |
Конфигурация выводов PIC16F877-04E/PT
| Контакт 1 | MCLR/Vpp — Master Clear (reset) input / programming voltage |
| Контакт 2 | RA0/AN0 — PORTA bit 0 / Analog input channel 0 |
| Контакт 3 | RA1/AN1 — PORTA bit 1 / Analog input channel 1 |
| Контакт 4 | RA2/AN2/Vref- — PORTA bit 2 / Analog input 2 / ADC Vref- |
| Контакт 5 | RA3/AN3/Vref+ — PORTA bit 3 / Analog input 3 / ADC Vref+ |
| Контакт 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Контакт 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| Контакт 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel port read / Analog input 5 |
| Контакт 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel port write / Analog input 6 |
| Контакт 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel port chip select / Analog input 7 |
| Контакт 11 | VDD — Positive supply voltage (2.0V to 5.5V) |
| Контакт 12 | VSS — Ground reference |
| Контакт 13 | OSC1/CLKI — Oscillator crystal input / external clock input |
| Контакт 14 | OSC2/CLKO — Oscillator crystal output / clock output |
| Контакт 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Контакт 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 I/O |
| Контакт 17 | RC2/CCP1 — PORTC bit 2 / CCP1 I/O |
| Контакт 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Контакт 19 | RD0/PSP0 — PORTD bit 0 / Parallel slave port bit 0 |
| Контакт 20 | RD1/PSP1 — PORTD bit 1 / Parallel slave port bit 1 |
| Контакт 21 | RD2/PSP2 — PORTD bit 2 / Parallel slave port bit 2 |
| Контакт 22 | RD3/PSP3 — PORTD bit 3 / Parallel slave port bit 3 |
| Контакт 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Контакт 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Контакт 25 | RC6/TX/CK — PORTC bit 6 / USART transmit / USART clock |
| Контакт 26 | RC7/RX/DT — PORTC bit 7 / USART receive / USART data |
| Контакт 27 | RD4/PSP4 — PORTD bit 4 / Parallel slave port bit 4 |
| Контакт 28 | RD5/PSP5 — PORTD bit 5 / Parallel slave port bit 5 |
| Контакт 29 | RD6/PSP6 — PORTD bit 6 / Parallel slave port bit 6 |
| Контакт 30 | RD7/PSP7 — PORTD bit 7 / Parallel slave port bit 7 |
| Контакт 31 | VSS — Ground reference |
| Контакт 32 | VDD — Positive supply voltage |
| Контакт 33 | RB0/INT — PORTB bit 0 / External interrupt input |
| Контакт 34 | RB1 — PORTB bit 1 |
| Контакт 35 | RB2 — PORTB bit 2 |
| Контакт 36 | RB3/PGM — PORTB bit 3 / Low-voltage programming input |
| Контакт 37 | RB4 — PORTB bit 4 |
| Контакт 38 | RB5 — PORTB bit 5 |
| Контакт 39 | RB6/PGC — PORTB bit 6 / ICD clock |
| Контакт 40 | RB7/PGD — PORTB bit 7 / ICD data |
| Контакт 41 | VSS — Ground reference |
| Контакт 42 | VDD — Positive supply voltage |
| Контакт 43 | NC — Not connected (per datasheet, TQFP pin reserved) |
| Контакт 44 | NC — Not connected (per datasheet, TQFP pin reserved) |
Типичное применение
PIC16F877-04E/PT подходит для 6 применениеs: Industrial Automation Controllers, Sensor Signal Acquisition Boards, Motor Control and PWM Drive, Embedded Instrumentation and Data Loggers, Legacy Equipment Retrofit and Maintenance, Educational and Hobby Development Boards.
Industrial Automation Controllers
The PIC16F877-04E/PT fits industrial automation controllers because it integrates 33 I/O pins, 8 channels of 10-bit ADC, and a USART for sensor and actuator interfacing on a single chip. At 4 MHz with 200 ns instruction execution, the part provides deterministic interrupt latency for real-time control loops. The 14 KB Flash supports ladder-logic-style program structures, while the 256-byte EEPROM stores calibration constants across power cycles. The extended -40C to +125C temperature range (E suffix) qualifies the part for factory-floor enclosures.
Рекомендуется
Sensor Signal Acquisition Boards
The PIC16F877-04E/PT is well-suited for multi-signal data acquisition boards because its 8-channel 10-bit ADC samples analog sensor inputs (temperature, pressure, flow) at rates sufficient for industrial telemetry. The 368-byte RAM buffers sample sets, while 14 KB Flash stores the conversion and averaging algorithms. The MSSP peripheral reads SPI-based digital sensors (e.g., MCP3204) in parallel with the analog scan, and the USART streams formatted data to a host. The 44-TQFP gives board designers 33 I/O for both analog and digital sensor chains.
Рекомендуется
Motor Control and PWM Drive
The PIC16F877-04E/PT drives brushed DC and small stepper motors via its two CCP/PWM modules generating complementary PWM signals at configurable frequencies. The 16-bit timer sets the PWM period with sub-microsecond resolution, while the 8-bit timers handle commutation sequencing for stepper drives. H-bridge driver ICs such as the L293D or VNH2SP30 are commanded directly from the 33 I/O pins. The extended temperature grade supports under-hood and motor-mounted electronics.
Рекомендуется
Embedded Instrumentation and Data Loggers
The PIC16F877-04E/PT powers portable data loggers because its 256-byte EEPROM retains logged samples across battery swaps without external NVRAM. The PIC's low-power sleep mode combined with the 2.0-5.5 V supply range supports multi-month battery operation from two AA cells. Real-time clock ICs (e.g., DS1307 or MCP79410) attach over the I2C MSSP channel. The 14 KB Flash stores FAT-style file system or binary log formats with timestamp headers.
Рекомендуется
Legacy Equipment Retrofit and Maintenance
The PIC16F877-04E/PT is the maintenance part of choice for field-replacement scenarios in equipment shipped between 2000 and 2015, where PIC16F877 was a design standard. Its 44-TQFP footprint and pinout remain unchanged across the -04, -04I, -04E, -20, and A revision variants, allowing direct board swaps. Distributor inventory of the -04E/PT specifically targets equipment manufacturers needing to service installed bases. For new designs the A revision is preferred.
Рекомендуется
Educational and Hobby Development Boards
The PIC16F877-04E/PT appears on educational trainer boards and PIC programmer kits because its 44-TQFP package is easy to handle, the ICD interface supports in-circuit debugging, and the 14 KB Flash fits typical classroom projects (LED chasers, LCD drivers, frequency counters). The Microchip PICDEM and PICkit boards reference this part. Hobbyists building retro projects can use the freely available MPLAB X IDE and XC8 compiler.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC16F877-04E/PT — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC16F877A-I/PT | PIC16F877-04I/PT | PIC16F887-I/PT | PIC16F874A-I/PT | PIC16F877-20E/PT |
|---|---|---|---|---|---|---|
| Package | 44-TQFP (10x10 mm) | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same | 44-TQFP (10x10 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 14 KB Flash | 14 KB Flash | 14 KB Flash | 14 KB Flash | 7 KB Flash (-50%) | 14 KB Flash |
| Maximum Clock Frequency | 4 MHz | 20 MHz | 4 MHz | 20 MHz | 20 MHz | 20 MHz |
| Lifecycle Status | NRND | Active | NRND | Active | Active | NRND |
| Temperature Range | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) |
| ADC Channels | 8 x 10-bit | 8 x 10-bit (enhanced) | 8 x 10-bit | 14 x 10-bit | 8 x 10-bit | 8 x 10-bit |
| PWM / CCP Modules | 2 | 2 (enhanced CCP) | 2 | 3 (ECCP) | 2 | 2 |
Ключевые отличия
- Extended temperature range -40C to +125C for industrial/automotive environments (против PIC16F877A-I/PT)
- Lower-speed grade reduces EMI and power consumption in cost-sensitive designs (против PIC16F877-20E/PT)
- Established mid-range PIC architecture with extensive legacy ecosystem support (против PIC16F887-I/PT)
Заметки по проектированию
Decouple the PIC16F877-04E/PT with a 100 nF ceramic capacitor placed within 5 mm of each VDD pin (pins 11, 32, 42) and a single 10 uF tantalum or ceramic bulk capacitor on the supply rail. The 44-TQFP package has three VDD pins (11, 32, 42) and three VSS pins (12, 31, 41); all must be connected. Per the Microchip PIC16F87x datasheet (DS30292C), inadequate decoupling causes ADC noise and brown-out resets under motor load transients.
Route the oscillator traces (OSC1 pin 13, OSC2 pin 14) as short as possible, kept away from high-current switching traces, and surrounded by ground pour on both sides. For 4 MHz operation a standard 4 MHz crystal with 22 pF load capacitors is recommended. The MCLR pin (1) requires a 10 kohm pull-up to VDD and a 100 nF cap to ground for noise immunity; in ICD mode this pin is also the programming voltage input and must not be left floating.
The PIC16F877-04E/PT shares the 44-TQFP footprint with PIC16F877A and PIC16F887, but the configuration registers (CONFIG1, CONFIG2) differ between revisions. When migrating firmware from the -04E to the A revision, review oscillator configuration and watchdog timer settings per the PIC16F877A datasheet (DS39582A). The PIC16F887 uses a different register map and is not source-compatible without porting. For long-term designs, use PIC16F887-I/PT as the successor to maximize peripheral availability.
Estimated: at 4 MHz clock, 5 V supply, and typical CMOS load switching, the PIC16F877-04E/PT dissipates approximately 25-50 mW. The 44-TQFP package has theta_JA around 50 C/W, so junction temperature rise is 1.5-2.5 C above ambient. At the 125 C extended-temperature ceiling this leaves 50 C margin to the absolute maximum junction of 150 C. No heatsink is required; standard PCB thermal relief on the ground pins is sufficient for industrial use.
Информация о соответствии
RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified - the extended temperature grade is for industrial environments, not automotive safety-critical. Microchip QS-9000 certified manufacturing facility (since 1999) per DigiKey listing.