Microchip Technology

PIC16LF628A-I/ML - 8-bit 20MHz 3.5KB Flash MCU 28-QFN | Microchip

MPN: PIC16LF628A-I/ML ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 28-QFN (6x6 mm) with exposed pad Package 20 MHz Speed 3.5 KB (2K x 14) Memory
From $2.52 USD / Unit
MOQ: 1 |
Price updated: 2026-09-25
Volume Pricing
Qty Unit Price Extended
1 $4.2 $4.20
10 $3.78 $37.80
100 $3.36 $336.00
500 $2.94 $1,470.00
1,000 $2.52 $2,520.00
ℹ️ All prices are in USD

PIC16LF628A-I/ML Overview

The Microchip Technology PIC16LF628A-I/ML is a FLASH-based 8-bit CMOS microcontroller built on the PIC16 RISC core, offering 20 MHz operation, 3.5 KB (2K x 14) of program Flash memory and 224 bytes of SRAM, in a 28-pin QFN (6x6 mm) package with an exposed thermal pad. The 'LF' family variant is the low-power counterpart to the PIC16F628A, designed to operate across a wide 2.0 V to 5.5 V supply range with nanoWatt sleep current typically used in battery-powered and energy-harvesting designs.

An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), working RAM, non-volatile EEPROM, and a set of peripherals (timers, ADC, USART, comparators) into one package. The PIC16 family is one of Microchip's mid-range MCU architectures, positioned between the baseline PIC10/12/16 and the high-performance PIC18/PIC24/dsPIC families in the broader embedded microcontroller hierarchy (8-bit MCU -> microcontroller -> embedded IC -> semiconductor). The 'LF' variant targets low-voltage and ultra-low-power applications where every microamp of quiescent current matters.

Key features include 128 bytes of data EEPROM, 16 digital I/O pins, two analog comparators, a capture/compare/PWM (CCP) module, a USART with hardware addressing, and a 10-bit ADC on selected ports. Internal 4 MHz and 37 kHz oscillators are provided, and an external oscillator is supported. The 35 instructions set and 14-bit instruction word keep code density high while the Harvard RISC pipeline executes most instructions in one instruction cycle.

Typical applications include remote controls, sensor interface modules, small motor/relay drivers, low-end security keypads, hobby robotics, and battery-powered instrumentation where the wide 2.0-5.5 V supply simplifies single-cell Li-ion or 2x AA design. The 28-QFN (ML) footprint also enables compact PCB layouts in space-constrained consumer and IoT nodes.

When designing with this part, allocate the 16 GPIO wisely - several pins are multiplexed with the ADC, comparators, oscillator and the ICP/CCP/peripheral functions. Place decoupling on VDD/AVDD/VSS/AVSS, follow Microchip's QFN-6x6 land pattern for thermal relief, and use ICD/ICSP headers for in-circuit debug.

This page combines distributor pricing, drop-in 28-QFN alternatives, and design notes to give a faster path to a BOM decision than the manufacturer datasheet alone.

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

Microchip Technology
Core Architecture: 8-bit PIC RISC (mid-range)
Internal Oscillator: 4 MHz and 37 kHz (nanoWatt)
Operating Temperature: -40 C to +85 C

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

PIC16LF628A-I/MLG

✅ Drop-In ⚠️ Specs Unverified
📦 28-QFN (6x6 mm)
Lead-free / Pb-free tube variant of the same die and footprint, identical 3.5 KB Flash, 224 B SRAM, 128 B EEPROM and 2.0-5.5 V supply

📋 Reference alternative (not in catalog)

PIC16F628A-I/ML

✅ Drop-In
📦 28-QFN (6x6 mm)
Identical die and 28-QFN footprint, but supply range starts at 4.5 V instead of 2.0 V; same 3.5 KB Flash and 20 MHz core

📋 Reference alternative (not in catalog)

PIC16LF627A-I/ML

