Microchip Technology

PIC16LF628T-04I/SO - 4MHz 8-bit PIC MCU, 3.5KB Flash | Microchip

MPN: PIC16LF628T-04I/SO ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 18-pin SOIC (SO, wide-body, 7.50 mm body, 1.27 mm pitch) Package 4 MHz Speed Flash Memory
From $1.95 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $3.42 $3.42
10 $3.08 $30.80
100 $2.74 $274.00
500 $2.45 $1,225.00
1,000 $2.18 $2,180.00
3,000 $1.95 $5,850.00
ℹ️ All prices are in USD

PIC16LF628T-04I/SO Overview

The Microchip PIC16LF628T-04I/SO is an 8-bit RISC Flash microcontroller in the PIC16F family, delivering 4 MHz CPU performance with 3.5 KB (2K x 14) of self-programmable Flash program memory in an 18-pin SOIC (SO) wide-body package supplied on Tape & Reel. The LF (low-power F) silicon supports a 2.0V to 5.5V supply window, enabling battery-friendly designs, and the device integrates 224 bytes of SRAM plus 128 bytes of data EEPROM for non-volatile parameter storage. The part suffix "-04" denotes the 4 MHz maximum oscillator, while "I" indicates the industrial -40C to +85C operating temperature range and "T" specifies Tape & Reel packaging.

What is a PIC16 microcontroller? PIC16 is Microchip's mid-range 8-bit RISC microcontroller family built on a Harvard architecture with separate program and data buses. The 14-bit instruction word PIC16 core delivers deterministic instruction timing (most instructions execute in one instruction cycle), making PIC16 devices popular for cost-sensitive embedded control where predictable timing, low power, and small footprint outweigh the throughput of 32-bit cores.

Key features include 16 digital I/O pins with individually programmable direction, two analog comparators with a programmable on-chip voltage reference, a USART for asynchronous/synchronous serial communication, one 8-bit and one 16-bit timer/counter, a PWM module, and a 10-bit ADC. Brown-out Reset (BOR), Power-on Reset (POR), and a Watchdog Timer with its own on-chip RC oscillator provide three layers of system safety. nanoWatt-style power management includes a low-power SLEEP mode and multi-frequency internal oscillator to reduce external component BOM.

The PIC16LF628T-04 architecture pairs the mid-range CPU with Harvard-separated Flash and EEPROM, allowing in-application self-programming via ICSP. The internal comparator reference and dual analog comparators enable standalone signal conditioning without an external op-amp, while the USART, PWM, and capture/compare peripherals cover the classic embedded-control toolbox for motor, power-converter, and sensor-interface roles.

Typical applications include low-power sensor nodes, automotive body and interior subsystems, HVAC fan/valve controllers, appliance user-interface boards, battery chargers, smart LED lighting controllers, and industrial telemetry outstations. The wide 2.0V-5.5V supply range suits 3.3V and 5V mixed-rail designs alike.

When designing with the PIC16LF628T-04I/SO, reserve the OSC1/OSC2 pins carefully if you need an external crystal - the internal RC oscillator can free these pins for general I/O. Programming is via ICSP using PGEDT/RB7 and PGC/RB6; ensure these pins are not held low at reset or in-circuit programming is blocked.

This page synthesizes distributor pricing, same-family and cross-family drop-in alternatives, and design notes not found in the manufacturer datasheet, providing an at-a-glance comparison matrix for sourcing and migration decisions.

Drop-in alternatives for PIC16LF628T-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 PIC16LF628T-04I/SO (same form factor and footprint) — differing in Package, Timers, I/O Pins, Operating Temperature, Communication.

