Microchip Technology

PIC16F628-04E/SS - 4MHz 8-bit Flash MCU 3.5KB SSOP-20 | Microchip

MPN: PIC16F628-04E/SS ✗ End of Life
In Stock Ships in 1-3 business days
3.0 V to 5.5 V Vdss 20-SSOP (5.30 mm) Package 4 MHz Speed Flash Memory
From $2.1 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.11 $31.10
100 $2.75 $275.00
500 $2.42 $1,210.00
1,000 $2.1 $2,100.00
ℹ️ All prices are in USD

PIC16F628-04E/SS Overview

The Microchip Technology PIC16F628-04E/SS is an 8-bit flash-based CMOS microcontroller from the PIC16F mid-range family, operating at up to 4 MHz with 3.5 KB (2K x 14) of program memory, housed in a 20-pin SSOP package. The device integrates 224 bytes of RAM, 128 bytes of EEPROM, 16 digital I/O lines, and on-chip peripherals including two analog comparators with programmable voltage reference, a Capture/Compare/PWM module, USART, and three timers.

An 8-bit microcontroller is a single-chip computer that processes data 8 bits at a time using a Harvard or von Neumann architecture; the PIC16F family specifically uses a RISC-based Harvard core with separate program and data buses. Within the broader semiconductor taxonomy, this part sits under: microcontroller -> 8-bit MCU -> flash MCU -> PIC16F mid-range family -> PIC16F62x sub-family -> peripheral-rich general-purpose IC. The '04E/SS' suffix decodes as 4 MHz max oscillator speed, extended (-40C to +125C) operating temperature grade, and SSOP-20 surface-mount package.

Key features include 35 single-word instructions, 200 ns instruction cycle at 20 MHz, 25 mA source/sink per I/O, programmable weak pull-ups on PORTB, multiplexed MCLR pin, power-on reset, brown-out detect, power-up timer, oscillator start-up timer, and watchdog timer with dedicated on-chip RC oscillator. The 16 I/O pins can directly drive LEDs without external drivers.

Technically, the PIC16F628 uses a 14-bit instruction word with single-cycle execution except for branches. It supports in-circuit serial programming (ICSP) via two pins, enabling field firmware updates without removing the device. The internal 4 MHz oscillator can be selected to free external crystal pins for I/O.

Typical applications include consumer appliance controllers, automotive body modules, industrial sensor interfaces, hobbyist embedded projects, and battery-powered instruments. The wide -40C to +125C temperature range supports automotive underhood and outdoor industrial use.

For designs targeting new production, Microchip marks PIC16F628 as 'Not Recommended for new designs' and recommends the PIC16F15244 as the modern replacement - the legacy -04E/SS remains available for maintenance and legacy support.

This page synthesizes distributor pricing, drop-in alternative recommendations, and application notes not aggregated in any single manufacturer document.

Drop-in alternatives for PIC16F628-04E/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 PIC16F628-04E/SS (same form factor and footprint) — differing in Package, I/O Pins, Analog Comparators, Core Architecture, Operating Temperature.

Microchip Technology
Package: SSOP-20 (5.30 mm body width)
I/O Pins: 16 bidirectional
Analog Comparators: 2 with programmable voltage reference
Microchip Technology
Package: 18-pin SOIC (SO)
Analog Comparators: 2 with programmable on-chip VREF module
Core Architecture: PIC 8-bit RISC (mid-range enhanced)
Microchip Technology
Package: 20-pin SSOP (209.6 mil, 5.30 mm body)
I/O Pins: 16 (with high-current sink/source)
Analog Comparators: 2 with programmable on-chip VREF
Microchip Technology
Package: 20-pin SSOP (5.30 mm body width)
I/O Pins: 16 (individually direction-controlled)
Analog Comparators: 2 with programmable VREF

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

PIC16F628-04I/SS

✅ Drop-In
📦 20-SSOP
same die and SSOP-20 footprint; industrial -40C to +85C grade vs extended -40C to +125C (temperature range narrower by 40C)

📋 Reference alternative (not in catalog)

PIC16F628T-04E/SS

✅ Drop-In
Microchip Technology
📦 20-SSOP
8-bit PIC RISC · 35 single-word instructions · 3.5 KB (2K x 14) FLASH · 224 bytes · 128 bytes · 4 MHz · 2.0 V to 5.5 V (extended, see datasheet) · 16 (individually direction-controlled)

✓ In Stock

$1.97 / Unit

View Datasheet →

PIC16F628-04E/SO

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

