PIC16F84A-20E/P - 8-Bit 20MHz 1.75KB Flash MCU | Microchip
부품 번호: PIC16F84A-20E/P ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.08 | $30.80 |
| 100 | $2.74 | $274.00 |
| 500 | $2.42 | $1,210.00 |
| 1,000 | $2.1 | $2,100.00 |
PIC16F84A-20E/P 개요
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, working RAM, non-volatile EEPROM data storage, and programmable I/O peripherals. PIC microcontrollers from Microchip use a Harvard RISC architecture with separate program and data buses, allowing instruction fetch and data access to occur in the same cycle. The PIC16F84A belongs to the Mid-Range 14-bit instruction family and executes 35 single-word instructions per cycle, providing deterministic real-time behavior ideal for embedded control.
Key features of the PIC16F84A-20E/P include 1.75 KB self-programmable Flash program memory, 64 bytes of true EEPROM for non-volatile data storage, a hardware USART0 multiplier (note: PIC16F84A has no USART - it provides a 8-bit timer/counter TMR0 with programmable prescaler, watchdog timer, and 4 oscillator options including XT, HS, LP, and RC), in-circuit serial programming (ICSP) via two pins, and power-on reset / brown-out detection support. The 20E suffix designates the 20 MHz speed grade with the Extended (-40C to +125C) operating temperature range.
The PIC16F84A-20E/P uses a RISC pipeline executing one instruction per cycle (4 clock cycles per instruction cycle), with 200 ns instruction execution time at 20 MHz. The internal architecture separates 14-bit program word Flash from 8-bit data RAM and 8-bit EEPROM, accessed through separate address spaces. An 8-bit prescaler extends the TMR0 timer/counter to effective 16-bit operation, and a hardware watchdog timer (WDT) with its own on-chip RC oscillator improves reliability in unattended installations.
Typical applications for the PIC16F84A-20E/P include hobbyist and educational projects, simple sensor interfaces, low-volume industrial controllers, appliance control boards, legacy embedded designs migrated from PIC16C84 OTP parts, and timing/sequencing applications in industrial control panels. Its 13 I/O pins and small footprint make it well-suited for breadboard prototyping and Through-Hole PCB assembly.
When designing with the PIC16F84A-20E/P, place a 100 nF decoupling capacitor directly across VDD/VSS within 5 mm of the pins, select the oscillator mode (XT/HS/LP/RC) appropriate for the crystal frequency, and ensure MCLR is tied to VDD through a 10 kohm resistor for normal operation or driven low for in-circuit reset. The 20E temperature grade extends operation to -40C to +125C - verify that your application's thermal envelope matches the E grade rather than the I (industrial, -40C to +85C) or no-suffix (commercial, 0C to +70C) variant.
This page synthesizes distributor pricing, drop-in alternatives drawn from the same PIC16F family, and practical design notes that go beyond the manufacturer datasheet summary - giving buyers and engineers a single reference for the PIC16F84A-20E/P.
드롭인 대체품: PIC16F84A-20E/P — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC16F84A-20E/P (동일 폼 팩터 및 풋프린트) — 차이점: Timers, Core Architecture, Operating Temperature, Package, Program Memory (Flash).
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC16F84A-20/P
✅ 드롭인✓ 재고 있음
$1.72 / 개
데이터시트 보기 →PIC16F84A-20I/P
✅ 드롭인✓ 재고 있음
$2.43 / 개
데이터시트 보기 →PIC16F84A-04/P
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F628A-20/P
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F819-I/PTSL
✅ 드롭인✓ 재고 있음
$1.78 / 개
데이터시트 보기 →PIC16F818-I/P
✅ 드롭인✓ 재고 있음
$2.55 / 개
데이터시트 보기 →PIC16F84A-20E/P 최대 정격 & 전기적 특성
| Core Architecture | PIC Mid-Range 8-bit RISC |
| Instruction Set Width | 14-bit |
| Number of Instructions | 35 single-word instructions |
| 최대 클록 주파수 | 20 MHz |
| Instruction Cycle Time | 200 ns (at 20 MHz) |
| Program Memory (Flash) | 1.75 KB (1K x 14 words) |
| Data RAM | 68 bytes |
| Data EEPROM | 64 bytes |
| I/O Pins | 13 |
| Ports | PORTA (5-bit), PORTB (8-bit) |
| Timers | TMR0 (8-bit with prescaler), WDT |
| 동작 온도 범위 | -40C to +125C (Extended, E suffix) |
| Speed Grade | 20 MHz (20 suffix) |
| 패키지 | 18-pin PDIP (Through-Hole, 0.300 inch / 7.62 mm pitch) |
| Programming Method | ICSP (In-Circuit Serial Programming), 2-wire |
| Oscillator Modes | XT, HS, LP, RC |
| MSL 레벨 | 1 (unlimited floor life) |
| RoHS 상태 | Compliant |
PIC16F84A-20E/P 핀 구성
| 핀 1 | RA2 — PORTA bit 2 (bidirectional digital I/O) |
| 핀 2 | RA3 — PORTA bit 3 (bidirectional digital I/O) |
| 핀 3 | RA4/T0CKI — PORTA bit 4 / Timer0 external clock input (open-drain output) |
| 핀 4 | MCLR — Master Clear (reset) input, active low |
| 핀 5 | VSS — Ground reference |
| 핀 6 | RB0/INT — PORTB bit 0 / External interrupt input |
| 핀 7 | RB1 — PORTB bit 1 (bidirectional digital I/O) |
| 핀 8 | RB2 — PORTB bit 2 (bidirectional digital I/O) |
| 핀 9 | RB3 — PORTB bit 3 (bidirectional digital I/O) |
| 핀 10 | RB4 — PORTB bit 4 (bidirectional digital I/O, interrupt-on-change) |
| 핀 11 | RB5 — PORTB bit 5 (bidirectional digital I/O, interrupt-on-change) |
| 핀 12 | RB6 — PORTB bit 6 (bidirectional digital I/O, interrupt-on-change, ICSP clock) |
| 핀 13 | RB7 — PORTB bit 7 (bidirectional digital I/O, interrupt-on-change, ICSP data) |
| 핀 14 | VDD — Positive supply voltage |
| 핀 15 | OSC2/CLKOUT — Oscillator output / clock output (crystal mode) |
| 핀 16 | OSC1/CLKIN — Oscillator input / external clock input (crystal mode) |
| 핀 17 | RA0 — PORTA bit 0 (bidirectional digital I/O) |
| 핀 18 | RA1 — PORTA bit 1 (bidirectional digital I/O) |
일반적인 애플리케이션
PIC16F84A-20E/P 적합 용도: 6 애플리케이션s: Hobbyist and Educational Projects, Industrial Control Panels, Legacy Embedded System Migration, Sensor Interface and Signal Conditioning, Timing and Sequencing Controllers, Through-Hole Prototype Assembly.
Hobbyist and Educational Projects
The PIC16F84A-20E/P's 1.75 KB Flash, 35-instruction set, and ICSP programming make it a popular choice for university courses and DIY electronics. The Extended -40C to +125C temperature grade lets students run experiments in non-climate-controlled workshops. With 13 I/O pins driving LEDs, seven-segment displays, and simple sensors, it fits breadboard-based prototype projects and textbook tutorials. The 20 MHz clock and 200 ns instruction cycle are fast enough to handle matrix keypad scanning, PWM software generation for hobby servos, and serial-bit-banged communication. The PIC mid-range 14-bit instruction set has decades of assembler and BASIC language examples, lowering the learning curve for first-time embedded developers.
추천
Industrial Control Panels
The Extended temperature range of the PIC16F84A-20E/P (-40C to +125C) suits factory-floor environments where industrial-grade PICs may be marginal. Its 18-pin PDIP Through-Hole package simplifies hand-soldering and field replacement during panel maintenance. The 13 I/O pins drive relays, contactors, and status LEDs, while TMR0 with prescaler handles debounce intervals and timing sequences. The hardware watchdog timer with dedicated RC oscillator prevents lockup in unattended installations. A 200 ns instruction cycle lets the loop scan fast enough to handle multiple switch inputs and outputs within a 1 ms control cycle. The 1.75 KB Flash holds typical ladder-logic replacement sequences and basic fault-detection state machines.
추천
Legacy Embedded System Migration
The PIC16F84A-20E/P serves as a direct drop-in replacement for the older PIC16C84 OTP (one-time-programmable) and PIC16F84 UV-erasable parts used in legacy products. Its 1.75 KB self-programmable Flash enables in-field firmware updates via ICSP without removing the part from the board. The 18-pin PDIP footprint is identical to the legacy 16C84, meaning existing PCB layouts require no changes for migration. The Extended temperature grade matches the original part's automotive-grade specs, preserving the qualification of the end product. Microchip guarantees the PIC16F84A as a long-term active part for this migration path, making it a low-risk modernization choice.
추천
Sensor Interface and Signal Conditioning
The PIC16F84A-20E/P's 13 I/O pins and TMR0 timer handle basic sensor conditioning - reading switches, mechanical encoders, and digital thermometers. With 200 ns instruction execution at 20 MHz, the part can bit-bang I2C or SPI communication with external sensors despite lacking hardware peripherals. The 64 bytes of EEPROM store calibration coefficients across power cycles. PORTB's weak pull-up option simplifies connection to mechanical switches, eliminating external pull-up resistors. The 8-bit prescaler extends TMR0 to capture long intervals for pulse-train frequency measurement, useful for flow meters and tachometers.
추천
Timing and Sequencing Controllers
Appliance and equipment timing applications benefit from the PIC16F84A-20E/P's TMR0 with 8-bit prescaler and watchdog timer. Typical circuits drive a sequence of relays with millisecond-to-hour timing, where the 200 ns instruction cycle provides fine-grained control while TMR0 generates longer intervals. The Extended -40C to +125C grade supports under-hood automotive and outdoor industrial cabinets. The 1.75 KB Flash stores timing tables, fault recovery logic, and operator-interface state machines. ICSP allows service technicians to update timing parameters without desoldering the part.
추천
Through-Hole Prototype Assembly
The 18-pin PDIP Through-Hole package of the PIC16F84A-20E/P remains the preferred form-factor for hobbyist prototype boards, educational labs, and low-volume production. The 0.300 inch (7.62 mm) row spacing fits standard IC sockets and breadboards without SMD soldering skills. The PIC16F84A has decades of assembly-language tutorials, BASIC language support, and MPLAB X IDE integration. The Extended -40C to +125C grade lets the same Through-Hole prototype be tested under thermal-stress conditions before committing to SMD layout. The 1.75 KB Flash and 35-instruction set cover the canonical academic examples - flashing LEDs, keypads, and seven-segment displays.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC16F84A-20E/P — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC16F84A-20/P | PIC16F84A-20I/P | PIC16F84A-04/P | PIC16F628A-20/P | PIC16F819-I/P | PIC16F818-I/P |
|---|---|---|---|---|---|---|---|
| Package | PDIP-18 (Through-Hole) | PDIP-18 - same | PDIP-18 - same | PDIP-18 - same | PDIP-18 - same | PDIP-18 - same | PDIP-18 - same |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 4 MHz (-80%) | 20 MHz | 20 MHz | 20 MHz |
| Flash Program Memory | 1.75 KB | 1.75 KB | 1.75 KB | 1.75 KB | 3.5 KB (+100%) | 3.5 KB (+100%) | 1.75 KB |
| Data RAM | 68 bytes | 68 bytes | 68 bytes | 68 bytes | 224 bytes (+229%) | 256 bytes (+276%) | 128 bytes (+88%) |
| Data EEPROM | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 128 bytes (+100%) | 256 bytes (+300%) | 64 bytes |
| Operating Temperature Range | -40 to +125 C (Extended) | 0 to +70 C (Commercial) | -40 to +85 C (Industrial) | 0 to +70 C (Commercial) | 0 to +70 C (Commercial) | -40 to +85 C (Industrial) | -40 to +85 C (Industrial) |
| Internal Oscillator | No (external crystal required) | No | No | No | Yes (4 MHz internal) | Yes (8 MHz internal) | Yes (8 MHz internal) |
주요 차별점
- Extended -40C to +125C temperature grade in 18-pin PDIP (vs PIC16F84A-20I/P)
- Pin-compatible upgrade path to PIC16F628A (vs PIC16F628A-20/P)
- 20 MHz speed grade (vs 4 MHz grade of 04 suffix parts) (vs PIC16F84A-04/P)
설계 노트
Place a 100 nF decoupling capacitor directly across VDD (pin 14) and VSS (pin 5) within 5 mm of the package pins. Add a 10 uF bulk capacitor near the VDD trace entrance. Estimated: typical operating current is approximately 10-15 mA at 20 MHz with all peripherals disabled, so 100 mA-rated regulators provide adequate margin. For battery applications, the PIC16F84A-20E/P supports a low-power sleep mode with TMR0 and WDT remaining waking via select to further reduce idle current.
Route the crystal traces between OSC1 (pin 16) and OSC2 (pin 15) short and symmetrical, surrounded by a ground pour on both sides to minimize stray capacitance. Keep crystal traces away from high-frequency switching signals. For the HS mode at 20 MHz, use a fundamental-mode crystal with 20-33 pF load capacitors. Place the MCLR pull-up resistor (typically 10 kohm to VDD) close to pin 4 to avoid false resets from EMI coupling onto the MCLR trace.
Common pitfalls with the PIC16F84A-20E/P include: (1) Forgetting to disable the watchdog timer in software, causing unexpected resets in long main loops; (2) configuring the CONFIG word for HS mode at 20 MHz without using an actual crystal across OSC1/OSC2; (3) enabling PORTB weak pull-ups globally then reading RB0-RB7 before the pull-ups stabilize; (5) attempting to read analog voltages on PORTA pins - the PIC16F84A has no ADC peripheral. The '20E' speed grade at 20 MHz requires HS oscillator mode - using XT at 20 MHz may fail to oscillate reliably.
규정 준수 정보
RoHS compliant per Microchip product page. The PIC16F84A family is not AEC-Q100 qualified; for automotive AEC-Q100 work, consider PIC16F50A-Q1 or PIC16F193x-Q1 enhanced mid-range parts. Lead-free PDIP package is standard.