PIC16F877-04/PQ Microchip Integrated Circuit (Quad Flat Packages) In Stock
Microchip PIC16F877-04/PQ is an 8-bit PIC16 Flash microcontroller operating at up to 4MHz with 14KB Flash, 368 bytes RAM, 8-channel 10-bit ADC, and UART/SPI/I2C in a 44-pin QFP package. It is a low-speed variant of the popular PIC16F877 family designed for power-sensitive 4MHz applications. Available from stock with worldwide shipping.
- Manufacturer
- Microchip
- Package
- Quad Flat Packages
- Pin Count
- 44
- Lifecycle
- NOT RECOMMENDED
- Datasheet
- PIC16F877-04/PQ Datasheet PDF
- Category
- Integrated Circuit
- Price
- From $7.6300(MOQ 1)
- Temp Range
- ?°C to 70.0°C
- RoHS
- Compliant
- Lead Time
- 3–7 business days
- Shipping
- DHL Express · Worldwide
Key Features
- 8-channel 10-bit ADC enables direct multi-sensor analog acquisition with 4.88mV resolution at 5V reference, without external converter ICs
- 4 MHz maximum clock with PIC16 RISC core delivers 1 MIPS throughput optimized for low-power, low-EMI embedded control applications
- 44-pin QFP surface-mount package provides 33 GPIO pins with SPI, I2C, two UARTs, and 3 timer modules for versatile interface expansion
Applications
The PIC16F877-04/PQ targets cost-sensitive embedded control applications including industrial automation panels, HVAC controllers, and data-acquisition modules where a proven 8-bit MCU with rich analog and communication peripherals is required. Its 8-channel 10-bit ADC and dual UART interfaces make it suitable for multi-sensor polling systems with serial data output. The 4MHz speed limit reduces EMI and active power consumption compared to the 20MHz PIC16F877, benefiting battery-backed applications needing low radiated emissions.
Specifications
| Pbfree Code | Yes |
| Manufacturer Package Code | MQFP-44 |
| Date Of Intro | 1998-12-01 |
| YTEOL | 3 |
| Has ADC | YES |
| Bit Size | 8 |
| Boundary Scan | NO |
| CPU Family | PIC16 |
| Clock Frequency-Max | 4MHz |
| DAC Channels | NO |
| DMA Channels | NO |
| Format | FIXED POINT |
| Integrated Cache | NO |
| JESD-30 Code | S-PQFP-G44 |
| JESD-609 Code | e3 |
| Low Power Mode | YES |
| Number of External Interrupts | 1 |
| Number of I/O Lines | 33 |
| Number of Timers | 3 |
| On Chip Data RAM Width | 8 |
| On Chip Program ROM Width | 14 |
| PWM Channels | YES |
| Package Body Material | PLASTIC/EPOXY |
| Package Equivalence Code | QFP44,.5SQ,20 |
| Package Shape | SQUARE |
| Package Style | FLATPACK |
| Qualification Status | Not Qualified |
| RAM (bytes) | 368 |
| RAM (words) | 368 |
| ROM (words) | 8192 |
| ROM Programmability | FLASH |
| Speed | 4MHz |
| Supply Current-Max | 5mA |
| Supply Voltage-Max | 5.5V |
| Supply Voltage-Min | 5V |
| Supply Voltage-Nom | 5V |
| Surface Mount | YES |
| Technology | CMOS |
| Temperature Grade | COMMERCIAL |
| Terminal Finish | Matte Tin (Sn) |
| Terminal Form | GULL WING |
| Terminal Pitch | 0.8mm |
| Terminal Position | QUAD |
| uPs/uCs/Peripheral ICs Type | MICROCONTROLLER, RISC |
| Package | Quad Flat Packages |
Compliance & Regulatory
| RoHS Status | Compliant |
| Lead-Free | Yes (Pb-Free) |
| Moisture Sensitivity Level | MSL 3 |
| ECCN | EAR99 |
| HTS Code | 8542.31.00.01 |
| Country of Origin | Philippines, Thailand |
Alternate & Equivalent Parts
Compatible alternatives and drop-in replacements for PIC16F877-04/PQ:
Frequently Asked Questions
How many analog input channels does PIC16F877-04/PQ provide, and what resolution and voltage range do they cover?
PIC16F877-04/PQ provides 8 analog input channels connected to a single 10-bit successive-approximation ADC. At a 5V reference the ADC resolves inputs in 4.88mV steps across the 0V to 5V range. The multiplexed architecture means only one channel is sampled at a time, with a recommended acquisition time of at least 20µs per channel change to allow the sample-and-hold capacitor to fully charge.
What is the difference between PIC16F877-04/PQ and PIC16F877-20/PQ, and when should the 4MHz version be selected?
PIC16F877-04/PQ is speed-rated at 4 MHz maximum while PIC16F877-20/PQ supports 20 MHz. Both share identical 14KB Flash, 368 bytes RAM, and 8-channel 10-bit ADC. Choose the 4MHz variant when your design needs to pass FCC/CE radiated-emission limits without extra shielding, since lower clock frequency reduces fundamental and harmonic emissions by 10–14dB. The 4MHz limit also reduces active supply current from approximately 5mA to under 2mA at 5V, benefiting battery-backed control panels.
For a legacy PIC16F877-04/PQ replacement, which modern Microchip device offers pin-compatible upgrade with more memory?
The PIC16F887 in the same 44-pin QFP footprint is the closest modern upgrade. It doubles Flash to 14KB with 256 bytes of EEPROM, adds a comparator module, and retains the same 8-channel 10-bit ADC and 20 MHz maximum clock. The PIC16F887's MQFP-44 pinout is fully compatible with PIC16F877, allowing PCB reuse. PIC16F877-04/PQ was introduced in 1998 and has a low YTEOL rating, making migration planning important for long-life industrial designs.
What UART baud rates are achievable with PIC16F877-04/PQ at 4 MHz, and is 9600 baud standard RS-232 supported?
At 4 MHz with the on-chip USART in asynchronous mode, PIC16F877-04/PQ achieves standard baud rates including 1200, 2400, 4800, and 9600 baud with less than 0.16% baud-rate error using the 8-bit prescaler. 19200 baud is achievable with 0.16% error at 4 MHz. These rates are fully compatible with RS-232 level translators (MAX232 or equivalent), supporting point-to-point serial communication at up to 19200 baud without external baud-rate generators.
Related Guides
How to Choose a 3528 SMD Indicator LED for Blue Status Lighting: Selection Guide
A practical 3528 SMD indicator LED selection guide using 150141BS73100 and related Wurth 150141 variants for blue status lighting.
Jul 5, 2026
BAS70KFILM Design Guide for Low-Leakage Signal Clamping and RF Detector Inputs
Practical BAS70KFILM design guidance for signal clamps, RF detector inputs, leakage control, capacitance, layout, and sourcing alternatives.
Jul 5, 2026
How to Choose a BAS70 Schottky Diode for Signal Clamping: Selection Guide
A practical BAS70KFILM and BAS70-family Schottky diode selection guide for signal clamping, RF detection, leakage, and topology choices.
Jul 4, 2026
AMC1202DWVR Design Guide for Isolated Current Sensing
Practical AMC1202DWVR design guide covering shunt sizing, isolation layout, input filtering, ADC scaling, and sourcing choices.
Jul 4, 2026
Why Buy from FindMyChip
About Microchip
Microchip is a leading electronic component manufacturer. FindMyChip sources Microchip ICs directly from authorized China distributors, offering competitive pricing and reliable stock.
| Qty. | Unit Price | Ext. Price |
|---|---|---|
| 1+ | $8.9800 | $8.98 |
| 20+ | $7.9600 | $159.20 |
| 40+ | $7.9100 | $316.40 |
| 75+ | $7.8100 | $585.75 |
| 5000+ | $7.6300 | $38150.00 |
In Stock · 24h Response · Worldwide Shipping
Response within 24 hours · Worldwide shipping
“FindMyChip sourced our entire STM32 BOM in 48 hours when our usual distributor had 16-week lead times.”