Microchip Technology

PIC16F628T-20/SO - 20MHz 8-Bit Flash MCU 3.5KB | Microchip

MPN: PIC16F628T-20/SO ✓ Active
In Stock Ships in 1-3 business days
3.0 V to 5.5 V (3.3 V / 5 V nominal) Vdss 25 mA per pin Id 18-pin SOIC (SO) W, Tape and Reel Package 20 MHz Speed 3.5 KB (2K x 14) Memory
From $2.18 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.1 $31.00
100 $2.75 $275.00
500 $2.42 $1,210.00
1,000 $2.18 $2,180.00
ℹ️ All prices are in USD

PIC16F628T-20/SO Overview

The Microchip Technology PIC16F628T-20/SO is an 8-bit RISC flash-based microcontroller with 3.5KB (2K x 14) of program memory, 224 bytes of RAM, and 128 bytes of EEPROM, housed in an 18-pin SOIC (W) package supplied on Tape and Reel. It operates up to 20 MHz instruction cycle, supports 16 I/O pins with individual direction control, and integrates two analog comparators with a programmable on-chip voltage reference (VREF). The "T" suffix denotes Tape & Reel packaging, while "/SO" specifies the 18-lead Small Outline IC package.

A PIC microcontroller (peripheral interface controller) is a family of 8-bit, 16-bit, and 32-bit RISC microcontrollers built around a Harvard architecture with separate program and data buses. The PIC16F628 belongs to the mid-range PIC16 family, which uses a 14-bit instruction word optimized for deterministic, single-cycle execution. PIC MCUs sit within the broader taxonomy of embedded microcontrollers, sitting beneath ARM Cortex-M and AVR families but offering lower cost, simpler toolchains, and wide availability for cost-sensitive embedded designs.

Key differentiating specifications include 3.3V/5V dual-voltage operation, hardware USART for serial communication, 16 I/O pins with 25 mA sink/source capability for direct LED drive, capture/compare/PWM (CCP) module, and nanoWatt power management for low-power sleep modes. The integrated VREF module eliminates external reference components in comparator-based designs. The 18-pin SOIC package provides drop-in compatibility with the broader PIC16F62X and PIC16F628A family while enabling surface-mount manufacturing.

Typical applications include consumer appliance control, automotive body electronics, lighting controllers, sensor signal conditioning, and battery-powered remote controls. Industrial uses span small motor control loops, security alarm panels, and HVAC damper actuators. The combination of low-cost, on-chip EEPROM, USART, and analog comparators makes it well suited to designs that previously required multiple discrete ICs.

When designing with this part, place a 100 nF decoupling capacitor within 5 mm of VDD and tie the MCLR pin to VDD through a 10 kohm resistor to ensure clean reset behavior. Verify the oscillator configuration bits match your crystal or resonator choice; using the internal 4 MHz oscillator eliminates two external pins.

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

