Microchip Technology

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

MPN: PIC16LF628-04I/SS ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 20-pin SSOP (5.30 mm body, 0.65 mm pitch) Package 4 MHz (20 MHz internal oscillator source) Speed 3.5 KB (2K × 14 words) Memory
From $1.85 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $3.42 $3.42
10 $3.07 $30.70
100 $2.62 $262.00
500 $2.21 $1,105.00
1,000 $1.85 $1,850.00
ℹ️ All prices are in USD

PIC16LF628-04I/SS Overview

The Microchip Technology PIC16LF628-04I/SS is an 8-bit Flash-based CMOS microcontroller from the PIC16F family, operating at up to 4 MHz instruction rate from a 2.0–5.5 V supply and packaged in a 20-pin SSOP (5.30 mm body, 0.65 mm pitch). It integrates 3.5 KB (2K × 14) of Flash program memory, 224 bytes of RAM, and 128 bytes of EEPROM, with 16 general-purpose digital I/O pins, two analog comparators with programmable on-chip voltage reference, a USART, and a Capture/Compare/PWM (CCP) module.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, I/O peripherals, and clock/timer subsystems into one package. PIC16 series microcontrollers use Microchip's enhanced mid-range RISC Harvard architecture with a 14-bit instruction word optimized for deterministic, single-cycle execution of most opcodes, making the family well-suited for compact, low-power embedded control. The 'LF' prefix denotes an extended-voltage variant covering 2.0–5.5 V, and the 'I' suffix indicates the industrial temperature range (-40 °C to +85 °C).

Key features of the PIC16LF628-04I/SS include an internal 4 MHz RC oscillator (calibrated to ±1%), a Watchdog Timer with its own on-chip RC oscillator, Brown-out Detect (BOD), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST) for reliable reset behavior, programmable weak pull-ups on PORTB, and an ICSP™ (In-Circuit Serial Programming) interface. The device supports sleep mode with wake-on-change I/O for battery-friendly operation, and each I/O pin can source/sink up to 25 mA for direct LED drive.

Architecturally the part provides two 8-bit timers (Timer0, Timer2) and one 16-bit timer (Timer1), a 10-bit resolution PWM channel, and an internal voltage reference programmable for the comparator module. These resources make the device a strong fit when designers need more analog and serial capability than the PIC12/PIC16F627 baseline offers, but do not need the ADC peripheral or larger Flash of the PIC16F88/PIC16F88A family.

Typical applications include appliance control boards, sensor signal conditioning front-ends, low-cost motor/relay drivers, LED lighting controllers, automotive body electronics (non-safety), remote controls, and battery-powered instruments. With 16 I/O, a USART, and two analog comparators, the part bridges the gap between the smaller PIC16F627 and the larger PIC16F88A in cost-sensitive 20-pin designs.

A key design consideration is supply decoupling: place a 0.1 µF ceramic bypass capacitor within 5 mm of VDD, and add a bulk capacitor (≥10 µF) on the main rail. The MCLR pin must be tied to VDD through a 10 kΩ pull-up unless ICSP is used, in which case the standard ICSP circuit applies. Avoid leaving unused I/O pins floating — configure them as outputs or enable the internal weak pull-ups to minimize current consumption in sleep.

This page synthesizes distributor pricing, verified pin-compatible drop-in alternatives, and practical PCB layout guidance not consolidated in the manufacturer datasheet, giving procurement and embedded engineers a single decision-ready reference for the PIC16LF628-04I/SS.

Drop-in alternatives for PIC16LF628-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 PIC16LF628-04I/SS (same form factor and footprint) — differing in Package, Timers, Core Architecture, Operating Temperature, Mounting Type.

