Microchip Technology

PIC16F877-20/PQ - 8-Bit 20MHz 14KB MCU 44-QFP | Microchip

MPN: PIC16F877-20/PQ ✓ Aktif
44-MQFP (10 x 10 mm) Package 20 MHz Speed 14 KB Flash Memory
MOQ: 1 |

PIC16F877-20/PQ Ringkasan

The Microchip Technology PIC16F877-20/PQ is an 8-bit CMOS Flash microcontroller operating at up to 20 MHz, with 14 KB of Flash program memory and 33 I/O pins in a 44-pin MQFP package measuring 10 x 10 mm. The device is designed for embedded control applications requiring deterministic timing, mixed digital and analog functions, and established Microchip PIC tooling.

A microcontroller is a programmable semiconductor that integrates a processor core, memory, digital I/O, timers, serial interfaces, and optional analog conversion on one device. In the system hierarchy, the PIC16F877 belongs to the 8-bit MCU class, then to PIC16-family Flash microcontrollers. Its broad peripheral set allows one controller to supervise actuators, read sensors, communicate with external circuits, and implement control firmware without separate interface ICs.

Key verified features include 256 bytes of EEPROM data memory, self-programming, eight 10-bit ADC channels, two additional timers, two capture/compare/PWM functions, and a synchronous serial port configurable for 3-wire SPI or 2-wire I²C. The 20 MHz grade provides a 50 ns instruction-cycle basis before considering instruction duration and peripheral clocking. The 33 I/O lines provide substantial board-level connectivity while remaining within the limits of a compact embedded design.

The PIC16F877 architecture combines RISC-like single-word instructions with Flash program memory. Its peripheral partitioning supports protocol handling, timing, pulse-width modulation, and analog measurement without relying on a host processor. The eight-channel 10-bit ADC is useful for monitoring mixed-signal equipment, while EEPROM retains calibration values or configuration data. Self-programming can support applications that need controlled parameter updates after deployment.

Typical uses include industrial controllers, data-acquisition equipment, motor and relay control, instrumentation, communications gateways, and compact embedded products. The 20 MHz rating is appropriate for real-time control loops when the firmware budget and interrupt latency satisfy the application. The 44-pin package requires careful escape routing but provides more I/O and peripheral connectivity than smaller MCU packages.

Designers should use the manufacturer datasheet for the exact pin assignments, electrical limits, timing characteristics, and programming specification. PCB layout must preserve decoupling placement, oscillator stability, analog-reference integrity, and programming access. Because only distributor and manufacturer snippets were supplied here, unverified details remain explicitly marked in the specifications rather than inferred.

Pilihan pengganti yang segera untuk PIC16F877-20/PQ — sama paket, pin-pin kompatibel. Bahagian paket yang berbeza memerlukan kerja ulang PCB diasingkan.

Varietas dalam siri ini

Model serupa yang kompatibel dengan pengganti yang segera PIC16F877-20/PQ (sama faktor bentuk dan kaki) — berbeza dalam Package, ADC, Timers, I/O Pins, Operating Temperature.

Microchip Technology
Package: 44-pin MQFP (10x10 mm)
ADC: 8-bit, 8 channels
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
ADC: Not present on this derivative
Operating Temperature: 0C to +70C (Commercial)
Microchip Technology
Package: 44-pin Metric QFP (MQFP / PQ)
I/O Pins: 33 programmable
Microchip Technology
Package: 44-MQFP (10x10 mm)
ADC: 10-bit, multi-channel
Timers: 3 x 8-bit Timer/Counters
Microchip Technology
Package: 44-pin Metric QFP (MQFP / PQ)
ADC: 8 channels, 8-bit resolution
Timers: Timer0, Timer1, Timer2 (with CCP1, CCP2)
Microchip Technology
Package: 44-pin MQFP, 10 mm x 10 mm
I/O Pins: 33 pins
Microchip Technology
Package: 44-pin MQFP (10x10 mm)
ADC: 10-bit, up to 8 channels
Timers: 3 (Timer0, Timer1, Timer2)
Microchip Technology
Package: 44-pin MQFP (10x10 mm, PQ)
ADC: 10-bit, 8 channels
Timers: 2 x 8-bit + 1 x 16-bit