Microchip Technology
Package: 18-pin SOIC (SO)
Timers: Timer0, Timer1, Timer2 with PWM
I/O Pins: 16 digital I/O
Microchip Technology
Package: 20-pin SSOP (5.30 mm body, 0.65 mm pitch)
Timers: Timer0 (8-bit), Timer1 (16-bit), Timer2 (8-bit)
I/O Pins: 16 (bidirectional, individual direction control)
Microchip Technology
Package: 18-SOIC (SOIC-18 wide, 7.5 mm body)
Timers: 2 x 8-bit + 1 x 16-bit (TMR0/TMR1/TMR2)
Communication: USART (SCI/SPI master)

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

No drop-in alternatives available for this product.

Request Alternatives

PIC16LF628T-04I/SO Maximum Ratings & Electrical Characteristics

Core Processor PIC
Core Size 8-bit
Core Family PIC16F
Maximum CPU Speed 4 MHz
Program Memory Type Flash
Program Memory Size 3.5 KB (2K x 14)
Data RAM 224 bytes
Data EEPROM 128 bytes
Supply Voltage (Vdd) 2.0 V to 5.5 V
I/O Pins 16
Comparators 2 analog comparators
Voltage Reference Programmable on-chip VREF
Timers 1x 8-bit + 1x 16-bit timer/counter
PWM Yes (Capture/Compare/PWM module)
Communication USART (UART/USART)
Package 18-pin SOIC (SO, wide-body, 7.50 mm body, 1.27 mm pitch)
Mounting Type Surface Mount
Operating Temperature -40C to +85C (Industrial)
MSL Level MSL1 (unlimited floor life per JEDEC J-STD-020)
RoHS Status Compliant
Lead-Free Yes

PIC16LF628T-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 RA2/AN2/VREF — GPIO RA2 / Analog input 2 / Voltage Reference output
Pin 2 RA3/AN3/CMP1 — GPIO RA3 / Analog input 3 / Comparator 1 output
Pin 3 RA4/T0CKI/CMP2 — GPIO RA4 / Timer0 clock input / Comparator 2 output (open-drain)
Pin 4 RA5/MCLR/Vpp — GPIO RA5 / Master Clear (Reset, active-low) / Programming voltage
Pin 5 VSS — Ground reference
Pin 6 RB0/INT — GPIO RB0 / External interrupt source
Pin 7 RB1/RX/DT — GPIO RB1 / USART RX / synchronous data
Pin 8 RB2/TX/CK — GPIO RB2 / USART TX / synchronous clock
Pin 9 RB3/CCP1 — GPIO RB3 / Capture-Compare-PWM 1
Pin 10 RB4/PGM — GPIO RB4 / Low-voltage ICSP programming
Pin 11 RB5 — GPIO RB5
Pin 12 RB6/PGC — GPIO RB6 / ICSP clock (serial programming)
Pin 13 RB7/PGD — GPIO RB7 / ICSP data (serial programming)
Pin 14 VDD — Positive supply voltage
Pin 15 OSC2/CLKOUT — Oscillator crystal output / clock output (Fosc/4)
Pin 16 OSC1/CLKIN — Oscillator crystal input / external clock input
Pin 17 RA0/AN0 — GPIO RA0 / Analog input 0
Pin 18 RA1/AN1 — GPIO RA1 / Analog input 1

Typical Applications

PIC16LF628T-04I/SO is suitable for 7 applications: Low-Power Wireless Sensor Node, Appliance User-Interface Board, Small DC Motor / Fan Speed Controller, Industrial Telemetry Outstation, Automotive Body Electronics, Smart LED Lighting Controller, Battery Charger / Power-Bank Controller.

🧩

Low-Power Wireless Sensor Node

The PIC16LF628T-04I/SO is well suited for battery-powered sensor nodes that transmit intermittently via a low-power RF module. Its 2.0V-5.5V supply range accepts a 2x AA alkaline pack directly, while the nanoWatt SLEEP mode keeps standby current below 1 uA. The 4 MHz CPU clock can wake, sample a sensor over the analog comparators, drive a UART-attached radio, and return to sleep within milliseconds. With 128 bytes of EEPROM available for trim/calibration constants and 224 bytes of SRAM for packet buffering, the device is engineered for years of battery life in remote monitoring, building automation, and agricultural telemetry.