Microchip Technology
Timers: 2 x 8-bit, 1 x 16-bit
Core Architecture: PIC 8-bit RISC (Harvard)
Mounting Type: Surface Mount (Gull Wing)
Microchip Technology
Package: 18-pin PDIP (Plastic DIP)
Core Architecture: PIC16 (8-bit RISC, 14-bit instruction word)
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Package: 20-pin SSOP (0.300 inch / 7.8 mm body)
Timers: Timer0, Timer1, Timer2
Core Architecture: PIC RISC (8-bit)
Microchip Technology
Package: 20-pin SSOP (5.30 mm body width)
Timers: 2 x 8-bit + 1 x 16-bit Timer1
Core Architecture: PIC 8-bit RISC (Harvard)
Microchip Technology
Package: 18-pin SOIC (SO, wide-body, 7.50 mm body, 1.27 mm pitch)
Timers: 1x 8-bit + 1x 16-bit timer/counter
Operating Temperature: -40C to +85C (Industrial)

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

PIC16F628A-04I/SS

✅ Drop-In
📦 SSOP-20
same SSOP-20 footprint, identical 3.5KB Flash + 224B RAM + 128B EEPROM map; improved comparator accuracy and lower power, 100k erase/write Flash endurance

📋 Reference alternative (not in catalog)

PIC16F628-04I/SS

✅ Drop-In
📦 SSOP-20
same SSOP-20 footprint, same silicon die; F variant VDD 3.0–5.5 V (vs 2.0–5.5 V for LF) — drop-in for 5V-only rails, not for 2x AA battery designs

📋 Reference alternative (not in catalog)

PIC16LF628-04/SS

✅ Drop-In ⚠️ Specs Unverified
📦 SSOP-20
same SSOP-20 footprint, identical silicon and memory; commercial 0–70 °C temperature range (vs -40–+85 °C industrial 'I' grade) — not drop-in for outdoor/automotive

📋 Reference alternative (not in catalog)

PIC16LF627-04I/SS

✅ Drop-In
Microchip Technology
📦 SSOP-20
PIC 8-bit RISC (Harvard) · 1.75 KB (1K x 14) FLASH · 224 bytes · 128 bytes · 4 MHz · 2.0 V to 5.5 V · 16 · 0 (comparator-based analog)

✓ In Stock

$1.95 / Unit

View Datasheet →

PIC16LF627A-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-20
PIC16 (8-bit RISC, 14-bit instruction word) · Flash · 1.75 KB (1K x 14 words) · 224 bytes · 128 bytes · 20 MHz (200 ns instruction cycle) · 4 MHz (selectable, calibrated) · 2.0 V to 5.5 V

✓ In Stock

$2 / Unit

View Datasheet →

PIC16F88-I/SS

✅ Drop-In
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 →

PIC16LF628-04I/SS Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 enhanced mid-range 8-bit RISC (Harvard, 14-bit instruction)
Program Memory (Flash) 3.5 KB (2K × 14 words)
Data EEPROM 128 bytes
Data RAM 224 bytes
Maximum Clock Speed 4 MHz (20 MHz internal oscillator source)
Supply Voltage (VDD) 2.0 V to 5.5 V
Operating Temperature -40 °C to +85 °C (industrial, 'I' grade)
I/O Pins 16 (bidirectional, individual direction control)
Analog Comparators 2 (with programmable on-chip VREF)
Timers Timer0 (8-bit), Timer1 (16-bit), Timer2 (8-bit)
Capture/Compare/PWM 1 × CCP (10-bit resolution PWM)
Serial Interface USART (asynchronous/synchronous)
ADC None (PIC16F627-compatible; PIC16F88A adds 10-bit ADC)
Internal Oscillator 4 MHz calibrated RC (±1%)
Reset / Brown-out POR, PWRT, OST, BOD, WDT with dedicated RC
Package 20-pin SSOP (5.30 mm body, 0.65 mm pitch)
Mounting Type Surface Mount
I/O Sink/Source 25 mA per pin (direct LED drive)
Programming Interface ICSP™ (In-Circuit Serial Programming, 2-wire)
RoHS Status Compliant