PIC16F877-20/I/PQ

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
📦 44-MQFP (10 x 10 mm)
Same verified 20 MHz family rating and PQ package; exact temperature-grade limits are , so the difference cannot be quantified from supplied sources.

📋 Alternatif rujukan (tidak dalam katalog)

PIC16F877-20E/PQ

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
📦 44-MQFP (10 x 10 mm)
Same PQ package and 20 MHz speed designation; exact extended-temperature and device-revision differences are .

📋 Alternatif rujukan (tidak dalam katalog)

PIC16F877-20T/PQ

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
📦 44-MQFP (10 x 10 mm)
Same 20 MHz and PQ package identifiers; exact temperature, qualification, or marking differences are .

📋 Alternatif rujukan (tidak dalam katalog)

PIC16F877A-20/PQ

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
📦 44-MQFP (10 x 10 mm)
Same 20 MHz speed class and PQ package family; feature and electrical deltas versus the original PIC16F877 are .

📋 Alternatif rujukan (tidak dalam katalog)

PIC16F877-20/SS

✅ Masuk Drop-In ⚠️ Spesifikasi Tidak Disahkan
📦 44-MQFP (10 x 10 mm)
Same 20 MHz family rating; SS is a packaging or marking option, but exact carrier details are and were not independently verified.

📋 Alternatif rujukan (tidak dalam katalog)

PIC16F877-20/PQ

✅ Masuk Drop-In
Microchip Technology
📦 44-MQFP (10 x 10 mm)
8-bit CMOS Flash microcontroller · 20 MHz · 14 KB Flash · 8K x 14 words · 256 bytes · 368 bytes · 33 · 10 bits

Hubungi untuk harga

Lihat Datasheet →

PIC16F877-20/PQ Penilaian maksimum & Ciri-ciri Elektrik

Microcontroller Type 8-bit CMOS Flash microcontroller
Frekuensi Klock Maksimum 20 MHz
Program Memory 14 KB Flash
Program Memory Organization 8K x 14 words
Data EEPROM 256 bytes
RAM 368 bytes
I/O Pins 33
ADC Resolution 10 bits
ADC Channels 8 channels
Timers 3 timers, including 2 additional timers
Capture/Compare/PWM Functions 2 functions
Synchronous Serial Port Configurable as 3-wire SPI or 2-wire I²C
Self-Programming Supported
In-Circuit Debug Support ICD supported
Kemasan 44-MQFP (10 x 10 mm)
Jenis Pemasangan Surface mount

Panduan Konfigurasi Pin PIC16F877-20/PQ 44-mqfp (10 x 10 mm)

Konfigurasi pin untuk PIC16F877-20/PQ (44-mqfp (10 x 10 mm) pakai). IC digital ini termasuk GPIO, antaramuka komunikasi (UART, SPI, I2C), dan pin kuasa. Rujuk dokumen pengeluar untuk fungsi pin alternatif dan opsi konfigurasi. Biasa digunakan dalam rancangan sistem ter嵌入式 dan PCB.

Garis bentuk pengecah pakai 44-mqfp (10 x 10 mm) untuk PIC16F877-20/PQ

Tiada data garisan pin yang diperoleh untuk PIC16F877-20/PQ.

Rujuk kepada lembaran data untuk konfigurasi pin penuh.

Aplikasi Biasa

PIC16F877-20/PQ patut untuk 6 aplikasis: Industrial Control Controller, Eight-Channel Data Acquisition, Motor and PWM Control, Instrumentation and Measurement Hub, Communications Gateway, Legacy Embedded Product Upgrade.

🏭

Industrial Control Controller

The PIC16F877-20/PQ fits compact machine-control boards because its 20 MHz clock provides useful timing headroom while 33 I/O pins connect discrete sensors, relays, and actuators. The eight 10-bit ADC channels can monitor pressure, temperature, or position inputs without a separate converter, while three timers support event timing and motor or relay control. SPI or I²C provides a path to sensors, displays, and data loggers. Design the 20 MHz implementation around verified timing, isolate noisy industrial wiring, and validate watchdog behavior, reset states, and analog accuracy before production.

