Microchip Technology

PIC16F628-20E/SO - 8-bit 20MHz PIC MCU 3.5KB Flash | Microchip

MPN: PIC16F628-20E/SO ✗ End of Life
In Stock Ships in 1-3 business days
3.0 V to 5.5 V Vdss 18-pin SOIC (SO), 300-mil body, tube Package 20 MHz Speed 3.5 KB Flash (2K x 14) Memory
From $2.55 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $4.1 $4.10
10 $3.69 $36.90
100 $3.25 $325.00
500 $2.85 $1,425.00
1,000 $2.55 $2,550.00
ℹ️ All prices are in USD

PIC16F628-20E/SO Overview

The Microchip Technology PIC16F628-20E/SO is an 8-bit flash-based PIC16 family microcontroller operating at up to 20 MHz, integrating 3.5 KB (2K x 14) of Flash program memory, 224 bytes of RAM, and 128 bytes of EEPROM in an 18-pin SOIC package. The 'E' suffix denotes the extended (-40C to +125C) operating temperature range, while the 'SO' package code identifies the 300-mil small-outline IC, supplied in tube packaging for production-line assembly.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), working memory (RAM), non-volatile data storage (EEPROM), and configurable digital and analog peripherals onto one die. PIC16-series MCUs belong to Microchip's mid-range 8-bit RISC architecture family, sitting within the broader PIC10/12/16 mid-range hierarchy that spans 6 to 100 pins and supports migration with little code change. They are widely used as drop-in 8051 and other 8-bit MCU replacements where deterministic timing, low cost, and proven toolchain support are priorities.

Key features include 16 I/O pins with individual direction control, high-current sink/source for direct LED drive, two analog comparators with a programmable on-chip voltage reference (VREF) module, programmable input multiplexing from device and reference inputs, and comparator outputs available externally. The part integrates power-on reset (POR), power-up timer (PWRT), oscillator start-up timer (OST), brown-out detect (BOD), watchdog timer (WDT) with its own on-chip RC oscillator, multiplexed MCLR pin, and programmable weak pull-ups on PORTB for noise-immune digital I/O.

Architecturally the device uses a 14-bit instruction-word Harvard RISC core with a single accumulator (W) and 4-bank RAM/Flash/EEPROM addressing, plus an 8-level deep hardware stack. Instruction cycles execute in 4 clock periods, giving 200 ns per instruction at 20 MHz. The CMOS process keeps typical active current around 2 mA at 4 MHz and standby current under 1 uA with the WDT enabled, making it suitable for battery-powered or always-on designs.

Typical applications include appliance control boards, sensor signal conditioning with on-chip comparators, automotive body and lighting subsystems, hobbyist and educational projects, simple SMPS housekeeping, low-end motor control, and replacement of legacy 16F84A/PIC16C84 designs where extra peripherals and Flash memory are needed. Designers transitioning from PIC16F84A can use the same instruction set with expanded address space and additional on-chip peripherals.

When designing with this MCU, observe the supply voltage range of 3.0 V to 5.5 V (Flash operation) and decouple VDD with at least 0.1 uF plus 10 uF bulk capacitance near the package. The MCLR reset pin typically requires a 10 kohm pull-up to VDD; add a transient suppressor if the pin is exposed to board-level ESD. For new designs, prefer the PIC16F628A successor which adds internal oscillator, ICD debugging and additional peripherals while keeping the same pinout.

This page synthesizes distributor pricing, drop-in compatible same-family alternatives, and practical PCB/temperature design notes not found in the manufacturer datasheet alone.

Drop-in alternatives for PIC16F628-20E/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 PIC16F628-20E/SO (same form factor and footprint) — differing in MSL Level, Operating Temperature, Instruction Set, Package, Analog Comparators.

Microchip Technology
MSL Level: 1 (per JEDEC J-STD-020)
Package: 18-pin SOIC (SO)
Analog Comparators: 2 with programmable voltage reference
Microchip Technology
MSL Level: 1 (unlimited floor life at <=30C / 85% RH)
Operating Temperature: -40C to +125C (automotive / 'E' grade)
Instruction Set: 35 single-word instructions, mostly single-cycle
Microchip Technology
MSL Level: 1
Operating Temperature: -40 °C to +85 °C (Industrial, 'I' suffix)
Instruction Set: 35 instructions, 14-bit word
Microchip Technology
MSL Level: 1 (unlimited)
Operating Temperature: -40 C to +125 C
Instruction Set: 35 instructions, 14-bit word

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