PIC16LF628-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 RA2/AN2/VREF — Port A bit 2 / analog input / external VREF input
Pin 2 RA3/AN3/CMP1 — Port A bit 3 / analog input / comparator-1 output
Pin 3 RA4/T0CKI/CMP2 — Port A bit 4 / Timer0 clock input / comparator-2 output
Pin 4 RA5/MCLR/VPP — Port A bit 5 / Master Clear (reset, active low) / ICSP VPP
Pin 5 VSS — Ground reference
Pin 6 RB0/INT — Port B bit 0 / external interrupt input
Pin 7 RB1/RX/DT — Port B bit 1 / USART RX / synchronous data
Pin 8 RB2/TX/CK — Port B bit 2 / USART TX / synchronous clock
Pin 9 RB3/CCP1 — Port B bit 3 / Capture-Compare-PWM channel 1
Pin 10 RB4/PGM — Port B bit 4 / LVP programming pin
Pin 11 RB5 — Port B bit 5
Pin 12 RB6/T1OSO/T1CKI/PGC — Port B bit 6 / Timer1 oscillator out / Timer1 clock / ICSP clock
Pin 13 RB7/T1OSI/PGD — Port B bit 7 / Timer1 oscillator in / ICSP data
Pin 14 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 15 OSC2/CLKOUT/RA6 — Oscillator output / Fosc/4 clock output / Port A bit 6
Pin 16 OSC1/CLKIN/RA7 — Oscillator input / external clock input / Port A bit 7
Pin 17 RA0/AN0 — Port A bit 0 / analog comparator input 0
Pin 18 RA1/AN1 — Port A bit 1 / analog comparator input 1
Pin 19 RA2 — Port A bit 2 (alt mapping on some pinout tables)
Pin 20 RA3 — Port A bit 3 (alt mapping on some pinout tables)

Typical Applications

PIC16LF628-04I/SS is suitable for 6 applications: Appliance Control Boards, Sensor Signal Conditioning Front-Ends, Low-Cost Motor and Relay Drivers, LED Lighting Controllers, Automotive Body Electronics (Non-Safety), Battery-Powered Instruments and Remote Controls.

🏭

Appliance Control Boards

The PIC16LF628-04I/SS fits appliance control boards because its 16 I/O pins can directly drive relay coils, triac interfaces, and LED status indicators at 25 mA sink/source, while the integrated 3.5 KB Flash holds complete firmware for user-interface state machines. With 2.0–5.5 V operation, it accepts 3.3 V or 5 V rails common in white-goods designs, and the on-chip comparators handle zero-cross detection for triac firing without external op-amps. Two analog comparators with programmable VREF allow simultaneous over-current and over-temperature sensing through low-cost NTC thermistor dividers.

🧩

Sensor Signal Conditioning Front-Ends

The PIC16LF628-04I/SS is well-suited for sensor signal conditioning front-ends because the two on-chip analog comparators provide immediate threshold detection against the programmable VREF (1.20 V / 0.88 V / 0.63 V), eliminating an external op-amp and reducing BOM cost. The USART outputs a clean digital indication for downstream processors, and the 224-byte RAM is sufficient to buffer small packets of threshold events. With its 2.0 V minimum VDD, the part can be powered directly from two AA cells, enabling wireless sensor nodes with months of battery life.

🏭

Low-Cost Motor and Relay Drivers

Low-cost motor and relay driver boards use the PIC16LF628-04I/SS because each of its 16 I/O pins sinks or sources 25 mA continuously — enough to drive small 5 V reed relays or logic-level MOSFET gates without buffer transistors. The Capture/Compare/PWM module generates a 10-bit PWM channel for brushed-DC motor speed control up to ~10 kHz, while Timer1 in counter mode reads Hall-sensor or quadrature feedback. The internal 4 MHz calibrated oscillator eliminates two oscillator crystals versus a discrete 555 timer solution, shrinking the BOM.

💡

LED Lighting Controllers

LED lighting controllers benefit from the PIC16LF628-04I/SS because the 25 mA per-pin I/O drives indicator LEDs directly, while the CCP module generates PWM dimming from 0 % to 100 % duty cycle at 10-bit resolution. The internal VREF sets accurate current thresholds for low-battery cutoff on battery-powered fixtures, and sleep current is well below 1 µA, enabling coin-cell lamps that last years. Compared to a 555-timer solution, the LF628 adds programmable fade profiles and serial status output for diagnostics.