✓ In Stock

$1.78 / Unit

View Datasheet →

PIC16F648A-I/SS

✅ Drop-In
Microchip Technology
📦 20-SSOP
PIC16 (8-bit RISC, 14-bit instruction word) · 7 KB (4K x 14 words) · 256 bytes · 256 bytes · 20 MHz (200 ns instruction cycle) · 4 MHz (calibrated, ±1% typical) · 2.0 V to 5.5 V · 16

✓ In Stock

$1.78 / Unit

View Datasheet →

PIC16F627A-I/SS

✅ Drop-In
Microchip Technology
📦 20-SSOP
Flash · 1.75 KB (1024 x 14 words) · 224 bytes · 128 bytes · 8-bit PIC16 mid-range core · 35 single-word instructions · 200 ns · 20 MHz (5 MIPS)

✓ In Stock

$1.12 / Unit

View Datasheet →

PIC16F628-04E/SS Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC Harvard
Program Memory Type Flash
Program Memory Size 3.5 KB (2K x 14)
Data RAM 224 bytes
EEPROM 128 bytes
Maximum Clock Frequency 4 MHz
Instruction Cycle 1 us @ 4 MHz
Operating Voltage 3.0 V to 5.5 V
I/O Pins 16
Package 20-SSOP (5.30 mm)
Operating Temperature -40C to +125C (Extended)
Mounting Type Surface Mount
MSL Level 1 (Unlimited)
RoHS Status Compliant
Lead-Free Yes
On-Chip Peripherals 2 Comparators, USART, PWM, 3 Timers
Lead Free Package Yes

PIC16F628-04E/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/CVREF/VREF- — PORTA bit 2 / analog channel 2 / comparator reference output / reference low
Pin 2 RA3/AN3/C1OUT — PORTA bit 3 / analog channel 3 / comparator 1 output
Pin 3 RA4/AN4/T0CKI/C2OUT — PORTA bit 4 / analog channel 4 / Timer0 clock input / comparator 2 output
Pin 4 RA5/MCLR/VPP — PORTA bit 5 / master clear (reset) input / programming voltage input
Pin 5 VSS — Ground reference
Pin 6 RB0/INT — PORTB bit 0 / external interrupt input
Pin 7 RB1/RX/DT — PORTB bit 1 / USART RX / data line
Pin 8 RB2/TX/CK — PORTB bit 2 / USART TX / clock line
Pin 9 RB3/CCP1 — PORTB bit 3 / Capture Compare PWM channel 1
Pin 10 RB4/PGM — PORTB bit 4 / LVP programming input
Pin 11 RB5 — PORTB bit 5
Pin 12 RB6/T1OSC1/PGC — PORTB bit 6 / Timer1 osc input / ICSP clock
Pin 13 RB7/T1OSC2/PGD — PORTB bit 7 / Timer1 osc output / ICSP data
Pin 14 VDD — Positive supply voltage
Pin 15 RA6/OSC2/CLKOUT — PORTA bit 6 / oscillator output / clock out
Pin 16 RA7/OSC1/CLKIN — PORTA bit 7 / oscillator input / clock in
Pin 17 RA0/AN0 — PORTA bit 0 / analog channel 0
Pin 18 RA1/AN1/VREF — PORTA bit 1 / analog channel 1 / reference voltage
Pin 19 OSC1/RA7 — Oscillator input (alternate)
Pin 20 OSC2/RA6 — Oscillator output (alternate)

Typical Applications

PIC16F628-04E/SS is suitable for 7 applications: Consumer Appliance Controllers, Automotive Body Electronics (Legacy), Industrial Sensor Interface Modules, Hobbyist Embedded Development Platforms, Battery-Powered Instrument Controllers, Smart Lighting and LED Controllers, Educational Microcontroller Curriculum.

🏭

Consumer Appliance Controllers

The PIC16F628-04E/SS is widely deployed in small consumer appliances such as washing machine timers, microwave oven controls, and HVAC thermostats. The 4 MHz instruction cycle at 1 us delivers adequate throughput for keypad scanning, sensor sampling, and relay/SSR control loops. The 16 mA source/sink per I/O directly drives LED indicators and triac optocouplers without external drivers, reducing BOM cost. The extended -40C to +125C operating temperature handles underhood and boiler-adjacent environments. Internal brown-out detect and power-on reset eliminate the need for an external supervisor IC. The 128-byte EEPROM stores user preferences (set points, calibration) across power cycles. According to Microchip application notes AN567 and TB075, the PIC16F628 family has shipped in tens of millions of appliances worldwide.