📡

Eight-Channel Data Acquisition

PIC16F877-20/PQ is appropriate for small multichannel acquisition systems because Microchip verifies eight 10-bit ADC channels, 256 bytes of EEPROM, and 33 I/O pins. Firmware can scan sensors, apply calibration, store settings in EEPROM, and transmit results through SPI or I²C. The 20 MHz clock offers headroom for acquisition sequencing and control calculations, but conversion timing, sample-and-hold behavior, input range, reference accuracy, and noise performance must be read from the official datasheet. Analog grounding and shielding should be separated from switching and relay return currents.

⚡

Motor and PWM Control

The PIC16F877-20/PQ can serve as the supervisory controller for motors, valves, and lamps because the verified feature set includes two capture/compare/PWM functions and two additional timers. Twenty-MHz operation leaves timing margin for position decoding, pulse generation, fault handling, and serial diagnostics, while the ADC channels can monitor current or position feedback. PWM resolution and motor-drive topology depend on the selected timer and peripheral implementation, which must be confirmed in the datasheet. Keep switching-node currents away from sensitive analog and oscillator paths.

🧩

Instrumentation and Measurement Hub

PIC16F877-20/PQ is useful as the control hub for laboratory or process instrumentation that must combine digital I/O, timing, ADC measurement, and compact serial communication. Its 14 KB Flash supports moderate protocol and control firmware, while EEPROM can retain calibration constants or setup data. SPI or I²C allows connection to displays, sensors, converters, or storage, and ICD support can assist bring-up. The instrument should define acquisition latency, calibration strategy, fault recovery, and communication protocol before coding because the 368 bytes of RAM constrain multi-buffer data handling.

🌐

Communications Gateway

PIC16F877-20/PQ can support a small protocol gateway or embedded communications controller because the synchronous serial port supports SPI or I²C, while 33 I/O lines provide multiple chip-select, interrupt, and status signals. The 20 MHz class can process framing and basic protocol tasks, but application-specific UART, CAN, Ethernet, or higher-throughput behavior must be implemented with verified external hardware. A gateway design should budget protocol latency and RAM carefully, provide deterministic buffer management, and test bus isolation, termination, and fault recovery rather than treating the MCU as an automatic network interface.

🔧

Legacy Embedded Product Upgrade

PIC16F877-20/PQ is a practical fit when maintaining or redesigning an established PIC16F877-based product that needs the 20 MHz grade, 14 KB Flash, and 33 I/O in 44-MQFP. EEPROM supports persistent settings, ADC channels can preserve analog interfaces, and SPI/I²C can retain existing serial peripherals. Because compatibility depends on the original schematic, oscillator circuit, programming toolchain, and firmware assumptions, migration should begin with a pin-by-pin and register-level review. Validate brownout behavior, watchdog settings, startup timing, and production programming before releasing a replacement board.