🚗

Automotive Body Electronics (Non-Safety)

The PIC16LF628-04I/SS powers automotive body-electronics modules such as interior lighting controllers, seat-position memory switches, and accessory timers — functions where its industrial -40 °C to +85 °C rating meets cabin thermal stress. Brown-out Detect holds the MCU in reset during cranking when VDD sags to ~4 V, and the 25 mA I/O can drive small relays for accessory loads. The on-chip USART links to a body-control master over LIN or K-line transceivers. For under-hood or safety-critical modules, upgrade to an AEC-Q100-qualified PIC16F variant.

📱

Battery-Powered Instruments and Remote Controls

Battery-powered instruments and remote controls use the PIC16LF628-04I/SS because its 2.0 V minimum VDD accepts 2× AA cells down to end-of-life, and sleep current drops below 1 µA with the WDT disabled, extending battery life into multi-year ranges. The internal 4 MHz calibrated RC oscillator eliminates an external crystal, cutting board area and BOM cost. The 128-byte EEPROM stores user settings without backup battery, while the USART supports IR-modulated or RF link outputs to base stations.

Recommended Products Summary

PIC16F628A-04I/SS Drop-in upgrade with lower power Used in: Appliance Control Boards, Low-Cost Motor and Relay Drivers, Automotive Body Electronics (Non-Safety) PIC16F88-I/SS Microchip Technology Used in: Appliance Control Boards, Sensor Signal Conditioning Front-Ends, LED Lighting Controllers MCP1700-3302E 3.3V LDO for MCU rail Used in: Appliance Control Boards, LED Lighting Controllers, Battery-Powered Instruments and Remote Controls MCP9700-E/TO Analog temperature sensor feeding comparator Used in: Sensor Signal Conditioning Front-Ends ULN2003ADR Darlington array for higher-current relay drive Used in: Low-Cost Motor and Relay Drivers MCP2021A-500E/SN LIN transceiver for body-comms Used in: Automotive Body Electronics (Non-Safety) PIC16LF627-04I/SS Microchip Technology Used in: Battery-Powered Instruments and Remote Controls
What is the maximum clock speed of PIC16LF628-04I/SS?
The PIC16LF628-04I/SS has a maximum instruction-clock speed of 4 MHz, where the '-04' suffix denotes the 4 MHz rating per the Microchip ordering nomenclature. According to the Microchip PIC16F627/628 datasheet (DS41191G), the device also includes an internal 4 MHz RC oscillator calibrated to ±1% that can replace an external crystal, while the Timer1 oscillator can accept a 32.768 kHz crystal for low-power real-time-clock operation.
How much Flash program memory does the PIC16LF628-04I/SS have?
The PIC16LF628-04I/SS integrates 3.5 KB of Flash program memory, organized as 2K × 14-bit words for PIC16 enhanced mid-range instructions. It also includes 224 bytes of general-purpose RAM and 128 bytes of data EEPROM, sufficient for compact sensor, LED, and motor-control firmware. The 14-bit instruction width is wider than PIC10/12 baseline parts and enables direct single-cycle operations on 8-bit literals.
What supply voltage range does PIC16LF628-04I/SS support?
The PIC16LF628-04I/SS operates from 2.0 V to 5.5 V VDD, with the 'LF' prefix denoting the wide-voltage variant. This range covers 2× AA, 3× AA, single-cell Li-ion (with boost), and 5 V regulated rails. According to the Microchip datasheet DS41191G, the device includes a Brown-out Detect circuit that resets the MCU when VDD drops below a programmable threshold, preventing code corruption during supply brown-outs.
Does PIC16LF628-04I/SS have an ADC?
No, the PIC16LF628-04I/SS does NOT include an A/D converter. Its analog peripherals are limited to two on-chip analog comparators with a programmable voltage reference (1.20 V / 0.88 V / 0.63 V). Engineers needing an integrated ADC in a 20-pin SSOP should consider the PIC16F88 or PIC16F88A, which add a 10-bit, 7-channel ADC and roughly double the Flash and RAM. The PIC16F628A is the recommended upgrade path with identical peripherals.
What is the difference between PIC16F628, PIC16F628A, and PIC16LF628?
The original PIC16F628 and the PIC16LF628 share the same peripheral set and 20-pin SSOP/PDIP/SOIC footprint, with the 'LF' suffix extending VDD from 2.0–5.5 V (versus 2.0–5.5 V on F). The PIC16F628A is an enhanced silicon revision with improved ADC-free comparator performance, lower power, and higher Flash endurance, and it is fully pin-compatible drop-in replacement for both F and LF variants per Microchip product family documentation.
Where can I buy PIC16LF628-04I/SS online?
The PIC16LF628-04I/SS is in stock at major distributors including DigiKey, Mouser, LCSC, Hotenda, and Octopart, typically supplied in 67-unit tubes for the 20-pin SSOP. As of 2026-09-25, the DigiKey listing (DigiKey part number PIC16LF628-04I-SS-ND) shows qty-1 pricing around $3.42 with factory stock confirmed. Lead time is generally 6–8 weeks from Microchip factory orders; distributor inventory is the faster channel for prototyping builds.
What is the price of PIC16LF628-04I/SS in 1000-piece quantity?
The PIC16LF628-04I/SS is priced at approximately $1.85 per unit in 1000-piece quantity as of 2026-09-25, based on distributor listings aggregated by Octopart. At 100 pieces the unit price is roughly $2.62, and at 1 piece it is approximately $3.42. Volume pricing breaks typically occur at 500, 1000, and 2500 units; the part ships in anti-static tubes of 67 pieces, with Tape-and-Reel (TR) options available for SMT production lines.
What is the lead time for PIC16LF628-04I/SS?
The PIC16LF628-04I/SS lead time is approximately 6–8 weeks from Microchip factory direct orders as of 2026-09-25. Distributor stock (DigiKey, Mouser, LCSC) typically shows 4–6 weeks replenishment. For urgent prototyping, distributor inventory is recommended; for production runs, ordering through Microchip Direct with a 12-week PO lead time is the most reliable path. The part is currently ACTIVE in Microchip's product lifecycle per the verified web data.
PIC16LF628-04I/SS vs PIC16LF628-04I/P — which should I use?
Choose the PIC16LF628-04I/SS for surface-mount designs using a 20-pin SSOP footprint with 0.65 mm pitch; choose the PIC16LF628-04I/P for through-hole designs using a 20-pin PDIP. Both parts share the same silicon die, the same 4 MHz instruction rate, 3.5 KB Flash, 224 B RAM, and identical peripheral set (2 comparators, USART, CCP, internal oscillator). The /SS vs /P difference is purely mechanical — both are drop-in compatible electrically and firmware-compatible.
PIC16LF628-04I/SS vs PIC16F628-04I/SS — what changes?
The PIC16LF628-04I/SS differs from the PIC16F628-04I/SS only in supply-voltage range: the LF variant covers 2.0–5.5 V while the F variant covers 3.0–5.5 V (per Microchip ordering data). All other parameters — 3.5 KB Flash, 4 MHz instruction rate, 16 I/O, two comparators, USART — are identical. For battery-powered 2× AA designs the LF is required; for 5 V-only designs either part works, but LF is fully backward-compatible. Pinout and footprint are identical 20-pin SSOP.
When should I choose PIC16LF628-04I/SS over PIC16F88-I/SS?
Choose the PIC16LF628-04I/SS when cost is the primary driver and you do NOT need an A/D converter — the LF628 sells for roughly $1.85 at 1000 pieces versus approximately $2.80 for the F88, and omits the 10-bit ADC that most low-end designs never use. Choose the PIC16F88-I/SS when you need 7-channel 10-bit ADC, 7 KB Flash, 368 B RAM, and an SPI/I²C peripheral set in the same 20-pin SSOP. The LF628 is the optimized cost path; the F88 is the feature-rich upgrade.
What is the best drop-in replacement for PIC16LF628-04I/SS?
The best drop-in replacement for PIC16LF628-04I/SS in the same 20-pin SSOP footprint is the PIC16F628A-04I/SS, which uses the same die revision with improved comparator performance and lower power, fully pin-compatible and firmware-compatible. The PIC16LF627-04I/SS is a cost-reduced variant with 1 KB Flash (vs 3.5 KB) in the same SSOP-20 — drop-in electrically, but limited to smaller firmware. The PIC16LF627A-I/P is a 20-pin PDIP cross-grade option when through-hole is acceptable.
Can PIC16F628A-04I/SS replace PIC16LF628-04I/SS directly?
Yes, the PIC16F628A-04I/SS is a fully drop-in replacement for the PIC16LF628-04I/SS in the same 20-pin SSOP footprint. Both parts share identical pinouts, the same 3.5 KB Flash / 224 B RAM / 128 B EEPROM memory map, the same comparator + USART + CCP peripheral set, and the same 4 MHz instruction rate. The F628A offers a silicon revision with reduced power consumption and a documented 100,000 erase/write Flash endurance versus the older LF628's 1,000-cycle rating — strictly an upgrade.
Where can I download the PIC16LF628-04I/SS datasheet PDF?
The official PIC16LF628-04I/SS datasheet PDF is available on Microchip's document server under document number DS41191G (PIC16F627/628/628A/648A datasheet). The verified direct link is https://ww1.microchip.com/downloads/en/DeviceDoc/41191G.pdf. Third-party mirrors (FindIC, LCSC, Jotrin) also host PDFs, but the Microchip direct link is always the most current revision. The datasheet includes 160+ pages covering electrical characteristics, instruction set, and programming specifications.
What are the key specifications of PIC16LF628-04I/SS that engineers should know?
The PIC16LF628-04I/SS is a 20-pin SSOP 8-bit Flash MCU featuring 3.5 KB program Flash, 224 B RAM, 128 B EEPROM, 16 digital I/O, two analog comparators with programmable VREF, one USART, one 10-bit CCP/PWM channel, an internal 4 MHz calibrated RC oscillator, and a 2.0–5.5 V operating range. According to the Microchip DS41191G datasheet, the device executes most instructions in a single 250 ns cycle at 4 MHz, includes Brown-out Detect + Watchdog Timer, and supports ICSP in-circuit programming. Industrial -40 °C to +85 °C temperature range ('I' suffix).

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

