Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

PIC16F628A-I/P

8-bit PIC MCU, 1.75KB Flash, 16 I/O, DIP-18

Effective inventoryPCS

23456
in stock

SpecificationsTechnical data

Manufacturer part

PIC16F628A-I/P

Package

PDIP-18 (23.5 x 6.35 x 5.0 mm, 300 mil)

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The PIC16F628A-I/P from Microchip Technology is an 8-bit PIC microcontroller with 1.75KB Flash, 224B RAM, 16 I/O, dual comparator, and DIP-18 package.

Key Specifications

Type 8-bit PIC Microcontroller
Max Frequency 20 MHz
Flash 1.75 KB (2048 words x 14 bits)
SRAM 224 bytes
EEPROM 128 bytes
I/O Pins 16
Timers 3 (Timer0, Timer1, Timer2)
Comparators 2
Communication 1x EUSART
Capture/Compare/PWM 1 (CCP module)
Supply Voltage 3.0V to 5.5V
Package DIP-18 (300 mil)
Operating Temperature -40C to +85C (I grade)

Features

  • 1.75KB Flash with 100,000 erase/write cycles
  • 128 bytes EEPROM data memory
  • Internal 4 MHz oscillator (no external crystal needed)
  • Dual comparator with internal voltage reference
  • DIP-18 package for prototyping and education
  • Low-cost entry point for PIC development

Applications

  • Educational and hobby projects
  • Simple control applications
  • Replacement for 555 timer circuits
  • Serial communication bridge
01PIC16F628A-I/P · Product Introduction
The PIC16F628A-I/P from Microchip Technology is a classic 8-bit PIC microcontroller in a through-hole DIP-18 package, widely used in education, hobby electronics, and simple control applications. The 1.75KB Flash and 224 bytes SRAM provide adequate resources for small firmware projects. The 128-byte EEPROM enables non-volatile data storage. The internal 4 MHz oscillator eliminates the need for an external crystal for basic operation, while external clock options up to 20 MHz are supported. The dual comparator with an internal voltage reference enables analog monitoring without external components. The EUSART supports serial communication for debugging and data transfer. The CCP module provides capture, compare, and PWM functions for timing and motor control. The DIP-18 package makes this device ideal for breadboard prototyping, educational labs, and legacy through-hole designs.
02PIC16F628A-I/P · Working Principle
The PIC16F628A uses Microchip’s baseline 14-bit instruction word PIC core with an 8-level hardware stack. Most instructions execute in a single cycle at the clock rate (200 ns at 20 MHz). The 1.75KB Flash stores up to 2048 14-bit instructions. The 224 bytes of SRAM includes the special function registers (SFRs) and general-purpose registers. The internal oscillator runs at 4 MHz by default, configurable via the configuration register. The dual comparator module can compare external pin voltages against each other or against an internal 16-tap voltage reference. The CCP module can capture timer values on external events (capture mode), generate timed outputs (compare mode), or produce PWM waveforms (PWM mode). The EUSART implements asynchronous serial communication with configurable baud rate derived from the timer or oscillator. The 128-byte EEPROM uses a separate address space and requires special read/write sequences with a write completion flag.
03PIC16F628A-I/P · Pin Description
Pin Name Type Function
1 RA2/AN2/VREF I/O Port A bit 2 / Comparator VREF
2 RA3/AN3/CMP1 I/O Port A bit 3 / Comparator 1 input
3 RA4/T0CKI/CMP2 I/O Port A bit 4 / Timer0 clock / CMP2
4 RA5/MCLR/VPP Input Master Clear (reset) / Programming
5 VSS Power Ground
6 RB0/INT I/O Port B bit 0 / External interrupt
7-13 RB1-RB7 I/O Port B bits 1-7 (shared with serial, CCP)
14 VDD Power Supply voltage (3.0-5.5V)
15-17 RA0-RA1/RA6 I/O Port A bits 0-1, 6
18 RA7/OSC1 I/O Port A bit 7 / Oscillator input
04PIC16F628A-I/P · Application Scenarios
  • Educational lab: blinking LED, push-button debounce, and serial output on breadboard
  • 555 timer replacement: generating timed pulses with the CCP module
  • Serial-to-parallel converter using EUSART and shift register output
  • Battery monitor using dual comparators and internal VREF
05PIC16F628A-I/P · Alternative Models
Manufacturer Part Number Package Notes
Microchip PIC16F648A-I/P DIP-18 4KB Flash upgrade, pin-compatible
Microchip PIC16F627A-I/P DIP-18 1KB Flash, lower cost
Microchip PIC16F887-I/P DIP-40 More I/O, more Flash, larger package
Microchip ATtiny2313A-PU DIP-20 AVR alternative, 2KB Flash
Microchip PIC16F18426-I/P DIP-14 Newer PIC, more features, fewer pins

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

MTR7519-I/PT

3-phase MOSFET pre-driver, BLDC motor, 28-PDIP Industrial

Brand: MICROCHIPPackage: 28-PDIP

IN STOCK: 6345pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC18F45K22-I

PIC18 XLP MCU, 32KB Flash, 1.5KB RAM, 256B EEPROM, 28-ch 10-bit ADC, 5 PWM, 2 comp, dual SPI/I2C, EUSART/LIN, CTMU, HLVD, 64MHz, 40/44-pin

Brand: MICROCHIPPackage: 40-pin PDIP / 44-pin TQFP / QFN

IN STOCK: 9320pcs

Cargo cycle: 3~7 Days

The minimum order is 1

ATMEGA32A-AU

8-bit AVR MCU, 32KB Flash, 2KB SRAM, 1KB EE, 16MHz, 32 I/O, JTAG, TQFP-44

Brand: MICROCHIPPackage: TQFP-44 (10 x 10 x 1.0mm)

IN STOCK: 14135pcs

Cargo cycle: 3~7 Days

The minimum order is 1

LPC1788FBD144

Cortex-M3 120MHz MCU, 512KB Flash, 96KB RAM, Ethernet, USB, LCD, LQFP-144

Brand: NXPPackage: LQFP-144 (20 x 20 mm)

IN STOCK: 4718pcs

Cargo cycle: 3~7 Days

The minimum order is 1

GD32F105VCT6

Cortex-M3 Connectivity MCU, 108MHz, 256KB Flash, 96KB SRAM, USB OTG, LQFP-100

Brand: gigadevicePackage: LQFP-100 (14x14mm, 0.5mm pitch)

IN STOCK: 4223pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32F030C6T6

Cortex-M0 MCU, 48 MHz, 32KB Flash, 4KB RAM, LQFP-48

Brand: STPackage: LQFP-48 (7 x 7 x 1.4 mm)

IN STOCK: 12476pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.