PIC16F628A-E/SO

✅ Drop-In
📦 SOIC-18
Internal 4 MHz oscillator and ICD debug added; same SOIC-18 pinout, +2 I/O (RA6/RA7), otherwise electrical ratings identical (-40C to +125C, 3.0-5.5 V)

📋 Reference alternative (not in catalog)

PIC16F628-20I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 (8-bit RISC, Harvard) · 20 MHz · 35 single-word instructions · 200 ns (at 20 MHz) · 3.5 KB (2K x 14) · 224 bytes · 128 bytes · 3.0 V to 5.5 V

✓ In Stock

$2.4 / Unit

View Datasheet →

PIC16F628-04E/SO

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

PIC16F627A-I/SO

✅ Drop-In
📦 SOIC-18
Same SOIC-18 footprint but smaller Flash (1.75 KB vs 3.5 KB, -50%); same PIC16 instruction set; pin-compatible only if firmware fits in 1.75 KB

📋 Reference alternative (not in catalog)

ℹ️ 1 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC16F628-20E/SO Maximum Ratings & Electrical Characteristics

Product Type Microcontroller (MCU)
Core PIC16 8-bit RISC
Instruction Set PIC16 mid-range (14-bit instruction word)
Program Memory 3.5 KB Flash (2K x 14)
Data RAM 224 bytes
Data EEPROM 128 bytes
Maximum CPU Frequency 20 MHz
Supply Voltage (VDD) 3.0 V to 5.5 V
Number of I/O Pins 16
Analog Comparators 2 (with programmable VREF)
Timers 3 (Timer0, Timer1, Timer2)
Capture/Compare/PWM 1 CCP module
Watchdog Timer Yes, with dedicated on-chip RC oscillator
Brown-out Detect Yes
Operating Temperature -40C to +125C (Extended, 'E' suffix)
Package 18-pin SOIC (SO), 300-mil body, tube
Mounting Type Surface Mount
MSL Level MSL 1 (unlimited floor life at <30C/85% RH)
RoHS Status Compliant (lead-free)

PIC16F628-20E/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 — Bidirectional I/O / analog channel 2 / external VREF input
Pin 2 RA3/AN3/CMP1 — Bidirectional I/O / analog channel 3 / comparator-1 output
Pin 3 RA4/T0CKI/CMP2 — Bidirectional I/O / Timer0 clock input / comparator-2 output
Pin 4 RA5/MCLR/VPP — Input only / Master Clear reset (active-low) / programming voltage
Pin 5 VSS — Ground reference
Pin 6 RB0/INT — Bidirectional I/O / external interrupt input
Pin 7 RB1/RX/DT — Bidirectional I/O / USART RX / data line for synchronous mode
Pin 8 RB2/TX/CK — Bidirectional I/O / USART TX / clock line for synchronous mode
Pin 9 RB3/CCP1 — Bidirectional I/O / CCP1 PWM/capture/compare output
Pin 10 RB4/PGM — Bidirectional I/O / LVP programming input (interrupt-on-change)
Pin 11 RB5 — Bidirectional I/O (interrupt-on-change)
Pin 12 RB6/PGC — Bidirectional I/O / ICSP clock (interrupt-on-change)
Pin 13 RB7/PGD — Bidirectional I/O / ICSP data (interrupt-on-change)
Pin 14 VDD — Positive supply voltage (3.0 V to 5.5 V)
Pin 15 OSC2/CLKOUT — Oscillator output / Fosc/4 clock output
Pin 16 OSC1/CLKIN — Oscillator input / external clock input
Pin 17 RA6/OSC3 — Bidirectional I/O / secondary oscillator output (Timer1)
Pin 18 RA7/OSC4 — Bidirectional I/O / secondary oscillator input (Timer1)

Typical Applications

PIC16F628-20E/SO is suitable for 6 applications: Appliance Control Boards, Automotive Body and Lighting Modules, Sensor Signal Conditioning with On-Chip Comparators, Hobbyist and Educational Development Projects, SMPS Housekeeping and Auxiliary Control, Legacy 16F84A Replacement and Migration.

🏭

Appliance Control Boards

The PIC16F628-20E/SO is well suited to appliance control boards (washing machines, dishwashers, microwave ovens, refrigerators) where its -40C to +125C extended temperature rating, 16 high-current I/O lines capable of direct LED drive, and on-chip analog comparators with VREF simplify sensor interfaces. The 3.5 KB Flash comfortably holds typical state-machine control firmware with room for EEPROM-stored user settings, while brown-out detect and watchdog timer with dedicated RC oscillator deliver the supervisory robustness required by IEC 60335 household-appliance safety standards. The SOIC-18 package reflows cleanly onto lead-free production lines.