✅ Drop-In ⚠️ Specs Unverified
📦 28-QFN (6x6 mm)
Pin-compatible 28-QFN, Flash reduced from 3.5 KB to 1.75 KB (-50%), same 224 B SRAM, 128 B EEPROM, 2.0-5.5 V supply

📋 Reference alternative (not in catalog)

PIC16LF628AT-I/ML

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 28-QFN (6x6 mm)
8-bit PIC RISC (mid-range) · 3.5 KB (2K x 14) · 224 bytes · 128 bytes · 20 MHz · 2.0 V to 5.5 V · 16

✓ In Stock

$0.92 / Unit

View Datasheet →

PIC16F628A-E/ML

✅ Drop-In ⚠️ Specs Unverified
📦 28-QFN (6x6 mm)
Extended (-40 C to +125 C) temperature grade vs -40 to +85 C industrial; same 28-QFN footprint, 3.5 KB Flash, 4.5-5.5 V supply

📋 Reference alternative (not in catalog)

PIC16LF628A-I/ML Maximum Ratings & Electrical Characteristics

Core Architecture PIC16 8-bit RISC (Harvard)
Program Memory (Flash) 3.5 KB (2K x 14)
Data EEPROM 128 bytes
Data SRAM 224 bytes
Maximum CPU Frequency 20 MHz
Supply Voltage Range 2.0 V to 5.5 V
I/O Pins 16
Comparators 2
CCP Modules 1
USART Yes (with hardware addressing)
Internal Oscillator 4 MHz and 37 kHz
Package 28-QFN (6x6 mm) with exposed pad
Mounting Type Surface Mount
Operating Temperature -40 C to +85 C (Industrial)
RoHS Status Compliant
Lead-Free Yes

PIC16LF628A-I/ML Pin Configuration

QFN-28 Package Pinout Diagram QFN-28 5x5mm, P0.5mm, EP 3.1x3.1mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 QFN-28
Pin 1 RA0/AN0 — Bidirectional I/O; analog channel 0
Pin 2 RA1/AN1 — Bidirectional I/O; analog channel 1
Pin 3 RA2/AN2/CVREF — Bidirectional I/O; analog channel 2; comparator voltage reference output
Pin 4 RA3/AN3/C1OUT — Bidirectional I/O; analog channel 3; comparator 1 output
Pin 5 RA4/AN4/T0CKI — Bidirectional I/O; analog channel 4; Timer0 clock input
Pin 6 RA5/AN5/SS/C2OUT — Bidirectional I/O; analog channel 5; SPI slave select; comparator 2 output
Pin 7 VSS — Ground reference
Pin 8 OSC1/RA7 — Crystal oscillator input or general I/O
Pin 9 OSC2/RA6 — Crystal oscillator output or general I/O
Pin 10 RC0 — Bidirectional I/O
Pin 11 RC1 — Bidirectional I/O
Pin 12 RC2/CCP1 — Bidirectional I/O; CCP1 PWM/capture/compare
Pin 13 RC3 — Bidirectional I/O
Pin 14 RC4 — Bidirectional I/O
Pin 15 RC5 — Bidirectional I/O
Pin 16 RC6/TX/CK — USART async TX or sync clock
Pin 17 RC7/RX/DT — USART async RX or sync data
Pin 18 VSS — Ground reference
Pin 19 VDD — Positive supply
Pin 20 VSS — Ground reference
Pin 21 RB0/INT — Bidirectional I/O; external interrupt
Pin 22 RB1 — Bidirectional I/O
Pin 23 RB2 — Bidirectional I/O
Pin 24 RB3 — Bidirectional I/O
Pin 25 RB4 — Bidirectional I/O; interrupt-on-change
Pin 26 RB5 — Bidirectional I/O; interrupt-on-change
Pin 27 RB6/PGC — Bidirectional I/O; ICD clock
Pin 28 RB7/PGD — Bidirectional I/O; ICD data