🏭

Appliance User-Interface Board

The PIC16LF628T-04I/SO can drive user-interface subsystems on white goods and small appliances, scanning 4x4 button matrices and 7-segment / LCD displays. Its 16 I/O pins are sufficient for keypad plus LED/relay control, and the on-chip analog comparator with programmable VREF enables direct button-press detection via resistive dividers. The 5.5V-tolerant inputs tolerate automotive load-dump events, while the PWM module controls buzzer tones and indicator dimming. Combined with industrial -40C to +85C operation and long-term Microchip supply continuity, the PIC16LF628 is an appliance-grade fit.

🏭

Small DC Motor / Fan Speed Controller

The PIC16LF628T-04I/SO is appropriate for closed-loop speed control of small DC motors, fans, and pumps using its PWM module and analog comparator feedback. The Capture/Compare/PWM block delivers hardware-generated PWM at 4 MHz, freeing the CPU for soft-start and fault handling. The internal VREF and dual comparators enable zero-crossing or back-EMF detection without external op-amps, while EEPROM stores calibrated speed curves. Industrial temperature and 5.5V supply directly interface with 24V-rectified fan and pump systems via simple resistive dividers.

🏭

Industrial Telemetry Outstation

The PIC16LF628T-04I/SO serves as a remote terminal unit (RTU) outstation for industrial telemetry, reading 4-20 mA sensors via the on-chip comparators and reporting back over UART/USART to a host PLC or gateway. The 3.5 KB Flash holds Modbus RTU framing libraries, and 128 bytes of EEPROM retains configuration registers across power cycles. Brown-out Reset and Power-on Reset guarantee defined startup, while the Watchdog Timer recovers from software faults in unattended deployments. The wide 2.0V-5.5V supply enables direct operation from 24V industrial rails through a low-cost linear regulator.

🚗

Automotive Body Electronics

The PIC16LF628T-04I/SO is a fit for low-bandwidth automotive body and interior modules such as seat controllers, mirror adjusters, and ambient lighting drivers. Its 5.5V supply tolerance handles 12V battery transients through external clamping, and the industrial temperature grade operates reliably behind dashboards and door panels. The PWM and USART peripherals drive LIN-bus slaves via simple transceiver interfaces, and the integrated analog comparators monitor current-sense shunts for short-circuit detection. Microchip's PIC long-term supply program ensures multi-year continuity for automotive programs.

💡

Smart LED Lighting Controller

The PIC16LF628T-04I/SO controls addressable and dimmable LED strings in smart-lighting fixtures, combining PWM dimming with USART-driven digital protocols. The 16 I/O pins drive several LED channels and accept tactile or capacitive button inputs through the analog comparators, while the 4 MHz CPU handles DMX-512 or proprietary lighting protocols without external drivers. The 2.0V-5.5V supply range is compatible with both 3.3V digital logic and 5V analog stages, and the SOIC-18 package is friendly to high-density fixture PCBs.

⚡

Battery Charger / Power-Bank Controller

The PIC16LF628T-04I/SO can implement a single- or dual-cell Li-ion / NiMH charger controller, using its analog comparators for voltage and current regulation and its PWM for switch-mode control or linear-regulation driving. The on-chip VREF provides a precision reference for end-of-charge detection, while EEPROM stores charge profiles and safety timers across power cycles. The 2.0V-5.5V supply is appropriate for direct connection to 1S Li-ion / 2x NiMH packs, and the wide industrial temperature supports in-pack thermal environments.

