Microchip Technology

PIC16F628T-04/SO - 4MHz 8-Bit Flash MCU 3.5KB SOIC-18

MPN: PIC16F628T-04/SO ✓ Active
In Stock Ships in 1-3 business days
3.0 V to 5.5 V (F-version) Vdss 18-pin SOIC (SO), wide body Package 4 MHz (DC-04 grade) Speed 3.5 KB (2K x 14) Memory
From $2.2 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $3.95 $3.95
10 $3.65 $36.50
100 $3.1 $310.00
500 $2.55 $1,275.00
1,000 $2.2 $2,200.00
ℹ️ All prices are in USD

PIC16F628T-04/SO Overview

The Microchip Technology PIC16F628T-04/SO is an 8-bit PIC16 family flash-based CMOS microcontroller built on Microchip's enhanced mid-range architecture and packaged in a 18-pin SOIC (SO) wide-body tape-and-reel format. It runs at 4 MHz with a 200 ns instruction cycle, integrates 3.5 KB (2K x 14) of self-programmable flash program memory, 224 bytes of RAM, and 128 bytes of EEPROM data memory, and exposes 16 digital I/O lines across PORTA and PORTB. The supply voltage range covers 3.0 V to 5.5 V for F-version parts, supporting both 3.3 V and 5 V system designs.

A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory and programmable I/O peripherals; the PIC16F628 family belongs to Microchip's 8-bit PIC® RISC architecture family, which traces its lineage from the PIC1650 and remains one of the longest-deployed 8-bit MCU cores in industrial, automotive and consumer electronics. The PIC16F628 series was the first mid-range PIC family to migrate from EPROM/ROM to flash, enabling in-circuit reprogramming via ICSP. The hierarchy: 8-bit MCU -> PIC® RISC MCU -> PIC16F mid-range family -> PIC16F628 sub-family.

Key features include an internal 4 MHz RC oscillator with calibration, power-on reset (POR), power-up timer (PWRT), oscillator start-up timer (OST), brown-out detect (BOD), watchdog timer (WDT) with its own on-chip RC oscillator, and programmable weak pull-ups on PORTB. Two analog comparators with programmable on-chip voltage reference and a capture/compare/PWM (CCP) peripheral extend its analog/mixed-signal capability beyond pure digital I/O. The -04 speed grade (4 MHz) distinguishes it from the -20 (20 MHz) sibling in the same silicon.

The enhanced mid-range core adds hardware interrupt context saving, a deeper hardware stack (8 levels), and an extended instruction set with 35 single-word instructions, enabling compact C and assembly firmware. ICSP (in-circuit serial programming) and ICD (in-circuit debugging) via RB6/RB7 free the I/O pins for end-application use rather than burning them as programming interfaces. Internal EEPROM permits 1 M erase/write cycles, supporting data logging and user-configurable parameter storage without external memory.

Typical applications include automotive and industrial sensor interfaces, low-power remote control transmitters, appliance controllers, small-form-factor motor control loops, simple protocol bridges (UART/I2C firmware conversion), and battery-powered instrumentation where the wide 3.0-5.5 V supply range and internal oscillator simplify BOM. The part remains a benchmark for hobbyist, education and legacy drop-in designs that migrate from PIC16C84/16F84 to a higher-memory, more feature-rich flash MCU.

When designing with this MCU, note that the -04 grade limits operation to 4 MHz (DC-20 ns); design firmware timing budgets around the 200 ns instruction execution, and account for the SOIC-18 thermal envelope when used in sealed enclosures. Microchip's MPLAB X IDE and the PICkit 5 in-circuit debugger support this device for development and production programming.

Drop-in alternatives for PIC16F628T-04/SO — 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-04/SO (same form factor and footprint) — differing in Operating Temperature, Package, Internal Oscillator, Analog Comparators, Core Architecture.