Typical Applications

PIC16LF628A-I/ML is suitable for 6 applications: Battery-Powered IoT Sensor Node, Remote Control Transmitter, Industrial Sensor Interface Module, Small Motor / Relay Driver Controller, Security Keypad and Access Control, Hobby Robotics and Education Kits.

🧩

Battery-Powered IoT Sensor Node

The PIC16LF628A-I/ML fits battery-powered IoT sensor nodes because its 2.0 V to 5.5 V supply range lets it run directly from a single CR2032 or 2x AA cell, while nanoWatt sleep modes drop quiescent current under a few microamps. With a 20 MHz PIC16 core, 3.5 KB Flash and 224 bytes of SRAM, the part is large enough to hold a sensor-sampling loop, threshold logic, and USART framing for periodic wake-and-transmit cycles. Typical implementations pair the MCU with a low-power RF or LoRa module, where the MCU sleeps until an interrupt wakes it, reads a sensor, transmits, and returns to sleep. The 28-QFN (6x6 mm) footprint also keeps the PCB tiny, which is critical for wearable or stick-on sensor tags.

📱

Remote Control Transmitter

The PIC16LF628A-I/ML is a strong fit for handheld remote controls thanks to its 20 MHz core that can generate accurate IR carrier frequencies via the CCP module, plus 16 GPIO for keyboard scanning. Its low-voltage 2.0-5.5 V operation lets the design run from two AAA cells without boost regulators, while the internal 4 MHz oscillator removes the need for external timing components. The 128-byte EEPROM stores user settings such as channel or device ID between battery swaps. Compact 28-QFN packaging suits the slim PCB of a TV, fan, or lighting remote where every millimeter of thickness matters.

🏭

Industrial Sensor Interface Module

In industrial sensor interface modules the PIC16LF628A-I/ML acts as a signal-conditioning front-end that reads analog sensors, applies scaling, and outputs a clean 4-20 mA or 0-10 V signal. Its two analog comparators handle threshold detection without external op-amps, while the USART communicates with a host PLC or display. The industrial -40 C to +85 C operating range matches factory floor environments, and the 128-byte EEPROM retains calibration data through power cycles. The 28-QFN footprint simplifies integration onto the small sensor PCBs typical of pressure, level and flow transmitters.

🤖

Small Motor / Relay Driver Controller

The PIC16LF628A-I/ML drives small DC motors, solenoids and relay arrays through its CCP module for PWM and 16 GPIO for direction and feedback signals. Its 20 MHz instruction rate delivers precise PWM duty control, while internal 4 MHz / 37 kHz oscillators allow the firmware to switch to a slower clock for low-noise standby. With 3.5 KB Flash, control loop, fault detection and a simple comms stack all fit comfortably. The 28-QFN package sits well on a 24 V or 12 V brushed-motor PCB alongside gate drivers and protection FETs in appliance or robotics subsystems.

🎥

Security Keypad and Access Control

The PIC16LF628A-I/ML is well suited to security keypads and access-control modules that scan a 3x4 or 4x4 matrix keypad, validate PIN codes, and drive a relay or magnetic lock. Its 16 GPIO handle the matrix scan directly without external logic, and 128 bytes of EEPROM store credentials and tamper flags. The wide 2.0-5.5 V supply allows the design to run from backup batteries during mains outages. The 28-QFN (ML) package fits behind the keypad PCB where vertical space is at a premium, and the USART links the keypad to a host controller or Wiegand reader.

🤖

Hobby Robotics and Education Kits

The PIC16LF628A-I/ML is a popular choice in hobby robotics and education kits because its PIC16 mid-range instruction set is approachable for students and supported by MPLAB X IDE, XC8 and a large library of community examples. At 20 MHz it can drive servos, read sensors and handle simple comms, while the 3.5 KB Flash is generous enough for line-follower, sumo, or pick-and-place demos. The 2.0-5.5 V supply lets students power the robot from a 2x AA pack, and the compact 28-QFN package fits onto compact robot controller boards. Universities also use it to teach assembly programming and timer/peripheral fundamentals.