What is the maximum clock speed of PIC16LF628T-04I/SO?
The PIC16LF628T-04I/SO runs at a maximum CPU clock of 4 MHz, as indicated by the "-04" speed suffix in the part number. According to Microchip's PIC16F627/628 datasheet, the 4 MHz version supports DC to 4 MHz operation across the full 2.0V to 5.5V supply range, making it suitable for low-power applications where 4 MIPS is sufficient throughput.
What is the difference between PIC16LF628T-04I/SO and PIC16LF628A-I/SO?
The PIC16LF628T-04I/SO is the 4 MHz industrial-grade tape-and-reel variant, while the PIC16LF628A-I/SO is the newer 'A' revision that runs up to 20 MHz and adds a 10-bit ADC plus enhanced USART. Both share the 18-pin SOIC footprint but the 'A' version provides 5x the CPU speed and an integrated ADC, at a modest cost premium.
How much program memory does PIC16LF628T-04I/SO have?
The PIC16LF628T-04I/SO contains 3.5 KB (2048 words x 14-bit) of Flash program memory, supporting in-application self-programming. This capacity is sufficient for typical mid-range PIC16 applications such as appliance controllers, sensor interfaces, and small motor drivers with state-machine firmware.
What is the operating voltage range of PIC16LF628T-04I/SO?
The PIC16LF628T-04I/SO operates from 2.0V to 5.5V, consistent with all 'LF' (low-voltage F) PIC16 devices. The wide window enables direct connection to 3.3V or 5V rails and supports battery-powered designs down to two alkaline cells, making the part flexible for mixed-rail systems.
Where can I download the PIC16LF628T-04I/SO datasheet?
The official Microchip datasheet for PIC16F627/628/648 is available at the Microchip documentation portal; the document covers electrical characteristics, timing diagrams, and peripheral configuration for the entire family. Search '41191' or 'PIC16F627/628' at microchip.com to locate the latest revision. XAIPART also surfaces a direct datasheet link on this product page.
Where to buy PIC16LF628T-04I/SO at the best price?
PIC16LF628T-04I/SO is in active distribution at Mouser and DigiKey as of 2026-09-25; pricing tiers shown on this page (USD 3.42 at qty 1 down to USD 1.95 at qty 3000) reflect recent distributor quotes. For high-volume production, request a direct factory quote from Microchip or authorized distributors to negotiate further volume breaks.
What is the lead time for PIC16LF628T-04I/SO?
As of 2026-09-25, PIC16LF628T-04I/SO shows active stock at major distributors with typical lead times of 2-6 weeks for tape-and-reel production quantities. Because this part has been in production for over two decades, Microchip typically maintains multi-year inventory continuity, but always confirm current stock before issuing a firm PO.
Is PIC16LF628T-04I/SO in stock right now?
Yes, distributor inventory for PIC16LF628T-04I/SO is reported as active across multiple channels as of 2026-09-25. Tape-and-reel stock in 1000-piece reels is generally available, and tube packaging variants may carry different lead times. Always confirm real-time stock at your preferred distributor before placing orders.
PIC16LF628T-04I/SO vs PIC16F628-04I/SO - which should I choose?
PIC16LF628T-04I/SO is the 'LF' (low-voltage Flash) variant operating down to 2.0V, while PIC16F628-04I/SO is the standard F variant operating down to 3.0V. Choose PIC16LF628T-04I/SO for 3.3V or 2-cell battery designs; choose PIC16F628-04I/SO when the supply is firmly 5V and you need a lower-cost unit. Both share identical pinout in 18-pin SOIC.
Is PIC16LF628T-04I/SO suitable for battery-powered applications?
Yes, the PIC16LF628T-04I/SO is well suited for battery-powered designs. The 'LF' designation confirms operation down to 2.0V, and combined with the device's nanoWatt SLEEP mode and multi-frequency internal oscillator it minimizes quiescent current. Typical standby currents under 1 uA enable multi-year battery life in intermittent sensor nodes.
What is the best drop-in replacement for PIC16LF628T-04I/SO?
The best drop-in replacements for PIC16LF628T-04I/SO are PIC16LF628AT-I/SO (newer 'A' revision, 20 MHz) and PIC16LF628-04I/SS (industrial SOIC tube version). Both share the same 18-pin footprint family and PIC16 mid-range instruction set, though the SSOP variant requires a smaller PCB land pattern than the wide-body SOIC.
Can PIC16LF628A-I/SO replace PIC16LF628T-04I/SO directly?
Yes, PIC16LF628A-I/SO is a drop-in replacement for PIC16LF628T-04I/SO on the 18-pin SOIC footprint. The 'A' revision adds a 10-bit ADC and supports up to 20 MHz CPU speed while retaining the same peripheral set, EEPROM size, and pinout. Code compiled for PIC16LF628 will run on PIC16LF628A, making it a transparent migration.
What is the pinout of PIC16LF628T-04I/SO?
PIC16LF628T-04I/SO is housed in an 18-pin SOIC with the standard PIC16F628 pinout: pin 1 = RA2/AN2/VREF, pin 2 = RA3/AN3/CMP1, pin 3 = RA4/T0CKI/CMP2, pin 4 = RA5/MCLR/Vpp, pin 5 = Vss, pin 6 = RB0/INT, pin 7 = RB1/RX/DT, pin 8 = RB2/TX/CK, pin 9 = RB3/CCP1, pin 10 = RB4/PGM, pin 11 = RB5, pin 12 = RB6/PGC, pin 13 = RB7/PGD, pin 14 = Vdd, pin 15 = OSC2/CLKOUT, pin 16 = OSC1/CLKIN, pin 17 = RA0/AN0, pin 18 = RA1/AN1. The XAIPART page renders this pinout visually for reference.
What are the key specifications of PIC16LF628T-04I/SO that engineers should know?
PIC16LF628T-04I/SO combines 3.5 KB Flash, 224 B SRAM, 128 B EEPROM, 16 I/O, two analog comparators with on-chip VREF, USART, PWM, 4 MHz CPU, 2.0V-5.5V supply, and -40C to +85C industrial temperature in an 18-pin SOIC. The on-chip peripherals cover most classic embedded-control tasks, and the wide supply window supports both 3.3V and 5V designs without level shifters.

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