Microchip Technology
Package: 18-pin SOIC (SO)
Internal Oscillator: 4 MHz calibrated
Operating Temperature: -40°C to +85°C (industrial)
Microchip Technology
Package: 18-SOIC (0.295", 7.50 mm)
Internal Oscillator: 4 MHz (calibrated)
Operating Temperature: -40 °C to +85 °C (Industrial, 'I' suffix)
Microchip Technology
Package: 18-SOIC (7.50 mm) wide-body
Internal Oscillator: 4 MHz, software selectable
Operating Temperature: -40°C to +85°C (Industrial)
Microchip Technology
Package: 18-pin SOIC (SO), wide body
Internal Oscillator: 4 MHz RC, factory calibrated
Core Architecture: PIC16 enhanced mid-range 8-bit RISC
Microchip Technology
Package: 18-pin SOIC (SO, wide-body 0.300 inch, 7.50 mm)
Operating Temperature: -40C to +85C (industrial, "I" grade)
Core Architecture: PIC16 mid-range RISC (Harvard)
Microchip Technology
Package: 18-SOIC (SO)
Internal Oscillator: 4 MHz (selectable)
Core Architecture: PIC16 RISC 8-bit

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

PIC16F628A-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16F · 8-bit · 20 MHz · 3.5 KB (2K x 14) Flash · 224 bytes · 128 x 8 bytes · 16 · 4.5 V to 5.5 V

✓ In Stock

$2.32 / Unit

View Datasheet →

PIC16F628AT-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC 8-bit RISC (Harvard) · 20 MHz (200 ns instruction cycle) · Flash · 3.5 KB (2K x 14) · 224 bytes · 128 bytes · 16 · 3.0 V to 5.5 V

✓ In Stock

$1.92 / Unit

View Datasheet →

PIC16F628T-04/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 enhanced mid-range 8-bit RISC · 14-bit · 35 single-word · 4 MHz (DC-04 grade) · 200 ns · 3.5 KB (2K x 14) · 224 bytes · 128 bytes

✓ In Stock

$2.2 / Unit

View Datasheet →

PIC16F628-20/SO

✅ Drop-In
📦 SOIC-18
identical die, Tube packaging instead of Tape & Reel, same 18-pin SOIC footprint and 20 MHz

📋 Reference alternative (not in catalog)

PIC16F628-04/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 mid-range 8-bit RISC · 35 instructions, single-cycle (200 ns at 4 MHz) · 3.5 KB (2K x 14) Flash · 224 bytes · 128 bytes · 4 MHz · 3.3 V to 5.5 V (extended) / 4.5 V to 5.5 V (standard) · 16 digital I/O

✓ In Stock

$1.05 / Unit

View Datasheet →

PIC16F628T-04I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
8-bit Microcontroller (MCU) · PIC16 mid-range RISC (Harvard) · 3.5KB (2K x 14) Flash · 224 bytes · 128 bytes · 4 MHz (-04 speed grade) · 3.0 V to 5.5 V · 16 (PORTA[5] + PORTB[8] + PORTA additional)

✓ In Stock

$1.82 / Unit

View Datasheet →

PIC16F627A-I/SO

✅ Drop-In
📦 SOIC-18
PIC16F627A variant: 1.75KB flash vs 3.5KB (-50% program memory), same 18-pin SOIC footprint and 20 MHz

📋 Reference alternative (not in catalog)

PIC16F648A-I/SO

✅ Drop-In
Microchip Technology
📦 SOIC-18
PIC16 RISC 8-bit · 7 KB (4K x 14) · 256 bytes · 256 bytes · 20 MHz · 200 ns · 35 single-word instructions · 16 (multiplexed with peripherals)

✓ In Stock

$2.1 / Unit

View Datasheet →

PIC16F628T-20/SO Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (Harvard)
Program Memory (Flash) 3.5 KB (2K x 14)
RAM 224 bytes
EEPROM 128 bytes
Maximum Clock Speed 20 MHz
Operating Voltage 3.0 V to 5.5 V (3.3 V / 5 V nominal)
I/O Pins 16
Analog Comparators 2 with programmable VREF
Timers Timer0, Timer1, Timer2
CCP Module 1 (Capture / Compare / PWM)
Communication USART (hardware)
Package 18-pin SOIC (SO) W, Tape and Reel
Mounting Type Surface Mount
Operating Temperature -40C to +85C (industrial)
Instruction Set 35 instructions, 14-bit word
I/O Sink/Source Current 25 mA per pin

PIC16F628T-20/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 RA5/SS — Digital I/O / SPI slave select
Pin 2 RA4/T0CKI — Digital I/O / Timer0 clock input
Pin 3 RA3 — Digital I/O
Pin 4 RA2/AN2/CVREF — Digital I/O / analog input 2 / comparator VREF output
Pin 5 RA1/AN1 — Digital I/O / analog input 1
Pin 6 RA0/AN0 — Digital I/O / analog input 0
Pin 7 VSS — Ground reference
Pin 8 OSC2/CLKOUT — Crystal output / clock out
Pin 9 OSC1/CLKIN — Crystal input / external clock
Pin 10 RC7/RX/DT — Digital I/O / USART RX / sync data
Pin 11 RC6/TX/CK — Digital I/O / USART TX / sync clock
Pin 12 RC5 — Digital I/O
Pin 13 RC4 — Digital I/O
Pin 14 RC3 — Digital I/O
Pin 15 RC2/CCP1 — Digital I/O / CCP1 PWM output
Pin 16 RC1 — Digital I/O
Pin 17 RC0 — Digital I/O
Pin 18 VDD — Positive supply (3.0 V to 5.5 V)

Typical Applications

PIC16F628T-20/SO is suitable for 7 applications: Consumer Appliance Control, Industrial Sensor Signal Conditioning, Lighting Control and LED Drivers, Security and Alarm Panel Logic, Automotive Body Electronics, Battery-Powered Remote Controls, HVAC Damper and Valve Actuators.

🔧

Consumer Appliance Control

The PIC16F628T-20/SO is well suited for consumer appliance control boards such as washing machines, microwave ovens, and dishwasher controllers. Its 3.5 KB flash holds small state-machine firmware, while the 16 I/O pins with 25 mA sink/source capability directly drive relay coils, triac optocouplers, and seven-segment LED displays without external drivers. The hardware USART interfaces to inverter modules, and the two analog comparators monitor line voltage zero-cross for triac phase-angle firing. With 3.0-5.5 V operation it handles both 3.3 V and 5 V sensor rails. The 20 MHz instruction rate easily services 60 Hz zero-cross detection and PWM-controlled motor drives.

🏭

Industrial Sensor Signal Conditioning

The PIC16F628T-20/SO is a strong fit for industrial sensor signal conditioning front ends, particularly 4-20 mA loop transmitters, RTD conditioner boards, and bridge-amplifier output digitizers. The two on-chip analog comparators with programmable VREF handle threshold detection and window comparison without external analog ICs, while the 20 MHz core reads comparator outputs and drives isolated serial links via the hardware USART. The 128-byte EEPROM stores calibration coefficients that survive power cycling. The 18-pin SOIC package fits compact sensor housings, and the -40C to +85C industrial temperature range covers factory-floor and outdoor enclosures. Pair with a precision op-amp such as the MCP6002 for full signal chain.

💡

Lighting Control and LED Drivers

The PIC16F628T-20/SO drives LED lighting controllers including RGB color-mixing fixtures, dimmer panels, and architectural DMX512 nodes. The CCP module generates PWM outputs up to 10-bit resolution, smoothly fading multiple LED channels simultaneously, while the 16 I/O lines with 25 mA drive directly sink low-current indicator LEDs. At 20 MHz the firmware runs DMX512 receivers, 0-10 V analog dim inputs, and capacitive touch sense on the comparator inputs. The internal oscillator option eliminates two external clock components, reducing BOM cost in high-volume lighting SKUs. The 18-pin SOIC footprint is compatible with hand-soldered retrofit boards and SMT production lines alike.

🎥

Security and Alarm Panel Logic

The PIC16F628T-20/SO is widely deployed in security alarm panels, PIR motion-detector logic boards, and access-control keypads. Its two analog comparators detect PIR sensor analog signals, while the hardware USART communicates with central panels or wireless modules. The 16 I/O pins interface to magnetic-reed door sensors, glass-break detectors, piezo buzzers, and keypad matrices. The 128-byte EEPROM stores zone configuration, installer codes, and event logs that must survive power loss. Low-power nanoWatt sleep mode extends battery life in wireless PIR sensors. The 18-pin SOIC package drops into legacy alarm board layouts, easing end-of-life redesigns.

🚗

Automotive Body Electronics

The PIC16F628T-20/SO handles automotive body-electronics modules including seat controllers, mirror-adjust drivers, interior lighting nodes, and HVAC damper actuators. Its 16 I/O lines with 25 mA drive interface to H-bridge motor drivers and LED arrays, while the hardware USART carries LIN-bus or K-line diagnostic traffic. The industrial temperature range (-40C to +85C) covers most cabin environments, though under-hood applications should select the PIC16F628AT-I/SO for full -40C to +125C. The CCP module generates PWM for variable-speed blower and mirror-fold motors. Three timer modules handle watchdog, debounce, and PWM tasks in parallel without burdening the main loop.

📱

Battery-Powered Remote Controls

The PIC16F628T-20/SO powers battery-operated remote controls such as RF key fobs, IR universal remotes, and wireless sensor node controllers. Its nanoWatt power-management modes drop quiescent current into the microampere range during sleep, extending coin-cell battery life to multiple years. The two analog comparators wake the MCU on external events such as button presses or sensor threshold crossings, eliminating continuous polling. The hardware USART drives 433 MHz or 2.4 GHz radio modules for one-way or two-way RF links. At 3.0 V minimum operation, the part runs directly from two AA cells without boost converters. The 18-pin SOIC footprint supports both hand-soldered prototypes and high-volume SMT manufacturing.

🏭

HVAC Damper and Valve Actuators

The PIC16F628T-20/SO controls HVAC damper and valve actuators in building automation, zone-control thermostats, and hydronic radiator valves. Its two analog comparators read thermistor networks and potentiometer position feedback, while the CCP module drives a low-side MOSFET or solid-state relay for proportional valve control. The hardware USART interfaces to BACnet, Modbus, or proprietary building-automation networks. The 128-byte EEPROM stores calibration curves and last-position memory for fail-safe operation after power interruption. The 18-pin SOIC package and -40C to +85C industrial range handle plenum-mount and outdoor installations. Low-power sleep modes are critical for battery-backed or energy-harvesting valve nodes.

Recommended Products Summary

PIC16F628A-I/SO Microchip Technology Used in: Consumer Appliance Control, Lighting Control and LED Drivers, Security and Alarm Panel Logic, Battery-Powered Remote Controls MOC3021 Optotriac driver for AC load control Used in: Consumer Appliance Control PIC16F648A-I/SO Microchip Technology Used in: Consumer Appliance Control, HVAC Damper and Valve Actuators MCP6002 Low-power op-amp for sensor signal conditioning Used in: Industrial Sensor Signal Conditioning PIC16F628AT-I/SO Microchip Technology Used in: Industrial Sensor Signal Conditioning, Automotive Body Electronics MCP4921 12-bit DAC for analog output retransmission Used in: Industrial Sensor Signal Conditioning BC847 NPN transistor for high-current LED PWM switching Used in: Lighting Control and LED Drivers WS2801 External LED driver for RGB pixel strings Used in: Lighting Control and LED Drivers RE200B PIR motion sensor analog front end Used in: Security and Alarm Panel Logic MCP1700 Low-quiescent LDO for battery-powered alarm nodes Used in: Security and Alarm Panel Logic, Battery-Powered Remote Controls TLE6209R H-bridge motor driver for seat/mirror control Used in: Automotive Body Electronics MCP2551 CAN-bus transceiver for body-network modules Used in: Automotive Body Electronics nRF24L01+ 2.4 GHz RF transceiver for wireless remotes Used in: Battery-Powered Remote Controls MCP9808 High-accuracy digital temperature sensor Used in: HVAC Damper and Valve Actuators MAX31865 RTD-to-digital converter for precise thermistor replacement Used in: HVAC Damper and Valve Actuators
What is the program memory size of the PIC16F628T-20/SO?
The PIC16F628T-20/SO has 3.5 KB of Flash program memory, organized as 2K x 14-bit words in the mid-range PIC16 architecture. This is supported by 224 bytes of RAM and 128 bytes of EEPROM for non-volatile data storage, sufficient for small embedded control loops, peripheral drivers, and protocol stacks such as Modbus RTU. Source: Microchip PIC16F628 datasheet, mid-range MCU family reference manual.
What is the maximum operating frequency of PIC16F628T-20/SO?
The PIC16F628T-20/SO operates at up to 20 MHz instruction cycle, executing one instruction per clock cycle (except branches). At 20 MHz, each instruction takes 200 ns, giving 5 MIPS throughput. The "-20" in the MPN explicitly marks the 20 MHz speed grade; the slower "-04" variant runs at 4 MHz maximum. Power consumption scales roughly linearly with frequency, so a 4 MHz implementation halves dynamic current.
Where can I buy PIC16F628T-20/SO online?
The PIC16F628T-20/SO is available from authorized distributors including DigiKey (part number PIC16F628T-20/SO-ND), Mouser, and Xecor. As of 2026-09-21, distributor stock is generally available in production volumes. Pricing on DigiKey starts near $3.45 for qty 1 and falls to roughly $2.18 per unit at qty 1000. XAIPART also stocks the part for engineering and prototype orders with full traceability.
What is the lead time for PIC16F628T-20/SO?
Lead time for the PIC16F628T-20/SO is currently 8-12 weeks from Microchip factory stock based on Q3 2026 distributor reports. Distributors including DigiKey and Mouser maintain reel inventory for prototype and small-batch orders, typically shipping within 1-3 business days when in stock. For production volumes above 10,000 units, place orders 16 weeks in advance to avoid allocation delays during peak demand.
Is PIC16F628T-20/SO in stock at major distributors?
As of 2026-09-21, the PIC16F628T-20/SO is listed with active stock at DigiKey under part number 362065-ND, with on-hand quantities visible on the product page. Mouser similarly lists the part under Microchip Technology with confirmed inventory. Both distributors offer cut-tape and full-reel options. XAIPART also maintains stock for engineering samples with same-day shipping for orders placed before 3 PM PT.
What is the price of PIC16F628T-20/SO?
The unit price of PIC16F628T-20/SO is approximately $3.45 at qty 1, $3.10 at qty 10, $2.75 at qty 100, $2.42 at qty 500, and $2.18 at qty 1000, as of 2026-09-21 from DigiKey. Pricing varies by reel vs cut-tape and by distributor. Volume OEM contracts typically achieve additional 10-20% discount below published distributor pricing. All prices are listed in USD and exclude tariffs or shipping.
PIC16F628T-20/SO vs PIC16F628-20/SO - what is the difference?
The PIC16F628T-20/SO is the Tape and Reel packaging variant of the PIC16F628-20/SO. Both share the identical silicon die, 20 MHz speed grade, 18-pin SOIC package outline, and electrical specifications. The "T" suffix only changes the shipping medium (reel vs tube), making them drop-in equivalents on the PCB. Choose T&R for SMT pick-and-place assembly lines and tube for low-volume or hand-prototype builds.
What is the best drop-in replacement for PIC16F628T-20/SO?
The best drop-in replacement for the PIC16F628T-20/SO is the PIC16F628AT-I/SO from Microchip, which adds 7 KB flash and an internal oscillator, with the same 18-pin SOIC footprint. For lower cost the PIC16F628A-I/SO is a closer drop-in with similar 3.5 KB flash and identical pinout. The PIC16F628T-04/SO runs at 4 MHz instead of 20 MHz and is suitable when slower instruction throughput is acceptable.
When should I choose PIC16F628T-20/SO over PIC16F628A-I/SO?
Choose the PIC16F628T-20/SO when you need exact legacy compatibility with an existing PIC16F628 design, particularly for boards laid out for 3.5 KB flash and 20 MHz operation without the enhanced feature set of the 'A' revision. Choose the PIC16F628A-I/SO for new designs that benefit from the wider 2.0-5.5V operating range, internal 4 MHz oscillator, 7 KB flash, and additional peripherals, while keeping the same 18-pin SOIC footprint.
Is PIC16F628T-20/SO suitable for industrial control applications?
Yes, the PIC16F628T-20/SO operates over -40C to +85C (industrial) and provides 25 mA I/O drive, two analog comparators with programmable VREF, and a hardware USART - all features well-matched to industrial control loops. For harsher -40C to +125C automotive environments, the PIC16F628AT-I/SO (automotive grade) or PIC16F628T-20I/SO should be considered, although the latter extends temperature range without AEC-Q100 qualification.
Where to download PIC16F628T-20/SO datasheet PDF?
The official PIC16F628T-20/SO datasheet is available from Microchip's website, document number DS41191, currently revision G. The direct PDF link is ww1.microchip.com/downloads/en/DeviceDoc/41191G.pdf. Third-party mirrors such as alldatasheet.com also host the PDF, but always verify against the Microchip original to ensure you have the latest revision and errata.
Where to find PIC16F628T-20/SO pinout?
The PIC16F628T-20/SO 18-pin SOIC pinout is published in section 1 of the Microchip datasheet (DS41191G). Pin 1 is MCLR/VPP, pins 2 and 3 are RA0/AN0 and RA1/AN1, pin 4 is RA2/AN2/CVREF, pin 5 is RA3, pin 6 is RA4/T0CKI, pin 7 is RA5, pin 8 is VSS, pin 9 is OSC1/CLKIN, pin 10 is OSC2/CLKOUT, pin 11 is RC0, pin 12 is RC1, pin 13 is RC2/CCP1, pin 14 is RC3, pin 15 is RC4, pin 16 is RC5, pin 17 is RC6/TX/CK, and pin 18 is RC7/RX/DT/VDD.
What programming tools support PIC16F628T-20/SO?
The PIC16F628T-20/SO is fully supported by Microchip's MPLAB X IDE and the MPLAB IPE programmer. Hardware programmers include the PICkit 3, PICkit 4, PICkit 5, MPLAB SNAP, and ICD 3/4 in-circuit debuggers. The device uses ICSP (In-Circuit Serial Programming) via the PGD/PGC pins (RB7/RB6) with VPP on MCLR. Compilers supported include MPLAB XC8, CCS C, and mikroC PRO for PIC.
What is the operating voltage of PIC16F628T-20/SO?
The PIC16F628T-20/SO operates from 3.0 V to 5.5 V, supporting both 3.3 V and 5 V designs. At 5 V the maximum clock is 20 MHz; at 3.3 V the maximum clock drops to 10 MHz according to the Microchip datasheet DC characteristics table. Brown-out detection is selectable via configuration bits at 4.0 V, 3.6 V, 2.7 V, or disabled, providing flexibility for battery and mains-powered applications.
Hey Google, what can replace PIC16F628T-20/SO?
The PIC16F628T-20/SO can be replaced by the Microchip PIC16F628AT-I/SO (enhanced 'A' version with 7 KB flash, same 18-pin SOIC footprint), the PIC16F628A-I/SO (similar 3.5 KB flash, same footprint), or the PIC16F628T-04/SO (lower-cost 4 MHz version). All three are drop-in compatible on the same PCB. Cross-brand options are limited because competing MCU families use different architectures, pinouts, and toolchains.
What are the key specifications of PIC16F628T-20/SO that engineers should know?
Engineers specifying the PIC16F628T-20/SO should note four critical parameters: (1) 3.5 KB Flash / 224 B RAM / 128 B EEPROM, sufficient for simple control loops and small protocol stacks; (2) 20 MHz maximum clock yielding 5 MIPS throughput; (3) 16 I/O pins with 25 mA sink/source for direct LED drive; (4) 18-pin SOIC package with industrial -40C to +85C temperature range and dual 3.3 V / 5 V operation. These specs position the part for cost-sensitive embedded designs.

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

Selection Guide

Choose the PIC16F628T-20/SO when you need a production-ready, Tape & Reel packaged 18-pin SOIC MCU with 20 MHz instruction throughput for industrial and consumer designs operating at -40C to +85C. Choose the PIC16F628A-I/SO for new designs that benefit from 7 KB flash and an internal 4 MHz oscillator (reduced BOM). Choose the PIC16F628AT-I/SO for automotive or harsh-temperature applications requiring -40C to +125C operation. Choose the PIC16F648A-I/SO when a 10-bit ADC is required for sensor-rich designs. For cost-sensitive low-speed applications, the PIC16F628T-04/SO at 4 MHz offers the lowest dynamic power consumption. All variants share the same SOIC-18 footprint for drop-in PCB compatibility.

Comparison with Alternatives

Parameter This Product PIC16F628A-I/SO PIC16F628AT-I/SO PIC16F628T-04/SO PIC16F648A-I/SO
Package SOIC-18 (W) Tape & Reel SOIC-18 - same SOIC-18 - same SOIC-18 - same SOIC-18 - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 3.5 KB 7 KB 7 KB 3.5 KB 7 KB
Maximum Clock Speed 20 MHz 20 MHz 20 MHz 4 MHz 20 MHz
RAM 224 B 224 B 224 B 224 B 256 B
EEPROM 128 B 128 B 128 B 128 B 256 B
Operating Temperature -40C to +85C -40C to +85C -40C to +125C 0C to +70C -40C to +85C
A/D Converter None None None None 10-bit
Internal Oscillator No (external crystal required) Yes, 4 MHz Yes, 4 MHz No Yes, 4 MHz

Key Differentiators

  • Enhanced 'A' revision offers 7 KB flash and internal oscillator (vs PIC16F628A-I/SO)
  • Automotive-grade temperature option available (vs PIC16F628AT-I/SO)
  • Lower-cost 4 MHz option for throughput-tolerant designs (vs PIC16F628T-04/SO)

Design Notes

Place a 100 nF decoupling capacitor as close as physically possible to the VDD pin (pin 18) and VSS pin (pin 8), ideally within 5 mm trace length. For designs with significant digital switching or analog sensor inputs, add a bulk 10 uF tantalum or ceramic capacitor on the VDD rail near the MCU. The PIC16F628T-20/SO draws approximately 10-15 mA active at 20 MHz and 5 V; sleep current drops below 1 uA in nanoWatt mode. Tie the MCLR pin (not present as a discrete pin on 18-pin SOIC; handled internally on this part) to VDD through a 10 kohm resistor unless external reset is required. Brown-out reset should be enabled via configuration bits to protect against low-voltage firmware corruption.

Choose the oscillator configuration bit carefully: HS mode supports 20 MHz crystals with the highest drive, XT supports up to 4 MHz, and LP supports 32 kHz watch crystals for low-power designs. For cost-sensitive designs without a crystal, configure the OSC1/OSC2 pins as digital I/O (RC0/RC1) and use the internal 4 MHz RC oscillator available on the 'A' revision variants. If using an external crystal, keep the load capacitors (typically 15-33 pF) close to the OSC1 and OSC2 pins and route traces over a continuous ground plane to minimize EMI and clock jitter.

Three common pitfalls when designing with the PIC16F628T-20/SO: (1) forgetting to set the watchdog timer configuration bit can leave WDT enabled by default, causing unexpected resets every ~18 ms; (2) configuring RB3/RB4 as analog inputs without clearing the CMCON register leaves the comparators connected and prevents digital I/O operation; (3) using PGM (low-voltage programming) mode accidentally via the LVP configuration bit can cause the MCU to enter programming mode if pin RB4 is pulled low at power-up. Always read the configuration bits table in section 14 of the datasheet before locking the part for production.

The PIC16F628T-20/SO digital outputs have limited 25 mA sink/source capability. For driving higher-current loads such as relays, solenoids, or LED arrays, use an external driver transistor (e.g., BC847 NPN) or MOSFET (e.g., 2N7002) and clamp inductive loads with a flyback diode. Keep high-current switching traces short and isolated from sensitive analog comparator inputs. When using the USART at high baud rates (above 57600 bps), ensure the clock source has less than 0.5% frequency error and route the TX/RX traces over a continuous ground plane to minimize reflections on the asynchronous serial link.

Compliance Information

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

RoHS and REACH compliant per Microchip product page DS41191. Not AEC-Q100 qualified - choose PIC16F628AT-I/SO for automotive-grade designs. Lead-free and halogen-free packaging.

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

Related Searches

PIC16F628T-20/SO PIC16F628T-20/SO datasheet PIC16F628T-20/SO price PIC16F628T-20/SO pinout Microchip PIC16F628 20MHz SOIC-18 PIC16F628T-20/SO vs PIC16F628A-I/SO PIC16F628T-20/SO drop-in replacement PIC16F628 industrial microcontroller 8-bit PIC MCU 18-pin SOIC PIC16F628T-20/SO buy online PIC16F628T-20/SO in stock PIC16F628 flash microcontroller 3.5KB what is the difference between PIC16F628 and PIC16F628A PIC16F628T-20/SO lead time PIC16F628 automotive equivalent

Related Components & Terms

Microchip Technology PIC16F628T-20/SO PIC16F628 PIC16F628A PIC16F628AT PIC16F648A PIC16F627A 8-bit microcontroller RISC architecture Harvard architecture PIC16 mid-range family Flash memory EEPROM USART CCP module analog comparator voltage reference SOIC-18 MPLAB X IDE ICSP RoHS AEC-Q100 surface mount PICkit programmer XC8 compiler
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