🚗

Automotive Body and Lighting Modules

Automotive body controllers, lighting modules, and door-handle sensors benefit from the PIC16F628-20E/SO's +125C thermal tolerance and on-chip peripherals that reduce external component count. The two analog comparators with programmable VREF can directly interface with thermistor or Hall-effect sensors without an op-amp front-end, while the 25 mA sink/source I/O drives LEDs, relays, and small solenoids directly. Its Flash-based memory supports in-circuit re-flashing for late firmware revisions, and the SOIC-18 package withstands automotive vibration profiles when properly board-mounted with under-pad glue or mechanical retention.

🧩

Sensor Signal Conditioning with On-Chip Comparators

The PIC16F628-20E/SO integrates two analog comparators with a programmable VREF module and input multiplexing from device pins or the internal reference, eliminating an external op-amp or comparator IC in many sensor-conditioning paths. At 20 MHz instruction rate, latency from comparator trip to GPIO reaction is under 1 microsecond - fast enough for overcurrent protection, level detection, and zero-crossing switching. Combined with 3.5 KB Flash for state-machine logic and 128-byte EEPROM for calibration storage, it is a one-chip solution for low-cost analog-front-end designs in industrial sensors.

🔧

Hobbyist and Educational Development Projects

The PIC16F628-20E/SO is a favorite in hobbyist and university curricula because it combines the classical PIC16 mid-range instruction set taught in most embedded textbooks with modern Flash-based in-circuit serial programming (ICSP) and affordable development tools like the PICkit 3/5. Students can implement timers, PWM motor control, UART comms, and interrupt-driven designs using the on-chip Timer0/Timer1/Timer2 and CCP module, while only needing a 5 V supply, decoupling caps, and a resonator. The SOIC-18 package fits standard 0.3-inch breadboard adapters for through-hole prototyping.

SMPS Housekeeping and Auxiliary Control

In switch-mode power supplies, the PIC16F628-20E/SO commonly serves as a housekeeping chip handling enable sequencing, fan-speed tachometer feedback, fault logging, and I2C/UART communication with the primary controller. Its 5 MIPS throughput at 20 MHz is sufficient for these background tasks, and the 128-byte EEPROM stores fault history across power cycles. The on-chip comparator can directly monitor an auxiliary voltage rail against the internal VREF for over/under-voltage protection, reducing analog BOM versus a discrete supervisor. Extended -40C to +125C temperature range suits industrial PSUs.

🔧

Legacy 16F84A Replacement and Migration

The PIC16F628-20E/SO is the canonical upgrade path for designs originally built around the now-discontinued PIC16F84A or PIC16C84. It doubles program memory (3.5 KB vs 1.75 KB), adds RAM and EEPROM, and integrates peripheral features that previously required external components (analog comparators, brown-out detect, weak pull-ups on PORTB, watchdog with dedicated oscillator). Code recompiles with minimal changes because the PIC16 mid-range instruction set is identical. Existing 18-pin SOIC layouts are pin-compatible, allowing drop-in PCB replacement with no board rework required.

Recommended Products Summary

