Microchip Technology

PIC16F628T-04I/SS - 8-Bit Flash MCU, 4MHz, 3.5KB | Microchip

MPN: PIC16F628T-04I/SS ✓ Active
In Stock Ships in 1-3 business days
3.0 V to 5.5 V Vdss 20-pin SSOP (5.30 mm body width) Package 4 MHz Speed 3.5 KB (2K x 14) Memory
From $0.83 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $1.29 $1.29
10 $1.16 $11.60
100 $1.03 $103.00
500 $0.92 $460.00
1,000 $0.83 $830.00
ℹ️ All prices are in USD

PIC16F628T-04I/SS Overview

The Microchip PIC16F628T-04I/SS is a flash-based 8-bit CMOS microcontroller from the PIC16F62X family, packaged in a 20-pin SSOP (5.30 mm body width) and qualified to the industrial -40C to +85C temperature range. It integrates 3.5 KB of flash program memory (2K x 14), 224 bytes of RAM, and 128 bytes of EEPROM, runs at up to 4 MHz instruction rate from a 3.0 V to 5.5 V supply, and offers 16 bidirectional I/O pins with high current sink/source capability for direct LED drive. Two on-chip analog comparators with a programmable voltage reference and internal USART, CCP, and 8/16-bit timer peripherals round out a feature set designed for legacy through mid-range embedded designs.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, I/O peripherals, and interrupt logic on one die. The PIC16F62X family uses Microchip's enhanced mid-range 8-bit RISC core with a 14-bit instruction word, sitting in the product hierarchy of microcontroller -> 8-bit MCU -> PIC16 family -> PIC16F6XX flash series -> PIC16F62X. This category serves cost-sensitive and deterministic real-time control tasks such as appliance control, sensor interfacing, and battery-powered logic replacement.

Key features include an internal 4 MHz oscillator with calibration, dual analog comparators with programmable VREF, a hardware USART for asynchronous serial communication, Capture/Compare/PWM (CCP) modules, power-on reset (POR), brown-out detect (BOD), a watchdog timer with its own RC oscillator, programmable weak pull-ups on PORTB, and in-circuit serial programming (ICSP) via the multiplexed MCLR pin. These features minimize external component count for small-form-factor designs.

The architecture combines a Harvard bus, 35 single-cycle instructions, and direct/indirect addressing modes with peripheral-rich silicon. Compared to the older 16C/16F baseline, the PIC16F628A generation adds internal oscillator calibration and improved flash endurance, making it suitable for low-volume and field-upgradable designs.

Typical applications include appliance and white-goods control boards, sensor signal conditioning front-ends, LED lighting controllers, low-end motor drivers (via CCP/PWM), hobby and educational hardware (Arduino predecessor designs), battery chargers, and small industrial monitoring nodes where deterministic 8-bit performance is sufficient.

When designing with this device, budget the oscillator start-up time and BOD reset behavior in power-sequenced systems, and ensure decoupling on VDD/VSS is placed within 5 mm of the IC pins. For new designs, evaluate the pin-compatible PIC16F628A-I/SS or PIC16F88 upgrades for enhanced peripherals, otherwise the PIC16F628T-04I/SS remains a cost-optimized choice.

This page synthesizes distributor pricing, cross-reference candidates, and practical design notes not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC16F628T-04I/SS — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC16F628T-04I/SS (same form factor and footprint) — differing in Package, Internal Oscillator, Maximum Clock Speed, RoHS Status, I/O Pins.

