EmbeddedRelated.com
PIC16F84A-04/P

MCHPPIC16F84A-04/P

Microchip Technology
PIC PIC® 16F Microcontroller IC 8-Bit 4MHz 1.75KB (1K x 14) FLASH 18-PDIP
Active2,805 in stock

Overview

The Microchip PIC16F84A-04/P is an 8-bit RISC microcontroller in an 18-pin PDIP package, designed for general-purpose embedded control applications. It features 1.75KB of Flash program memory, 68 bytes of RAM, and 64 bytes of EEPROM. Operating at up to 4MHz, it provides a balance of performance and simplicity for cost-sensitive designs.

Why Choose This Part

Engineers choose the PIC16F84A for its proven reliability and ease of use in simple applications. The 18-pin PDIP package is breadboard-friendly and suitable for through-hole prototyping and manufacturing. Its concise instruction set and peripheral features like Watchdog Timer and Power-on Reset simplify embedded system design.

Applications

Simple Control Systems
Ideal for basic control tasks such as reading switch inputs and driving LEDs or small relays, due to its straightforward architecture and I/O capabilities.
Hobbyist Projects
Popular in educational and hobby electronics for learning microcontroller programming, given its through-hole package and accessible feature set.
Small Appliance Control
Suitable for non-critical control functions in small appliances where a low-cost, low-pin-count solution is required.
Timers and Counters
Can be used to implement simple timing sequences and event counting due to its internal timers and external interrupt capabilities.
Data Logging (Limited)
Its 64 bytes of EEPROM make it suitable for storing small amounts of configuration data or log entries that need to persist without power.

Key Specifications

Speed 4MHz
RAM Size 68 x 8
Core Size 8-Bit
EEPROM Size 64 x 8
Peripherals POR, WDT
Mounting Type Through Hole
Number of I/O 13
Core Processor PIC
Package / Case 18-DIP (0.300", 7.62mm)
Oscillator Type External
Program Memory Size 1.75KB (1K x 14)
Program Memory Type FLASH
Operating Temperature 0degC ~ 70degC (TA)
Supplier Device Package 18-PDIP
Voltage - Supply (Vcc/Vdd) 4V ~ 5.5V

Getting Started

To get started with the PIC16F84A, an MPLAB IDE (now MPLAB X IDE) and a PICkit programmer/debugger are recommended. The device supports In-Circuit Serial Programming (ICSP) for easy flashing. Microchip's free MPLAB XC8 compiler can be used for C programming, or assembly language can be used for optimized code.

Part of PIC Microcontrollers family » PIC16F

PIC16F Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Flash RAM I/O Pins Package Speed ADC/DAC Stock
PIC16F84A-04/P (this part) 1.75K 68 x 8 13 DIP-18 4M — 2,805
PIC16F877A-I/P 14KB 368 x 8 33 DIP-40 20M A/D 8x10b 2,800
PIC16F15313T-I/SN 3.5K 256 x 8 6 SOIC-8 32M A/D 5x10b; D/A 1x5b 13,994
PIC16F1847-I/SO 14KB 1K 15 SOIC-18 32M A/D 12x10b 16,836
PIC16F18325-I/SL 14KB 1K 12 SOIC-14 32M A/D 11x10b; D/A 1x5b 49,474
PIC16F1503-I/SL 3.5K 128 x 8 11 SOIC-14 20M A/D 8x10b 16,676
PIC16F15344-I/SS 7KB 512 x 8 18 SSOP-20 32M A/D 17x10b; D/A 1x5b 6,279
PIC16F18313-I/P 3.5K 256 x 8 6 DIP-8 32M A/D 5x10b; D/A 1x5b 2,619
PIC16F1824-E/SL 7KB 256 x 8 11 SOIC-14 32M A/D 8x10b 4,803
PIC16F15223-E/SL 3.5K 256 x 8 11 SOIC-14 32M A/D 9/2x10b 5,804
PIC16F18323-I/SL 3.5K 256 x 8 12 SOIC-14 32M A/D 11x10b; D/A 1x5b 4,053
PIC16F1503-I/ST 3.5K 128 x 8 11 TSSOP-14 20M A/D 8x10b 3,556
PIC16F15223T-I/SL 3.5K 256 x 8 11 SOIC-14 32M A/D 9/2x10b 12,829
PIC16F17124-E/ST 7KB 512 x 8 11 TSSOP-14 32M A/D 11x12b; D/A 2x8b 1,364
PIC16F17524-I/SL 7KB 512 x 8 11 SOIC-14 32M A/D 11x12b SAR; D/.. 1,795
PIC16F18323-E/ST 3.5K 256 x 8 12 TSSOP-14 32M A/D 11x10b; D/A 1x5b 770
PIC16F18346-I/SS 28KB 2K 18 SSOP-20 32M A/D 17x10b; D/A 1x5b 1,919
PIC16F18346-I/P 28KB 2K 18 DIP-20 32M A/D 17x10b; D/A 1x5b 1,576
PIC16F1574-I/SL 7KB 512 x 8 12 SOIC-14 32M A/D 8x10b; D/A 1x5b 1,451
PIC16F1823-I/P 3.5K 128 x 8 12 DIP-14 32M A/D 8x10b 1,637
PIC16F1454-I/SL 14KB 1K 8 SOIC-14 48M — 823

Also Consider

PIC16F628A-I/P MCHPMicrochip Technology - Offers more Flash memory (3.5KB), more RAM (224 bytes), and additional peripherals like a comparator and hardware UART, while remaining pin-compatible with the PIC16F84A in many applications.
ATMEGA328P-PU MCHPMicrochip Technology - A widely popular 8-bit AVR microcontroller known for its use in Arduino boards, offering significantly more Flash (32KB), RAM (2KB), and a richer set of peripherals including ADC and multiple timers, in a similar 28-pin DIP package.