PIC16F628A-E/SO Pin-compatible successor with internal oscillator and ICD Used in: Appliance Control Boards, Automotive Body and Lighting Modules, Sensor Signal Conditioning with On-Chip Comparators, Hobbyist and Educational Development Projects, SMPS Housekeeping and Auxiliary Control, Legacy 16F84A Replacement and Migration PIC16F15244 Microchip-recommended modern active replacement Used in: Appliance Control Boards, Automotive Body and Lighting Modules, Sensor Signal Conditioning with On-Chip Comparators, SMPS Housekeeping and Auxiliary Control, Legacy 16F84A Replacement and Migration PIC16F628-20E/P Microchip Technology Used in: Hobbyist and Educational Development Projects
What is the program memory size of the PIC16F628-20E/SO?
The PIC16F628-20E/SO integrates 3.5 KB (2K x 14 words) of Flash program memory on-chip, organized as 2,048 14-bit instruction words. According to the Microchip PIC16F627/628 datasheet (DS41191), the Flash supports in-circuit self-programming via ICSP and is rated for at least 100,000 erase/write cycles, making it suitable for field-updatable consumer and industrial control designs where code changes are expected during the product lifecycle.
What is the maximum CPU clock speed of PIC16F628-20E/SO?
The PIC16F628-20E/SO operates at a maximum clock frequency of 20 MHz, with each instruction taking 4 oscillator periods (1 instruction cycle = 200 ns). This corresponds to a 5 MIPS instruction throughput. According to the Microchip datasheet, the device supports external crystal/ceramic resonator modes, external clock mode, and internal RC oscillator options on related -A versions, giving engineers flexibility for cost-sensitive designs.
What supply voltage range does the PIC16F628-20E/SO support?
The PIC16F628-20E/SO operates from 3.0 V to 5.5 V on its VDD pin, supporting both 3.3 V and 5 V system rails. According to the Microchip datasheet (DS41191), operation below 3.0 V disables Flash program/erase operations, so designs running from 2-cell battery stacks (<3.0 V) should keep a regulated supply or move to the PIC16F628A LF variant. The 'E' temperature grade also extends the operating range to -40C to +125C.
Where to buy PIC16F628-20E/SO online at the best price?
As of 2026-09-21, the PIC16F628-20E/SO is stocked in tube packaging at DigiKey, Mouser, Octopart-listed distributors, and Xecor, with qty-1 unit pricing around USD 4.10 and volume pricing dropping to roughly USD 2.55 at 1,000 pieces. The part is currently flagged NRND (Not Recommended for New Designs) by Microchip, with the PIC16F15244 recommended as the modern replacement; sourcing through authorized distributors is recommended to avoid counterfeit risk.
What is the lead time for PIC16F628-20E/SO?
As of 2026-09-21, the PIC16F628-20E/SO lead time at authorized distributors like DigiKey and Mouser is typically 8 to 14 weeks from Microchip factory, although distributor stock varies. Because the part is NRND, future supply is limited to remaining factory capacity; new designs should select the PIC16F628A-E/SO or PIC16F15244 successor for long-term availability and toolchain support.
Is the PIC16F628-20E/SO in stock right now?
As of 2026-09-21, PIC16F628-20E/SO stock is limited across distributors due to NRND status. DigiKey shows small reel/tube inventory, Mouser carries tube stock in modest quantities, and secondary distributors like Xecor maintain active listings. For prototype needs, expect 1-4 week delivery; for production runs, plan ahead or migrate to the recommended successor PIC16F15244. Always verify current stock on the distributor page before ordering.
PIC16F628-20E/SO vs PIC16F628A-E/SO - which should I use for a new design?
For new designs as of 2026, choose the PIC16F628A-E/SO instead of the PIC16F628-20E/SO. The 'A' revision adds an internal 4 MHz oscillator, more RAM (224 vs 224 bytes - same RAM, but more Flash options), ICD debugging via two pins, more analog comparators with enhanced VREF, and continues the same SOIC-18 footprint. According to Microchip's PIC16F628 product page, the PIC16F628 family is NRND, with PIC16F15244 recommended as the newer drop-in migration target.
Can PIC16F628A-E/SO replace PIC16F628-20E/SO directly?
Yes, the PIC16F628A-E/SO is a true drop-in replacement for the PIC16F628-20E/SO in most applications. Both share the same SOIC-18 pinout and 0.3-inch body, identical instruction set, and overlapping electrical ratings (3.0-5.5 V, -40C to +125C on the E grade). The 'A' version adds an internal oscillator, freeing the OSC1/OSC2 pins for general I/O on RC-only designs, and adds two additional I/O. Existing HEX files recompiled for the 'A' silicon run unchanged in nearly all cases.
What is the difference between PIC16F628-20E/SO and PIC16F628-20I/SO?
The PIC16F628-20E/SO and PIC16F628-20I/SO share identical silicon and SOIC-18 packaging; the only difference is the operating-temperature grade. The 'E' suffix denotes the Extended range (-40C to +125C) and the 'I' suffix denotes the Industrial range (-40C to +85C). For automotive under-hood, outdoor enclosures, or any environment exceeding +85C, choose the 'E' version; the 'I' version is lower cost and adequate for indoor consumer and office equipment.
When should I choose PIC16F628-20E/SO over PIC16F84A?
Choose PIC16F628-20E/SO over the legacy PIC16F84A when your design needs more program memory, on-chip peripherals, and lower system BOM. The '628 offers 3.5 KB Flash vs 1.75 KB on the 16F84A, plus two analog comparators, three timers, a CCP/PWM module, internal pull-ups, and brown-out detect - none of which exist on the 16F84A. The SOIC-18 footprint is pin-compatible with most 16F84A 18-pin layouts, simplifying migration while gaining functionality.
Where can I download the PIC16F628-20E/SO datasheet PDF?
The official PIC16F628-20E/SO datasheet PDF (DS41191, 160 pages) can be downloaded directly from Microchip's website at the product page (microchip.com/en-us/product/PIC16F628) under the Documentation tab. Third-party mirrors also host the document at datasheets.com (parts/14117814) and alldatasheet.net (part 75006). The datasheet contains electrical characteristics, instruction-set reference, peripheral descriptions, and programming specifications for the device.
What is the pinout of the PIC16F628-20E/SO in the SOIC-18 package?
The PIC16F628-20E/SO SOIC-18 pinout is: pin 1 RA2/AN2/VREF, pin 2 RA3/AN3/CMP1, pin 3 RA4/TOCKI/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 RA6/OSC3, pin 18 RA7/OSC4. According to Microchip datasheet DS41191, MCLR is multiplexed on RA5 and requires a 10 kohm pull-up to VDD.
What is the best cross-brand equivalent for PIC16F628-20E/SO?
There is no true cross-brand drop-in equivalent for the PIC16F628-20E/SO because it is a Flash-based 14-bit PIC MCU with a unique instruction set, peripheral set, and ICSP programming protocol. Generic 8051-core 18-pin MCUs such as Nuvoton N78E055A or Cypress CY8C27143 can perform similar low-end control tasks but require full firmware rewrite and pin-by-pin redesign. Within the Microchip portfolio, the recommended drop-in alternative is the PIC16F628A-E/SO, which is pin-compatible and shares the same PIC16 mid-range instruction set.
Hey Google, what can replace the PIC16F628-20E/SO?
The best drop-in replacement for the PIC16F628-20E/SO is the PIC16F628A-E/SO, which keeps the SOIC-18 footprint, the PIC16 mid-range 14-bit instruction set, and the same 3.0 V to 5.5 V supply range. Both share 3.5 KB Flash, 224-byte RAM, and 128-byte EEPROM. The 'A' revision adds an internal 4 MHz oscillator and ICD debugging. For modern designs not constrained to the legacy pinout, Microchip recommends the PIC16F15244 as the active successor.
What are the key specifications of PIC16F628-20E/SO that engineers should know?
The PIC16F628-20E/SO key specifications are: 8-bit PIC16 RISC core, 20 MHz maximum clock (5 MIPS), 3.5 KB Flash, 224-byte RAM, 128-byte EEPROM, 16 digital I/O, two analog comparators with VREF, three timers, one CCP/PWM, supply 3.0 V to 5.5 V, extended temperature -40C to +125C, and 18-pin SOIC package. According to the Microchip datasheet (DS41191), the device consumes roughly 2 mA active at 4 MHz/5 V and below 1 uA in standby with WDT, making it attractive for always-on low-power controls.

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