Microchip Technology
Operating Temperature: -40C to +85C (Industrial, "I")
Package: 18-pin SOIC (SO)
Internal Oscillator: 4 MHz RC (selectable)
Microchip Technology
Operating Temperature: -40°C to +85°C (industrial)
Package: 18-pin SOIC (SO)
Internal Oscillator: 4 MHz calibrated
Microchip Technology
Operating Temperature: -40C to +125C (automotive / 'E' grade)
Package: 18-pin SOIC (SO)
Internal Oscillator: Yes, 4 MHz RC (calibrated)
Microchip Technology
Operating Temperature: -40 °C to +85 °C (industrial, "I" suffix)
Package: SOIC-18 (SO), 7.50 mm body, 1.27 mm pitch, gull-wing
Internal Oscillator: 4 MHz precision internal RC (software-selectable)
Microchip Technology
Operating Temperature: -40 °C to +85 °C (Industrial, 'I' suffix)
Package: 18-SOIC (0.295", 7.50 mm)
Internal Oscillator: 4 MHz (calibrated)
Microchip Technology
Operating Temperature: -40 C to +125 C (E grade)
Package: 18-pin SOIC (SO) - Tape & Reel
Internal Oscillator: 4 MHz, factory calibrated (+/-1%)
Microchip Technology
Operating Temperature: -40°C to +85°C (Industrial)
Package: 18-SOIC (7.50 mm) wide-body
Internal Oscillator: 4 MHz, software selectable
Microchip Technology
Operating Temperature: -40C to +85C (industrial, "I" grade)
Package: 18-pin SOIC (SO, wide-body 0.300 inch, 7.50 mm)
Analog Comparators: 2 (with programmable VREF module)
Microchip Technology
Package: 18-pin SOIC (SO) W, Tape and Reel
Analog Comparators: 2 with programmable VREF
Core Architecture: PIC 8-bit RISC (Harvard)

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

PIC16F628-04/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
PIC16 mid-range 8-bit RISC · 35 instructions, single-cycle (200 ns at 4 MHz) · 3.5 KB (2K x 14) Flash · 224 bytes · 128 bytes · 4 MHz · 3.3 V to 5.5 V (extended) / 4.5 V to 5.5 V (standard) · 16 digital I/O

✓ In Stock

$1.05 / Unit

View Datasheet →

PIC16F628A-I/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
PIC16F · 8-bit · 20 MHz · 3.5 KB (2K x 14) Flash · 224 bytes · 128 x 8 bytes · 16 · 4.5 V to 5.5 V

✓ In Stock

$2.32 / Unit

View Datasheet →

PIC16F628-04I/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
PIC® 16-bit mid-range (8-bit data path, 14-bit instruction word) · Flash · 3.5 KB (2K x 14) · 128 bytes · 224 bytes · 4 MHz (04 speed grade) · 200 ns @ 20 MHz / 1 µs @ 4 MHz · 3.0 V to 5.5 V (industrial "I" grade operating range)

✓ In Stock

$2.3 / Unit

View Datasheet →

PIC16F628-04E/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
PIC 8-bit RISC (mid-range enhanced) · 3.5 KB Flash (2K x 14 words) · 224 bytes · 128 bytes · 4 MHz (200 ns instruction cycle) · 35 single-word instructions, mostly single-cycle · 16 · 4.5 V to 5.5 V

✓ In Stock

$1.78 / Unit

View Datasheet →

PIC16F628AT-I/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
PIC 8-bit RISC (Harvard) · 20 MHz (200 ns instruction cycle) · Flash · 3.5 KB (2K x 14) · 224 bytes · 128 bytes · 16 · 3.0 V to 5.5 V

✓ In Stock

$1.92 / Unit

View Datasheet →

PIC16F628AT-E/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
PIC16 enhanced mid-range 8-bit RISC · 35 single-word instructions · 200 ns at 20 MHz · 20 MHz · 3.5 KB (2K x 14 words) · 224 bytes · 128 bytes · 16 (11 dedicated I/O + 5 multiplexed)

✓ In Stock

$1.92 / Unit

View Datasheet →

PIC16F627-04/SO

✅ Drop-In
📦 18-SOIC
lower flash (1.75 KB vs 3.5 KB, -50%), same peripherals and footprint

📋 Reference alternative (not in catalog)

PIC16F627AT-I/SO

✅ Drop-In
Microchip Technology
📦 18-SOIC
Microcontroller (MCU) · PIC 8-bit RISC · PIC 16F · 1.75 KB (1K x 14) Flash · 224 bytes · 128 bytes · 20 MHz · 200 ns @ 20 MHz

✓ In Stock

$1.83 / Unit

View Datasheet →

PIC16F628T-04/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 enhanced mid-range 8-bit RISC
Instruction Set Width 14-bit
Number of Instructions 35 single-word
Maximum Clock Speed 4 MHz (DC-04 grade)
Instruction Cycle Time 200 ns
Program Memory (Flash) 3.5 KB (2K x 14)
RAM 224 bytes
EEPROM Data Memory 128 bytes
Digital I/O Pins 16 (PORTA + PORTB)
Supply Voltage 3.0 V to 5.5 V (F-version)
Internal Oscillator 4 MHz RC, factory calibrated
Watchdog Timer Yes, dedicated on-chip RC oscillator
Brown-Out Detect Yes, programmable
Power-On Reset / PWRT / OST Yes
Analog Comparators 2 with programmable voltage reference
CCP Module 1 Capture/Compare/PWM
ICSP / ICD Yes, on RB6/RB7
Hardware Stack 8 levels
Package 18-pin SOIC (SO), wide body
Mounting Type Surface Mount
Operating Temperature -40C to +85C (industrial)
RoHS Status Compliant
MSL Level 1 (unlimited floor life at <30C/85% RH)

PIC16F628T-04/SO Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 RA0/AN0 — Digital I/O / Analog input 0 / CVREF
Pin 2 RA1/AN1 — Digital I/O / Analog input 1 / VREF+
Pin 3 RA2/AN2 — Digital I/O / Analog input 2 / VREF-
Pin 4 RA3/MCLR/VPP — Digital input / Master Clear (reset) / Programming voltage
Pin 5 RA4/TOCKI/C1OUT — Digital I/O (open-drain) / Timer0 clock / Comparator 1 output
Pin 6 RA5/AN4/C2OUT — Digital I/O / Analog input 4 / Comparator 2 output
Pin 7 RA6/OSC2/CLKOUT — Digital I/O / Oscillator output / Clock output
Pin 8 RA7/OSC1/CLKIN — Digital I/O / Oscillator input / External clock input
Pin 9 RB0/INT — Digital I/O / External interrupt
Pin 10 RB1/RX/DT — Digital I/O / USART RX / Data (synchronous)
Pin 11 RB2/TX/CK — Digital I/O / USART TX / Clock (synchronous)
Pin 12 RB3/CCP1 — Digital I/O / Capture/Compare/PWM
Pin 13 RB4/PGM — Digital I/O / Low-voltage programming input
Pin 14 VSS — Ground reference
Pin 15 VDD — Positive supply voltage (3.0 V to 5.5 V)
Pin 16 RB5 — Digital I/O
Pin 17 RB6/PGC — Digital I/O / ICSP clock (programming/debug)
Pin 18 RB7/PGD — Digital I/O / ICSP data (programming/debug)

Typical Applications

PIC16F628T-04/SO is suitable for 7 applications: Industrial Sensor Interface Module, Appliance Control Board, Remote Control / IR Transmitter, Automotive Body Electronics (Non-Safety), Battery-Powered Instrumentation, Legacy Drop-In Replacement for PIC16F84, Educational / Hobbyist Development.

🏭

Industrial Sensor Interface Module

The PIC16F628T-04/SO's 16 digital I/O, 3.0-5.5 V supply range, internal 4 MHz RC oscillator, and 224 B RAM suit industrial sensor front-ends where the MCU reads digital sensors, performs linearization, and drives a UART/relay output. The internal oscillator eliminates external crystals, cutting BOM cost and PCB area in sealed sensor housings; the BOD protects flash integrity from industrial supply transients. Pin-compatible SOIC-18 footprint supports same-board migration to PIC16F628A or PIC16F18444 when more memory is needed.

🏭

Appliance Control Board

Small appliances such as coffee makers, washing-machine sub-modules and HVAC damper actuators use the PIC16F628T-04/SO for relay/triac drive, push-button scan and LED status display. The CCP module generates PWM for soft-start of brushed DC motors; the 2 analog comparators replace external op-amps for current-sensing. The 18-SOIC wide-body package withstands wave-soldering and high-temperature potting common in white-goods manufacturing; tape-and-reel format supports SMT production lines.

📱

Remote Control / IR Transmitter

Battery-powered IR remote controls benefit from the PIC16F628T-04/SO's internal 4 MHz oscillator (no external crystal), 3.0 V operation from 2xAA cells, and low sleep current. The CCP PWM output drives a 38 kHz IR carrier with software-modulated data, and 224 B RAM accommodates button-scan state machines for several dozen keys. The wide 3.0-5.5 V supply range tolerates weak NiMH battery voltage without brown-out resets during transmission bursts.

🚗

Automotive Body Electronics (Non-Safety)

Non-safety automotive subsystems such as seat controllers, mirror adjusters and lighting dimmers use the PIC16F628T-04/SO for cost-driven designs where AEC-Q100 is not mandatory. The 16 I/O drive LED arrays directly via MOSFETs, and the internal 4 MHz oscillator eliminates external resonator failure modes. For AEC-Q100-grade projects, Microchip recommends migrating to PIC16F1xxx automotive lines; this part remains in active production for industrial and consumer-grade automotive accessories.

Battery-Powered Instrumentation

Portable data loggers, hand-held meters and battery-backed instrumentation benefit from the PIC16F628T-04/SO's wide 3.0-5.5 V supply range, 128-byte EEPROM for parameter storage and 224 B RAM for local buffering. The internal 4 MHz RC oscillator reduces quiescent current draw versus external crystal start-up surges; the WDT with dedicated RC oscillator provides reliable firmware recovery in unattended field deployments. EEPROM endurance of 1M cycles supports frequent user-config writes in metering applications.

🔧

Legacy Drop-In Replacement for PIC16F84

Designs originally built around the PIC16F84A can migrate directly to PIC16F628T-04/SO as a 100% pin-compatible upgrade with 8x more flash (3.5 KB vs 1 KB), 4x more RAM, internal EEPROM and the enhanced mid-range instruction set. The 18-pin SOIC package matches the PIC16F84A footprint; ICSP programming pins RB6/RB7 allow in-circuit firmware upgrades in the field. The drop-in migration enables modernizing legacy designs without PCB redesign or firmware porting work.

🧩

Educational / Hobbyist Development

The PIC16F628T-04/SO is a long-standing favorite in university microcontroller courses and hobbyist electronics because of its simple 35-instruction RISC core, well-documented PIC16F627/628 datasheet, and broad ICSP tool support. The 18-SOIC wide-body package fits 0.1-inch-pitch breadboard adapters; the internal 4 MHz oscillator lets beginners run simple programs without external components. MPLAB X IDE, XC8 compiler and PICkit 5 form a free development chain used in schools worldwide.

Recommended Products Summary

PIC16F628A-I/SO Microchip Technology Used in: Industrial Sensor Interface Module, Automotive Body Electronics (Non-Safety) PIC16F628AT-I/SO Microchip Technology Used in: Industrial Sensor Interface Module, Battery-Powered Instrumentation MCP9700 analog temperature sensor for sensor front-end Used in: Industrial Sensor Interface Module PIC16F628-04/SO Microchip Technology Used in: Appliance Control Board, Legacy Drop-In Replacement for PIC16F84 MOC3021 opto-triac driver for AC load switching Used in: Appliance Control Board ULN2003 Darlington driver for relay coils Used in: Appliance Control Board PIC16F628-04I/SO Microchip Technology Used in: Remote Control / IR Transmitter TSOP38238 38 kHz IR receiver companion part Used in: Remote Control / IR Transmitter TSAL6200 IR LED emitter at 940 nm Used in: Remote Control / IR Transmitter VNQ660SP quad smart power switch for automotive loads Used in: Automotive Body Electronics (Non-Safety) BTS432E2 high-side power switch companion Used in: Automotive Body Electronics (Non-Safety) MCP1700 low-Iq LDO for battery regulation Used in: Battery-Powered Instrumentation 24LC256 external I2C EEPROM for larger data logs Used in: Battery-Powered Instrumentation PIC16F84A-04/SO predecessor part for reference comparison Used in: Legacy Drop-In Replacement for PIC16F84 MPLAB PICkit 5 ICSP debugger/programmer for development Used in: Legacy Drop-In Replacement for PIC16F84, Educational / Hobbyist Development PIC16F628-04/P Microchip Technology Used in: Educational / Hobbyist Development PIC16F18444 recommended modern migration target Used in: Educational / Hobbyist Development
What is the flash program memory size of PIC16F628T-04/SO?
The PIC16F628T-04/SO contains 3.5 KB (2K x 14-bit words) of self-programmable flash program memory. According to the Microchip PIC16F627/628 datasheet (DS40044), this flash is rated for typical 100,000 erase/write cycles and supports ICSP (in-circuit serial programming) via the RB6/RB7 pins, eliminating the need for an external programmer socket in production.
What is the operating voltage range of PIC16F628T-04/SO?
The PIC16F628T-04/SO operates from 3.0 V to 5.5 V supply voltage (F-version, the industrial -04 grade). According to Microchip datasheet DS40044, this wide range supports both 3.3 V and 5 V system designs without level shifters, and the brown-out detect (BOD) circuit can be programmed to trip at factory-calibrated thresholds such as 4.0 V, 3.6 V or 2.0 V to protect flash integrity during supply droops.
What is the difference between PIC16F628T-04/SO and PIC16F628-04/SO?
The PIC16F628T-04/SO is the tape-and-reel (T/R) packaging variant of the PIC16F628-04/SO, which ships in tube. Both parts share the identical silicon die, the same 18-pin SOIC wide-body footprint, 4 MHz max clock, 3.5 KB flash, 224 B RAM and 128 B EEPROM. According to Microchip ordering nomenclature, the trailing T indicates T/R packaging; all electrical, parametric and pinout specifications are equivalent for drop-in use.
Is PIC16F628T-04/SO still in production in 2026?
Yes. According to Microchip's product page (PIC16F628 family) and the FindIC distributor aggregator, the PIC16F628T-04/SO remains in active production as of 2026-09-21. Microchip has however flagged the PIC16F18444 as the recommended migration path for new designs; the original PIC16F628 family continues to ship because of its mature firmware ecosystem and long-life industrial/automotive embedded base.
Where can I buy PIC16F628T-04/SO online?
The PIC16F628T-04/SO is in stock at DigiKey (DigiKey part number PIC16F628T-04/SO-ND, 362061) and Mouser Electronics, with multiple regional distributors also listing inventory. As of 2026-09-21, DigiKey shows 1,100+ units in stock with same-day shipping on qualifying orders; tape-and-reel quantities of 1,000 pieces typically break under USD 3.00 per unit on volume quotes.
What is the price of PIC16F628T-04/SO in 2026?
The PIC16F628T-04/SO prices as of 2026-09-21 at qty-1 are approximately USD 3.95 from DigiKey and Mouser, dropping to roughly USD 2.20 at qty 1,000. Tape-and-reel volume orders typically negotiate below USD 2.00 per unit at 5,000-piece reels. Pricing fluctuates with distributor stock and lead time; Octopart aggregates 8 distributors for real-time comparison.
What is the lead time for PIC16F628T-04/SO?
Lead time for the PIC16F628T-04/SO as of 2026-09-21 is stock-to-8 weeks. DigiKey and Mouser list factory stock with same-day shipping on small orders; Microchip-direct factory orders on the full reel typically quote 6-8 weeks for non-stocked tape-and-reel volumes. Demand spikes for legacy 8-bit PIC parts can extend lead times to 12-16 weeks during allocation events.
Is there an AEC-Q100 automotive version of PIC16F628T-04/SO?
No, the PIC16F628T-04/SO itself is not AEC-Q100 qualified. Microchip offers automotive-grade PIC16F equivalents in other part families; for AEC-Q100-qualified drop-in replacements, engineers should review the PIC16F1xxx automotive lines or consult Microchip's automotive MCU selector. The standard PIC16F628T-04/SO targets industrial and consumer segments and operates from -40C to +85C.
What is the best drop-in replacement for PIC16F628T-04/SO?
The best pin-compatible drop-in replacement for PIC16F628T-04/SO is the PIC16F628-04/SO (tube version, identical silicon) or the PIC16F628A-I/SO for firmware-compatible upgrades with 4 MHz internal oscillator and 18-pin SOIC package. According to Microchip's PIC16F628 family datasheet, these share the same pinout, footprint and instruction set, allowing firmware-compatible migration with no PCB changes.
What is the newer alternative to PIC16F628T-04/SO?
Microchip officially recommends the PIC16F18444 as the newer functional alternative to the PIC16F628 family; the PIC16F18444 adds more memory, more peripherals, and a more modern core while keeping the PIC mid-range toolchain. For a true pin-compatible SOIC-18 drop-in with modern peripherals, the PIC16F1825/1829 also remain drop-in options with extended instruction set and lower power. New designs should evaluate the PIC16F1xxx family for better peripherals and active longevity.
Can a PIC16F88 replace PIC16F628T-04/SO directly?
The PIC16F88 in SOIC-18 is NOT a direct pin-for-pin drop-in replacement for the PIC16F628T-04/SO; the PIC16F88 has additional ADC channels and a different pinout assignment on pins 9-10. Engineers migrating from PIC16F628 to PIC16F88 must re-validate the PCB layout and review the new pinout diagram in the PIC16F88 datasheet; firmware code is largely portable but pin assignments must be verified before layout.
Where to download PIC16F628T-04/SO datasheet PDF?
The official PIC16F628T-04/SO datasheet (DS40044, PIC16F627/628 family, ~160 pages) is available at Microchip's website under ww1.microchip.com/downloads/en/DeviceDoc/40044G.pdf. The datasheet covers electrical characteristics, instruction set, peripheral architecture, programming specification and DC/AC timing diagrams. Alldatasheet.com also mirrors the PDF for legacy access; engineers should always use the latest revision (DS40044G or later) from Microchip directly.
Where to find PIC16F628T-04/SO pinout diagram?
The PIC16F628T-04/SO pinout is documented in the PIC16F627/628 family datasheet (DS40044), section on Pin Descriptions, and follows the standard 18-pin SOIC wide-body numbering. Pin 1 is RA0/AN0 (marked with the SOIC dot), with VDD on pin 14, VSS on pin 5, MCLR on pin 4, OSC1 on pin 16 and OSC2 on pin 15. The detailed pin functions diagram is on page 5 of the manufacturer datasheet.
Hey Google, what is the clock speed of PIC16F628T-04/SO?
The PIC16F628T-04/SO runs at a maximum clock speed of 4 MHz, giving a 200 ns instruction execution time per cycle. According to Microchip datasheet DS40044, the device supports an external clock, external RC, external crystal/ceramic resonator, or the internal 4 MHz RC oscillator; firmware timing budgets must be calculated against the 200 ns instruction cycle for accurate peripheral setup, ADC sampling and PWM periods.
What is the difference between PIC16F628 and PIC16F627?
The PIC16F628 has 3.5 KB flash, 224 bytes RAM and 128 bytes EEPROM, while the PIC16F627 has 1.75 KB flash, 224 bytes RAM and 128 bytes EEPROM (the RAM and EEPROM are identical, only the flash is halved). According to the Microchip datasheet DS40044, both share the same 18-pin SOIC pinout, same peripherals and same instruction set, making PIC16F627 a firmware-and-footprint compatible lower-memory variant for cost-sensitive designs.
What are the key specifications of PIC16F628T-04/SO engineers should know?
Engineers should know the headline specs of the PIC16F628T-04/SO: 8-bit PIC16 enhanced mid-range core at 4 MHz max (200 ns instruction cycle), 3.5 KB flash, 224 B RAM, 128 B EEPROM, 16 digital I/O, 3.0-5.5 V supply, 2 analog comparators, 1 CCP module, brown-out detect, watchdog timer, internal 4 MHz RC oscillator, and 18-pin SOIC wide-body package. These parameters determine memory budgets, peripheral mapping, power-supply tolerance and PCB footprint for new designs.

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

Selection Guide

Choose the PIC16F628T-04/SO when you need an 8-bit flash MCU in 18-SOIC T/R packaging for SMT production, with 3.5 KB flash, 224 B RAM, 128 B EEPROM, 16 I/O and 3.0-5.5 V supply at a low unit price. It is ideal for industrial sensors, appliance controls and IR remote controls. Choose PIC16F628-04/SO (tube) for prototyping and small-volume builds; choose PIC16F628A-I/SO when you need 20 MHz clock and improved ADC with full PIC16F628 firmware compatibility; choose PIC16F627-04/SO for cost-sensitive designs that fit in 1.75 KB flash; migrate to PIC16F18444 for new designs requiring more peripherals and memory.

Comparison with Alternatives

Parameter This Product PIC16F628-04/SO PIC16F628A-I/SO PIC16F628AT-I/SO PIC16F627-04/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 18-SOIC (wide body, T/R) 18-SOIC (wide body, tube) - same 18-SOIC (wide body, tube) - same 18-SOIC (wide body, T/R) - same 18-SOIC (wide body, tube) - same
Flash Program Memory 3.5 KB (2K x 14) 3.5 KB 3.5 KB 3.5 KB 1.75 KB (-50%)
Maximum Clock Speed 4 MHz (DC-04 grade) 4 MHz 20 MHz (-04A) 20 MHz 4 MHz
RAM 224 bytes 224 bytes 224 bytes 224 bytes 224 bytes
EEPROM Data Memory 128 bytes 128 bytes 128 bytes 128 bytes 128 bytes
Digital I/O 16 16 16 16 16
Supply Voltage 3.0 V to 5.5 V 3.0 V to 5.5 V 2.0 V to 5.5 V (wider range) 2.0 V to 5.5 V 3.0 V to 5.5 V
Operating Temperature -40C to +85C (industrial) -40C to +85C -40C to +85C -40C to +85C -40C to +85C
Internal Oscillator 4 MHz RC factory calibrated 4 MHz RC 4 MHz RC + improved accuracy 4 MHz RC 4 MHz RC

Key Differentiators

  • Tape-and-reel packaging for SMT production (vs PIC16F628-04/SO)
  • Mature enhanced mid-range PIC16 core (vs PIC16F627-04/SO)
  • Industry-standard ICSP and ICD on RB6/RB7 (vs PIC16F84A-04/SO)
  • Internal 4 MHz oscillator eliminates external crystal (vs PIC16F84A-20/P)

Design Notes

The PIC16F628T-04/SO accepts 3.0 V to 5.5 V on VDD (pin 14) with VSS on pin 5. Place a 100 nF decoupling capacitor as close as possible to the VDD/VSS pair, and add a 10 uF bulk capacitor at the regulator output to handle transient current demands during flash programming (programming current can briefly reach 50 mA at 5 V). Tie the MCLR/RA3/VPP pin to VDD through a 10 kohm pull-up resistor unless external reset control is required; never leave MCLR floating.

Route the ICSP signals RB6/PGC and RB7/PGD to a 5-pin header (PGC, PGD, VDD, VSS, MCLR/VPP) so the PICkit 5 or ICD can program and debug the device in-circuit without removing it. Keep traces to the crystal/oscillator pins (RA6/OSC2 and RA7/OSC1) short and guarded by a ground pour to minimize EMI coupling when using an external resonator. The wide-body 18-SOIC package provides ample pad area for hand-soldering prototypes and standard reflow profiles; peak reflow temperature per IPC/JEDEC J-STD-020 should not exceed 260C.

Configuration word bits must be set correctly before the MCU runs user code: enable the internal 4 MHz oscillator if no external crystal is fitted, set the WDT postscaler and enable/disable as needed, and configure BOD voltage. Failing to disable the watchdog in firmware without periodic CLRWDT will cause unexpected resets. When migrating from PIC16F84, note that PIC16F628 has additional analog functions on PORTA that must be configured as digital by clearing the CMCON and VRCON registers, or analog inputs will block digital reads.

The PIC16F628T-04/SO's internal 4 MHz RC oscillator is factory calibrated to within +/-1% at 5 V/25C; it can drift +/-5% across -40C to +85C and +/-10% across the 3.0-5.5 V supply range. For UART communication requiring tight baud-rate accuracy, use the BRGH=1 high-speed mode and validate the calculated SPBRG error against the UART specification; if timing is critical, switch to an external crystal. The CCP PWM output frequency is derived from Timer2 and should be calculated as fOSC/(4*(PR2+1)*TMR2_prescaler); keep TMR2 prescaler at 1:1 for highest PWM frequency.

Estimated: The PIC16F628T-04/SO in 18-SOIC wide-body has a theta_JA of approximately 70 C/W (typical for 18-SOIC). At maximum operating current of ~15 mA at 5 V, dissipation is 75 mW, yielding a junction rise of only 5 C above ambient; thermal management is generally unnecessary. In sealed enclosures above 60C ambient, verify the IC stays below the +85C industrial limit by derating supply voltage to 5.0 V or switching to the lower-power PIC16F1825 family.

Compliance Information

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

RoHS compliant and lead-free per Microchip product page. Not AEC-Q100 qualified - the PIC16F628T-04/SO is intended for industrial and consumer markets, not automotive safety-critical applications. For AEC-Q100-grade 8-bit PIC parts, review Microchip's PIC16F1xxx automotive lines.

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

Related Searches

PIC16F628T-04/SO PIC16F628T-04/SO datasheet Microchip PIC16F628 PIC16F628T-04/SO price PIC16F628 4MHz 8-bit microcontroller PIC16F628 18-SOIC flash MCU PIC16F628T-04/SO pinout PIC16F628 vs PIC16F84 PIC16F628 vs PIC16F628A PIC16F628T-04/SO drop-in replacement PIC16F628 ICSP programming PIC16F628 sensor controller where to buy PIC16F628T-04/SO what is the flash memory of PIC16F628 PIC16F628T-04/SO lead time stock

Related Components & Terms

Microchip Technology PIC16F628 PIC16F628T-04/SO PIC16F628-04/SO PIC16F628A-I/SO PIC16F628AT-I/SO PIC16F627 PIC16F18444 PIC16F84A 8-bit MCU PIC16 mid-range RISC architecture Flash memory EEPROM ICSP ICD CCP module Brown-out detect Watchdog timer SOIC-18 AEC-Q100 RoHS PICkit 5 MPLAB X IDE
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