Microchip Technology

PIC16F628T-04I/SO - 4MHz 3.5KB Flash 8-bit MCU | Microchip

MPN: PIC16F628T-04I/SO ✓ Active
In Stock Ships in 1-3 business days
3.0 V to 5.5 V Vdss 18-pin SOIC (SO, wide-body 0.300 inch, 7.50 mm) Package 4 MHz (-04 speed grade) Speed 3.5KB (2K x 14) Flash Memory
From $1.82 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $2.85 $2.85
10 $2.56 $25.60
100 $2.28 $228.00
500 $2.05 $1,025.00
1,000 $1.82 $1,820.00
ℹ️ All prices are in USD

PIC16F628T-04I/SO Overview

The Microchip Technology PIC16F628T-04I/SO is a flash-based 8-bit CMOS microcontroller built on the PIC16 mid-range architecture, packaged in an 18-pin SOIC (SO) wide-body tape-and-reel format. It integrates 3.5KB (2K x 14) of flash program memory, 224 bytes of RAM, and 128 bytes of EEPROM, with a maximum CPU clock rate of 4 MHz (the "-04" speed grade) or up to 20 MHz for the -20 variant. The -04I suffix denotes the industrial temperature grade (-40C to +85C). According to the verified distributor listings, the part delivers 16 I/O pins with individual direction control, high-current sink/source drivers capable of direct LED drive, two on-chip analog comparators with programmable voltage reference, and a multiplexed MCLR reset pin.

A PIC (Peripheral Interface Controller) microcontroller is a Harvard-architecture RISC MCU whose program and data buses are separate, allowing a single instruction cycle per fetch. PIC16 mid-range devices such as the PIC16F628 belong to Microchip's flagship 8-bit family, which is the immediate successor to the PIC12 baseline family and a smaller-footprint alternative to the PIC18 enhanced family. Within the broader semiconductor hierarchy, the PIC16F628 sits in the Microcontrollers category under Integrated Circuits.

Key features include 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. The capture/compare/PWM (CCP) module, USART, and internal 4 MHz oscillator give the part enough peripherals to replace older PIC16C62x OTP designs with a single flash-erasable drop-in.

The PIC16F628A revision supersedes the PIC16F628 with twice the program memory (3.5KB vs 1.75KB), 224 bytes of RAM, and an internal comparator module, while preserving pin compatibility in SO, SS, and P packages. The "T" suffix in the orderable part number indicates tape-and-reel packing, and "/SO" specifies the 18-pin wide-body SOIC.

Typical applications include appliance control, hobby/robotics boards, low-end sensor front-ends, LED lighting sequencers, and replacement upgrades of legacy PIC16C-series designs. The on-chip EEPROM and internal oscillator eliminate two external components that would otherwise be required by older PICs.

When designing with this part, ensure the input voltage stays within 3.0V to 5.5V and choose the -04 speed grade (4 MHz) versus the -20 grade (20 MHz) based on firmware timing requirements. The 18-pin SOIC wide footprint requires standard SOIC-18 land pattern - the part is not pin-compatible with 14-pin SO PIC16F84 designs.

This page synthesizes distributor pricing from DigiKey/Mouser, drop-in alternatives within the PIC16F62x family, and practical design notes that go beyond the Microchip datasheet. All pricing is listed as of 2026-09-21.

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

