PIC16F84A-20I/P
PIC16F84A-20I/P - 8-Bit 20MHz 1.75KB Flash MCU | Microchip
The Microchip Technology PIC16F84A-20I/P is an 8-bit CMOS Flash/EEPROM-based microcontroller in the PIC16 mid-range family, delivering 20 MHz clock input with a 200 ns instruction cycle in a 18-pin PDIP (P) package with industrial temperature grade (-40C to +85C). It integrates 1024 words (1.75 KB) of Flash program memory, 68 bytes of data RAM, and 64 bytes of EEPROM data memory, with 13 digital I/O pins across PORTA and PORTB. The device executes a compact 35-instruction RISC set, branches are two-cycle while all other instructions complete in one cycle, easing code development and shortening time-to-market for embedded designers.
A microcontroller (MCU) is a single-chip computer that contains a CPU, program memory, RAM, peripherals, and I/O. Microcontrollers belong to the broader integrated circuit family and are the foundation of embedded systems that automate industrial, consumer, and automotive products. The PIC16 mid-range family sits in Microchip's 8-bit portfolio between the baseline 12/14-bit cores and the 16-bit dsPIC/PIC24 lines, balancing code density, peripheral integration, and cost for entry-level to mid-tier designs.
Key features include 200 ns instruction execution, 8-bit timer/counter, 13 I/O pins with individual direction control, 4 MHz internal oscillator-free operation (relies on external crystal or RC), 256-byte EEPROM, in-circuit serial programming (ICSP) capability, watchdog timer with on-chip RC oscillator, and power-saving sleep mode. The device operates from 2.0 V to 5.5 V (industrial temp grade), draws less than 1 mA typical operating current at 5 V/4 MHz, and supports brown-out detection via the configuration bits. The 13 I/Os source/sink up to 25 mA, sufficient to drive small relays or LEDs directly.
The architecture is Harvard RISC with separate 14-bit program bus and 8-bit data bus, deep hardware stack of 8 levels, and configurable internal/external oscillator selection. Peripheral integration includes one 8-bit timer with prescaler and one 16-bit timer (Timer0/Timer1, depending on variant) and a synchronous serial port (SSP) for SPI/I2C master mode, supporting EEPROM and peripheral expansion. The Flash memory supports 1000 erase/write cycles typical and 40-year data retention, suitable for in-field firmware updates via ICSP.
Typical applications include hobbyist and educational platforms, consumer appliance controls, low-end automotive body electronics (non-AEC-Q100), sensor interfaces, lighting controllers, small motor drives via MOSFET gates, and serial-protocol bridges (SPI/UART). The 20 MHz speed with 5 V tolerance allows direct interfacing to legacy 5 V peripherals while the ICSP header keeps prototype iteration fast.
When designing with PIC16F84A-20I/P, remember it is NOT a drop-in replacement for PIC16F628A or PIC16F88 in all cases due to differing peripheral register layouts - verify register maps before migration. Always install a 100 nF decoupling capacitor on VDD close to the pin, a 10-100 ohm resistor on MCLR if not driven directly, and ensure the oscillator configuration bits match the chosen XT/HS/LP/RC mode to avoid start-up failures.
This page synthesizes distributor pricing, pin-compatible Microchip drop-in alternatives, and practical design notes not found in the manufacturer datasheet, delivering engineering context beyond raw specification tables.
見積もり
お問い合わせ