What are the key specifications of PIC16F877-20/PQ that engineers should know?
The PIC16F877-20/PQ is an 8-bit CMOS Flash MCU rated for 20 MHz operation, with 14 KB of Flash, 368 bytes of RAM, 256 bytes of EEPROM, 33 I/O pins, eight 10-bit ADC channels, three timers, two capture/compare/PWM functions, SPI, and I²C. According to the Microchip Technology PIC16F877 product page, it also supports self-programming and ICD. These verified values define its suitability for embedded control, mixed-signal monitoring, timing, communications, and data-retention applications.
What is the operating speed of PIC16F877-20/PQ?
The PIC16F877-20/PQ operates at up to 20 MHz. This maximum clock rating is independently confirmed by the DigiKey product listing, which identifies the device as an 8-bit, 20 MHz PIC microcontroller. The 20 MHz grade is useful when firmware performs protocol handling, control calculations, timer servicing, and ADC scanning within a defined response-time budget. Exact minimum operating and maximum instruction-timing details must be confirmed in the Microchip datasheet.
How much memory does PIC16F877-20/PQ have?
The PIC16F877-20/PQ provides 14 KB of Flash program memory, organized as 8K x 14 words, together with 368 bytes of RAM and 256 bytes of EEPROM. DigiKey verifies the 14 KB and 8K x 14 Flash configuration, while Mouser verifies 368 bytes of RAM. The Microchip product page verifies 256 bytes of EEPROM. These resources support embedded firmware, working variables, and persistent configuration or calibration values.
What peripherals are built into PIC16F877-20/PQ?
The PIC16F877-20/PQ includes eight 10-bit ADC channels, two additional timers, two capture/compare/PWM functions, and a synchronous serial port selectable for SPI or I²C. According to the official Microchip Technology product page, these peripherals are complemented by 33 I/O pins and self-programming. They reduce the need for external converters, timer ICs, and communication bridges in a compact embedded control design.
Where can I download the PIC16F877 datasheet PDF?
The authoritative starting point for the PIC16F877 datasheet is Microchip Technology's official product page at https://www.microchip.com/en-us/product/PIC16F877. A datasheet search result is also available through AllDataSheet at https://www.alldatasheet.com/datasheet-pdf/pdf/75006/MICROCHIP/PIC16F877-20/PQ.html. For design release, use the Microchip-controlled document to verify package drawings, pin names, electrical limits, timing, and programming details.
Where can I find the PIC16F877-20/PQ pinout?
The PIC16F877-20/PQ pinout is found in the manufacturer's package and pin-description material associated with the PIC16F877 family datasheet. Start with https://www.microchip.com/en-us/product/PIC16F877, then locate the package drawing for 44-MQFP. The verified source data confirms a 44-pin, 10 x 10 mm MQFP, but individual pin names are not reproduced in the supplied snippets, so assigning all 44 pin functions without the official datasheet would risk manufacturing errors.
Where to buy PIC16F877-20/PQ online?
PIC16F877-20/PQ can be found at DigiKey, Mouser, LCSC, and other listed distributors. The supplied DigiKey page identifies the exact 44-MQFP orderable MPN and states that it ships today, while LCSC reports in-stock inventory and a starting price of $10.3927. Availability can change quickly, so confirm the exact suffix, package, quantity, and lifecycle status during purchase rather than relying on a cached search result.
What is the price of PIC16F877-20/PQ as of 2026-10-22?
The lowest exact-MPN price provided by LCSC as of 2026-10-22 is $10.3927 per unit. Heisener separately reports $9.9207, while DigiKey and Mouser provide datasheet, pricing, and availability links without complete numerical tiers in the supplied snippets. Because prices, currency assumptions, and promotional conditions were not uniformly stated across every source, this page uses the explicit LCSC figure for all disclosed tiers as of 2026-10-22.
What is the lead time for PIC16F877-20/PQ?
The verified distributor snippets do not provide a complete, uniform lead-time range for PIC16F877-20/PQ. DigiKey states that the exact part ships today, and Heisener states that it can ship immediately, indicating at least one source had fulfillment capability when retrieved on 2026-10-22. For a binding procurement date, request a quotation with the required quantity and destination; do not infer a guaranteed lead time from a generic availability statement.
Is PIC16F877-20/PQ in stock?
PIC16F877-20/PQ was reported as available on the supplied 2026-10-22 distributor results. DigiKey says it ships today, LCSC labels the component in stock, and Heisener reports substantial stock. These statements are source-specific snapshots rather than a guaranteed worldwide inventory position. Confirm live stock, factory allocation, and package suffix with the selected distributor before issuing a production purchase order.
What can replace PIC16F877-20/PQ?
PIC16F877-04/PQ is the closest verified same-package PIC16F877 speed option in the supplied comparison data, but it is not performance-equivalent because its maximum clock is 4 MHz rather than 20 MHz. PIC16F877-20I/PT is not package-compatible because /PT denotes a different package. For a production replacement, engineers should prioritize the exact family, 44-MQFP footprint, 20 MHz rating, 33 I/O pins, peripheral mix, memory capacity, and complete pin-function compatibility.
Is PIC16F877-04/PQ a drop-in replacement for PIC16F877-20/PQ?
PIC16F877-04/PQ is not a true drop-in replacement for PIC16F877-20/PQ under this page's strict replacement definition. The supplied comparison confirms that both use the same PQ package family, but the maximum clock changes from 20 MHz to 4 MHz, a 75% reduction in peak clock frequency. It may serve a redesigned, lower-speed control function, yet firmware timing and any timing-dependent external behavior must be revalidated.
What is the difference between PIC16F877-20/PQ and PIC16F877T-20/PQ?
The supplied search results compare PIC16F877-20/PQ with PIC16F877T-20/PQ but do not provide enough verified package or electrical detail to classify the T version as drop-in compatible. The target is confirmed as 44-MQFP at 20 MHz, while the T-version package identity and complete pin map are not established by the provided snippets. Treat them as different orderable variants until Microchip documentation verifies identical dimensions, pin functions, and electrical limits.
When should I choose PIC16F877-20/PQ over a lower-speed MCU?
Choose PIC16F877-20/PQ when an embedded design benefits from its 20 MHz maximum clock, 14 KB Flash, 33 I/O pins, eight 10-bit ADC channels, and integrated SPI/I²C support. A 4 MHz option may be sufficient for simple sequencing but offers less timing headroom for sampling, communications, and control workloads. Choose the 20 MHz grade only when its processing capability is needed and the surrounding firmware, power, and thermal budgets meet the system requirements.
Is PIC16F877-20/PQ suitable for industrial control?
PIC16F877-20/PQ is suitable for many industrial-control tasks because it combines 20 MHz processing with 33 I/O, eight ADC channels, timers, PWM-capable functions, EEPROM, and serial communications. According to Microchip, the device also supports self-programming and ICD, which can aid controlled configuration updates and debugging. Final industrial suitability depends on verified electrical limits, temperature range, EMC design, isolation requirements, and long-term availability that were not included in the supplied snippets.
Which Microchip part is a direct equivalent to PIC16F877-20/PQ?
No fully verified direct equivalent was established by the supplied cross-reference results. Microchip identifies PIC16F887 as a newer device and describes it as upward compatible with several older PIC families, but the provided evidence does not prove a pin-for-pin drop-in match in the 44-MQFP package. PIC16F887 is therefore a migration candidate, not a verified drop-in alternative; compare package drawings, memory, voltage, oscillator, peripheral, and programming details before substituting it.
Are PIC16F877-20/PQ and PIC16F887 the same?
No, PIC16F877-20/PQ and PIC16F887 are not the same orderable device. The target is an 8-bit, 20 MHz PIC16F877 with 14 KB Flash and 33 I/O pins, while Microchip identifies PIC16F887 as a newer, compatible-design option. The supplied data supports evaluating PIC16F887 as an architectural migration path, but it does not establish identical package pins or all electrical parameters. A direct substitution requires a full manufacturer comparison.

