PIC16F877-10E/L - 8-bit MCU, 14KB Flash, 44-PLCC | Microchip
MPN: PIC16F877-10E/L ✓ Hoạt độngPIC16F877-10E/L Tóm tắt
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory, data memory, I/O peripherals, and timers on one die. The PIC16F family sits in Microchip's mid-range 8-bit portfolio and targets embedded control applications that need deterministic instruction execution, low power consumption, and a rich peripheral set within a small footprint - common across industrial automation, automotive body electronics, white goods, and consumer devices.
Key features of the PIC16F877 include 33 digital I/O pins, an 8-channel 10-bit Analog-to-Digital converter (ADC), two Capture/Compare/PWM (CCP) modules that deliver up to two PWM channels, two additional 8-bit timers on top of Timer0 and Timer1, an Enhanced Universal Synchronous/Asynchronous Receiver Transmitter (EUSART), and a Synchronous Serial Port (SSP) configurable as either 3-wire SPI or 2-wire I2C.
The device uses Harvard architecture with separate program and data buses for predictable throughput, RISC instruction set with 35 single-word instructions, and In-Circuit Serial Programming (ICSP) via two pins for in-field firmware updates. The -10E/L suffix denotes 10 MHz speed, Extended (-40C to +125C) temperature grade, and PLCC lead finish.
Typical applications include industrial control systems, sensor signal conditioning, low-cost motor controllers, and educational development boards where the large Flash/RAM and the wide peripheral mix allow a single chip to replace discrete logic.
When designing with the PIC16F877-10E/L, ensure decoupling of VDD with a 100 nF ceramic capacitor placed within 1 cm of each power pin. For new designs, Microchip's recommended successor is the PIC16F887, which is software- and pin-compatible with extended peripherals and more memory.
This page synthesizes distributor stock data, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, with prices referenced as of 2026-10-22.
Bộ thay thế dễ dàng lắp đặt cho PIC16F877-10E/L — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16F877-10E/L (cùng hình factor và footprint) — khác nhau ở Core Architecture, Timers, Package, ADC, Mounting Type.
PIC16F877A-I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F887-I/L
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F877-20I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F877-04E/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F877-10E/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F877-10E/L Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC 8-bit RISC (Harvard) |
| Program Memory (Flash) | 14 KB |
| Data Memory (SRAM) | 368 bytes |
| Data EEPROM | 256 bytes |
| Tần số xung maksimum | 10 MHz |
| Instruction Cycle Time | 200 ns |
| Operating Voltage Range | 4.0 V to 5.5 V |
| Digital I/O Pins | 33 |
| ADC | 8 channels x 10-bit |
| CCP/PWM Modules | 2 |
| Timers | Timer0, Timer1, Timer2 |
| Serial Interfaces | EUSART, SPI, I2C (SSP) |
| Package Type | 44-PLCC (J-Lead) |
| Nhiệt độ hoạt động | -40C to +125C (Extended) |
| In-Circuit Programming | ICSP (2-wire) |
| Instruction Set | 35 single-word instructions |
| Kiểu lắp đặt | Surface Mount |
Cấu hình chân PIC16F877-10E/L
| Chân 1 | MCLR/VPP — Master Clear / programming voltage input |
| Chân 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Chân 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Chân 4 | RA2/AN2 — PORTA bit 2 / analog input 2 / VREF- |
| Chân 5 | RA3/AN3 — PORTA bit 3 / analog input 3 / VREF+ |
| Chân 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Chân 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Chân 8 | RE0/RD/AN5 — PORTE bit 0 / read control / analog input 5 |
| Chân 9 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| Chân 10 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| Chân 11 | VDD — Digital power supply +5 V |
| Chân 12 | VSS — Digital ground |
| Chân 13 | OSC1/CLKIN — Crystal/oscillator input |
| Chân 14 | OSC2/CLKOUT — Crystal/oscillator output |
| Chân 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator |
| Chân 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 input / CCP2 |
| Chân 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM1 |
| Chân 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Chân 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| Chân 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| Chân 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| Chân 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| Chân 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — PORTC bit 6 / EUSART TX / clock |
| Chân 26 | RC7/RX/DT — PORTC bit 7 / EUSART RX / data |
| Chân 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| Chân 28 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| Chân 29 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| Chân 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| Chân 31 | VSS — Ground (second VSS pin) |
| Chân 32 | VDD — Power (second VDD pin) |
| Chân 33 | RB0/INT — PORTB bit 0 / external interrupt |
| Chân 34 | RB1 — PORTB bit 1 |
| Chân 35 | RB2 — PORTB bit 2 |
| Chân 36 | RB3/PGM — PORTB bit 3 / LVP programming |
| Chân 37 | RB4 — PORTB bit 4 |
| Chân 38 | RB5 — PORTB bit 5 |
| Chân 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| Chân 41 | AVDD — Analog power supply |
| Chân 42 | AVSS — Analog ground |
| Chân 43 | NC — Not connected (per datasheet) |
| Chân 44 | NC — Not connected (per datasheet) |
Ứng dụng tiêu biểu
PIC16F877-10E/L phù hợp cho 7 Áp dụngs: Industrial Process Control, Educational Development Boards, Sensor Signal Conditioning Hubs, Low-Power Motor Driver Controllers, White Goods and Appliance Control, Automotive Body Electronics (Legacy), Hobby Robotics and DIY Projects.
Industrial Process Control
The PIC16F877-10E/L's 8-channel 10-bit ADC and 33 digital I/O make it a strong fit for industrial process control panels reading multiple sensor inputs and driving relays, solenoids, and indicator LEDs. Its 14 KB Flash handles real-time PID loops with adequate code space, while the 2 CCP/PWM modules can directly drive speed-controlled fans or proportional valves. The Extended -40C to +125C temperature grade ensures reliable operation in factory-floor enclosures. Although the original PIC16F877 is older, many industrial OEMs continue to qualify it for long-life machinery where redesign costs outweigh the benefit of switching to PIC16F887 or PIC18F4520.
Được đề xuất
Educational Development Boards
The PIC16F877-10E/L is widely used in university embedded-systems courses and hobbyist development boards because of its 35-instruction RISC architecture, large 14 KB Flash, and predictable 200 ns instruction timing. ICSP (In-Circuit Serial Programming) allows students to flash code directly through two pins without a separate programmer, accelerating the learn-and-debug cycle. The PLCC socketed form factor survives many insert/extract cycles in lab settings. Combined with PIC-Development-Toolchains (MPLAB X IDE + XC8 compiler), the device remains the reference platform for first-time embedded learners.
Được đề xuất
Sensor Signal Conditioning Hubs
With 8 channels of 10-bit ADC and built-in I2C/SPI peripherals, the PIC16F877-10E/L is well-suited for sensor hubs reading thermocouples, RTDs, pressure sensors, and digital sensors via I2C. Its 368 bytes of SRAM buffer multiple sample streams at sub-10 Hz rates, while its EUSART serial port streams formatted data over RS-485 or RS-232 to a host. Engineers appreciate that its 5 V analog input range often eliminates the need for external level shifters in legacy 5 V sensor modules.
Được đề xuất
Low-Power Motor Driver Controllers
The PIC16F877-10E/L implements simple closed-loop control for sub-50 W brushed DC motors, stepper motors, and small BLDC fans via its two CCP/PWM modules. PWM can drive low-side MOSFET gates at frequencies up to 78.125 kHz on Timer2, while the ADC samples back-EMF or current-sense shunts for closed-loop regulation. With Extended -40C to +125C temperature operation it survives under-hood automotive fan or industrial fan-controller environments. For higher-performance motor control, the dsPIC33 family is recommended, but PIC16F877A suffices for cost-sensitive fan and blower drivers.
Được đề xuất
White Goods and Appliance Control
White-goods OEMs (washing machines, dishwashers, induction cookers, microwave ovens) often select the PIC16F877-10E/L because of its proven reliability, mature firmware ecosystem, and Extended temperature grade. The 8-channel 10-bit ADC reads NTC temperature sensors and water-level probes, while 33 I/O drive seven-segment displays, keypads, triac-trigger outputs, and buzzer stages. The 14 KB Flash comfortably fits the largest appliance state machines including fault logs in EEPROM (256 bytes available).
Được đề xuất
Automotive Body Electronics (Legacy)
The PIC16F877-10E/L is found in legacy automotive body modules such as BCMs, seat controllers, and lighting drivers where 5 V operation and Extended -40C to +125C temperature grading meet the design requirements. Its 33 digital I/O drive LED arrays, indicator lamps, and relay coils, while the EUSART connects to a CAN/LIN gateway. For new automotive designs, AEC-Q100-qualified PIC18F or dsPIC33 devices are preferred, but the PIC16F877A remains in many older vehicle EOL boards.
Được đề xuất
Hobby Robotics and DIY Projects
The PIC16F877-10E/L remains popular in hobby robotics where its 44-PLCC socketed format makes firmware swapping simple. Hobbyists use the dual CCP/PWM modules for driving servo motors, the I2C bus for sensors, and the EUSART for Bluetooth modules or PC interfaces. Many PIC-Advanced-Development-Boards (PIC-DAB, PIC-K40) target the PIC16F877A as a reference MCU with library examples for PID, digital filters, and serial comms. Third-party GCC and SDCC toolchains support the architecture, lowering entry barriers for non-commercial projects.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16F877-10E/L — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16F877A-I/L | PIC16F887-I/L | PIC16F877-20I/L | PIC16F877-04E/L | PIC16F877-10E/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-PLCC | 44-PLCC | 44-PLCC | 44-PLCC | 44-PLCC | DIP-40 (different footprint) |
| Maximum Clock Frequency | 10 MHz | 20 MHz | 20 MHz | 20 MHz | 4 MHz | 10 MHz |
| Flash Program Memory | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| SRAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Digital I/O Pins | 33 | 33 | 33-36 | 33 | 33 | 33 |
| ADC Channels | 8 x 10-bit | 8 x 10-bit | 14 x 10-bit | 8 x 10-bit | 8 x 10-bit | 8 x 10-bit |
| Operating Voltage | 4.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 4.0 V to 5.5 V | 4.0 V to 5.5 V | 4.0 V to 5.5 V |
| Operating Temperature | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +125C (Extended) |
Bảo phân biệt quan trọng
- Same Flash/RAM as upgraded successors but at lower cost (vsPIC16F877A-I/L)
- Direct drop-in compatibility with PIC16F887 (vsPIC16F887-I/L)
- 10 MHz speed grade selected for low-power noise reduction (vsPIC16F877-20I/L)
Ghi chú thiết kế
Place a 100 nF (0.1 uF) decoupling capacitor within 1 cm of each VDD pin (pins 11 and 32) and a bulk 10 uF electrolytic or tantalum within 2 cm of the package. The PIC16F877-10E/L is a low-current device (< 2 mA active at 5 V/4 MHz), but insufficient decoupling remains the leading cause of ADC noise and brown-out reset glitches during in-field EMC events.
Keep the crystal oscillator traces (OSC1/OSC2 on pins 13/14) short and surrounded by ground. Avoid routing noisy digital outputs parallel to the analog lines AN0-AN7. Use a single point ground for the analog (AVSS) and digital (VSS) returns and connect them to the system ground only at the regulator star point to suppress ground-loop noise injected into the ADC.
Configure unused I/O pins as outputs (never as floating inputs) on the PIC16F877 to minimize SCL/STL current drain and EMI susceptibility in Extended temperature operation. Disable the Watchdog Timer (WDT) in software unless explicitly required; an unintended WDT timeout is the leading cause of unexplained reset loops. When migrating legacy code to the PIC16F877A 'A' revision, double-check the ADC configuration register to avoid the documented errata on early silicon.
Thông tin tuân thủ
RoHS and REACH compliant per Microchip product materials declarations. Not AEC-Q100 qualified - for automotive applications use PIC18F or dsPIC33 AEC-Q100 grades.