What is the program memory size of PIC16LF628A-I/ML?
The PIC16LF628A-I/ML integrates 3.5 KB (2K x 14) of Flash program memory, 224 bytes of SRAM and 128 bytes of data EEPROM. According to the Microchip PIC16F628A datasheet (DS40044), the 14-bit wide Flash words deliver high code density, so typical C and assembly programs run efficiently within this footprint for mid-range 8-bit embedded tasks.
What supply voltage range does PIC16LF628A-I/ML support?
The PIC16LF628A-I/ML operates from 2.0 V to 5.5 V across its -40 C to +85 C industrial temperature range. This wide input window lets it run directly from a single Li-ion cell (3.0-4.2 V), two AA cells (2.0-3.2 V), or a regulated 5 V rail without additional level shifting, simplifying battery-powered product design.
Where can I buy PIC16LF628A-I/ML online?
The PIC16LF628A-I/ML is stocked in tube packaging at authorized distributors including DigiKey, Mouser and Microchip Direct. XAIPART also offers it as a 100% traceable component with manufacturer pricing tiers; as of 2026-09-25, single-piece pricing is approximately USD 4.20 with volume breaks at 100, 500 and 1000 pieces.
What is the lead time for PIC16LF628A-I/ML?
Authorized distributors typically ship PIC16LF628A-I/ML from on-hand stock with same-day or next-day fulfillment for small quantities. Bulk orders of 1000+ pieces carry 4-8 weeks factory lead time through Microchip Direct, with no known allocation or EOL notifications as of 2026-09-25.
Is PIC16LF628A-I/ML in stock at major distributors?
As of 2026-09-25, PIC16LF628A-I/ML is reported in stock at DigiKey and Mouser with multi-thousand piece inventory in 28-QFN tube packaging. Octopart consolidates live availability across 10 distributors, allowing real-time confirmation before placing a purchase order for production builds.
What is the difference between PIC16LF628A-I/ML and PIC16F628A-I/ML?
The PIC16LF628A-I/ML is the low-voltage (LF) variant of the PIC16F628A-I/ML. Both share the same 28-QFN footprint, 3.5 KB Flash and 20 MHz core; the LF version extends the supply range down to 2.0 V (versus 4.5 V minimum for the F variant) and adds nanoWatt sleep modes, making it the drop-in choice for 3 V and battery-powered designs.
Can PIC16F628A-I/ML replace PIC16LF628A-I/ML?
Yes - PIC16F628A-I/ML is a drop-in replacement in the 28-QFN (ML) footprint with identical Flash, RAM, EEPROM and peripheral set. However, the PIC16F628A requires a minimum of 4.5 V supply; do not substitute it into designs that depend on the LF variant's 2.0 V low-voltage operation, otherwise the MCU will not start under low-battery conditions.
What is the best drop-in replacement for PIC16LF628A-I/ML?
The closest drop-in replacement is the PIC16LF628A-I/ML itself in tube or tape-and-reel form. For a same-package same-family alternative with identical memory and peripherals, the PIC16F628A-I/ML is pin-to-pin compatible when the design operates above 4.5 V. The PIC16LF627A-I/ML shares the 28-QFN footprint for designs that accept a smaller 1.75 KB Flash.
PIC16LF628A-I/ML vs PIC16LF627A-I/ML - which is better?
The PIC16LF628A-I/ML offers 3.5 KB Flash, 224 bytes SRAM and 128 bytes EEPROM, while the PIC16LF627A-I/ML reduces Flash to 1.75 KB with the same 224/128 memory split. Both use the 28-QFN (ML) footprint. Choose PIC16LF628A-I/ML when you need extra code space, and PIC16LF627A-I/ML only when your firmware fits within 1.75 KB.
When should I choose PIC16LF628A-I/ML over PIC18F MCU?
Choose PIC16LF628A-I/ML when cost, 2.0-5.5 V wide supply, and compact 28-QFN footprint matter more than MIPS and peripheral richness. The PIC18F family adds 16-bit instructions, higher clock rates, and richer peripherals, but at higher unit cost. PIC16LF628A-I/ML remains attractive for simple control, sensor and battery-driven nodes.
Is PIC16LF628A-I/ML suitable for battery-powered IoT nodes?
Yes. The 'LF' low-voltage design plus nanoWatt sleep modes and dual internal oscillators (4 MHz and 37 kHz) allow quiescent current under a few microamps in sleep. Combined with 2.0 V minimum supply, the PIC16LF628A-I/ML is well suited to coin-cell and 2x AA IoT sensors that wake, sample, transmit via USART, and return to sleep.
Where to download PIC16LF628A-I/ML datasheet PDF?
The PIC16LF628A-I/ML datasheet (Document Number DS40044) is available from Microchip's product page at microchip.com. Third-party mirrors such as alldatasheet.com also distribute the same 168-page PDF. Designers should always pull the latest revision directly from Microchip to avoid using outdated electrical specifications.
What is the pinout of PIC16LF628A-I/ML?
The PIC16LF628A-I/ML uses a 28-pin QFN (6x6 mm) layout. Pins 1 and 28 are typically RA0/AN0 and RA7, with pins 8, 19 and the central exposed pad as ground references and pins 7, 20 and 27 providing VDD/AVDD. Refer to the Microchip datasheet pinout diagram for the exact mapping, because several pins share analog and digital alternate functions.
What is the maximum clock frequency of PIC16LF628A-I/ML?
The PIC16LF628A-I/ML runs up to 20 MHz from an external crystal, resonator, or external clock source. Internal oscillators at 4 MHz and 37 kHz are also available, allowing the MCU to operate without external timing components in cost-sensitive or space-constrained PCB designs, while still supporting precise USART baud rates.
What are the key specifications engineers should know about PIC16LF628A-I/ML?
The PIC16LF628A-I/ML combines an 8-bit PIC16 RISC core at up to 20 MHz, 3.5 KB Flash, 224 B SRAM, 128 B EEPROM, 16 GPIO, 2 comparators, a CCP module and a USART, in a 28-QFN (ML) package operating from 2.0 V to 5.5 V. Per Microchip's PIC16F628A datasheet (DS40044), this combination targets cost-sensitive, low-voltage, battery-friendly embedded designs.

