PIC16F84-04/P - 8-Bit 4MHz 1.75KB Flash MCU | Microchip
부품 번호: PIC16F84-04/P ✗ 단종| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $7.04 | $7.04 |
| 10 | $6.2 | $62.00 |
| 100 | $4.95 | $495.00 |
| 500 | $4.3 | $2,150.00 |
| 1,000 | $3.95 | $3,950.00 |
PIC16F84-04/P 개요
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, I/O peripherals, and clock generation on one die. Microcontrollers sit inside the broader taxonomy of integrated circuits -> digital ICs -> microcontrollers -> 8-bit microcontrollers, and within Microchip's portfolio the PIC16F84 family is one of the historical entry points of the PIC16 mid-range architecture that introduced Flash re-programmability and ICSP (In-Circuit Serial Programming) to the hobbyist and industrial PIC ecosystem.
Key specifications include a 4 MHz maximum oscillator input (10 MHz for the -10 variant), 200 ns minimum instruction cycle for single-cycle instructions, 14-bit wide instruction word, an 8-level deep hardware stack, and a 64-byte EEPROM data area rated for 1 million erase/write cycles. Power-fail detection via BOR/POR and a software-configurable watchdog timer (WDT) with on-chip RC oscillator provide autonomous recovery without external components.
Architecturally the device uses a Harvard-style separate program and data bus, a 14-bit wide program memory bus, and 35 single-word instructions (only program branches are two-cycle). The on-chip Flash supports ICSP via RB6/RB7, allowing firmware updates in the assembled board without removing the part, and the EEPROM supports byte-level access independent of program memory.
Typical applications include hobbyist learning boards (e.g., PIC programmers, dev kits), simple sensor front-ends (temperature, contact, IR remote decoders), legacy industrial control boards, low-cost LED chasers and pattern controllers, and replacement of older 16C5x/16C84 designs where code portability is preserved.
Design consideration: the -04 speed grade requires an oscillator up to 4 MHz; if a 10 MHz or 20 MHz crystal is used the designer must select the -10 or -20 grade variant (or the PIC16F84A-04/10/20 family). For new designs the recommended upgrade is the PIC16F84A or PIC16F628A which share the 18-pin PDIP footprint and provide more memory and peripherals.
This page synthesizes distributor pricing, parametric cross-references, and drop-in PCB-compatible alternatives not aggregated on any single distributor page.
드롭인 대체품: PIC16F84-04/P — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC16F84-04/P (동일 폼 팩터 및 풋프린트) — 차이점: Operating Temperature, Package, Program Memory Size, Peripherals, Mounting Type.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC16F84A-04/P
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F84-04I/P
✅ 드롭인✓ 재고 있음
$2.18 / 개
데이터시트 보기 →PIC16F84-10/P
✅ 드롭인✓ 재고 있음
$3.59 / 개
데이터시트 보기 →PIC16F83-04/P
✅ 드롭인✓ 재고 있음
$2.05 / 개
데이터시트 보기 →PIC16F628A-04/P
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F84-04/P 최대 정격 & 전기적 특성
| Core | 8-bit PIC RISC |
| Core Size | 8-bit |
| Family | PIC16F8x (PIC16F83, PIC16F84, PIC16CR83, PIC16CR84) |
| Program Memory Type | Flash (self-programmable via ICSP) |
| Program Memory Size | 1.75 KB (1K x 14 words) |
| RAM | 68 bytes |
| EEPROM Data Memory | 64 bytes |
| Instruction Word Width | 14 bits |
| Number of Instructions | 35 single-word |
| 최대 클록 주파수 | 4 MHz (-04 grade); 10 MHz for -10 grade |
| Instruction Cycle Time | 200 ns minimum (single-cycle instructions); 400 ns for branches |
| Number of I/O Pins | 13 (Port A: 5; Port B: 8) |
| I/O Ports | 16 (per cross-reference summary) |
| Supply Voltage (Vdd) | 2.5 V / 3.3 V / 5 V operating range; data sheet specifies 2.0 V to 6.0 V wide-range |
| Stack Depth | 8 levels (hardware) |
| Peripherals | POR, BOR, WDT, Timer0 8-bit, ICSP |
| 패키지 | 18-pin PDIP (P, 0.300 inch / 7.62 mm, through-hole) |
| 실장 유형 | Through-Hole (DIP) |
| 동작 온도 | 0C to +70C (commercial; -40C to +85C for -I grade) |
| ICSP Programming Pins | RB6 (clock) / RB7 (data) |
PIC16F84-04/P 핀 구성
| 핀 1 | RA2 — Port A bit 2 (digital I/O) |
| 핀 2 | RA3 — Port A bit 3 (digital I/O) |
| 핀 3 | RA4/RTCC — Port A bit 4 / Timer0 clock input (open-drain) |
| 핀 4 | MCLR/VPP — Master Clear reset (active low) / programming voltage input |
| 핀 5 | VSS — Ground reference |
| 핀 6 | RB0/INT — Port B bit 0 / external interrupt input |
| 핀 7 | RB1 — Port B bit 1 (digital I/O) |
| 핀 8 | RB2 — Port B bit 2 (digital I/O) |
| 핀 9 | RB3 — Port B bit 3 (digital I/O) |
| 핀 10 | RB4 — Port B bit 4 (digital I/O, interrupt-on-change) |
| 핀 11 | RB5 — Port B bit 5 (digital I/O, interrupt-on-change) |
| 핀 12 | RB6 — Port B bit 6 / ICSP clock (digital I/O, interrupt-on-change) |
| 핀 13 | RB7 — Port B bit 7 / ICSP data (digital I/O, interrupt-on-change) |
| 핀 14 | VDD — Positive supply voltage (2.0 V to 6.0 V) |
| 핀 15 | OSC2/CLKOUT — Oscillator crystal output / clock output (Fosc/4) |
| 핀 16 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| 핀 17 | RA0 — Port A bit 0 (digital I/O) |
| 핀 18 | RA1 — Port A bit 1 (digital I/O) |
일반적인 애플리케이션
PIC16F84-04/P 적합 용도: 6 애플리케이션s: Legacy Industrial Control Board Repair, Hobbyist Learning Board and Educational Trainer, IR Remote Control Decoder, Simple Sensor Front-End Module, LED Chaser and Pattern Controller, Homebrew PIC Programmer and Development Tool.
Legacy Industrial Control Board Repair
The PIC16F84-04/P is found on numerous legacy industrial control boards installed in the late 1990s and early 2000s where its 4 MHz clock, 1.75 KB Flash, and 13 I/O pins were sufficient for simple relay drivers and contact-debounce logic. A field-service engineer replacing a failed MCU needs the exact same 18-pin PDIP footprint, the same RA/RB port assignments, and binary-compatible opcodes so existing firmware (often stored in EPROM emulation) continues to operate without modification. The 200 ns instruction cycle is fast enough for 10 ms loop scans typical of motor-starter interlocks. When sourcing replacements, prefer the PIC16F84A-04/P as a drop-in for new production and reserve PIC16F84-04/P stock for true 1:1 replacements.
추천
Hobbyist Learning Board and Educational Trainer
The PIC16F84-04/P powered an entire generation of PIC training boards, university microcontroller courses, and hobbyist projects from 1998-2010 thanks to its simple 35-instruction set, ICSP support via RB6/RB7, and abundant legacy example code. The 1.75 KB Flash easily accommodates introductory projects such as LED chasers, 7-segment multiplexing, and basic serial protocols using Timer0 bit-banging. The 4 MHz speed grade is well-suited to slow human-perceptible demonstrations. Modern educators should select PIC16F84A-04/P for new trainers to maintain the same pedagogical experience with active supply chain support.
추천
IR Remote Control Decoder
The PIC16F84-04/P is well-suited for IR remote-control decoder applications using RC5, SIRC, or NEC protocols at carrier frequencies up to 40 kHz. Its 4 MHz clock provides a 10 microsecond instruction cycle that comfortably samples 38 kHz NEC carriers with 4x oversampling, while the 13 I/O pins can simultaneously drive status LEDs and route decoded commands to peripheral devices. The 64-byte EEPROM is ideal for storing device-pairing codes across power cycles, and the WDT plus BOR/POR provides reliable recovery from brownout conditions common in battery-powered IR receivers.
추천
Simple Sensor Front-End Module
The PIC16F84-04/P serves as a low-cost sensor front-end MCU for temperature, contact, humidity, and dry-contact sensors where 1.75 KB Flash and 13 I/O pins provide ample headroom for periodic ADC-free polling, threshold logic, and serial reporting via bit-banged UART. The 2.0-6.0 V supply range allows direct operation from 3.3 V or 5 V rails without a separate regulator, and the 6.0 V absolute maximum tolerates alkaline battery packs that drift up during discharge. Its nanoWatt technology extends battery life in periodic-sleep applications such as wireless sensor nodes.
추천
LED Chaser and Pattern Controller
The PIC16F84-04/P's 13 I/O pins can directly drive 13 discrete LEDs or, with charlieplexing, more than 30 LEDs using only 6 pins - a popular application for hobbyists and small signage controllers. The 4 MHz clock and 200 ns instruction cycle are sufficient for multiplex refresh rates well above 100 Hz, eliminating visible flicker, while the 64-byte EEPROM stores user-selectable patterns across power cycles. The BOR and WDT peripherals ensure reliable restart after power glitches in unattended display installations.
추천
Homebrew PIC Programmer and Development Tool
The PIC16F84-04/P was the original target device for many classic hobbyist PIC programmers such as the JDM and David Tait designs because its ICSP interface on RB6/RB7 uses a simple two-wire protocol with MCLR/Vpp handshaking. The 18-pin PDIP package is convenient for through-hole programmer ZIF sockets, and the 1.75 KB Flash is large enough to host a complete bootloader plus application. Modern PICkit 3/4 programmers still support the PIC16F84-04/P via the device-file database, making it a useful reference target for verifying custom programmer hardware.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC16F84-04/P — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC16F84A-04/P | PIC16F84-04I/P | PIC16F84-10/P | PIC16F83-04/P | PIC16F628A-04/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 18-pin PDIP (7.62 mm) | 18-pin PDIP - same | 18-pin PDIP - same | 18-pin PDIP - same | 18-pin PDIP - same | 18-pin PDIP - same |
| Core / Architecture | PIC16 enhanced 8-bit RISC | PIC16 enhanced 8-bit RISC (mid-range) | PIC16 enhanced 8-bit RISC (same) | PIC16 enhanced 8-bit RISC (same) | PIC16 enhanced 8-bit RISC (same) | PIC16 mid-range 8-bit RISC (enhanced core) |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 4 MHz | 10 MHz | 4 MHz | 4 MHz (20 MHz for -20 grade) |
| Program Memory (Flash) | 1.75 KB (1K x 14) | 1.75 KB (1K x 14) + 64 words | 1.75 KB (1K x 14) | 1.75 KB (1K x 14) | 0.875 KB (512 x 14) | 2 KB (1K x 14) |
| RAM | 68 bytes | 68 bytes | 68 bytes | 68 bytes | 36 bytes | 224 bytes |
| EEPROM Data Memory | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 128 bytes |
| I/O Pins | 13 | 13 | 13 | 13 | 13 | 16 |
| Operating Temperature | 0C to +70C | 0C to +70C (commercial); -40C to +85C (I grade) | -40C to +85C (industrial) | 0C to +70C | 0C to +70C | 0C to +70C (commercial); -40C to +85C (I grade) |
| Additional Peripherals vs This Part | POR, BOR, WDT, Timer0, ICSP | Same peripherals, enhanced core | Same peripherals, industrial temp | Same peripherals, higher clock | Same peripherals, less memory | Adds USART, 10-bit ADC, 2 PWM, internal oscillator |
주요 차별점
- Identical 18-pin PDIP footprint with enhanced mid-range core (vs PIC16F84-04I/P)
- Drop-in upgrade path to PIC16F84A (vs PIC16F83-04/P)
- Modern integrated peripherals upgrade path (vs PIC16F628A-04/P)
- Higher speed grade option in same package (vs PIC16F84-10/P)
설계 노트
The -04 speed grade limits the oscillator to 4 MHz. Do not populate a 10 MHz or 20 MHz crystal without also changing the part to PIC16F84-10/P or PIC16F84-20/P (or migrating to PIC16F84A-04/10/20). Exceeding the rated clock frequency causes unreliable Flash read and may corrupt EEPROM writes silently. When designing for crystal tolerance, choose a fundamental-mode AT-cut crystal with 20-33 pF loading capacitors per the datasheet oscillator table.
Power the PIC16F84-04/P directly from a regulated 2.0-6.0 V supply. For battery applications, add a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 14) and a bulk 10 uF capacitor on the supply rail. Enable the internal Brown-Out Reset (BOR) and Power-On Reset (POR) by leaving the CONFIG word defaults to ensure the part starts in a known state; disable the WDT only if the application has a hardware watchdog or uses the sleep-based nanoWatt mode. Estimated: Ipd (sleep) is approximately 1-4 uA typical at 3 V per datasheet - verify against your BOR/WDT configuration.
Route the ICSP signals (RB6 clock, RB7 data) as short, parallel traces to a 6-pin header with MCLR/VPP on a dedicated pin; do not share RB6/RB7 with high-current loads because the in-circuit programmer drives these pins during programming and noise from a relay or LED PWM can corrupt the handshake. Place a 10 kohm pull-up on MCLR (pin 4) and a series 100 ohm resistor to the ICSP VPP line to protect against programming-voltage transients. Keep the crystal traces short and symmetric to minimise stray capacitance.
Do not omit the configuration word settings: the default unprogrammed CONFIG word disables the WDT, selects RC oscillator, and may not match your design intent. Always program CONFIG1 (oscillator selection, WDT enable, code protection, brown-out enable) explicitly using your programmer before connecting the device in-circuit. The PIC16F84-04/P requires the _CP_OFF bit to allow Flash read for ICSP verification - leaving code protection on will block legitimate read-verify operations.
규정 준수 정보
RoHS/REACH/lead-free status was not stated in the verified web data for this obsolete part - flagged as [DATA_NEEDED]. The PIC16F84-04/P is not AEC-Q100 qualified and is unsuitable for automotive safety applications. For automotive-grade alternatives consider PIC16F84A-I/P or PIC16F628A-I/P (industrial temperature).