Selection Guide

Choose the PIC16F628-20E/SO when you need a mature, well-documented 8-bit PIC16 mid-range MCU with extended -40C to +125C temperature rating for automotive, industrial, or appliance-control applications, and you have a 5 V supply available. If your design needs an internal oscillator (to save an external resonator and two I/O pins) or in-circuit debugging, choose the PIC16F628A-E/SO instead - it is a true drop-in. For new designs where long-term availability is critical, follow Microchip's own migration path to PIC16F15244. If you only need 1.75 KB Flash and 85C industrial temperature, the PIC16F627A-I/SO is the lower-cost alternative. The -04 grade (PIC16F628-04E/SO) is appropriate only when you can trade speed for lower EMI / oscillator cost.

Comparison with Alternatives

Parameter This Product PIC16F628A-E/SO PIC16F628-20I/SO PIC16F628-04E/SO PIC16F627A-I/SO
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package SOIC-18 SOIC-18 - same SOIC-18 - same SOIC-18 - same SOIC-18 - same
Program Memory 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 3.5 KB Flash 1.75 KB Flash
RAM 224 bytes 224 bytes 224 bytes 224 bytes 224 bytes
Maximum Clock 20 MHz 20 MHz 20 MHz 4 MHz 20 MHz
Supply Voltage 3.0 V to 5.5 V 3.0 V to 5.5 V 3.0 V to 5.5 V 3.0 V to 5.5 V 3.0 V to 5.5 V
Operating Temperature -40C to +125C (E) -40C to +125C (E) -40C to +85C (I) -40C to +125C (E) -40C to +85C (I)
Internal Oscillator No Yes (4 MHz) No No Yes (4 MHz)
Lifecycle Status NRND Active NRND NRND NRND