Engineering reference data for PIC16LF628A-I/ML — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16LF628A-I/ML when you need a 28-QFN 8-bit PIC16 MCU with 3.5 KB Flash, 224 B SRAM and 128 B EEPROM that runs directly from a 2.0 V to 5.5 V supply (single Li-ion, 2x AA, or 5 V rail) without a boost regulator. Pick the same-family PIC16F628A-I/ML when your design is fixed at 5 V and you want identical Flash and peripherals in the same 28-QFN footprint. Pick PIC16LF627A-I/ML only if your firmware fits within 1.75 KB and you want the lowest cost; the LF voltage range is preserved. Choose PIC16F628A-E/ML for extended -40 to +125 C environments. For new designs, consider migrating to PIC16LF1938-I/ML or PIC16LF1939-I/ML, which add more memory and peripherals while keeping the 28-QFN package.

Comparison with Alternatives

Parameter This Product PIC16LF628A-I/MLG PIC16F628A-I/ML PIC16LF627A-I/ML PIC16LF628AT-I/ML PIC16F628A-E/ML
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 28-QFN (6x6 mm) 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same 28-QFN (6x6 mm) - same
Flash Program Memory 3.5 KB (2K x 14) 3.5 KB 3.5 KB 1.75 KB 3.5 KB 3.5 KB
SRAM / Data EEPROM 224 B / 128 B 224 B / 128 B 224 B / 128 B 224 B / 128 B 224 B / 128 B 224 B / 128 B
Maximum CPU Frequency 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Supply Voltage Range 2.0 V to 5.5 V 2.0 V to 5.5 V 4.5 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 4.5 V to 5.5 V
Operating Temperature -40 C to +85 C -40 C to +85 C -40 C to +85 C -40 C to +85 C -40 C to +85 C -40 C to +125 C
I/O Pins 16 16 16 16 16 16

