PIC16LF877-04/P - 8-Bit 4MHz MCU 14KB Flash 40-PDIP | Microchip
部品番号: PIC16LF877-04/P ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $8.5 | $8.50 |
| 10 | $7.65 | $76.50 |
| 100 | $6.8 | $680.00 |
| 500 | $6.1 | $3,050.00 |
| 1,000 | $5.45 | $5,450.00 |
PIC16LF877-04/P 概要
An 8-bit microcontroller is a single-chip computer whose arithmetic logic unit, registers, and data bus all operate on 8-bit words; the PIC16 family from Microchip uses a Harvard RISC architecture with separate program and data buses, 35 single-word instructions, and a two-stage pipeline that completes most instructions in four clock cycles. The 'LF' variant specifies an extended low-voltage process (down to 2.0 V), the '04' suffix denotes the 4 MHz speed grade, and the 'P' package code identifies the 40-pin PDIP. This family occupies the 'mid-range' tier of Microchip's 8-bit portfolio, sitting above the PIC12 baseline and below the PIC18 enhanced family.
Key differentiating features include the nanoWatt power management modes (sleep, idle, and on-the-fly oscillator switching) and the ICD (In-Circuit Debugger) interface that lets developers use MPLAB tools for non-intrusive debugging. The integrated 10-bit successive-approximation ADC provides 8 input channels with conversion rates suitable for sensor monitoring. Hardware USART and MSSP peripherals support RS-232/RS-485 as well as SPI and I2C communications without bit-banging, freeing CPU cycles for application logic.
The PIC16LF877 uses a Flash-based Harvard core with 14-bit instruction words, a hardware multiplier, and a 200 ns instruction execution time at 20 MHz operation. Memory protection is provided by a configurable code-protect fuse on the Flash program memory. The device supports in-circuit serial programming (ICSP) through two dedicated pins (RB6/RB7), enabling firmware updates after PCB assembly without removing the device from the board.
Typical applications include industrial sensor conditioning, HVAC controllers, automotive body modules, educational microcontroller trainer boards, low-power remote sensor nodes, and embedded instrumentation that requires a legacy 5 V DIP interface. The 40-pin PDIP package is preferred for hobbyist, breadboard, and through-hole assembly designs where surface-mount is impractical.
When designing with this device, plan oscillator configuration carefully: the internal RC oscillator is suitable for most low-cost applications but the crystal mode is recommended where precise baud-rate generation or timing-sensitive tasks are needed. The 33 I/O pins include pin-change interrupts and weak pull-ups that simplify direct switch-matrix interfacing.
This page synthesizes distributor pricing, verified drop-in alternatives from the same Microchip PIC16 family, and practical design notes not found on any single manufacturer or distributor page.
ドロップイン代替品: PIC16LF877-04/P — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC16LF877-04/P (同一形状・フットプリント) — 相違点: Package, Mounting Type, Timers, Core Architecture, Instruction Execution Time.
クイック比較ツール — 並列比較する代替部品を選択:
PIC16LF877-04/L
✅ ドロップイン✓ 在庫あり
$5.85 / 個
データシートを見る →PIC16F877-04/PQ
✅ ドロップイン✓ 在庫あり
$5.7 / 個
データシートを見る →PIC16F877A-I/P
✅ ドロップイン✓ 在庫あり
価格はお問い合わせください
データシートを見る →PIC16LF877-04/P 最大定格&電気的特性
| Core | PIC16 8-bit RISC |
| Instruction Set | 35 single-word instructions, 14-bit wide |
| 最大クロック周波数 | 4 MHz |
| Instruction Execution Time | 200 ns (at 20 MHz, max speed grade) |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 368 bytes |
| Data EEPROM | 256 bytes |
| I/O Pins | 33 |
| Operating Voltage Range | 2.0 V to 5.5 V |
| ADC | 10-bit, 8 channels |
| Timers | 2 x 8-bit, 1 x 16-bit |
| CCP Modules | 2 Capture/Compare/PWM |
| Serial Interfaces | USART, MSSP (SPI / I2C), PSP |
| データバス幅 | 8 bit |
| 動作温度範囲 | 0 C to +70 C (commercial) |
| パッケージ / ケース | PDIP-40 (40-pin DIP, through-hole) |
| 実装スタイル | Through Hole |
| Packaging | Tube |
| RoHS ステータス | Compliant |
| ICSP Debug | Yes (RB6/RB7) |
| Power-Saving Modes | nanoWatt (Sleep, Idle, oscillator switching) |
PIC16LF877-04/P ピン構成
| ピン 1 | MCLR/VPP — Master Clear (Reset) input or 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/C1OUT — PORTA bit 4 / Timer0 clock input / Comparator 1 output |
| ピン 7 | RA5/AN4/SS/C2OUT — PORTA bit 5 / Analog input 4 / SPI slave select / Comparator 2 output |
| ピン 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel Slave Port read / Analog input 5 |
| ピン 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel Slave Port write / Analog input 6 |
| ピン 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel Slave Port chip select / Analog input 7 |
| ピン 11 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| ピン 12 | VSS — Ground reference |
| ピン 13 | OSC1/CLKI — Crystal oscillator input or external clock input |
| ピン 14 | OSC2/CLKO — Crystal oscillator output or clock output |
| ピン 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| ピン 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 module |
| ピン 17 | RC2/CCP1 — PORTC bit 2 / CCP1 module |
| ピン 18 | RC3/SCK/SCL — PORTC bit 3 / MSSP SPI clock / I2C clock |
| ピン 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| ピン 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| ピン 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| ピン 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| ピン 23 | RC4/SDI/SDA — PORTC bit 4 / MSSP SPI data in / I2C data |
| ピン 24 | RC5/SDO — PORTC bit 5 / MSSP SPI data out |
| ピン 25 | RC6/TX/CK — PORTC bit 6 / USART transmit / USART clock |
| ピン 26 | RC7/RX/DT — PORTC bit 7 / USART receive / USART data |
| ピン 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| ピン 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| ピン 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| ピン 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| ピン 31 | VSS — Ground reference |
| ピン 32 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| ピン 33 | RB0/INT — PORTB bit 0 / External interrupt input |
| ピン 34 | RB1 — PORTB bit 1 |
| ピン 35 | RB2 — PORTB bit 2 |
| ピン 36 | RB3/PGM — PORTB bit 3 / Low-voltage ICSP programming input |
| ピン 37 | RB4 — PORTB bit 4 |
| ピン 38 | RB5 — PORTB bit 5 |
| ピン 39 | RB6/PGC — PORTB bit 6 / ICSP clock (debugger) |
| ピン 40 | RB7/PGD — PORTB bit 7 / ICSP data (debugger) |
主な用途
PIC16LF877-04/P の用途: 6 件s: Industrial Sensor Conditioning Controller, HVAC Climate Control Panel, Educational Microcontroller Trainer Board, Low-Power Remote Sensor Node, Automotive Body Electronics Module, Embedded Instrumentation Front-End.
Industrial Sensor Conditioning Controller
The PIC16LF877-04/P fits industrial sensor conditioning because its 10-bit ADC with 8 input channels and 33 I/O pins handle multiple transducer signals in a single chip. Operating from 2.0 V to 5.5 V, the device tolerates loosely regulated 24 V-to-5 V industrial rails. The MSSP peripheral interfaces with SPI or I2C sensors while the USART drives RS-485 modbus output for SCADA integration, eliminating an external transceiver logic layer.
おすすめ
HVAC Climate Control Panel
HVAC control panels benefit from the PIC16LF877-04/P's wide voltage range, EEPROM-backed setpoint storage, and nanoWatt sleep modes that reduce idle power. The 16-bit timer drives TRIAC phase-angle control for heater elements while the ADC reads thermistor inputs at 10-bit resolution. The 40-pin PDIP package is easy to hand-solder for prototyping and field-service replacements without specialized reflow equipment.
おすすめ
Educational Microcontroller Trainer Board
The PIC16LF877-04/P is the canonical Microchip training platform due to its breadboard-friendly 40-pin PDIP package, exposed ICSP pins (RB6/RB7) for in-circuit debugging, and free MPLAB X IDE support. Universities use this part because the 35-instruction PIC16 ISA teaches RISC fundamentals without overwhelming beginners. The 14 KB Flash holds lab examples and student projects without requiring external memory.
おすすめ
Low-Power Remote Sensor Node
Battery-powered remote sensor nodes leverage the PIC16LF877-04/P's nanoWatt technology and 2.0 V minimum supply to operate from two AA cells for years. The internal RC oscillator eliminates a 32 kHz crystal, the 256-byte EEPROM logs sensor calibration constants, and sleep current under 1 microamp allows duty-cycled measurements. The USART wakes on incoming data and the CCP module generates PWM for LED indication without CPU intervention.
おすすめ
Automotive Body Electronics Module
Body electronics modules such as seat controllers, mirror adjusters, and lighting timers historically use the PIC16LF877-04/P because of its robust 5 V operation, capture input for Hall-effect sensors, and PWM outputs for motor drive. The 40-pin PDIP package simplifies aftermarket repair. The commercial 0 C to +70 C range covers most cabin applications; under-hood designs require the PIC16F877-04I/P industrial variant instead.
おすすめ
Embedded Instrumentation Front-End
Test and measurement front-ends benefit from the PIC16LF877-04/P's high-impedance ADC inputs that minimize circuit loading, and its USART that streams digitized samples to a host PC or LCD. The 2.0 V minimum supply allows operation from a USB-powered supply with a single LDO. Designers can quickly instrument voltage, current, and temperature via the ADC channels while driving status LEDs through PWM outputs.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC16LF877-04/P — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC16LF877-04/L | PIC16F877-04/P | PIC16F877A-I/P |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | PDIP-40 | CERDIP-40 | PDIP-40 - same | PDIP-40 - same |
| Core | PIC16 8-bit | PIC16 8-bit | PIC16 8-bit | PIC16 enhanced 8-bit |
| Max Clock Frequency | 4 MHz | 4 MHz | 4 MHz | 20 MHz |
| Operating Voltage Range | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 4.0 V to 5.5 V | 2.0 V to 5.5 V |
| Flash Program Memory | 14 KB | 14 KB | 14 KB | 14 KB |
| SRAM | 368 B | 368 B | 368 B | 368 B |
| ADC Resolution | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 14 channels |
| Operating Temperature | 0 C to +70 C | 0 C to +70 C | 0 C to +70 C | -40 C to +85 C (industrial) |
主な差別化要因
- Wide 2.0 V to 5.5 V operating voltage range (vs PIC16F877-04/P)
- Pin-compatible with 20 MHz enhanced variant (vs PIC16F877A-I/P)
- Through-hole DIP package for breadboard compatibility (vs PIC16LF877-04I/PT)
設計ノート
Estimated: at 4 MHz active current of approximately 2 mA and 5 V supply, power consumption is roughly 10 mW. In sleep mode with the watchdog disabled, current drops to under 1 microamp, allowing multi-year battery life when duty-cycled. Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of pins 11 and 32, plus a bulk 10 uF tantalum or aluminum capacitor on the same rail. Always include bulk capacitance if the supply is shared with motors or relays.
The 40-pin PDIP has 2.54 mm pin pitch, so a standard 600 mil wide DIP footprint works on most through-hole PCBs. Place a ground plane under the device for noise immunity and connect AVSS and VSS at a single point to avoid ground loops on ADC measurements. Keep analog traces (AN0-AN7) away from switching nodes like PWM outputs and the MCLR reset line, which should be pulled up with a 10 kohm resistor and a 100 nF decoupling cap to ground.
Do not leave the MCLR pin floating; always tie it to VDD through a 10 kohm pull-up or drive it directly from a supervisor IC. When using ICSP (In-Circuit Serial Programming), reserve RB6 and RB7 as dedicated debug pins and avoid loading them with heavy capacitance that exceeds the 50 pF PICkit specification. If migrating to PIC16F877A, the configuration bits differ slightly - re-verify the CONFIG word in the source before recompiling.
コンプライアンス情報
RoHS-compliant per Microchip product page; commercial temperature grade only (0 C to +70 C); not AEC-Q100 qualified for automotive - select PIC16F877-04I/P industrial variant for engine-bay applications.