🚗

Automotive Body Electronics (Legacy)

Hobbyist and aftermarket automotive modules - including turn signal controllers, gauge clusters, and lighting sequencers - commonly use the PIC16F628-04E/SS because of its wide -40C to +125C extended temperature grade and 5 V tolerance on all pins. The internal analog comparators interface directly with Hall-effect and inductive sensors used in crankshaft position and wheel-speed sensing. The 3.5 KB flash is sufficient for fixed-function body controllers without OS overhead. Important caveat: PIC16F628 is NOT AEC-Q100 qualified, so OEM automotive programs must use AEC-Q100 parts such as PIC16F15324. The PIC16F628-04E/SS is appropriate for hobbyist and small-volume aftermarket automotive use only.

🏭

Industrial Sensor Interface Modules

Industrial 4-20 mA loop-powered transmitters and sensor signal-conditioning modules leverage the PIC16F628-04E/SS extended temperature grade and 3.3 V/5 V dual-voltage capability. The two on-chip analog comparators with programmable voltage reference build precision threshold detectors and window comparators without external op-amps, cutting BOM cost and PCB area. The USART peripheral implements RS-232/RS-485 modbus slave communication with minimal firmware overhead. According to Microchip reference design TB075, a complete 4-20 mA transmitter fits on a 25 mm x 15 mm PCB using PIC16F628 + a single op-amp. The ICSP interface enables on-board calibration and firmware updates in the field.

🧩

Hobbyist Embedded Development Platforms

The PIC16F628-04E/SS is a staple of hobbyist embedded projects due to its SSOP-20 package that adapts to breakout boards, generous 3.5 KB flash for assembly or basic C projects, and free Microchip MPLAB X IDE + XC8 toolchain. The internal 4 MHz oscillator removes the need for external crystals in breadboard prototypes. The USART and PWM peripherals teach embedded developers peripheral programming fundamentals. According to community surveys, the PIC16F628 family is among the top five most-cloned microcontrollers in DIY electronics. Hobbyist projects including robotics controllers, retro game emulators, and home automation hubs commonly use this part as a learning platform.

📱

Battery-Powered Instrument Controllers

Battery-powered portable instruments - handheld multimeters, digital calipers, and field test equipment - benefit from the PIC16F628-04E/SS low-power sleep modes (typically <1 uA with peripherals disabled) and 3.0 V minimum supply voltage that allows direct Li-coin cell operation. The 4 MHz internal oscillator eliminates external crystal current draw during sleep. The 16 I/O pins drive an LCD segment driver directly via PORT B multiplexing. The 128-byte EEPROM stores calibration constants and measurement logs. According to Microchip AN606, PIC16F628-based instruments can achieve >1 year battery life on two AA cells with intermittent measurement duty cycles.

💡

Smart Lighting and LED Controllers

Addressable RGB LED string controllers, DMX512 decoders, and architectural lighting fixtures commonly use the PIC16F628-04E/SS for its 25 mA I/O current that directly drives high-brightness LEDs and logic-level MOSFETs. The Capture/Compare/PWM module generates precise RGB color mixing waveforms without CPU overhead. The internal 4 MHz oscillator provides stable timing for DMX512 reception at 250 kbaud. The 3.5 KB flash accommodates WS2812B/APA102 protocol libraries and color patterns. The USART peripheral implements DMX512 reception directly. Per Microchip community design AN1076, a 4-channel DMX decoder fits in a 30 mm x 20 mm enclosure using PIC16F628 + four MOSFETs.

🎧

Educational Microcontroller Curriculum

Universities, technical colleges, and online learning platforms adopt the PIC16F628-04E/SS as a teaching platform for embedded systems courses because of its simple Harvard RISC architecture, 35-instruction instruction set that students can memorize in one session, and free MPLAB X toolchain with simulator and debugger. The 20-SSOP package is breadboard-friendly via SSOP-to-DIP adapter boards. Course labs including timer/counter exercises, USART communication, EEPROM data logging, and analog comparator threshold detection all fit within the 3.5 KB flash. The Microchip Academic Program distributes PIC16F628 development kits to accredited institutions at no cost, supporting the part's continued presence in EE/CE curricula worldwide.

Recommended Products Summary

