EmbeddedRelated.com
The 2026 Embedded Online Conference
PIC16F628A-I/P

MCHPPIC16F628A-I/P

Microchip Technology
Popular DIP PIC with similar clock and UART features for projects that need a widely available legacy part.
Active11,170 in stock

Overview

The PIC16F628A-I/P is a versatile 8-bit RISC microcontroller featuring 2KB of flash memory and an internal 4MHz oscillator in a breadboard-friendly 18-pin PDIP package. It is a popular legacy part known for its simplicity, featuring a UART for serial communication and 128 bytes of EEPROM for non-volatile data storage. This microcontroller is widely used in hobbyist projects and industrial control applications that require a robust, low-pin-count solution.

Why Choose This Part

The part features nanoWatt technology for low power consumption and a high-endurance Flash/EEPROM cell suitable for frequently updated data. Its 18-pin DIP footprint is ideal for rapid prototyping and through-hole assembly without the need for complex PCB layouts. Additionally, the inclusion of an internal oscillator and a wide operating voltage range simplifies the external bill of materials.

Applications

Serial Communication Bridges
Utilizing the built-in UART/USART to translate between logic-level serial protocols and other peripheral interfaces.
Legacy Industrial Controllers
Providing simple logic control and timing functions in systems requiring 3.0V to 5.5V operation.
User Interface Modules
Managing simple keypad inputs and LED status indicators using the 16 available I/O pins and PORTB weak pull-ups.

Key Specifications

Speed 20MHz
RAM Size 224 x 8
Core Size 8-Bit
EEPROM Size 128 x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity UART/USART
Mounting Type Through Hole
Number of I/O 16
Core Processor PIC
Package / Case 18-DIP (0.300", 7.62mm)
Oscillator Type Internal
Program Memory Size 3.5KB (2K x 14)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 18-PDIP
Voltage - Supply (Vcc/Vdd) 3V ~ 5.5V

Getting Started

To develop for this MCU, use Microchip's MPLAB X IDE and an XC8 compiler. Hardware programming and debugging are typically handled via the In-Circuit Serial Programming (ICSP) interface using a tool like the PICkit 4 or MPLAB Snap. The 18-pin PDIP package allows for immediate use on standard breadboards for initial firmware validation.

Also Consider

PIC16F1827-I/P MCHPMicrochip Technology - A more modern pin-compatible alternative with enhanced peripherals, more memory, and better power efficiency.
ATmega328P-PU MCHPMicrochip Technology - Offers larger 32KB flash memory and a massive community ecosystem for projects requiring more resources in a DIP package.
The 2026 Embedded Online Conference