Microchip Technology

PIC16F877-04/P - 4MHz 8-Bit Flash MCU 14KB | Microchip

MPN: PIC16F877-04/P ✓ Aktif
40-pin PDIP Package 4 MHz Speed 14 KB (8K x 14 words) Memory
MOQ: 1 |

PIC16F877-04/P Genel Bakış

The Microchip Technology PIC16F877-04/P is a 4 MHz, 8-bit CMOS Flash microcontroller with 14 KB of program memory, 256 bytes of EEPROM, 368 bytes of RAM, and 33 I/O pins in a 40-pin PDIP package. It combines eight 10-bit ADC channels, UART/USART, SPI, I2C, timers, PWM, capture/compare functions, brown-out reset, and watchdog support in a legacy-compatible embedded-control platform.

A microcontroller is a compact integrated circuit that executes programmed instructions and coordinates sensors, actuators, communications, and timing functions. The PIC16F877 belongs to the PIC16 family of 8-bit RISC microcontrollers and provides a broad peripheral set for embedded systems, instrumentation, motor-control support, communications, and legacy control designs. The -04 suffix identifies the 4 MHz speed grade, while /P denotes the PDIP package.

Key features include 8K words of Flash program memory, 256 bytes of EEPROM data memory, 368 bytes of RAM, 33 I/O lines, and a 10-bit ADC with eight channels. The device also provides synchronous serial capabilities configurable for SPI or I2C, a serial port usable as UART/USART, two additional timers, and two capture/compare/PWM functions. Its 40-pin package provides convenient through-hole construction and broad signal access.

The PIC16F877 architecture supports the PIC instruction set and combines EEPROM, Flash programming, and self-programming capabilities. The manufacturer product page describes the device as a 200 ns instruction-execution architecture with 35 single-word instructions. These features make it useful where deterministic control, moderate memory capacity, and a mature peripheral combination are more important than very high clock speed or very large flash capacity.

Typical applications include industrial control panels, data acquisition and instrumentation, educational electronics, motor and relay interfaces, sensor nodes, communications bridges, and legacy embedded products. The ADC supports analog measurement, while UART, SPI, and I2C allow connection to sensors, transceivers, displays, and storage devices. The 33 I/O pins provide flexibility for control and status signals.

For new layouts, verify oscillator, programming, reset, analog, and serial-interface requirements against the manufacturer datasheet before finalizing the PCB. Existing PIC16F877 systems may be easier to maintain with the same device family, but firmware, timing, and pin-level compatibility must be checked whenever the MCU is changed. This page combines verified product facts with practical application guidance and clearly flags unavailable specifications.

Drop-in alternatifler için PIC16F877-04/P — aynı paket, pin-başına uyumlu. PCB yeniden montajı gerektiren farklı paket bileşenleri dışlanmıştır.

Bu Serideki Variantlar

Yedek parça uyumlu olan aynı serideki modeller PIC16F877-04/P (aynı form faktörü ve ayağa oturma) — farklı olan Package, ADC, Timers, Core Architecture, Operating Temperature Range.

