PIC16F877-10E/PQ - 8-bit 10MHz 14KB FLASH MCU 44-MQFP | Microchip
MPN: PIC16F877-10E/PQ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.5 | $9.50 |
| 10 | $8.55 | $85.50 |
| 100 | $7.6 | $760.00 |
| 500 | $6.85 | $3,425.00 |
| 1,000 | $6.1 | $6,100.00 |
PIC16F877-10E/PQ Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, working RAM, peripherals and I/O. It sits at the bottom of the embedded compute hierarchy: MCU -> embedded processor -> microprocessor -> CPU -> compute platform. The PIC16F877 family is the 8-bit branch of Microchip's PIC architecture, designed for deterministic real-time control where predictable instruction timing, low cost and ease of in-system programming matter more than raw MIPS. The 'F' suffix denotes FLASH program memory, enabling rapid firmware iteration via ICSP.
Key differentiating specifications include 200 ns instruction cycle time, 14 KB self-programmable FLASH, hardware USART plus SPI/I2C, a 10-bit ADC, ICD (In-Circuit Debugger) support, and a wide 2.0 V to 5.5 V operating voltage range that simplifies battery-powered designs. The 44-pin MQFP footprint supports surface-mount assembly on production PCBs while exposing enough I/O and analog channels for complex sensor and actuator interfaces.
The PIC16F877 architecture uses a Harvard RISC core with separate program and data buses, a hardware multiplier-free instruction set, and direct/indirect addressing modes that simplify C and assembly code generation. In-System Programming (ICSP) via two pins allows firmware updates after PCB assembly, and the Brown-Out Reset (BOR) and Power-On Reset (POR) circuitry protect against corrupted startup states - both critical for unattended industrial installations.
Typical applications include industrial automation controllers, sensor data acquisition nodes, motor control (PWM-driven DC and stepper drivers), HVAC thermostat interfaces, instrumentation front-ends, and embedded educational platforms. The wide voltage tolerance and robust peripheral mix also suit automotive body electronics, security panels, and small home appliances.
When designing with this device, plan oscillator margins for the 10 MHz speed grade (use a 4x PLL-friendly crystal if higher throughput is needed). Allocate one port pin to MCLR for proper reset, place decoupling capacitors within 5 mm of each VDD/VSS pair, and ensure ADC reference decoupling to obtain the documented 10-bit linearity.
This page synthesizes verified distributor pricing, parametric alternatives, pinout reference, and practical design notes not consolidated on any single distributor page - giving engineers a faster sourcing decision for both new designs and legacy product maintenance.
Drop-in alternatives for PIC16F877-10E/PQ — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16F877-10E/PQ (same form factor and footprint) — differing in Timers, Core Architecture, Operating Temperature, Package, Program Memory.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F877-10E/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$4.3 / Unit
View Datasheet →PIC16F874A-I/PQ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F877A-I/PQ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F887-I/PQ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F874T-20I/PQ
✅ Drop-In✓ In Stock
$7.46 / Unit
View Datasheet →PIC16F877-04I/P
✅ Drop-In✓ In Stock
$4.95 / Unit
View Datasheet →PIC16F877-10E/PQ Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 (8-bit Harvard RISC) |
| Program Memory Type | FLASH (self-programmable) |
| Program Memory Size | 14 KB (8K x 14 words) |
| RAM Size | 368 bytes |
| EEPROM Size | 256 bytes |
| Maximum CPU Frequency | 10 MHz |
| Instruction Cycle Time | 200 ns |
| Operating Voltage Range | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 10-bit, up to 8 channels |
| Timers | 3 (Timer0, Timer1, Timer2) |
| CCP Modules | 2 (Capture/Compare/PWM) |
| Serial Interfaces | USART/SCI + MSSP (SPI / I2C) |
| Parallel Slave Port | Yes |
| Package | 44-pin MQFP (10x10 mm) |
| Mounting Type | Surface Mount |
| ICSP / ICD | Supported (2-wire) |
| Operating Temperature | -40C to +125C (extended, 'E' suffix) |
| RoHS Status | Compliant |
| Instruction Set | 35 single-word instructions |
PIC16F877-10E/PQ Pin Configuration
| Pin 1 | MCLR/VPP/THV — Master Clear (reset) input / programming voltage |
| Pin 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pin 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pin 4 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC VREF- |
| Pin 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+ |
| Pin 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Pin 8 | RE0/RD/AN5 — PORTE bit 0 / parallel slave port read / AN5 |
| Pin 9 | RE1/WR/AN6 — PORTE bit 1 / parallel slave port write / AN6 |
| Pin 10 | RE2/CS/AN7 — PORTE bit 2 / parallel slave port chip select / AN7 |
| Pin 11 | VDD — Positive supply voltage |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKI — Oscillator crystal input / external clock in |
| Pin 14 | OSC2/CLKO — Oscillator crystal output / clock out |
| Pin 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in |
| Pin 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 I/O |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / CCP1 I/O |
| Pin 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| Pin 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| Pin 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| Pin 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| Pin 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pin 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Pin 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| Pin 28 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| Pin 29 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| Pin 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage |
| Pin 33 | RB0/INT — PORTB bit 0 / external interrupt |
| Pin 34 | RB1 — PORTB bit 1 |
| Pin 35 | RB2 — PORTB bit 2 |
| Pin 36 | RB3/PGM — PORTB bit 3 / low-voltage ICSP programming |
| Pin 37 | RB4 — PORTB bit 4 |
| Pin 38 | RB5 — PORTB bit 5 |
| Pin 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pin 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| Pin 41 | NC — Not connected (per datasheet) |
| Pin 42 | NC — Not connected (per datasheet) |
| Pin 43 | NC — Not connected (per datasheet) |
| Pin 44 | NC — Not connected (per datasheet) |
Typical Applications
PIC16F877-10E/PQ is suitable for 7 applications: Industrial Automation Controller, Sensor Data Acquisition Node, Motor Control (PWM DC / Stepper Driver), HVAC Thermostat Interface, Instrumentation Front-End, Educational / Development Platform, Security / Access Control Panel.
Industrial Automation Controller
The PIC16F877-10E/PQ's 33 digital I/O, hardware USART, SPI/I2C and 10-bit ADC make it well suited as a low-cost PLC or sensor hub in industrial automation. Its 14 KB FLASH holds ladder-logic style control firmware plus serial protocol stacks, while the 368 byte RAM is sufficient for buffering Modbus RTU frames from a slave device. The extended -40C to +125C temperature range tolerates factory-floor heat, and the 44-pin MQFP supports both hand-soldered prototypes and SMT production. Engineers typically pair it with a 24V-to-5V isolated supply and RS-485 transceiver for Modbus nodes.
Recommended
Sensor Data Acquisition Node
With its 8-channel 10-bit ADC and 33 I/O, the PIC16F877-10E/PQ functions as a multi-sensor data acquisition front-end in remote telemetry or environmental monitoring. The 14 KB FLASH accommodates averaging/calibration firmware and a lightweight UART stack, while the hardware MSSP supports I2C sensor clusters (temperature, humidity, pressure). Power consumption at 10 MHz from 5V is modest enough for solar-battery installations, and the wide 2.0 V to 5.5 V VDD simplifies battery-direct designs. The MQFP-44 footprint also enables high-density PCB integration.
Recommended
Motor Control (PWM DC / Stepper Driver)
The PIC16F877-10E/PQ provides two CCP/PWM modules and three timers, enabling direct H-bridge PWM control of small DC motors and unipolar stepper drivers. Its 200 ns instruction cycle supports deterministic commutation loops at modest RPM, and 33 I/O accommodate direction, enable, brake and limit-switch lines without external logic. The 10 MHz clock is adequate for PWM frequencies in the low kHz range needed for hobby robotics and small appliances, while the 44-pin MQFP allows compact SMT assembly. Use the PIC16F877A-I/PQ variant when higher PWM frequency or 20 MHz throughput is required.
Recommended
HVAC Thermostat Interface
The PIC16F877-10E/PQ's combination of 10-bit ADC, USART, LCD-drive capable I/O and wide temperature range makes it a reliable HVAC thermostat controller. Engineers can read thermistor/resistor-network temperature sensors via ADC, drive a character LCD directly through PORTD, and communicate with a fan-coil unit via USART. The 14 KB FLASH stores scheduling/PI-control firmware, and the 368 byte RAM buffers setpoint changes without flicker. The 44-pin MQFP keeps the design compact and SMT-friendly for wall-mounted enclosures.
Recommended
Instrumentation Front-End
Laboratory and field instrumentation leverages the PIC16F877-10E/PQ's 10-bit ADC, USART and I2C/SPI to digitize analog signals and stream them to a host PC or display. Its 14 KB FLASH accommodates calibration tables, linearization routines, and a command parser for SCPI-like serial control. The Harvard architecture delivers deterministic ADC-to-output latency, which simplifies time-correlated measurements. The 44-pin MQFP enables compact PCB layouts that fit inside handheld instrument housings.
Recommended
Educational / Development Platform
The PIC16F877-10E/PQ is widely used in university embedded-systems courses because its 35-instruction RISC core, 14 KB FLASH and rich peripheral set (USART, SPI, I2C, ADC, PWM) let students explore all major MCU concepts in one chip. The MQFP-44 package is breadboard-friendly via carrier boards, ICSP enables in-circuit programming without chip removal, and the PIC16 instruction set is simple enough to teach assembly fundamentals. The extended temperature grade also supports lab use in unheated enclosures during outdoor projects.
Recommended
Security / Access Control Panel
The PIC16F877-10E/PQ's 33 I/O, USART and EEPROM make it suitable for small security panels handling keypads, magnetic-door sensors, sirens and serial uplinks to a central station. The 256-byte EEPROM stores access codes and event logs non-volatilely, and 14 KB FLASH holds the event scheduler plus alarm-state machine. The extended -40C to +125C range supports outdoor enclosures, and the 44-pin MQFP enables a single-PCB solution. Pair with a PIC16F877A-I/PQ upgrade for sites requiring 20 MHz response.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F877-10E/PQ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F877-10E/P | PIC16F874A-I/PQ | PIC16F877A-I/PQ | PIC16F887-I/PQ | PIC16F874T-20I/PQ | PIC16F877-04I/P |
|---|---|---|---|---|---|---|---|
| Package | MQFP-44 (PQ) | PDIP-40 - not pin-compatible (verify footprint) | MQFP-44 (PQ) - same | MQFP-44 (PQ) - same | MQFP-44 (PQ) - same | MQFP-44 (PQ) - same | PDIP-40 - not pin-compatible (verify footprint) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Max Clock Frequency | 10 MHz | 10 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 4 MHz |
| FLASH Program Memory | 14 KB | 14 KB | 7 KB (-50%) | 14 KB | 14 KB | 7 KB (-50%) | 14 KB |
| RAM | 368 bytes | 368 bytes | 192 bytes (-48%) | 368 bytes | 368 bytes | 192 bytes (-48%) | 368 bytes |
| Min Operating Voltage | 4.0 V (typical, datasheet) | 4.0 V | 2.0 V | 2.0 V | 2.0 V | 2.0 V | 4.0 V |
| ADC Resolution | 10-bit | 10-bit | 10-bit | 10-bit (faster conversion) | 10-bit (improved linearity) | 10-bit | 10-bit |
| Temperature Grade | Extended (-40C to +125C) | Extended | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) |
| Lifecycle / Recommendation | Active, legacy - migrate to PIC16F887 | Active, legacy | Active | Active | Active - recommended for new designs | Active | Active, legacy |
Key Differentiators
- PIC16F877A-I/PQ runs at 20 MHz vs 10 MHz on the original - 100% higher throughput (vs PIC16F877A-I/PQ)
- PIC16F887-I/PQ retains 14 KB FLASH and adds modernized silicon (vs PIC16F887-I/PQ)
- Extended -40C to +125C temperature grade for harsh environments (vs PIC16F877A-I/PQ)
Design Notes
Place a 100 nF decoupling capacitor within 5 mm of each VDD/VSS pair (pins 11/12 and 31/32 on the MQFP-44 package). Add a bulk 10 uF tantalum or aluminum polymer capacitor at the board power entry. The PIC16F877 has two VDD/VSS pairs that must both be connected - leaving either pair floating causes erratic ADC readings and brown-out resets. For battery applications, leverage the PIC16F877A-I/PQ upgrade which supports 2.0 V min VDD versus the original PIC16F877's 4.0 V minimum.
The MCLR pin (pin 1) must NOT be left floating - either tie it to VDD through a 10 kohm resistor for normal operation or to the ICSP programmer's VPP line. A floating MCLR causes random resets in noisy environments. Configuration bits (_CONFIG) must be programmed correctly: disable the watchdog timer (WDTE) unless firmware uses it, set the oscillator to HS for >4 MHz crystals, and enable Brown-Out Reset (BOREN) for industrial reliability.
Route the 10 MHz crystal traces (OSC1 pin 13, OSC2 pin 14) as short as possible, keep them away from high-current switching traces, and guard them with a ground pour. Place load capacitors (typically 15-33 pF for an HS-mode crystal) directly between OSC1/OSC2 and ground. The 44-pin MQFP thermal pad is not present on this package, but ensure adequate copper around VDD/VSS pins for heat spreading - at 10 MHz and 5 V the part dissipates roughly 50 mW which is well within the package rating.
The 10-bit ADC achieves its specified linearity only with proper analog reference decoupling. Place a 100 nF ceramic + 10 uF tantalum on VREF+/VREF- (pins 5/4) within 10 mm of the pins, and use separate analog and digital ground planes joined at a single point near the MCU. For sensor inputs, add a 100 ohm series resistor + 100 nF cap to ground as an RC anti-aliasing filter at the ADC pin. The ADC acquisition time must be observed in firmware (typically 19.72 us at 10 MHz) before initiating conversion.
Compliance Information
RoHS compliance per Microchip product page. Microchip holds QS-9000 quality certification for PICmicro 8-bit MCUs per digchip.com datasheet page. Not AEC-Q100 qualified; for automotive applications contact Microchip for PIC16F877A-E/PQ automotive-grade variants.