Selection Guide

Choose PIC16LF628T-04I/SO when you need the lowest-cost 8-bit PIC16 in 18-SOIC for 3.3V or 2-cell battery applications that do not require an ADC and operate at 4 MHz. Choose PIC16LF628AT-I/SO when you need the same footprint plus a 10-bit ADC and 5x CPU speed (20 MHz), at modest cost premium. Choose PIC16LF628-04I/SO for the same die in tube packaging for prototype runs. Choose PIC16LF628-04I/SS for the SSOP shrink variant on the same 18-pin family footprint. Choose PIC16F628-04/SO only when you are certain the supply rail will be firmly 5V and want to avoid the 'LF' low-voltage silicon - otherwise stay on 'LF' for design margin. All alternatives share the same PIC16 mid-range instruction set, so firmware is portable across them.

Comparison with Alternatives

Parameter This Product PIC16LF628AT-I/SO PIC16LF628A-I/SO PIC16LF628-04I/SO PIC16LF628-04I/SS PIC16F628-04/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 18-pin SOIC (wide-body, T&R) 18-pin SOIC - same 18-pin SOIC - same 18-pin SOIC tube - same 20-pin SSOP - family footprint 18-pin SOIC - same
Maximum CPU Speed 4 MHz 20 MHz 20 MHz 4 MHz 4 MHz 4 MHz
Supply Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 3.0 V to 5.5 V
Program Memory 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash
Data EEPROM 128 bytes 128 bytes 128 bytes 128 bytes 128 bytes 128 bytes
I/O Pins 16 16 16 16 16 16
ADC None (comparator-based) 10-bit ADC 10-bit ADC None (comparator-based) None (comparator-based) None (comparator-based)
Temperature Grade Industrial -40C to +85C Industrial -40C to +85C Industrial -40C to +85C Industrial -40C to +85C Industrial -40C to +85C Industrial -40C to +85C
Packaging Format Tape & Reel Tape & Reel Tube Tube Tube Tube