Microchip Technology
Package: 40-pin PDIP (DIP-40), 15.24 mm width
ADC: 5 channels, 8-bit
Timers: 3 (TMR0, TMR1, TMR2)
Microchip Technology
Package: 40-pin PDIP (0.600", 15.24 mm)
ADC: 8-bit, up to 8 channels
Timers: Timer0, Timer1, Timer2
Microchip Technology
Package: 44-pin MQFP (10 x 10 mm), PQ suffix
ADC: 10-bit, 8 channels
Timers: 2 x 8-bit, 1 x 16-bit
Microchip Technology
Package: 40-pin PDIP (Plastic DIP, through-hole)
ADC: 14-channel, 10-bit
Timers: 2 x 8-bit + 1 x 16-bit
Microchip Technology
Package: 40-pin PDIP (0.600", 15.24 mm)
Core Architecture: 8-bit PIC Harvard

PIC16F877-04E/PQ

✅ Yerleştirme
Microchip Technology
📦 40-pin PDIP
PIC (8-bit RISC, Harvard) · PIC16F877 Series · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 4 MHz (200 ns instruction cycle) · 2.0 V to 5.5 V · 33 digital I/O

Fiyat için iletişime geçin

Veri Şablonunu Görüntüle →

PIC16F887-E/P

✅ Yerleştirme
Microchip Technology
📦 40-pin PDIP
Enhanced 8-bit PIC16 RISC · 14-bit · 35 single-word instructions · 20 MHz · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 36

Fiyat için iletişime geçin

Veri Şablonunu Görüntüle →

PIC16F877-04/P Maksimum Değerlendirmeler & Elektriksel Özellikler

Core Processor 8-bit
Azami Saat Hızı 4 MHz
Flash Program Memory 14 KB (8K x 14 words)
EEPROM Data Memory 256 bytes
RAM 368 bytes
Number of I/O Pins 33
ADC 8 channels, 10-bit
Serial Interfaces UART/USART, SPI, I2C
Timers Two additional timers
Capture/Compare/PWM Two functions
Paket 40-pin PDIP
Package Type Through-hole
İşletim Sıcaklığı 0C to 70C TA
Programming Flash, self-programming
Brown-Out Reset Supported
Power-On Reset Supported
Watchdog Timer Supported

PIC16F877-04/P through-hole Pin Yapısı Kılavuzu

PIC16F877-04/P (through-hole paket) için pin yapısı. Bu dijital IC, GPIO, iletişim arayüzleri (UART, SPI, I2C) ve güç pinleri içerir. Alternatif pin işlevleri ve yapılandırma seçenekleri için üretici veri kitapçığını referans alın. Tünel sistem tasarımı ve PCB yerleşimi için temel bir bileşendir.

through-hole paket pin çizelgesi için PIC16F877-04/P

Ayrıntılı pin çıkış verisi mevcut değil: PIC16F877-04/P.

Aşağıdaki veri sayfası tam pin konfigürasyonu için.

Tipik Uygulamalar

PIC16F877-04/P için uygundur 6 uygulamas: Industrial Control Panels, Data Acquisition and Instrumentation, Motor and Relay Interfaces, Sensor and Communications Nodes, Educational and Prototype Systems, Legacy Communication Bridges.

🏭

Industrial Control Panels

PIC16F877-04/P fits legacy industrial control panels that need moderate processing speed, discrete control I/O, analog monitoring, and serial connectivity. Its 4 MHz clock and 33 I/O pins can support relay logic, status indicators, operator inputs, and sensor multiplexing, while the eight-channel 10-bit ADC provides a practical interface for analog transducers. UART/USART, SPI, and I2C allow connection to local displays, sensors, or communications modules. The listed 0C to 70C TA operating range makes it appropriate for indoor or moderate-temperature equipment, but supply voltage and compliance details remain unavailable in the supplied data.

📟

Data Acquisition and Instrumentation

PIC16F877-04/P is suitable for instrumentation front ends requiring several analog inputs, digital status signals, and flexible communication. The eight 10-bit ADC channels can measure temperature, pressure, potentiometer positions, or other slowly varying analog quantities, while 33 I/O pins support switches, indicators, and measurement-control signals. Serial UART/USART, SPI, or I2C connectivity enables data transfer to a host computer or peripheral. Designers should verify ADC reference, sampling requirements, supply voltage, and calibration strategy against the manufacturer datasheet because those details are not supplied here.

⚡

Motor and Relay Interfaces

PIC16F877-04/P can coordinate motor, relay, and actuator control in legacy embedded systems where a deterministic 8-bit MCU and multiple I/O lines are useful. The 33 available I/O pins can distribute control and feedback signals, while timers and PWM functions support timing-based motor or lamp control. Its 4 MHz operating speed is appropriate for many open-loop or modest closed-loop systems, but exact PWM frequency, timer resolution, and output-drive limits must be taken from the device documentation. Add suitable driver transistors, protection networks, and isolation as required by the load.

🧩

Sensor and Communications Nodes

PIC16F877-04/P works as a small embedded controller for sensor nodes that combine local measurement, digital I/O, and serial communications. SPI can support faster peripheral devices, while I2C is useful for common sensors and EEPROMs; UART/USART provides a straightforward path to a host or modem. The 14 KB Flash and 368 bytes RAM are meaningful for small control firmware, but protocol buffering and logging must be sized carefully. Verify peripheral electrical limits, bus timing, and firmware support before choosing it for a new high-throughput design.

🛠️

Educational and Prototype Systems

PIC16F877-04/P remains useful for educational embedded-control platforms because it combines an accessible 8-bit architecture with Flash memory, EEPROM, ADC channels, timers, PWM, and multiple serial interfaces. Students can exercise GPIO, interrupts, timing, analog conversion, and protocol handling in one through-hole DIP device that is easy to place on a prototype board. The 40-pin package exposes more signals than very small modern MCUs, simplifying breadboard and educational wiring. Firmware examples should still follow the exact pinout and configuration requirements of the selected package.

🌐

Legacy Communication Bridges

PIC16F877-04/P can bridge older serial equipment and embedded controllers because it provides UART/USART plus configurable SPI and I2C interfaces. A bridge design can translate between a local sensor or display and a host interface, perform protocol buffering, or monitor control signals. The 368 bytes of RAM and 14 KB Flash are adequate for many compact protocol converters, but throughput and buffering should be calculated for the selected baud rate and packet size. For production use, confirm timing, electrical levels, watchdog behavior, and package availability with current manufacturer data.

What is PIC16F877-04/P?
PIC16F877-04/P is a Microchip Technology 8-bit CMOS Flash microcontroller rated for 4 MHz operation. The device provides 14 KB of Flash program memory, 256 bytes of EEPROM, 368 bytes of RAM, 33 I/O pins, eight 10-bit ADC channels, UART/USART, SPI, I2C, timers, and PWM functions in a 40-pin PDIP package. These features match the verified manufacturer and distributor product listings for PIC16F877-04/P.
Where can I download the PIC16F877-04/P datasheet PDF?
The official product information is available on the Microchip PIC16F877 product page, and the verified distributor listings identify the PIC16F877 family datasheet as the technical reference. Search the manufacturer page for the PIC16F877 documentation package or use the verified Microchip product URL: https://www.microchip.com/en-us/product/PIC16F877. The available search results also identify a PIC16F877-04/P datasheet PDF through Datasheets.com and AllDataSheet.
What are the key specifications engineers should know about PIC16F877-04/P?
The verified headline specifications are a 4 MHz maximum clock, 14 KB Flash memory, 256 bytes of EEPROM, 368 bytes of RAM, 33 I/O pins, and eight 10-bit ADC channels. It also includes UART/USART, SPI, I2C, two additional timers, and two capture/compare/PWM functions. The package is 40-pin PDIP, and the listed operating temperature is 0C to 70C TA.
Where can I buy PIC16F877-04/P online?
PIC16F877-04/P is listed by DigiKey and Mouser, with a verified DigiKey product page and a verified Mouser product page. The DigiKey listing describes an 8-bit 4 MHz PIC microcontroller with 14 KB Flash and a 40-pin PDIP package; Mouser lists 14 KB Flash, 368 bytes RAM, and 33 I/O. Current unit pricing and inventory should be checked at the distributor because the supplied data does not include numerical prices.
What is the current price of PIC16F877-04/P?
The supplied verified data does not provide a numerical distributor price for PIC16F877-04/P, so the current unit price is [DATA_NEEDED: current price]. DigiKey and Mouser product pages are available for live quotation and inventory checks. Pricing should be confirmed as of 2026-10-22, because legacy microcontroller pricing and stock can change with demand, lifecycle status, and package availability.
What is the lead time for PIC16F877-04/P?
The supplied distributor results confirm that PIC16F877-04/P is commercially listed, but they do not state a lead time. Therefore, the lead time is [DATA_NEEDED: distributor lead time]. For an actual procurement decision, request a dated quotation from DigiKey or Mouser and confirm whether inventory is allocated or whether the order is backordered. The product is identified as an active part in the verified search data.
Is PIC16F877-04/P in stock?
DigiKey’s verified listing states “Buy now, ships today,” while the other supplied distributor data confirms product availability but does not provide a complete inventory count. The exact current stock quantity is therefore [DATA_NEEDED: live inventory quantity]. Check the DigiKey or Mouser listing immediately before ordering because stock status is time-dependent and should not be inferred from a cached product description.
What is the difference between PIC16F877-04/P and PIC16F877-04E/P?
PIC16F877-04/P is the 4 MHz grade in a 40-pin PDIP package, with an operating temperature listing of 0C to 70C TA. PIC16F877-04E/P is identified in the verified cross-reference results as a related Microchip variant, but the supplied data does not provide its complete electrical or temperature specifications. Do not substitute it without confirming the manufacturer pin configuration, speed grade, temperature range, and firmware assumptions.
Can PIC16F877-04/P replace PIC16F877-04E/P?
A direct replacement cannot be confirmed from the supplied data. The verified cross-reference search identifies PIC16F877-04E/P as a related candidate, but it does not provide a complete compatibility matrix or confirm every electrical and temperature parameter. Treat it as a qualified substitution only after checking the Microchip datasheet, package pinout, oscillator requirements, operating-temperature limits, and any production-code differences.
What is the best drop-in replacement for PIC16F877-04/P?
The supplied verified data does not establish five or more confirmed pin-compatible drop-in replacements for PIC16F877-04/P. The PIC16F877-04E/P cross-reference candidate is the only related substitute surfaced in the supplied data, while PIC16F887 is identified by Microchip as a newer compatible-family device, but its exact package and pin compatibility for this target are not fully documented here. Verify the manufacturer datasheet before purchasing any substitute.
What can replace PIC16F877-04/P?
The safest replacement path begins with the Microchip PIC16F877 family and the related PIC16F877-04E/P candidate identified in the verified cross-reference results. A true drop-in replacement must match the 40-pin PDIP footprint, pin functions, supply requirements, oscillator arrangement, timing, and peripheral behavior. Because the supplied data does not verify enough candidates for a complete replacement list, confirm the exact alternative with Microchip or an authorized distributor.
Is PIC16F877-04/P the same as PIC16F877-04I/P?
No conclusion of identity should be made from the available data. PIC16F877-04/P is the specified 4 MHz, 40-pin PDIP variant with a listed 0C to 70C TA operating range, while PIC16F877-04I/P appears in related comparison data with a different ordering code and temperature intent. The suffix can indicate grade or temperature classification, so verify the exact Microchip ordering table before treating the parts as interchangeable.
What is the best Microchip equivalent for PIC16F877-04/P?
Microchip identifies PIC16F887 as a newer device related to the PIC16F877 family, but the supplied data does not verify that it is a drop-in replacement in the same 40-pin PDIP package with identical pin functions. It may be suitable for a redesigned product, not necessarily an unchanged PCB. Use the Microchip cross-reference search and datasheet to verify package, pinout, voltage, oscillator, memory, peripheral, and programming compatibility.
When should I choose PIC16F877-04/P over a newer microcontroller?
Choose PIC16F877-04/P when maintaining an existing 40-pin PDIP design, using established PIC16F877 firmware, or relying on the device’s 14 KB Flash, 368 bytes RAM, 33 I/O pins, and integrated analog and serial peripherals. Choose a newer MCU when higher clock speed, larger memory, lower power, smaller package, or a current production path is more important than legacy layout and software continuity.
Is PIC16F877-04/P suitable for industrial control?
PIC16F877-04/P can suit industrial and instrumentation control where 4 MHz timing, 33 I/O lines, eight ADC channels, UART/USART, SPI, I2C, timers, and PWM are adequate. Its listed 0C to 70C TA operating range limits high-temperature industrial use, and the supplied data does not include supply-voltage or compliance details. Confirm the full electrical envelope and environmental requirements before deployment.
How does PIC16F877-04/P compare with PIC16F887?
PIC16F877-04/P is a 4 MHz, 14 KB Flash, 40-pin PDIP microcontroller, while Microchip’s verified product-page result identifies PIC16F887 as a newer related device. The supplied data does not provide a complete PIC16F887 comparison, so exact memory, pinout, voltage, peripheral, and lifecycle differences cannot be stated safely. Use PIC16F887 for a redesign only after checking its package and pin compatibility.
How do I design PCB and firmware around PIC16F877-04/P?
Start with the verified 40-pin PDIP footprint and assign oscillator, programming, reset, I2C, SPI, UART/USART, ADC, and power pins according to the manufacturer datasheet. Place decoupling and signal-routing decisions only after the required supply voltage and oscillator configuration are confirmed, because those values are marked [DATA_NEEDED: supply voltage range]. Preserve the legacy firmware assumptions and validate timing, ADC scaling, serial addresses, and pin multiplexing.
What tools are compatible with PIC16F877-04/P?
The supplied data identifies an ICD interface and Flash self-programming but does not name a specific programmer, debugger, IDE, or toolchain. Compatibility should therefore be checked against Microchip’s current PIC16F877 programming and development documentation. Confirm device support, package variant recognition, programming voltage, clock configuration, and application-programming requirements before selecting tools.
Does PIC16F877-04/P support RoHS or automotive qualification?
RoHS and REACH compliance are [DATA_NEEDED: verified compliance status], and the supplied data does not state AEC-Q100 qualification for PIC16F877-04/P. Because this is a legacy 8-bit microcontroller with a commercial 0C to 70C TA listing, automotive qualification must not be assumed. Request current manufacturer or distributor compliance documentation for the exact ordering code.

Mühendislik referans verileri: PIC16F877-04/P — karşılaştırma, tasarım rehberi ve uyumluluk bilgileri.

Seçim Kılavuzu

Choose PIC16F877-04/P when maintaining an existing PIC16F877 design or building a through-hole 8-bit control system that needs 4 MHz operation, 14 KB Flash, 368 bytes RAM, 33 I/O pins, eight 10-bit ADC channels, and UART/SPI/I2C connectivity. It is particularly suitable for legacy industrial controls, instrumentation, education, and moderate motor or relay interfaces where the 0C to 70C TA listing is acceptable. Consider PIC16F877-04E/P only after confirming its complete ordering and temperature details. Consider PIC16F887 for a new design when its current documentation confirms the required package, memory, peripherals, and pinout. None of the alternatives should be treated as drop-in solely from the supplied search snippets.

Alternatiflerle Karşılaştırma

Parametre Bu Ürün PIC16F877-04E/P PIC16F887
Core Processor 8-bit 8-bit related family variant 8-bit related family variant
Package 40-pin PDIP 40-pin PDIP candidate 40-pin PDIP candidate, verify manufacturer package data
Brand Microchip Technology Microchip Technology Microchip Technology

Ana Farklılayıcılar

  • Established PIC16F877 legacy platform (karşılaştırma:PIC16F887)
  • Broad integrated peripheral set (karşılaştırma:PIC16F877-04E/P)
  • Through-hole legacy PCB compatibility (karşılaştırma:PIC16F887)

Tasarım Notları

Use the verified 40-pin PDIP footprint and preserve the manufacturer pin numbering exactly. Before routing, confirm oscillator, programming, reset, power, ground, analog, UART/USART, SPI, and I2C assignments from the datasheet because the supplied data does not include a complete pin table. Leave access to programming and debug signals, and avoid placing long traces beside sensitive analog inputs.

Confirm the supply-voltage range and decoupling requirements before final schematic release. The verified data confirms a 4 MHz CMOS Flash MCU with 256 bytes of EEPROM, but it does not state operating-voltage limits or recommended capacitor values. Apply the manufacturer’s supply and layout guidance rather than copying generic values, especially if the ADC reference or oscillator supply shares the same rail.

Do not treat a related family name as an automatic drop-in replacement. The verified cross-reference results identify PIC16F877-04E/P and mention PIC16F887, but they do not establish every pin, timing, temperature, voltage, and peripheral parameter. Review the exact ordering code and datasheet before substituting, particularly when existing firmware depends on oscillator settings, interrupt behavior, ADC calibration, or serial peripheral mappings.

The supplied operating-temperature listing is 0C to 70C TA, but the data does not provide junction-temperature limits, thermal resistance, or maximum dissipation. For enclosed or elevated-temperature equipment, calculate the actual dissipation from the final supply and I/O load, then verify the package and ambient limits against the manufacturer documentation. Use appropriate airflow or copper spreading only after confirming the thermal model.

Uyumluluk Bilgisi

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Kadmiyumdan Arınmış
Unknown
Klorofillerden Arınmış
Unknown
Çatışma Minerali
Unknown

The supplied verified data does not provide exact compliance statements for PIC16F877-04/P. Obtain current manufacturer or distributor documentation before making a compliance claim.

İlgili Aramalar

PIC16F877-04/P PIC16F877-04/P datasheet Microchip PIC16F877-04/P PIC16F877-04/P price PIC16F877-04/P 4MHz 8-bit microcontroller 40-pin PDIP PIC16F877 PIC16F877-04/P ADC UART SPI I2C PIC16F877-04/P industrial control PIC16F877-04/P vs PIC16F877-04E/P PIC16F877-04/P drop-in replacement PIC16F877-04/P pinout where to buy PIC16F877-04/P PIC16F877-04/P lead time PIC16F877-04/P programming tools

İlgili Bileşenler ve Terimler

Microchip Technology PIC16F877-04/P PIC16F877 PIC16F877-04E/P PIC16F887 8-bit microcontroller CMOS Flash microcontroller PIC16 family RISC architecture embedded controller 14 KB Flash program memory 256-byte EEPROM 368-byte RAM 33 I/O pins 10-bit ADC UART/USART SPI I2C PWM 40-pin PDIP through-hole package industrial control data acquisition programmable timer
Hızlı Teklif RFQ
Detayları tam doldurun — satış ekibimiz 24 saat içinde yanıt verecek
Parça Numarası Üretici Paket QTY Hedef Fiyat Genişletilmiş
✓
Teklif gönderildi!

24 saat içinde e-postanıza yanıt vereceğiz

1
RFQ Gönderildi
2
Teklif Alındı
3
Sipariş Yerleştirildi
4
Ödeme
5
Gönderildi
6
Teslim Edildi
RFQ Detaylarını Görüntüle