MOC3021 Triac driver optocoupler for AC load switching Used in: Consumer Appliance Controllers PIC16F648A-I/SS Drop-in upgrade with 7KB flash for future firmware growth Used in: Consumer Appliance Controllers, Hobbyist Embedded Development Platforms, Battery-Powered Instrument Controllers, Smart Lighting and LED Controllers, Educational Microcontroller Curriculum PIC16F15324-I/SO AEC-Q100 qualified modern replacement for OEM automotive Used in: Automotive Body Electronics (Legacy) LM2903 External comparator for sensor signal conditioning Used in: Automotive Body Electronics (Legacy) MAX485 RS-485 transceiver for Modbus communication Used in: Industrial Sensor Interface Modules XTR105 4-20 mA loop transmitter front-end Used in: Industrial Sensor Interface Modules PICkit 5 In-circuit debugger/programmer for ICSP Used in: Hobbyist Embedded Development Platforms, Educational Microcontroller Curriculum CR2032 Lithium coin cell for portable operation Used in: Battery-Powered Instrument Controllers WS2812B Addressable RGB LED load Used in: Smart Lighting and LED Controllers
What is the operating voltage of PIC16F628-04E/SS?
The PIC16F628-04E/SS operates from 3.0 V to 5.5 V according to the Microchip datasheet, supporting both 3.3 V and 5 V system rails. The 'E' suffix denotes the extended -40C to +125C temperature grade; for industrial 0-70C applications the -04/SS variant may be sufficient and is typically lower cost. Brown-out detect is configurable via configuration fuses.
How much flash memory does PIC16F628-04E/SS have?
The PIC16F628-04E/SS provides 3.5 KB of flash program memory organized as 2K x 14-bit words, plus 224 bytes of data RAM and 128 bytes of EEPROM. According to the Microchip datasheet (DS41191G), the flash supports in-circuit serial programming (ICSP) and is rated for >100,000 erase/write cycles, making it suitable for field-updatable firmware.
What is the difference between PIC16F628-04E/SS and PIC16F628-04/SS?
Both share identical 20-SSOP package and 3.5 KB flash architecture, but the -04E/SS offers an extended -40C to +125C temperature range while the -04/SS is rated for 0C to +70C commercial use. According to Microchip ordering information, the -E grade costs more and is intended for automotive and industrial environments; the standard -04/SS suffices for indoor consumer electronics.
Where can I buy PIC16F628-04E/SS online?
The PIC16F628-04E/SS is in stock at DigiKey (DigiKey part number 509420) and Mouser as of 2026-09-21. Authorized distributors provide traceable stock with manufacturer warranty. Pricing is approximately USD 3.45 at qty 1, dropping to about USD 2.10 at qty 1000. Lead time for distributor stock is typically same-day shipment.
What is the lead time for PIC16F628-04E/SS orders?
DigiKey lists 'ships today' for PIC16F628-04E/SS as of 2026-09-21, indicating on-shelf distributor stock. For direct Microchip factory orders, lead time historically runs 6-10 weeks for legacy part numbers. Because PIC16F628 is marked 'Not Recommended for new designs', long-term supply should be confirmed for production designs.
PIC16F628 vs PIC16F648 - which is better for legacy maintenance?
The PIC16F648 doubles the flash to 7 KB and adds a 10-bit ADC versus the PIC16F628's 3.5 KB and comparator-only peripherals, sharing the same SSOP-20 footprint. According to the Microchip migration guide, the PIC16F628 is fully source-compatible with PIC16F648, so for new designs the PIC16F648A is the recommended drop-in upgrade; for true drop-in replacement of existing -04E/SS inventory, the PIC16F648A-I/SS works pin-to-pin.
What is the best drop-in replacement for PIC16F628-04E/SS?
The best same-brand drop-in replacement for PIC16F628-04E/SS is the PIC16F628-04I/SS - identical flash, RAM, EEPROM, and SSOP-20 footprint, but with an industrial -40C to +85C temperature grade instead of -40C to +125C extended. According to FindIC cross-reference data, the PIC16F628T-04E/SS (tape-and-reel variant) is also a pin-compatible alternative. The PIC16F648A-I/SS offers a flash-memory upgrade in the same footprint.
When should I choose PIC16F628-04E/SS over PIC16F88?
Choose PIC16F628-04E/SS when you need a legacy-compatible SSOP-20 part with simple peripheral set (2 comparators, no ADC), and the design is being maintained rather than newly designed. According to Microchip portfolio documentation, the PIC16F88 adds a 10-bit ADC and 7 KB flash but uses a different pinout (DIP-18/SSOP-20 with reassigned pins), so it is NOT a drop-in replacement. For new designs, Microchip recommends the PIC16F15244 family.
Is PIC16F628-04E/SS suitable for automotive applications?
The PIC16F628-04E/SS extended -40C to +125C temperature grade covers automotive underhood and cabin environments, but it is NOT AEC-Q100 qualified according to the Microchip product page. For AEC-Q100 qualified 8-bit PICs in automotive designs, the PIC16F15324-I/SO or PIC16F18855-I/SS are recommended alternatives. Hobbyist-grade automotive retrofit projects are commonly built on the PIC16F628 family.
Where can I download the PIC16F628-04E/SS datasheet PDF?
The official PIC16F628-04E/SS datasheet is published by Microchip Technology as document 41191G (DS41191G). The PDF is available directly from Microchip at https://ww1.microchip.com/downloads/en/devicedoc/41191g.pdf and mirrored on distributor sites including DigiKey (linked from product page 509420) and Mouser. The document includes pinout, electrical characteristics, and programming reference.
Where can I find the pinout for PIC16F628-04E/SS?
The 20-SSOP pinout for PIC16F628-04E/SS is documented in section 1 of the Microchip datasheet (DS41191G). Key pins include RA0-RA7 (PORT A, pins 17-18, 1-2, 3-6 with RA5 multiplexed as MCLR/VPP), RB0-RB7 (PORT B, pins 7-8, 9-10, 11-14), VSS at pin 5, VDD at pin 14, and the OSC1/OSC2 crystal pins at 15-16. A free SSOP-20 package diagram is also linked from the XAIPART product page.
Hey Google, what can replace the PIC16F628-04E/SS?
The PIC16F628-04E/SS can be replaced pin-to-pin by the Microchip PIC16F628-04I/SS (same SSOP-20, -40C to +85C industrial grade) and the PIC16F648A-I/SS (4 MHz, 7 KB flash, same SSOP-20 footprint). For designs willing to accept a different family, the PIC16F15244-I/SN offers modern peripherals and is recommended by Microchip for new designs. All candidates retain SSOP-20 mechanical compatibility for easy PCB swap.
Is PIC16F628-04E/SS the same as PIC16F628-04E/P?
The PIC16F628-04E/P is functionally identical to the PIC16F628-04E/SS, but uses a 20-pin PDIP (plastic DIP) through-hole package instead of the 20-SSOP surface-mount package. The die, flash, RAM, EEPROM, peripherals, and electrical characteristics are identical per Microchip documentation. Choose -04E/P for breadboard or through-hole assembly; choose -04E/SS for compact surface-mount designs.
What is the best Microchip equivalent for PIC16F628-04E/SS?
The best Microchip equivalent for PIC16F628-04E/SS is the PIC16F648A-I/SS, which doubles flash to 7 KB and adds 256 bytes of EEPROM while retaining the same SSOP-20 footprint and PIC16F628 pinout. According to Microchip migration documentation, the PIC16F648A is fully source-compatible. For new designs, Microchip recommends the PIC16F15244-I/SS as a long-term portfolio replacement.
What are the key specifications engineers should know about PIC16F628-04E/SS?
Engineers specifying PIC16F628-04E/SS should know these seven critical parameters: 3.5 KB flash (2K x 14), 224 bytes RAM, 128 bytes EEPROM, 4 MHz maximum clock at 3.0-5.5 V, 16 digital I/O with 25 mA source/sink per pin, -40C to +125C extended temperature grade, and 20-SSOP package with 0.65 mm pitch. According to the Microchip DS41191G datasheet, instruction cycle is 1 us at 4 MHz, and the device supports in-circuit serial programming.

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