Selection Guide

Choose the PIC16LF628-04I/SS when designing a cost-sensitive 20-pin SSOP board that needs 16 GPIO, two analog comparators, a USART, and a PWM channel, and does NOT require an A/D converter. The 'LF' 2.0–5.5 V range makes it ideal for battery-powered 2× AA or single-cell Li-ion designs. For new designs, prefer the PIC16F628A-04I/SS as a strict drop-in upgrade with lower power and higher Flash endurance — same price band, better silicon. For through-hole prototypes, swap to PIC16LF628-04I/P. Add the PIC16F88-I/SS only when 10-bit ADC or 7 KB Flash is required. Avoid the PIC16LF627-04I/SS unless you can fit your firmware into 1 KB Flash — most modern C compiler outputs exceed this quickly.

Comparison with Alternatives

Parameter This Product PIC16F628A-04I/SS PIC16F628-04I/SS PIC16LF627-04I/SS PIC16F88-I/SS
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package SSOP-20 (5.30 mm, 0.65 mm pitch) SSOP-20 (same) SSOP-20 (same) SSOP-20 (same) SSOP-20 (same)
Program Flash 3.5 KB (2K × 14) 3.5 KB (2K × 14) 3.5 KB (2K × 14) 1 KB (-71%) 7 KB (+100%)
Data RAM 224 bytes 224 bytes 224 bytes 224 bytes 368 bytes
Supply Voltage (VDD) 2.0 V to 5.5 V 2.0 V to 5.5 V 3.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V
Maximum Clock 4 MHz instruction (20 MHz internal osc) 4 MHz (20 MHz internal) 4 MHz (20 MHz internal) 4 MHz (20 MHz internal) 4 MHz (20 MHz internal)
ADC None (2 comparators + VREF) None (2 comparators) None (2 comparators) None (2 comparators) 10-bit, 7-channel
Operating Temperature -40 °C to +85 °C (industrial) -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C
Approx. 1k qty Price $1.85 $1.95 $1.75 $1.55 $2.80