Data referensi kejuruteraan untuk PIC16F877-20/PQ — perbandingan, panduan rancangan, dan maklumat kesediaan

Panduan Pilihan

Choose PIC16F877-20/PQ for a 20 MHz embedded-control design that specifically uses the 44-MQFP footprint and benefits from 14 KB Flash, 33 I/O, eight 10-bit ADC channels, EEPROM, SPI, and I²C. PIC16F877-04/PQ can be considered only for redesigned workloads that tolerate a 4 MHz clock; it is not performance-equivalent. PIC16F877-20/PT is not a substitute unless its package and pinout are proven identical. Microchip identifies PIC16F887 as a newer compatible device, but the supplied evidence does not establish it as pin-for-pin drop-in, so treat it as a migration target requiring schematic, firmware, and timing review. For production, prioritize exact suffix verification, current lifecycle commitments, and a second-source qualification using the full manufacturer datasheet.

Perbandingan dengan Gantian

Parametr Produk Ini PIC16F877-20/I/PQ PIC16F877-20E/PQ PIC16F877-20T/PQ PIC16F877A-20/PQ PIC16F877-20/SS
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Maximum Clock Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz

Penyeberangsung Jelas

  • Higher verified clock rating than the compared 4 MHz PIC16F877 variant (vsPIC16F877-04/PQ)
  • Exact distributor availability at the requested 44-MQFP package and speed grade (vsPIC16F877-20/PT)
  • Integrated mixed-signal and communications resources (vsMicrochip PIC16F887 migration candidate)