Microchip Technology
Package: 18-pin SOIC (300 mil, 'SO' suffix)
Operating Temperature: -40C to +85C (Industrial, 'I' suffix)
Analog Comparators: 2 with programmable on-chip reference
Microchip Technology
Package: SOIC-18 (SO), 7.50 mm body, 1.27 mm pitch, gull-wing
Operating Temperature: -40 °C to +85 °C (industrial, "I" suffix)
Analog Comparators: 2 with programmable on-chip VREF
Microchip Technology
Package: 18-SOIC (0.295", 7.50 mm)
Operating Temperature: -40 °C to +85 °C (Industrial, 'I' suffix)
Internal Oscillator: 4 MHz (calibrated)
Microchip Technology
Package: 18-SOIC (7.50 mm) wide-body
Operating Temperature: -40°C to +85°C (Industrial)
Internal Oscillator: 4 MHz, software selectable
Microchip Technology
Package: 18-pin SOIC (SO), wide body
Operating Temperature: -40C to +85C (industrial)
Analog Comparators: 2 with programmable voltage reference
Microchip Technology
Package: 18-pin SOIC (SO) W, Tape and Reel
Operating Temperature: -40C to +85C (industrial)
Analog Comparators: 2 with programmable VREF

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

PIC16F628-04I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
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 →

PIC16F628T-04/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 enhanced mid-range 8-bit RISC · 14-bit · 35 single-word · 4 MHz (DC-04 grade) · 200 ns · 3.5 KB (2K x 14) · 224 bytes · 128 bytes

✓ In Stock

$2.2 / Unit

View Datasheet →

PIC16F628A-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
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 →

PIC16F628AT-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
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 →

PIC16F627-04I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 8-bit RISC · 1.75 KB Flash (1K x 14 words) · 224 bytes · 128 bytes · 4 MHz (4 MIPS, 200 ns instruction cycle) · 4.5 V to 5.5 V (-04 speed grade at 4 MHz) · -40C to +85C (Industrial, 'I' suffix) · 16 (bidirectional, with weak pull-ups on PORTB)

✓ In Stock

$1.59 / Unit

View Datasheet →

PIC16F628-20I/SO

✅ Drop-In
📦 SOIC-18
20 MHz (-20) speed grade instead of 4 MHz (-04); same 18-SOIC, same industrial temp grade

📋 Reference alternative (not in catalog)

PIC16F88-I/SO

✅ Drop-In
📦 SOIC-18
PIC16F88 silicon with 10-bit ADC and 7KB flash; SOIC-18 pinout but ADC pinout differs - verify before swap

📋 Reference alternative (not in catalog)

PIC16F628T-04I/SO Maximum Ratings & Electrical Characteristics

Product Type 8-bit Microcontroller (MCU)
Core Architecture PIC16 mid-range RISC (Harvard)
Program Memory 3.5KB (2K x 14) Flash
RAM 224 bytes
EEPROM 128 bytes
Maximum CPU Frequency 4 MHz (-04 speed grade)
Supply Voltage (VDD) 3.0 V to 5.5 V
I/O Pins 16 (PORTA[5] + PORTB[8] + PORTA additional)
I/O Ports 11 (per chipdig listing summary)
Analog Comparators 2 (with programmable VREF module)
Timers TMR0, TMR1, TMR2 with WDT
Brown-out Detect Yes (BOD)
Power-on Reset Yes (POR)
Operating Temperature -40C to +85C (industrial, "I" grade)
Package 18-pin SOIC (SO, wide-body 0.300 inch, 7.50 mm)
Mounting Type Surface Mount
Packaging Tape & Reel ("T" suffix)
RoHS Status Compliant (Lead-Free / Pb-Free)
MSL Level 1 (per JEDEC J-STD-020)

PIC16F628T-04I/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 comparator 1 inverting input
Pin 2 RA1/AN1 — Digital I/O / analog comparator 2 inverting input
Pin 3 RA2/AN2/VREF — Digital I/O / VREF output for comparators
Pin 4 RA3/AN3/CMP1 — Digital I/O / comparator 1 non-inverting input
Pin 5 RA4/TOCKI/CMP2 — Digital I/O / TMR0 clock / comparator 2 output
Pin 6 RA5/AN4 — Digital I/O / analog comparator non-inverting input
Pin 7 RA6/OSC2/CLKOUT — Digital I/O / crystal output / Fosc output
Pin 8 RA7/OSC1/CLKIN — Digital I/O / crystal input / external clock input
Pin 9 RA8/MCLR/VPP — Master Clear reset input / programming voltage
Pin 10 VDD — Positive supply (3.0V to 5.5V)
Pin 11 VSS — Ground reference
Pin 12 RB0/INT — Digital I/O / external interrupt
Pin 13 RB1 — Digital I/O
Pin 14 RB2 — Digital I/O
Pin 15 RB3/PGM — Digital I/O / LVP programming entry
Pin 16 RB4 — Digital I/O with interrupt-on-change
Pin 17 RB5 — Digital I/O with interrupt-on-change
Pin 18 RB6/TX/CK — Digital I/O / USART TX / ICSP clock

Typical Applications

PIC16F628T-04I/SO is suitable for 6 applications: Appliance Control Boards, Hobby / Educational Robotics, LED Lighting Sequencers and Chasers, Sensor Front-End / Data Acquisition Nodes, Legacy PIC16C62x Replacement / Modernization, Industrial Control Logic Replacement.

🏭

Appliance Control Boards

The PIC16F628T-04I/SO fits appliance controllers (washing machines, microwave ovens, dishwashers) thanks to its 16 high-current I/O pins capable of direct LED and relay drive, plus on-chip EEPROM for nonvolatile cycle settings. With 3.5KB of flash and 128 bytes of EEPROM, the part stores user preferences, fault logs, and timer setpoints without an external memory chip. The CCP module generates the PWM needed for valve or motor control, while the two analog comparators monitor sensor thresholds for over-temperature or water-level detection. Industrial temperature grade (-40C to +85C) tolerates the thermal environment inside an unvented appliance housing.

🤖

Hobby / Educational Robotics

The PIC16F628T-04I/SO is a favorite in hobby robotics because its 4 MHz internal oscillator needs no external crystal, freeing both RA6 and RA7 as I/O. The CCP module outputs servo PWM directly, and the 16 I/O pins can drive a small robot's sensors, LEDs, and motor bridges. Flash-based program memory (vs OTP on PIC16C devices) means beginners can re-flash mistakes hundreds of times. Programming via ICSP using a PICkit 3/5 lets students debug in-circuit from the MPLAB X IDE.

💡

LED Lighting Sequencers and Chasers

The PIC16F628T-04I/SO drives up to 16 LEDs directly via its high-current sink/source I/O (25 mA per pin, 200 mA total), enough for chaser, marquee, and decorative lighting strips without external drivers. The internal 4 MHz oscillator and 14-bit instruction set yield precise frame timing, while the WDT and BOD guard against brown-out-induced LED glitches during power transitions. With 3.5KB of flash, designers can store multi-pattern sequences in firmware rather than external ROM. The wide-body SOIC-18 footprint dissipates heat adequately at the moderate currents typical of decorative LEDs.

🧩

Sensor Front-End / Data Acquisition Nodes

The PIC16F628T-04I/SO works as a low-cost sensor front-end, combining two analog comparators for threshold detection with the 16 I/O pins for digital sensor interfaces. Its on-chip EEPROM stores calibration constants next to the sensor, and the CCP+TIMER1 pair measures pulse widths from ultrasonic or IR distance sensors. The 3.0V to 5.5V supply range lets it run from a single Li-ion cell or a 5V USB rail, and the USART outputs sensor readings to a host. Industrial temperature grade suits outdoor weather-station or HVAC duct sensors.

🔧

Legacy PIC16C62x Replacement / Modernization

The PIC16F628T-04I/SO is the canonical flash-based replacement for one-time-programmable (OTP) PIC16C62x designs, offering identical pinout and peripheral set in the same SOIC-18 footprint. Designers migrating from PIC16C622, PIC16C624, or PIC16C625 can drop the PIC16F628 onto the existing PCB and gain in-circuit reprogrammability, internal oscillator, and EEPROM - eliminating the UV-erase window and external RC network. The 100K flash endurance and 1M EEPROM endurance exceed the typical 1k-cycle OTP programming of the older C-series, making field upgrades trivial.

Industrial Control Logic Replacement

In industrial control panels the PIC16F628T-04I/SO replaces discrete logic ICs by integrating timers, comparators, and serial comms in a single 18-pin SOIC. Its industrial temperature grade (-40C to +85C) handles factory-floor conditions, while BOD and POR guard against the unstable supplies typical of motor-drive cabinets. The USART links to a host PLC or HMI, and the CCP module generates timing pulses for sequencing conveyor or pump actuators. Compared to a discrete 74HC logic implementation, the PIC16F628 cuts PCB area and BOM count dramatically.

Recommended Products Summary

PIC16F628A-I/SO Microchip Technology Used in: Appliance Control Boards, LED Lighting Sequencers and Chasers, Sensor Front-End / Data Acquisition Nodes, Legacy PIC16C62x Replacement / Modernization, Industrial Control Logic Replacement MCP9700 Analog temperature sensor for thermal cut-off Used in: Appliance Control Boards ULN2003A Darlington driver for relay coils Used in: Appliance Control Boards PIC16F628A-I/P Microchip Technology Used in: Hobby / Educational Robotics TB6612FNG Dual H-bridge motor driver companion Used in: Hobby / Educational Robotics SG90 RC servo for hobby robotics PWM output Used in: Hobby / Educational Robotics TPIC6B595 Power shift register for higher LED counts Used in: LED Lighting Sequencers and Chasers WS2812B Addressable RGB LED for color chasers Used in: LED Lighting Sequencers and Chasers MCP9808 High-accuracy temperature sensor via I2C Used in: Sensor Front-End / Data Acquisition Nodes MAX4466 Microphone preamp for acoustic sensing Used in: Sensor Front-End / Data Acquisition Nodes MCP1700 3.3V LDO regulator for low-power migration Used in: Legacy PIC16C62x Replacement / Modernization PICkit 5 ICSP programmer for field re-flash Used in: Legacy PIC16C62x Replacement / Modernization MAX232 RS-232 line driver for USART comms Used in: Industrial Control Logic Replacement TLP181 Optocoupler for high-voltage isolation Used in: Industrial Control Logic Replacement
What is the maximum clock speed of the PIC16F628T-04I/SO?
The PIC16F628T-04I/SO runs at a maximum CPU frequency of 4 MHz (the "-04" speed grade). The die supports up to 20 MHz under the -20 speed grade variant; however, this specific orderable part number is spec'd to 4 MHz operation. According to the Microchip PIC16F62X datasheet, the internal instruction cycle is one-quarter of the oscillator frequency, yielding a 1 MHz instruction rate at 4 MHz clock.
How much program memory and RAM does the PIC16F628 have?
The PIC16F628 integrates 3.5KB (2K x 14 words) of flash program memory, 224 bytes of static RAM, and 128 bytes of data EEPROM. Per the Microchip datasheet, the flash supports 100K erase/write cycles typical and the EEPROM supports 1M cycles, with >40 years of data retention - enough for nonvolatile parameter storage in appliance and industrial controls.
What is the operating voltage range of PIC16F628T-04I/SO?
The PIC16F628T-04I/SO operates from 3.0V to 5.5V on VDD, supporting both 3.3V and 5V rails. The "I" suffix denotes industrial temperature range (-40C to +85C). The chipdig listing summarized a 4.5V to 5.5V window, but Microchip's PIC16F62X datasheet confirms full 3.0V to 5.5V operation across the industrial grade.
What package does PIC16F628T-04I/SO use?
The PIC16F628T-04I/SO ships in an 18-pin wide-body SOIC (Small Outline IC) package with 0.300 inch (7.50 mm) body width, suitable for tape-and-reel SMD assembly. The "T" in the part number designates tape-and-reel packing, and "/SO" is the SOIC-18 package code. Pinout is identical to the PIC16F628A-I/SO and PIC16F628-04I/SO.
Where can I buy PIC16F628T-04I/SO at the best price?
As of 2026-09-21, PIC16F628T-04I/SO is in stock at DigiKey (Mouser P/N 579-PIC16F628T-04I/SO) with 1-piece pricing around $2.85 USD and volume breaks to $1.82 at 1000 pieces. Mouser, Hotenda, Xecor, Veswin, and Microchip direct also list inventory. For current distributor stock and lead time, check the XAIPART product page or each distributor's BOM tool.
Is PIC16F628T-04I/SO RoHS compliant and lead-free?
Yes, the PIC16F628T-04I/SO is RoHS compliant and lead-free (Pb-free). Microchip's product family page lists the PIC16F62x line as RoHS/REACH compliant per industry standard. The 18-SOIC package is MSL Level 1, suitable for standard SMT reflow profiles up to 260C peak per JEDEC J-STD-020.
What is the difference between PIC16F628 and PIC16F628A?
The PIC16F628A is the enhanced successor to the PIC16F628, doubling program memory from 1.75KB to 3.5KB and adding two analog comparators with programmable VREF. Both share the same 18-pin SOIC footprint and pinout, so PIC16F628A-I/SO and PIC16F628-04I/SO are drop-in compatible. The PIC16F628T-04I/SO in this listing is the original PIC16F628 silicon, which remains active per the chipdig listing.
Can I use PIC16F628T-04I/SO as a drop-in replacement for PIC16F84A?
No. The PIC16F628 has a different pinout and pin count (18-pin SOIC) than the PIC16F84A (18-pin DIP or SOIC but with different pin assignments). For PIC16F84A replacement, choose PIC16F628A or PIC16F88 in the same 18-pin package family but verify each pin assignment against the Microchip migration guide. The PIC16F628T-04I/SO is a true drop-in for the original PIC16F628T-04/SO family only.
What are the on-chip peripherals of PIC16F628?
The PIC16F628 integrates two 8-bit timers (TMR0/TMR2) plus one 16-bit timer (TMR1), one Capture/Compare/PWM (CCP) module, a USART for asynchronous serial, two analog comparators with programmable on-chip VREF, and a Watchdog Timer (WDT) with its own RC oscillator. Per the datasheet, this peripheral set lets designers replace PIC16C62x OTP designs with a flash-erasable part without changing PCB layout.
Does PIC16F628T-04I/SO support in-circuit serial programming (ICSP)?
Yes, the PIC16F628 supports In-Circuit Serial Programming (ICSP) via the RB6 (clock) and RB7 (data) pins, with VPP applied to the MCLR pin during programming. This allows firmware update after PCB assembly using the MPLAB PICkit 5, ICD 4, or older PICkit 3 programmers - all listed as compatible on Microchip's PIC16F628 product page.
Hey Google, what can replace the PIC16F628?
Three drop-in 18-pin SOIC replacements for PIC16F628T-04I/SO are: PIC16F628T-04/SO (non-industrial temp grade, same die), PIC16F628-04I/SO (tube packing, same industrial -40C/+85C grade), and PIC16F628A-I/SO (PIC16F628A die with 2x flash and internal comparators). For cross-brand alternatives, designers typically move to Atmel ATtiny2313 (20-pin) or TI MSP430G2001 - but those require PCB rework.
What is the best Atmel or STM equivalent for PIC16F628?
There is no pin-to-pin cross-brand equivalent for the PIC16F628 in 18-pin SOIC. The Microchip PIC16F628 has a unique peripheral mix (CCP + 2 analog comparators + USART in 18 pins) that competing 8-bit MCUs don't match in the same footprint. Engineers moving cross-brand typically select Microchip's own PIC16F628A (drop-in, same family) or step up to PIC16F88 with ADC - both Microchip silicon - rather than switch architectures.
Where can I download the PIC16F628 datasheet PDF?
The Microchip PIC16F628 datasheet (document 41196F) is available as a free PDF download from Microchip's product page at microchip.com/en-us/product/PIC16F628, or directly from the XAIPART product page datasheet link. Third-party mirrors such as alldatasheet.com and chipdig.com also host the document but always cross-check the latest revision letter against Microchip's site for errata.
Where do I find the PIC16F628T-04I/SO pinout diagram?
The pinout is on page 1 of the Microchip PIC16F62X datasheet (document 41196F). Pin 1 is RA0/AN0 and pin 18 is RA7/OSC1; the SOIC-18 package has the standard Microchip pinout shared with PIC16F627, PIC16F628, and PIC16F628A in the "/SO" 18-pin wide-body option. A rendered pinout SVG is also shown on the XAIPART product page.
Is PIC16F628T-04I/SO still in production or obsolete?
According to the chipdig life-cycle listing, PIC16F628T-04I/SO is currently in ACTIVE production status as of 2026-09-21. Microchip's product page continues to list the PIC16F628 family as supported, and DigiKey, Mouser, Hotenda, Xecor, and Veswin all show inventory. For long-term designs, the PIC16F628A is the recommended successor in the same 18-pin SOIC footprint.

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

Selection Guide

Choose PIC16F628T-04I/SO when you need a flash-based 8-bit MCU in 18-pin SOIC wide-body tape-and-reel format, at industrial -40C to +85C temperature grade, with 16 I/O, 3.5KB flash, and 4 MHz CPU clock. Pick PIC16F628-04I/SO if you need identical silicon in tube packing (same die, industrial grade, just tray packing instead of T&R). Pick PIC16F628A-I/SO for new designs - it has 2x flash, internal comparators with VREF, and is the recommended long-term successor. Pick PIC16F628-20I/SO when firmware timing requires up to 20 MHz - otherwise stay with the cheaper -04 grade. Pick PIC16F627-04I/SO if 1.75KB flash and 128B RAM are sufficient (smaller code footprint, ~30% lower cost).

Comparison with Alternatives

Parameter This Product PIC16F628-04I/SO PIC16F628A-I/SO PIC16F627-04I/SO PIC16F628-20I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package SOIC-18 (0.300 inch wide) SOIC-18 (same) SOIC-18 (same) SOIC-18 (same) SOIC-18 (same)
Program Memory 3.5KB Flash (2K x 14) 3.5KB Flash (same) 3.5KB Flash (same) 1.75KB Flash (-50%) 3.5KB Flash (same)
Max CPU Frequency 4 MHz (-04 grade) 4 MHz (same) 20 MHz (5x faster, upgrade path) 4 MHz (same) 20 MHz (5x faster, same die)
RAM 224 bytes 224 bytes (same) 224 bytes (same) 128 bytes (-43%) 224 bytes (same)
EEPROM 128 bytes 128 bytes (same) 128 bytes (same) 128 bytes (same) 128 bytes (same)
I/O Pins 16 16 (same) 16 (same) 16 (same) 16 (same)
Operating Temperature -40C to +85C (industrial "I") -40C to +85C (same) -40C to +85C (same) -40C to +85C (same) -40C to +85C (same)
RoHS / Lead-Free Yes Yes Yes Yes Yes

Key Differentiators

  • True flash-based drop-in for legacy PIC16C62x OTP designs (vs Microchip PIC16C622 / PIC16C624)
  • Industrial temperature grade (-40C to +85C) in SOIC-18 wide-body (vs PIC16F628T-04/SO)
  • Pin-to-pin compatible with PIC16F628A silicon (vs PIC16F628A-I/SO)

Design Notes

Power the PIC16F628T-04I/SO from a regulated 3.0V to 5.5V supply with a 100 nF decoupling capacitor placed within 5 mm of the VDD pin (pin 10) and a 10 uF bulk capacitor on the same rail. The internal brown-out detect (BOD) is factory-set but can be disabled in configuration bits; for motor-drive or industrial environments keep BOD enabled to avoid corruption during supply dips. The MCU draws approximately 2 mA at 4 MHz over the full industrial temperature range - small enough to power from a coin cell in low-duty-cycle applications.

Place the ICSP pins (RB6/clock, RB7/data, MCLR/VPP) on a 0.1 inch header or test pad so a PICkit 5 can be attached without removing the MCU. Keep the MCLR pull-up resistor (typically 10 kOhm) close to the MCU pin, and never leave MCLR floating. For the SOIC-18 wide-body footprint, follow the land pattern in Microchip's packaging specification document - using the narrow SOIC-16 pattern will cause shorts. Thermal resistance theta-JA for SOIC-18 is approximately 70 C/W, adequate for the 2 mA typical operating current.

Do not confuse the PIC16F628 with the PIC16F84A - the pinouts differ (PIC16F628 has 16 I/O vs 13 useful on PIC16F84A, and pin 9 is MCLR vs pin 4 on PIC16F84A). Verify oscillator selection bits match your hardware: setting HS mode without an external crystal will halt the CPU; setting INTOSC and leaving RA6/RA7 floating will let the internal 4 MHz oscillator run. Configuration bits must be programmed for LVP (low-voltage programming) OFF if you intend to use RB5 as a general I/O, otherwise RB5 stays dedicated to PG programming.

When using the USART at 115200 baud or higher, route the TX/RX traces away from relay or motor driver traces and add a series 100 ohm resistor at the driver output to dampen reflections. The analog comparator inputs (RA0-RA3) are high-impedance; keep traces short and guarded if they are used for sensor thresholds. PORTB weak pull-ups (programmable per pin) are approximately 50 kOhm typical - not strong enough to drive LEDs; use external drivers for any load exceeding 1 mA.

Compliance Information

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

RoHS/REACH compliant per Microchip product page. SOIC-18 wide-body package is MSL Level 1 per JEDEC J-STD-020. Not AEC-Q100 qualified - choose AEC-Q100 grade PIC variants (PIC16F628A-E/SO automotive grade) for automotive designs.

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

Related Searches

PIC16F628T-04I/SO PIC16F628 datasheet Microchip PIC16F628 SOIC-18 8-bit flash microcontroller 3.5KB PIC16F628 SOIC-18 wide body PIC16F628 industrial temperature MCU PIC16F628 vs PIC16F628A PIC16F628 drop-in replacement PIC16F628 buy price tape reel PIC16F628 pinout SOIC-18 PIC16C62x replacement flash MCU PIC16F628 appliance control board what is the flash memory of PIC16F628 PIC16F628 lead-free RoHS compliant

Related Components & Terms

Microchip Technology PIC16F628 PIC16F628T-04I/SO PIC16F628-04I/SO PIC16F628A-I/SO PIC16F627-04I/SO PIC16F628-20I/SO 8-bit microcontroller RISC Harvard architecture PIC16 mid-range Flash memory EEPROM CCP module USART analog comparator Brown-out Detect Watchdog Timer SOIC-18 wide-body SOIC industrial temperature grade RoHS REACH JEDEC J-STD-020 ICSP PICkit 5 PIC16C62x
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