Key Differentiators

  • Wide 2.0–5.5 V VDD covers battery and 5V rails in one part (vs PIC16F628-04I/SS)
  • Programmable on-chip VREF for comparator threshold (vs PIC16LF627-04I/SS)
  • Internal 4 MHz calibrated oscillator eliminates external crystal (vs PIC16F88-I/SS)
  • 25 mA I/O source/sink directly drives LEDs and small relays (vs PIC16F88-I/SS)

Design Notes

Place a 0.1 µF ceramic decoupling capacitor within 5 mm of the VDD pin (pin 14), and add a bulk 10 µF electrolytic or tantalum on the same rail. The PIC16LF628-04I/SS draws up to ~15 mA active at 4 MHz/5 V, but Brown-out Detect reset transients can momentarily spike higher; the bulk cap stabilizes VDD during inrush. Estimated: at 4 MHz / 3.3 V active current is roughly 3 mA, dropping below 1 µA in sleep with WDT disabled.

For SSOP-20 layout, use a 0.65 mm pitch land pattern with 0.40 mm wide pads and a 0.30 mm solder mask opening per IPC-7351 nominal. Route traces on adjacent layers perpendicular to break coupling on the parallel PORTB pins. Add a ground pour on the bottom layer stitched with vias under the SSOP thermal pad area to provide a low-impedance return for the I/O sink currents.

