PIC16F877A-I/LG - 8-Bit MCU, 14KB Flash, 44-PLCC | Microchip
부품 번호: PIC16F877A-I/LG ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $7.42 | $7.42 |
| 10 | $6.68 | $66.80 |
| 100 | $5.95 | $595.00 |
| 500 | $5.32 | $2,660.00 |
| 1,000 | $4.78 | $4,780.00 |
PIC16F877A-I/LG 개요
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, memory (Flash, RAM, EEPROM), and peripherals around an 8-bit data path. Within the embedded hierarchy, MCUs sit beneath microprocessors, distinguished by on-chip program memory and peripherals that make them self-contained for control tasks. The PIC16 family occupies Microchip's mid-range 8-bit portfolio, balancing cost, peripheral integration, and code density for industrial, consumer, and educational designs.
The PIC16F877A architecture combines a Harvard bus with separate program and data memories, enabling single-cycle instruction fetch and decode. Its 14-bit instruction word delivers compact code, and the 8-level hardware stack supports nested subroutines without software overhead. The nanoWatt technology feature set offers multiple power-managed idle and sleep modes, reducing quiescent current for battery-backed designs, while the wide 2.0 V to 5.5 V operating range supports both 3.3 V and 5 V rails.
Typical applications include industrial automation controllers, sensor interface boards, motor control peripherals, USB-to-UART bridges (via external UART), HVAC control panels, and educational development platforms. The PIC16F877A's combination of ADC, PWM, and serial peripherals lets a single chip replace multiple discrete components, shrinking BOM cost while retaining deterministic interrupt response.
A practical design tip: configure the configuration bits (fuses) for the intended oscillator mode (HS, XT, or RC) before programming, and reserve MCLR as a reset input with the recommended 10 kohm pull-up. This page synthesizes distributor pricing, drop-in alternatives, and engineering notes not found in the manufacturer datasheet alone.
드롭인 대체품: PIC16F877A-I/LG — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC16F877A-I/LG (동일 폼 팩터 및 풋프린트) — 차이점: Core Architecture, Operating Temperature, Package, Timers, ADC.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC16F877A-I/L
✅ 드롭인✓ 재고 있음
$7.12 / 개
데이터시트 보기 →PIC16F877A-I/PT
✅ 드롭인✓ 재고 있음
$4.95 / 개
데이터시트 보기 →PIC16F877A-E/L
✅ 드롭인✓ 재고 있음
$7.4 / 개
데이터시트 보기 →PIC16F887-I/L
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC18F4520-I/L
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F877-20I/L
✅ 드롭인✓ 재고 있음
$9.05 / 개
데이터시트 보기 →PIC16F877A-I/LG 최대 정격 & 전기적 특성
| Core Architecture | 8-bit PIC16 (mid-range) |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 368 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 20 MHz |
| Instruction Cycle | 200 ns |
| Instruction Set Size | 35 single-word instructions |
| Operating Voltage | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 10-bit, 8 channels |
| Timers | 3 (Timer0, Timer1, Timer2) |
| PWM Modules | 2 (CCP) |
| Communication | UART/USART, SPI, I2C (MSSP) |
| 패키지 | 44-PLCC (J-Lead), 16.59 x 16.59 mm |
| Operating Temperature (Industrial) | -40 C to +85 C |
| 실장 유형 | Surface Mount |
PIC16F877A-I/LG 핀 구성
| 핀 1 | MCLR/VPP — Master Clear reset input / programming voltage |
| 핀 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| 핀 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| 핀 4 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC Vref- |
| 핀 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC Vref+ |
| 핀 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| 핀 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| 핀 8 | RE0/RD/AN5 — PORTE bit 0 / read control / analog input 5 |
| 핀 9 | RE1/WR/AN6 — PORTE bit 1 / write control / analog input 6 |
| 핀 10 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| 핀 11 | VDD — Positive supply voltage |
| 핀 12 | VSS — Ground reference |
| 핀 13 | OSC1/CLKIN — Oscillator crystal input / external clock |
| 핀 14 | OSC2/CLKOUT — Oscillator crystal output / clock out |
| 핀 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / clock in |
| 핀 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| 핀 17 | RC2/CCP1 — PORTC bit 2 / Capture Compare PWM1 |
| 핀 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 핀 19 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 핀 20 | RC5/SDO — PORTC bit 5 / SPI data out |
| 핀 21 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| 핀 22 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| 핀 23 | RB0/INT — PORTB bit 0 / external interrupt |
| 핀 24 | RB1 — PORTB bit 1 |
| 핀 25 | RB2 — PORTB bit 2 |
| 핀 26 | RB3/PGM — PORTB bit 3 / low-voltage programming |
| 핀 27 | RB4 — PORTB bit 4 |
| 핀 28 | RB5 — PORTB bit 5 |
| 핀 29 | RB6/PGC — PORTB bit 6 / ICD clock |
| 핀 30 | RB7/PGD — PORTB bit 7 / ICD data |
| 핀 31 | VSS — Ground reference |
| 핀 32 | VDD — Positive supply voltage |
| 핀 33 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| 핀 34 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| 핀 35 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| 핀 36 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| 핀 37 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| 핀 38 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| 핀 39 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| 핀 40 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| 핀 41 | NC — Not connected (per datasheet) |
| 핀 42 | NC — Not connected (per datasheet) |
| 핀 43 | NC — Not connected (per datasheet) |
| 핀 44 | NC — Not connected (per datasheet) |
일반적인 애플리케이션
PIC16F877A-I/LG 적합 용도: 7 애플리케이션s: Industrial Automation Controllers, Sensor Interface and Data Acquisition Boards, HVAC Control Panels, Educational Development and Training Platforms, Motor Control Peripherals, UART/SPI/I2C Protocol Bridges, Consumer Appliance Controllers.
Industrial Automation Controllers
The PIC16F877A-I/LG's 33 I/O pins, 8-channel 10-bit ADC, and three timers make it a strong fit for industrial PLC sub-modules and machine controllers. Its 20 MHz core executes deterministic PID loops at sub-millisecond intervals, while the 14 KB Flash accommodates state-machine logic and Modbus RTU firmware. The 2.0-5.5 V range supports 24 V sensor rails via simple LDO pre-regulation, and the -40 C to +85 C industrial temperature grade tolerates factory-floor environments. Place 100 nF decoupling on VDD/AVDD pairs and reserve MCLR as a hardware reset for failsafe recovery.
추천
Sensor Interface and Data Acquisition Boards
The 8-channel 10-bit ADC combined with I2C/SPI/UART peripherals makes the PIC16F877A-I/LG ideal for multi-sensor data acquisition front-ends. The PIC's deterministic ADC acquisition and interrupt-driven architecture let it sample thermocouples, pressure sensors, and accelerometers without DMA complexity. At 20 MHz the ADC throughput reaches ~30 ksps, suitable for vibration monitoring. Use the MSSP module in I2C mode to poll external EEPROM or sensors while the USART streams results to a host MCU, and route analog inputs through RC anti-alias filters per Nyquist.
추천
HVAC Control Panels
The PIC16F877A-I/LG's CCP/PWM modules, ADC, and UART fit naturally into HVAC control panels driving fans, damper actuators, and thermostats. Two PWM outputs can regulate DC fan speed or triac-fired heater elements, while the 8 ADC channels read thermistor bridges and current-sense amplifiers. The 256-byte EEPROM retains setpoint and schedule data across power cycles, and the 2.0-5.5 V supply tolerates rectified 24 VAC inputs with simple regulation. Add TVS diodes on MCLR and VDD for surge protection in field-deployed units.
추천
Educational Development and Training Platforms
The PIC16F877A-I/LG has been a teaching staple for over two decades, with abundant reference code, textbooks, and the PICDEM 2 Plus demo board. Students gain hands-on exposure to 8-bit register-level programming, interrupts, peripheral configuration, and assembly language. The 35-instruction RISC set is small enough to learn in a semester yet expressive enough to implement UART, I2C, and PWM drivers. Coursework typically covers ADC sampling, EEPROM wear-leveling, and low-power sleep modes on this exact part.
추천
Motor Control Peripherals
The PIC16F877A-I/LG's two CCP/PWM channels, quadrature timer, and 20 MIPS throughput support brushed DC and small stepper motor control applications. The 10-bit PWM resolution at 20 MHz provides 1024 duty steps at moderate switching frequencies, sufficient for H-bridge commutation. Use the ADC to sample current-sense amplifiers for closed-loop torque control, and the USART to expose telemetry to a host controller. The wide 2.0-5.5 V supply also supports direct battery operation for portable robotic peripherals.
추천
UART/SPI/I2C Protocol Bridges
With USART, MSSP (SPI/I2C), and 14 KB of Flash, the PIC16F877A-I/LG is well-suited to legacy protocol bridge designs that translate between UART, SPI, and I2C peripherals. Industrial gateways often need to expose a sensor's I2C bus over a UART link to a host PLC, which is a few hundred lines of interrupt-driven C on this MCU. The 33 I/O pins allow simultaneous attachment of multiple slaves while the CCP modules drive status LEDs. Use the internal oscillator for cost-sensitive bridges or an external crystal for tight UART baud-rate accuracy.
추천
Consumer Appliance Controllers
The PIC16F877A-I/LG is a cost-effective controller for white goods such as washing machines, dishwashers, and small kitchen appliances where a 5 V MCU with multiple PWM outputs and ADC channels is required. Its EEPROM retains user settings (cycle, temperature) across power loss, and the 33 I/O pins drive segment displays, button matrices, and triac interfaces. The -40 C to +85 C industrial temperature range handles under-cabinet thermal stress. Add zero-cross detection on an external interrupt pin for synchronous triac firing.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC16F877A-I/LG — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC16F877A-I/L | PIC16F877A-I/PT | PIC16F877A-E/L | PIC16F887-I/L | PIC18F4520-I/L | PIC16F877-20I/L |
|---|---|---|---|---|---|---|---|
| Package | 44-PLCC (J-Lead) | 44-PLCC (J-Lead) - same | 44-PLCC (J-Lead) - same | 44-PLCC (J-Lead) - same | 44-PLCC (J-Lead) - same | 44-PLCC (J-Lead) - same | 44-PLCC (J-Lead) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Core | PIC16 8-bit | PIC16 8-bit | PIC16 8-bit | PIC16 8-bit | PIC16 8-bit | PIC18 8-bit (16-bit instructions) | PIC16 8-bit |
| Program Memory | 14 KB Flash | 14 KB Flash | 14 KB Flash | 14 KB Flash | 14 KB Flash | 32 KB Flash | 14 KB Flash |
| Data SRAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 1536 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Max CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 40 MHz | 20 MHz |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C (extended) | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
| ADC | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 14 channels | 10-bit, 13 channels | 10-bit, 8 channels |
| Internal Oscillator | No | No | No | No | Yes (8 MHz, software-tunable) | Yes (8 MHz) | No |
주요 차별점
- Industrial temperature grade with full Microchip PIC16 mid-range toolchain support (vs PIC16F877A-E/L)
- Mature 14 KB Flash with abundant reference code and educational tooling (vs PIC18F4520-I/L)
- Silicon errata fixes over the legacy PIC16F877 (non-A) (vs PIC16F877-20I/L)
설계 노트
The PIC16F877A-I/LG accepts 2.0 V to 5.5 V on VDD; place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pair (pins 11/12 and pins 31/32). For mixed-signal designs, power AVDD from a separate filtered LDO and add a ferrite bead to suppress digital switching noise coupling into the ADC reference. Bulk 10 uF tantalum on the input rail prevents regulator droop during in-circuit serial programming (ICSP) events.
Configuration bits (fuses) must be set correctly before programming: choose HS oscillator mode for >4 MHz crystals, disable the watchdog timer unless intentionally used, and enable the power-up timer and brown-out reset (BOR) for reliable startups. Forgetting to set the oscillator configuration to HS is the most common reason a 20 MHz crystal fails to oscillate. Use ICSP with PGC/PGD on RB6/RB7 and a 10 kohm pull-up on MCLR per the Microchip programming specification.
Route the crystal traces (OSC1/OSC2) short and symmetric with a ground guard ring to minimize EMI. Keep ADC analog traces (RA0-RA5, RE0-RE2) away from high-current switching nets and route them over a continuous ground plane for noise immunity. Place the MCLR pull-up within 5 mm of the pin to prevent spurious resets. For 44-PLCC socketed designs, leave at least 1.5 mm clearance around the socket for clip-on programming adapters.
The PIC16F877A-I/LG's 10-bit ADC requires careful analog front-end design: add an RC anti-alias filter (typically 1 kohm + 100 pF for ~16 kHz bandwidth) ahead of each analog input, and use AVSS as the analog ground return. Acquire analog signals in sleep mode (with the ADC clock derived from the internal RC) for best noise immunity on high-impedance sources. Reference the Microchip AN546 'PIC16F87XA ADC' application note for detailed settling-time calculations.
규정 준수 정보
RoHS-compliant per Microchip product page; lead-free matte-tin PLCC leads. Not AEC-Q100 qualified - choose PIC16F877A-E/L for extended thermal grades or PIC18F-family automotive parts for AEC-Q100 needs.