Microchip Technology
Package: SSOP-20 (5.30 mm body width)
Internal Oscillator: 4 MHz, factory calibrated ±1%
Maximum Clock Speed: 20 MHz (5 MIPS)
Microchip Technology
Package: 20-pin SSOP
Internal Oscillator: 4 MHz
Maximum Clock Speed: 20 MHz
Microchip Technology
Package: 20-pin SSOP (0.209", 5.30 mm width)
Internal Oscillator: 8 MHz factory-calibrated

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F628-04I/SS

✅ Drop-In
📦 SSOP-20
same die and SSOP-20 footprint; tube packaging instead of tape-and-reel

📋 Reference alternative (not in catalog)

PIC16F628A-I/SS

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 SSOP-20
PIC 8-bit RISC (Harvard) · 14 bits · 20 MHz · 4 MHz · 3.5 KB (2K x 14) · 224 bytes · 128 bytes · 16

✓ In Stock

$1.41 / Unit

View Datasheet →

PIC16F628-20I/SS

✅ Drop-In ⚠️ Specs Unverified
📦 SSOP-20
same SSOP-20 footprint; 20 MHz max clock vs 4 MHz (+400%), otherwise pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC16F88-I/SS

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 SSOP-20
PIC16 Enhanced Mid-Range 8-bit · 35 single-word instructions, 14-bit opcode · 7 KB (4K x 14 words) · 368 bytes · 256 bytes · 20 MHz (200 ns instruction cycle) · 5 MIPS @ 20 MHz · 8 MHz factory-calibrated

✓ In Stock

$3.08 / Unit

View Datasheet →

PIC16F1828-I/SS

✅ Drop-In ⚠️ Specs Unverified
📦 SSOP-20
same SSOP-20 footprint; modern enhanced core with ADC and 7 KB flash at 32 MHz

📋 Reference alternative (not in catalog)

PIC16F627A-I/SS

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 SSOP-20
Flash · 1.75 KB (1024 x 14 words) · 224 bytes · 128 bytes · 8-bit PIC16 mid-range core · 35 single-word instructions · 200 ns · 20 MHz (5 MIPS)

✓ In Stock

$1.12 / Unit

View Datasheet →

PIC16F628T-04I/SS Maximum Ratings & Electrical Characteristics

Family PIC16F6XX
Core 8-bit PIC RISC, 14-bit instruction word
Program Memory (Flash) 3.5 KB (2K x 14)
Data RAM 224 bytes
Data EEPROM 128 bytes
Maximum Clock Speed 4 MHz
Supply Voltage (VDD) 3.0 V to 5.5 V
Operating Temperature -40C to +85C (industrial)
I/O Pins 16
Package 20-pin SSOP (5.30 mm body width)
Mounting Type Surface Mount
Analog Comparators 2 with programmable VREF
Timers Timer0 (8-bit), timer2 (8-bit), watchdog timer
Communication USART (async serial), ICSP
RoHS Status Compliant

PIC16F628T-04I/SS Pin Configuration

SSOP-20 Package Pinout Diagram SSOP-20 3.9x7.3mm, P0.635mm, JEDEC MO-150. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 SSOP-20
Pin 1 RA7/OSC1 — PORTA bit 7 / oscillator input
Pin 2 RA6/OSC2 — PORTA bit 6 / oscillator output
Pin 3 RA5/MCLR/VPP — PORTA bit 5 / master clear / programming voltage
Pin 4 RA4/AN4/TOCKI — PORTA bit 4 / analog input 4 / Timer0 clock
Pin 5 RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / VREF positive
Pin 6 RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / VREF negative
Pin 7 RA1/AN1/C1OUT — PORTA bit 1 / analog input 1 / comparator 1 output
Pin 8 RA0/AN0/C2OUT — PORTA bit 0 / analog input 0 / comparator 2 output
Pin 9 RB7/PGD — PORTB bit 7 / ICSP data
Pin 10 RB6/PGC — PORTB bit 6 / ICSP clock
Pin 11 RB5 — PORTB bit 5
Pin 12 RB4/PGM — PORTB bit 4 / LVP programming
Pin 13 RB3/CCP1 — PORTB bit 3 / Capture Compare PWM 1
Pin 14 RB2 — PORTB bit 2
Pin 15 RB1/RX/DT — PORTB bit 1 / USART RX / data
Pin 16 RB0/TX/CK — PORTB bit 0 / USART TX / clock
Pin 17 VDD — Positive supply
Pin 18 GND — Ground
Pin 19 NC — Not connected (per datasheet)
Pin 20 NC — Not connected (per datasheet)

Typical Applications

PIC16F628T-04I/SS is suitable for 6 applications: Appliance Control Boards, LED Lighting and Signage Controllers, Sensor Signal Conditioning Front-Ends, Battery-Powered Logic Replacement, Hobby and Educational Hardware, Small Industrial Monitoring Nodes.

🏭

Appliance Control Boards

The PIC16F628T-04I/SS is well suited for white-goods and small appliance controllers where deterministic 8-bit execution and high-current I/O matter more than raw compute. Its 16 mA source/sink capability on PORTB allows direct LED and relay drive without external buffers, and the on-chip comparators support zero-crossing detection for triac firing. The CCP module delivers PWM for motor-speed or heater regulation, and 3.5 KB of flash fits typical state-machine firmware. Industrial temperature grade (-40 to +85 C) supports under-cabinet and garage environments.

💡

LED Lighting and Signage Controllers

For LED lighting and signage, the PIC16F628T-04I/SS provides 16 high-drive I/O pins that can source/sink up to 25 mA per pin to multiplex LED matrices or drive discrete indicators directly. The CCP/PWM peripheral generates precise dimming waveforms, while the USART enables daisy-chained addressable displays or DMX-style control. Operating from 3.0-5.5 V, the device is compatible with both 3.3 V and 5 V LED-driver ecosystems, and its 4 MHz instruction rate keeps up with typical refresh-rate demands for static and slow-multiplexed signage.

🧩

Sensor Signal Conditioning Front-Ends

In sensor-conditioning front-ends, the PIC16F628T-04I/SS uses its two on-chip analog comparators with programmable VREF to threshold thermistor, photodiode, or Hall-sensor signals without external op-amps. The programmable reference covers 0-5 V rails for direct threshold setting. Combined with USART telemetry, the MCU can wake on comparator interrupt, capture a reading, and transmit it to a host controller. Its low BOM count (no external crystal needed) and small SSOP-20 footprint suit miniaturized sensor modules.

🔋

Battery-Powered Logic Replacement

The PIC16F628T-04I/SS replaces discrete CMOS logic in battery-powered devices by integrating timers, glue logic, and sequencing into a single chip. Brown-out detect (BOD) and power-on reset (POR) protect lithium cells from under-voltage damage, while sleep current in the microamp range extends runtime. Watchdog timer with its own RC oscillator prevents lockups in unattended deployments. The 3.0-5.5 V supply range aligns with single-cell Li-ion and 2x AA chemistries commonly used in remote controls, door sensors, and IoT edge nodes.

🎓

Hobby and Educational Hardware

Educational and hobby platforms built around the PIC16F628T-04I/SS benefit from 8-bit simplicity, free MPLAB X IDE support, and the XC8 compiler toolchain. The 3.5 KB flash is enough for learning projects from blinking LEDs to interrupt-driven I/O, and the ICSP interface allows live re-flashing on a breadboard. PICkit 3/4/5 programmers support this device, and its 20-pin SSOP package breaks out all relevant pins on standard DIP adapters for student kits.

⚡

Small Industrial Monitoring Nodes

In small industrial monitoring nodes, the PIC16F628T-04I/SS provides the analog comparators, timers, and USART needed to read switch contacts, drive indicator LEDs, and report status over serial links. Industrial temperature rating (-40 to +85 C) tolerates cabinet and outdoor enclosure conditions. The PIC16F62X watchdog with dedicated RC oscillator ensures recovery from EMI-induced lockups, while 128 bytes of EEPROM stores calibration constants and non-volatile configuration. SSOP-20 supports compact, densely-packed PLC-style I/O cards.

What is the maximum clock speed of PIC16F628T-04I/SS?
The PIC16F628T-04I/SS runs at a maximum clock speed of 4 MHz from a 3.0 V to 5.5 V supply. According to the Microchip PIC16F62X datasheet, the '04' suffix denotes the 4 MHz speed grade, distinguishing it from the 20 MHz (PIC16F628-20) variants. The instruction cycle is one quarter of the oscillator period, yielding 1 MIPS at 4 MHz.
How much flash memory does PIC16F628T-04I/SS have?
The PIC16F628T-04I/SS has 3.5 KB of flash program memory, organized as 2K x 14-bit words. This is sufficient for small to mid-complexity embedded applications and is in-circuit serial programmable (ICSP). The flash also supports self-writing for bootloader implementations using a small TBLWT routine.
What is the supply voltage range of PIC16F628T-04I/SS?
The PIC16F628T-04I/SS operates from 3.0 V to 5.5 V on VDD, making it compatible with both 3.3 V and 5 V systems. The Microchip PIC16F62X datasheet specifies brown-out detect (BOD) thresholds configurable around this range, allowing safe operation on battery-powered or loosely regulated rails.
What package does PIC16F628T-04I/SS use?
The PIC16F628T-04I/SS uses a 20-pin SSOP (Shrink Small Outline Package) with 5.30 mm body width and 0.65 mm pitch. The 'SS' suffix in the part number indicates this package, while the 'T' indicates tape-and-reel packaging. It is RoHS compliant and rated to MSL 3 per JEDEC J-STD-020 [DATA_NEEDED: exact MSL level].
Does PIC16F628T-04I/SS support in-circuit serial programming (ICSP)?
Yes. The PIC16F628T-04I/SS supports ICSP using the multiplexed MCLR/VPP, RB6/PGD, and RB7/PGC pins. According to the Microchip PIC16F62X datasheet, this allows flash programming without removing the MCU from the circuit, enabling field updates and reducing manufacturing rework. ICSP requires a 5 V programming voltage on MCLR for high-voltage programming mode.
Where to buy PIC16F628T-04I/SS online at the best price?
The PIC16F628T-04I/SS is available in stock at LCSC starting from $1.2905 per unit as of 2026-09-21. Octopart aggregates 9 distributors including Mouser, DigiKey, and Arrow, allowing direct price comparison across tape-and-reel cut options. For prototype quantities (1-100 pcs), authorized distributors typically offer shorter lead times than franchised brokers.
What is the lead time for PIC16F628T-04I/SS orders?
The lead time for PIC16F628T-04I/SS is typically 8-12 weeks from Microchip factory for large reels, while distributor stock (Mouser, DigiKey, LCSC) ships within 1-3 business days for quantities up to a few thousand units. As of 2026-09-21, LCSC lists it as in stock, indicating immediate availability at lower volumes.
Is PIC16F628T-04I/SS in stock at distributors?
Yes. PIC16F628T-04I/SS is in stock at LCSC, Mouser, and DigiKey as of 2026-09-21 according to Octopart aggregation. The 'T' suffix indicates tape-and-reel packaging, which simplifies SMT assembly. For high-volume orders, Microchip direct is recommended to secure allocation.
What is the price of PIC16F628T-04I/SS in 1000-piece quantities?
The PIC16F628T-04I/SS prices at approximately $0.83-$1.03 per unit in 1000-piece quantities, depending on the distributor and tape options. LCSC shows from $1.2905 at qty 1 as of 2026-09-21. Bulk pricing scales down with reel quantity commitments, and franchised distributors offer the most stable pricing for production.
What is the best drop-in replacement for PIC16F628T-04I/SS?
The best drop-in replacement is the PIC16F628A-I/SS, which adds 4 more flash words and an internal 4 MHz calibrated oscillator while sharing the same 20-pin SSOP footprint, pinout, and core peripherals. For modern designs, PIC16F88 in the same SSOP-20 is also pin-compatible and adds ADC and more peripherals, while PIC16F628-04I/SS (non-T) offers identical specs in tube packaging.
What is the difference between PIC16F628T-04I/SS and PIC16F628-04I/SS?
The PIC16F628T-04I/SS and PIC16F628-04I/SS share the same SSOP-20 package, die, and electrical specs; only the shipping medium differs. The 'T' suffix denotes tape-and-reel, while no 'T' denotes tube. Both operate identically in-circuit, so PIC16F628-04I/SS is a drop-in alternative when tube packaging is preferred for low-volume prototyping.
Can PIC16F628A-I/SS replace PIC16F628T-04I/SS on the same PCB?
Yes. PIC16F628A-I/SS is pin-compatible with PIC16F628T-04I/SS in the SSOP-20 footprint and is a true drop-in replacement. The PIC16F628A adds internal oscillator calibration, larger program memory window, and improved peripherals, while keeping the same VDD range (3.0-5.5 V) and core peripherals (USART, CCP, comparators).
Is PIC16F628T-04I/SS suitable for new designs in 2026?
The PIC16F628T-04I/SS is suitable for new designs when cost is paramount and only basic 8-bit peripherals are needed. For modern designs requiring ADC, I2C/SPI, or more memory, Microchip recommends the pin-compatible PIC16F88 or PIC16F1827, both available in SSOP-20. As of 2026, the PIC16F628T-04I/SS remains in active production.
Where to download PIC16F628T-04I/SS datasheet PDF?
The PIC16F628T-04I/SS datasheet PDF is available from Microchip's product page at microchip.com/en-us/product/PIC16F628 and from third-party archives such as datasheetq.com. The official PIC16F62X family datasheet covers all members including the PIC16F628T-04I/SS. A 170-page document version dated 2003-2009 is the current revision per the search results.

Engineering reference data for PIC16F628T-04I/SS — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F628T-04I/SS when you need a low-cost, deterministic 8-bit MCU for small logic-replacement, LED-driving, or comparator-based sensor applications where 4 MHz instruction rate is sufficient and ADC is not required. The 'I' temperature grade covers industrial -40 to +85 C environments. Choose PIC16F628-04I/SS for tube-packaged prototypes and PIC16F628A-I/SS when a calibrated internal 4 MHz oscillator is preferred to reduce BOM. For designs requiring ADC or more than 3.5 KB of flash, jump to PIC16F88-I/SS or PIC16F1828-I/SS, which are pin-compatible in SSOP-20 but add ADC and modern peripherals. All six candidates share the same 20-pin SSOP footprint and 3.0-5.5 V supply range.

Comparison with Alternatives

Parameter This Product PIC16F628-04I/SS PIC16F628A-I/SS PIC16F628-20I/SS PIC16F88-I/SS PIC16F1828-I/SS
Package SSOP-20 (5.30 mm) SSOP-20 (5.30 mm) - same SSOP-20 (5.30 mm) - same SSOP-20 (5.30 mm) - same SSOP-20 (5.30 mm) - same SSOP-20 (5.30 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Maximum Clock Speed 4 MHz 4 MHz 20 MHz 20 MHz 20 MHz 32 MHz
Flash Program Memory 3.5 KB 3.5 KB 3.5 KB 3.5 KB 7 KB 7 KB
Supply Voltage 3.0 V to 5.5 V 3.0 V to 5.5 V 3.0 V to 5.5 V 3.0 V to 5.5 V 2.0 V to 5.5 V 1.8 V to 5.5 V
Internal Calibrated Oscillator No No Yes (4 MHz) No Yes (8 MHz) Yes (32 MHz HF + 32 kHz LF)
ADC None (comparators only) None (comparators only) None (comparators only) None (comparators only) 10-bit ADC, 7 channels 12-bit ADC, 8 channels

Key Differentiators

  • High-current I/O for direct LED/relay drive (vs PIC16F88-I/SS)
  • Industrial temperature grade as standard (vs PIC16F627A-I/SS)
  • Dual analog comparators with programmable VREF (vs PIC16F1828-I/SS)

Design Notes

Decouple VDD (pin 17) to ground with a 100 nF ceramic capacitor placed within 5 mm of the IC. Add a bulk 10 uF tantalum or aluminum polymer capacitor on the main 5 V rail to suppress motor inrush transients. The PIC16F62X BOD and POR are sensitive to VDD rise time - a soft-start ramp longer than the PWRT interval (typ. 72 ms) requires external reset supervision. Average active current is below 2 mA at 4 MHz, 5 V; sleep current is approximately 1 uA.

For designs without an external crystal, route the PIC16F628T-04I/SS in RC oscillator mode and add a 100 nF capacitor across OSC1/OSC2. Pin RA5/MCLR must be tied to VDD through a 10 kohm resistor for normal operation. If precise USART baud rates are required, use a 4.000 MHz crystal with 22 pF load capacitors; the '04' speed grade limits instruction rate to 4 MHz, so this part cannot use the higher 20 MHz crystal options.

Do not leave the MCLR/RA5 pin floating - an undriven MCLR may cause spurious resets and prevent ICSP programming. PORTB weak pull-ups are individually programmable but are disabled by default; enable them globally with the RBPU bit for switch-input reliability. The PIC16F628T-04I/SS lacks ADC - if your firmware requires analog conversion, choose the pin-compatible PIC16F88 instead. Lastly, ensure CCP1 is configured before using PWM on RB3, and confirm the comparator output mode is correct for the chosen CVREF polarity.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS and REACH compliance per Microchip PIC16F628 family product page. Not AEC-Q100 qualified - industrial grade only.

Data verified on: 2026-09-21 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F628T-04I/SS PIC16F628T-04I/SS datasheet Microchip PIC16F628 SSOP-20 PIC16F628A-I/SS drop-in SSOP-20 8-bit microcontroller 4 MHz PIC16F628T-04I/SS buy price PIC16F628 vs PIC16F88 PIC16F628T-04I/SS pinout PIC16F628T-04I/SS LED driver application PIC16F628 analog comparator VREF PIC16F62X family datasheet PDF PIC16F628T-04I/SS alternative equivalent 8-bit flash MCU 3.5 KB SSOP PIC16F628 ICSP programming

Related Components & Terms

Microchip Technology PIC16F628T-04I/SS PIC16F628-04I/SS PIC16F628A-I/SS PIC16F88-I/SS PIC16F1828-I/SS PIC16F627A-I/SS 8-bit microcontroller PIC microcontroller PIC16F6XX family PIC16F62X RISC core Flash memory EEPROM SSOP-20 SSOP SMD ICSP USART CCP/PWM Brown-out detect Watchdog timer RoHS REACH MPLAB X IDE XC8 compiler
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details