Key Differentiators

  • Wide 2.0-5.5 V supply without regulator (vs PIC16F628A-I/ML)
  • Larger Flash than PIC16LF627A (vs PIC16LF627A-I/ML)
  • Industrial -40 to +85 C vs extended grade (vs PIC16F628A-E/ML)

Design Notes

Place a 100 nF decoupling capacitor as close as practical to each VDD/AVDD pin and a 10 uF bulk capacitor at the supply entry point. The PIC16LF628A-I/ML 'LF' variant is specified for 2.0 V to 5.5 V, so if a design ever substitutes the non-LF PIC16F628A, the brown-out threshold and minimum startup voltage change; re-validate the power tree before swapping.

The 28-QFN (6x6 mm) package uses a central exposed pad (EP) that must be soldered to a PCB land of at least equal size to meet the datasheet thermal resistance. Using thermal vias under the EP to an inner copper plane drops theta_JA significantly and prevents thermal shutdown in motor-control or relay-drive applications where GPIO toggles repeatedly sink current.

Follow Microchip's QFN-6x6 land-pattern recommendations: 0.5 mm pitch pads, 0.3 mm solder mask openings, and a generous EP pad. The exposed pad is electrically tied to VSS on most PIC16LF628A designs, so tie it to the ground plane through multiple vias to keep ground impedance low for ADC and comparator accuracy.

If you drive the external oscillator (OSC1/OSC2), keep traces short and surround them with a ground guard ring to avoid coupling into analog inputs AN0-AN5. For USART routing above 115.2 kbps, length-match the TX/RX pair to avoid skew, and add a small series resistor at the MCU pin to dampen reflections when the cable is long.

Do not assume that PIC16F628A and PIC16LF628A firmware are interchangeable at low voltage - the LF part uses different configuration bits for brown-out and oscillator modes. Also, the CCP1 pin (RC2) shares with GPIO, so when PWM is enabled the corresponding TRIS bit must be cleared; failing to do so is the most common 'no output' failure on this family.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
[Data Needed: Halogen Free Status]
Conflict Minerals
Compliant

RoHS compliance per Microchip product page; AEC-Q100 not applicable for general-purpose MCU; halogen-free status not in provided verified data

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

Related Searches

PIC16LF628A-I/ML datasheet Microchip PIC16LF628A-I/ML price PIC16LF628A-I/ML 28-QFN PIC16LF628A-I/ML buy stock PIC16LF628A-I/ML vs PIC16F628A-I/ML PIC16LF628A-I/ML drop-in replacement PIC16LF628A-I/ML 2.0V low voltage MCU PIC16LF628A-I/ML 3.5KB Flash 224 RAM PIC16LF628A-I/ML battery powered IoT PIC16LF628A-I/ML pinout QFN PIC16LF628A-I/ML lead time distributor PIC16LF628A-I/ML equivalent same package what is the supply voltage of PIC16LF628A-I/ML

Related Components & Terms

Microchip Technology PIC16LF628A-I/ML PIC16F628A-I/ML PIC16LF627A-I/ML PIC16F628A-E/ML PIC16 8-bit microcontroller PIC16 RISC core Harvard architecture Flash program memory EEPROM SRAM QFN-28 QFN package family surface mount RoHS REACH low-dropout (LF) variant nanoWatt technology CCP module USART analog comparator internal oscillator battery-powered IoT
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