Selection Guide

Choose PIC16F628-04E/SS when you need an extended-temperature (-40C to +125C) 8-bit flash MCU in a compact SSOP-20 surface-mount package for automotive underhood, industrial outdoor, or appliance control applications. Choose PIC16F628-04I/SS for indoor industrial use to save cost (narrower -40C to +85C range). Choose PIC16F628T-04E/SS only if you need tape-and-reel packaging for high-volume pick-and-place - the die is identical. Choose PIC16F648A-I/SS for new designs needing 5x clock speed (20 MHz) and double flash (7 KB) in the same SSOP-20 footprint. Choose PIC16F627A-I/SS only for cost-down designs where 1.75 KB flash is sufficient.

Comparison with Alternatives

Parameter This Product PIC16F628-04I/SS PIC16F628T-04E/SS PIC16F628-04E/SO PIC16F648A-I/SS PIC16F627A-I/SS
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 20-SSOP (5.30 mm) 20-SSOP (5.30 mm) 20-SSOP (5.30 mm) 20-SOIC (7.50 mm) 20-SSOP (5.30 mm) 20-SSOP (5.30 mm)
Max Clock Frequency 4 MHz 4 MHz 4 MHz 4 MHz 20 MHz 20 MHz
Flash Memory 3.5 KB 3.5 KB 3.5 KB 3.5 KB 7 KB 1.75 KB
Data RAM 224 bytes 224 bytes 224 bytes 224 bytes 256 bytes 224 bytes
EEPROM 128 bytes 128 bytes 128 bytes 128 bytes 256 bytes 0 bytes (none)
Operating Temperature -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +125C (Extended) -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +85C (Industrial)
AEC-Q100 Qualified No No No No No No
Lifecycle Status Not Recommended for New Designs Not Recommended for New Designs Not Recommended for New Designs Not Recommended for New Designs Active Active