Key Differentiators

  • Lowest-cost LF silicon in 18-pin SOIC (vs PIC16LF628A-I/SO)
  • Pin-compatible migration path to higher-integration PIC16 (vs PIC16F628-04/SO)
  • Industrial temperature grade in Tape & Reel (vs PIC16LF628-04I/SO)

Design Notes

The PIC16LF628T-04I/SO supports a 2.0V to 5.5V supply, so a single 3.3V LDO (e.g., MCP1700) or 2x AA alkaline cells directly power the device. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 14), and add a 10 uF bulk capacitor at the supply entry. Brown-out Reset should be enabled in CONFIG to guarantee defined reset behavior during supply collapse; configure BOR voltage threshold (BORV) to match your minimum operating rail.

When using an external crystal or resonator on OSC1/OSC2 (pins 16, 15), keep the trace length under 5 mm and surround the oscillator area with a ground pour to minimize EMI pickup. If the internal 4 MHz RC oscillator is acceptable, configure the FOSC config bits to INTOSC and free OSC1/OSC2 as general-purpose I/O (RA7/RB6 remap on 18-pin parts - check datasheet errata). Always keep ICSP lines RB6/PGC and RB7/PGD accessible to retain in-circuit programming access.

Avoid using MCLR as a regular GPIO - the MCLR/Vpp pin (pin 4) is required for ICSP programming and reset; leaving it floating or driving it low unintentionally will block programming or trigger spurious resets. Tie MCLR to VDD through a 10 kohm resistor, or disable MCLR via the MCLRE config bit if you have an alternate reset strategy. Also remember PIC16LF628 has no ADC; if you need ADC functionality, migrate to PIC16LF628A-I/SO or PIC16LF628AT-I/SO instead.

Estimated: at 4 MHz CPU clock with internal RC oscillator, the USART can run reliably up to 9600 baud with < 1% error; for higher baud rates (e.g., 115200) use the PIC16LF628A-I/SO upgrade part with 20 MHz CPU. When interfacing to RS-485 transceivers, add a 120 ohm termination at the bus ends and a fail-safe bias network of 680 ohm pull-up to 5V and 680 ohm pull-down to GND on the differential pair. Series resistors (10-22 ohm) on PGC/PGD lines improve EMI immunity during ICSP programming.

Compliance Information

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

PIC16LF628T-04I/SO is supplied in lead-free matte-tin plating and is RoHS/REACH compliant per Microchip product environmental compliance documentation. This part is NOT AEC-Q100 qualified - for automotive applications requiring AEC-Q100 grade 1 or 2, select a PIC16F1xx automotive-grade part (e.g., PIC16F18455) instead.

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

Related Searches

PIC16LF628T-04I/SO PIC16LF628T-04I/SO datasheet Microchip PIC16LF628T-04I/SO PIC16LF628 8-bit 4MHz SOIC microcontroller 18-pin SOIC PIC microcontroller 3.5KB Flash PIC16LF628T-04I/SO battery powered sensor PIC16LF628T-04I/SO vs PIC16LF628A PIC16LF628T-04I/SO drop-in replacement PIC16LF628T-04I/SO buy price tape reel what is the program memory size of PIC16LF628T-04I/SO PIC16LF628T-04I/SO pinout SOIC-18 low power PIC16 microcontroller industrial PIC16LF628T-04I/SO ICSP programming

Related Components & Terms

Microchip Technology PIC16LF628T-04I/SO PIC16LF628AT-I/SO PIC16LF628A-I/SO PIC16LF628-04I/SO PIC16LF628-04I/SS PIC16F628-04/SO PIC microcontroller PIC16F family 8-bit MCU RISC architecture Harvard architecture Flash memory EEPROM SRAM USART PWM Capture/Compare analog comparator voltage reference Brown-out Reset Power-on Reset Watchdog Timer ICSP nanoWatt technology 18-pin SOIC RoHS REACH AEC-Q100 JEDEC J-STD-020
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