Catatan Desain

Route the MCU supply from a low-impedance source and place its decoupling network directly at the package power pins. Follow the exact capacitor values, voltage tolerances, and additional analog-supply requirements in the Microchip datasheet; those values were not included in the supplied snippets. Estimated: power dissipation is P = VDD × IDD, so every additional milliamp at 5 V adds 5 mW. Keep switching-regulator and relay supplies physically separated from analog and oscillator return paths.

Design the 44-MQFP footprint from the official Microchip package drawing and verify pin 1, exposed or underside features if present, solder mask, paste, and assembly clearances before fabrication. The verified source confirms a 10 x 10 mm MQFP but does not provide a land pattern. Provide programming-test pads, ground return around noisy pins, and short oscillator traces. A 3D model should not replace cross-checking the released mechanical drawing and assembly notes.

Treat oscillator, RESET, programming, and analog-reference routes as dedicated nets with short paths and stable return references. Keep ADC traces away from relay-coil, motor-switching, clock, and high-di/dt nets; use a quiet ground region where practical. The 20 MHz clock can make small routing errors consequential, so validate edge rates and settling with the actual external load, bus capacitance, firmware, and peripherals rather than relying only on nominal clock frequency.

Do not substitute a lower-speed or different-package suffix solely from a similar family name. The supplied comparison shows PIC16F877-04/PQ runs at 4 MHz, a 75% reduction from the target's 20 MHz, while /PT is associated with a different package in the compared part. Build a replacement checklist covering exact MPN, package drawing, pin names, supply limits, oscillator configuration, memory size, peripheral registers, programming toolchain, bootloader assumptions, and lifecycle commitments.

Maklumat Kesediaan

RoHS
Unknown
REACH
Unknown
AEC-Q100
Unknown
Bosong logam timbal
Unknown
Bosong halogen
Unknown
Mineral konflik
Unknown

No verified compliance declarations were present in the supplied manufacturer and distributor snippets. Compliance values remain unknown rather than inferred. AEC-Q100 applicability also cannot be determined from the provided data.

Pencarian Berhubungan

PIC16F877-20/PQ PIC16F877-20/PQ datasheet PDF Microchip PIC16F877-20/PQ PIC16F877 20MHz 14KB Flash MCU 44-MQFP PIC16F877 PIC16F877 industrial controller PIC16F877-20/PQ vs PIC16F877-04/PQ PIC16F877-20/PQ buy price PIC16F877-20/PQ lead time PIC16F877-20/PQ pinout PIC16F877-20/PQ drop-in replacement 8-channel 10-bit ADC PIC microcontroller

Komponen dan Tanda berkaitan

Microchip Technology PIC16F877-20/PQ PIC16F877 PIC16F877-04/PQ PIC16F877-20/PT PIC16F887 8-bit microcontroller MCU CMOS Flash microcontroller PIC16 architecture Flash program memory EEPROM RAM 10-bit ADC SPI I²C PWM 44-MQFP QFP family surface-mount package industrial control data acquisition instrumentation embedded communications self-programming ICD
RFRC Saring Pantas
Isikan butiran lengkap — pasukan jualan kami akan bertindak balas dalam masa 24 jam
Nombor Bahagian Pengeluar Pakej QTY Harga Target Lengkap
✓
Pesan diskon sudah disubmit!

Kami akan bertindak balas kepada emel anda dalam tempoh 24 jam

1
RFQ Diserahkan
2
kutipan Diterima
3
Order Dipesan
4
Pembayaran
5
Dihantar
6
Diantar
Lihat Perincian RFQ