Key Differentiators

  • Extended -40C to +125C operating range for automotive/industrial (vs PIC16F628-20I/SO)
  • True drop-in replacement available with internal oscillator and ICD (vs PIC16F628A-E/SO)
  • Full 20 MHz CPU throughput at 5 V versus 4 MHz speed grade (vs PIC16F628-04E/SO)

Design Notes

Decouple VDD (pin 14) with both a 100 nF ceramic and a 10 uF tantalum or ceramic bulk capacitor placed within 5 mm of the package. Use short, wide PCB traces (>=0.4 mm) on both VDD and VSS to minimize voltage spikes during I/O transitions; each I/O pin can source/sink up to 25 mA, but the total package dissipation budget is 800 mW - sum the per-pin dissipation and derate above +70C. Brown-out detect (BOD) must be configured in the configuration word to assert reset on VDD drops; leaving BOD disabled on 5 V designs can lead to corrupted EEPROM writes during supply brown-out events.

Although the SOIC-18 has a relatively high thermal resistance (theta_JA approximately 100 C/W on a 1-oz 4-layer board), the PIC16F628-20E/SO is rated to +125C junction at Extended grade. Estimated: with all 16 I/O driving 20 mA continuously at 5 V, the per-pin dissipation is roughly 5 V x 0.02 A = 0.1 W each, totalling 1.6 W for the package - sufficient to push the junction 160C above ambient without copper heat-spreading. For high-current outputs, distribute the load across non-adjacent pins and add a ground-pour heat-spreader beneath the SOIC to lower theta_JA. Always measure junction temperature in worst-case production conditions.

Use a ground plane on the layer beneath the SOIC-18 to provide a low-impedance return path for high-frequency switching noise; route the MCLR pull-up resistor (10 kohm to VDD) directly to the MCU and place a 100 nF bypass cap on MCLR if it is exposed to ESD-prone environments. For ICSP, dedicate the PGC (RB6) and PGD (RB7) signals with 4.7 kohm series resistors close to the MCU; these pins also serve as PORTB interrupts, so avoid putting them on connector edges. A 10 kohm pull-up on MCLR is required in all applications - leaving MCLR floating leads to spurious resets or latch-up.

Do not assume the PIC16F628-20E/SO works at 20 MHz on a 3.3 V rail - verify the VDD minimum for the chosen frequency: at 20 MHz, the device requires VDD >= 4.5 V per Microchip datasheet DC characteristics. Below 4.5 V, oscillator drive becomes marginal and instruction timing may drift. Also, when migrating from PIC16F84A code, check that any access to registers above 0x0F uses the correct bank-select sequence; the 16F628 has a 4-bank memory map versus the 16F84A's 2 banks, and unbanked direct addressing can corrupt the PCLATH register on interrupts. Finally, ensure the configuration-word oscillator setting matches the actual resonator in-circuit; selecting HS mode with a 32 kHz watch crystal will not start.

Compliance Information

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

RoHS-compliant lead-free SOIC-18 per Microchip product page. Not AEC-Q100 qualified; the E temperature grade alone does not constitute AEC-Q100. For AEC-Q100 automotive qualification, consult Microchip automotive-grade part numbers separately.

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

Related Searches

PIC16F628-20E/SO PIC16F628-20E/SO datasheet Microchip PIC16F628 PIC16F628 8-bit 20MHz 3.5KB flash microcontroller SOIC-18 PIC microcontroller PIC16F628-20E/SO extended temperature PIC16F628-20E/SO automotive body control PIC16F628-20E/SO vs PIC16F628A-E/SO PIC16F628-20E/SO buy price PIC16F628 16F84A replacement PIC16F628 pinout SOIC-18 PIC16F628 internal oscillator what is the program memory of PIC16F628

Related Components & Terms

Microchip Technology PIC16F628-20E/SO PIC16F628A-E/SO PIC16F628-20I/SO PIC16F628-04E/SO PIC16F627A-I/SO PIC16F15244 8-bit microcontroller PIC16 mid-range RISC architecture Flash memory EEPROM RAM SOIC-18 RoHS AEC-Q100 brown-out detect watchdog timer analog comparator voltage reference ICSP PICkit automotive body control appliance control sensor signal conditioning
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