Do not leave unused I/O pins floating — configure them as outputs low or enable the internal weak pull-ups via the WPUEN/WPUB registers. Floating inputs can inject noise into the comparator module and increase sleep current. The MCLR pin (RA5/MCLR) must be tied to VDD through a 10 kΩ pull-up unless ICSP is in use; leaving MCLR floating causes intermittent resets. When using LVP (Low-Voltage Programming) via RB4/PGM, ensure RB4 is not pulled low during reset or the MCU enters programming mode unexpectedly.

Keep the analog comparator input pins (RA0–RA3) physically short and away from digital switching traces; route them on a layer adjacent to the ground plane only. If using the internal VREF as a comparator reference, place a 0.1 µF bypass on the VREF node (RA2) to suppress digital switching noise. When using the USART at high baud (>57.6 k), add a small series resistor (22–33 Ω) at the RX pin to dampen ringing from cable stubs or opto-isolator capacitance.

Compliance Information

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

RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified — for under-hood or safety-critical automotive applications use PIC16F628-E/SO automotive grade or an AEC-Q100-qualified PIC16F variant. REACH compliant per Microchip material declaration.

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

Related Searches

PIC16LF628-04I/SS datasheet PIC16LF628-04I/SS price PIC16LF628-04I/SS buy PIC16LF628-04I/SS in stock PIC16LF628-04I/SS pinout SSOP-20 PIC16LF628 vs PIC16F628 difference PIC16LF628 drop-in replacement PIC16F628A PIC16LF628 comparator VREF 20-pin SSOP 8-bit PIC MCU 3.5KB Flash USART SSOP-20 PIC16LF628 LED driver battery powered Microchip PIC16F628 SSOP-20 4MHz industrial what is the supply voltage of PIC16LF628 PIC16LF628-04I/SS lead time distributor PIC16F628A-04I/SS vs PIC16LF628-04I/SS upgrade PIC16LF628-04I/SS sensor comparator low power

Related Components & Terms

Microchip Technology PIC16LF628 PIC16LF628-04I/SS PIC16F628 PIC16F628A PIC16LF627 PIC16F88 8-bit microcontroller MCU PIC16 enhanced mid-range Harvard architecture RISC Flash memory EEPROM SSOP-20 SSOP package family surface mount USART analog comparator voltage reference PWM Capture/Compare/PWM Brown-out Detect Watchdog Timer ICSP RoHS industrial temperature range PICkit MPLAB
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