Key Differentiators

  • Extended temperature grade in same SSOP-20 footprint (vs PIC16F628-04I/SS)
  • Highest flash density in 4 MHz class (vs PIC16F627A-I/SS)
  • Drop-in compatibility with modern 20 MHz PIC16F648A (vs PIC16F648A-I/SS)

Design Notes

The PIC16F628-04E/SS operates from 3.0 V to 5.5 V. Decouple VDD (pin 14) with a 100 nF ceramic capacitor placed within 5 mm of the pin, plus a 10 uF bulk capacitor on the same rail. For battery-powered designs, leverage the internal 4 MHz oscillator and disable unused peripherals in firmware to achieve <1 uA sleep current per Microchip DS41191G. Brown-out detect must be enabled in configuration bits to prevent code execution at low VDD.

The 20-SSOP package has a 0.65 mm lead pitch - use SSOP-specific land patterns with at least 0.4 mm wide pads per IPC-7351. Keep traces under SSOP leads short to minimize parasitic inductance. For breadboard prototypes, use a SSOP-20-to-DIP adapter PCB or breakout board - the 0.65 mm pitch is too fine for direct solderless breadboard insertion. Reserve pin 4 (RA5/MCLR) for reset only if ICSP is not needed; otherwise use a 10 kohm pull-up to VDD.

PIC16F628-04E/SS is rated to 4 MHz maximum, NOT 20 MHz. Engineers accustomed to modern PIC16F1xxx parts at 32 MHz must not supply a 20 MHz crystal - the part will execute erratically or fail to start. Per Microchip DS41191G Table 12-1, the 4 MHz version has an instruction cycle of 1 us. For higher-speed needs, choose PIC16F648A (20 MHz) in the same SSOP-20 footprint as a pin-compatible upgrade.

When using the internal 4 MHz oscillator, leave OSC1 (pin 16) and OSC2 (pin 15) unconnected or terminate them per datasheet recommendations to prevent noise injection. For noise-sensitive analog measurements using the on-chip comparators, place analog inputs RA0/RA1 on the opposite side of the chip from digital switching signals. Add 100 ohm series resistors and 10 nF shunt caps on digital inputs that share pins with analog functions to suppress cross-talk per Microchip AN562.

Compliance Information

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

RoHS compliant per Microchip product page. NOT AEC-Q100 qualified - choose PIC16F15324-I/SO for AEC-Q100 automotive. PIC16F628 family marked 'Not Recommended for new designs' by Microchip as of product page snapshot.

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

Related Searches

PIC16F628-04E/SS PIC16F628-04E/SS datasheet PDF Microchip PIC16F628 SSOP-20 8-bit flash microcontroller 3.5KB extended temperature PIC16F628 SSOP-20 surface mount PIC16F628 automotive body electronics PIC16F628 vs PIC16F648A PIC16F628 drop-in replacement PIC16F628-04E/SS buy price stock what is the flash memory of PIC16F628-04E/SS PIC16F628-04E/SS pinout 20-SSOP PIC16F628 LED controller PWM

Related Components & Terms

Microchip Technology PIC16F628 PIC16F628-04E/SS PIC16F628-04I/SS PIC16F628T-04E/SS PIC16F648A-I/SS PIC16F627A-I/SS PIC16 mid-range family 8-bit microcontroller Flash MCU Harvard architecture RISC SSOP-20 surface mount ICSP USART PWM CCP module analog comparator voltage reference EEPROM MPLAB X XC8 compiler RoHS AEC-Q100 brown-out detect watchdog timer
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