PIC16F628A-I/SS - 8-Bit 20MHz 3.5KB Flash MCU 20-SSOP | Microchip
MPN: PIC16F628A-I/SS β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.85 | $2.85 |
| 10 | $2.58 | $25.80 |
| 100 | $2.15 | $215.00 |
| 500 | $1.89 | $945.00 |
| 1,000 | $1.62 | $1,620.00 |
| 3,000 | $1.41 | $4,230.00 |
PIC16F628A-I/SS Overview
A PIC (Peripheral Interface Controller) microcontroller is a class of 8-bit RISC microcontrollers originally developed by General Instrument's Microelectronics Division and popularized by Microchip Technology. PIC microcontrollers occupy a middle position in the embedded taxonomy: simpler than 32-bit ARM Cortex-M parts but more capable than 4-bit devices, they are widely used in cost-sensitive, deterministic, low-power embedded designs spanning automotive, industrial, appliance, and consumer markets. Within Microchip's portfolio, the PIC16F family sits between the baseline PIC10/12 families and the higher-performance PIC18 and dsPIC families.
The PIC16F628A is engineered as the modernized successor to the iconic PIC16F84A, retaining the same 14-bit instruction word and Harvard architecture but adding a USART, internal oscillator, two comparators, PWM module, and significantly more program and data memory. The "I" suffix denotes the industrial temperature range of -40C to +85C, and the "/SS" suffix specifies the 20-pin SSOP package. The integrated 4MHz internal oscillator eliminates the need for an external crystal in many designs, reducing BOM cost and PCB area. The 128 bytes of onboard EEPROM provide non-volatile data storage for user-configurable parameters.
The Harvard architecture separates program and data memory, with a 14-bit-wide instruction bus and an 8-bit-wide data bus, allowing instruction fetch and data access to occur in the same clock cycle. The device supports up to 16 I/O pins, three timers, and multiple interrupt sources, with eight hardware stack levels enabling nested subroutine calls. nanoWatt Technology provides multiple power-managed operating modes including run, idle, and sleep, with typical sleep current in the microamp range for battery-powered applications.
Typical applications include automotive body electronics and sensor interfaces, industrial control and remote sensing, white goods and home appliances, consumer electronics, lighting control, and metering. The combination of integrated peripherals and small package makes it well-suited for space-constrained designs where an external crystal is undesirable.
When designing with this part, ensure the supply voltage stays within 3.0V to 5.5V for the F-version; some legacy variants specify a narrower 4.5V-5.5V range, so verify against the specific device marking. In-circuit serial programming (ICSP) requires two pins (RB6/RB7) which must be accessible on the PCB for production programming.
This page consolidates distributor pricing, drop-in same-package alternatives, and design notes sourced from the manufacturer datasheet, giving procurement and design engineers a single reference that typical catalog pages do not provide.
Drop-in alternatives for PIC16F628A-I/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 PIC16F628A-I/SS (same form factor and footprint) β differing in Program Memory Size, RAM Size, Core Architecture, Timers, Package / Case.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F627A-I/SS
β Drop-Inβ In Stock
$1.12 / Unit
View Datasheet βPIC16F628AT-I/SS
β Drop-Inπ Reference alternative (not in catalog)
PIC16F628A-E/SS
β Drop-Inπ Reference alternative (not in catalog)
PIC16F628A-I/SO
β Drop-Inβ In Stock
$2.32 / Unit
View Datasheet βPIC16F88-I/SS
β Drop-Inπ Reference alternative (not in catalog)
PIC16F1827-I/SS
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
PIC16F628A-I/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (Harvard) |
| Instruction Word Width | 14 bits |
| Maximum Clock Speed | 20 MHz |
| Internal Oscillator | 4 MHz |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| RAM | 224 bytes |
| EEPROM Data Memory | 128 bytes |
| I/O Pins | 16 |
| Package | 20-pin SSOP |
| Operating Voltage Range | 3.0 V to 5.5 V (F version) |
| Operating Temperature Range | -40 C to +85 C (Industrial) |
| Hardware Peripherals | USART, 1x CCP/PWM, 2x Comparators, Programmable Voltage Reference |
| Timers | 3 (Timer0, Timer1, Timer2) |
| A/D Converter | None (comparator-based analog only) |
| Stack Depth | 8 levels |
| Power-Saving Modes | nanoWatt (Run, Idle, Sleep) |
| Programming Method | ICSP (In-Circuit Serial Programming) |
| RoHS Status | Compliant |
PIC16F628A-I/SS Pin Configuration
| Pin 1 | RA2/AN2/VREF β I/O port A bit 2 / analog channel 2 / voltage reference output |
| Pin 2 | RA3/AN3/CMP1 β I/O port A bit 3 / analog channel 3 / comparator 1 output |
| Pin 3 | RA4/T0CKI/CMP2 β I/O port A bit 4 / Timer0 clock input / comparator 2 output |
| Pin 4 | RA5/MCLR/VPP β I/O port A bit 5 / master clear reset (active low) / programming voltage |
| Pin 5 | VSS β Ground reference |
| Pin 6 | RB0/INT β I/O port B bit 0 / external interrupt |
| Pin 7 | RB1/RX/DT β I/O port B bit 1 / USART RX / data line |
| Pin 8 | RB2/TX/CK β I/O port B bit 2 / USART TX / clock line |
| Pin 9 | RB3/CCP1 β I/O port B bit 3 / CCP1 PWM output |
| Pin 10 | RB4/PGM β I/O port B bit 4 / low-voltage programming |
| Pin 11 | RB5 β I/O port B bit 5 |
| Pin 12 | RB6/PGC β I/O port B bit 6 / ICSP clock |
| Pin 13 | RB7/PGD β I/O port B bit 7 / ICSP data |
| Pin 14 | VDD β Positive supply voltage |
| Pin 15 | OSC2/RA6 β Crystal oscillator output / I/O port A bit 6 |
| Pin 16 | OSC1/RA7 β Crystal oscillator input / I/O port A bit 7 |
| Pin 17 | RA0/AN0 β I/O port A bit 0 / analog channel 0 |
| Pin 18 | RA1/AN1 β I/O port A bit 1 / analog channel 1 |
| Pin 19 | VSS β Ground reference (second ground pin) |
| Pin 20 | VDD β Positive supply voltage (second VDD pin) |
Typical Applications
PIC16F628A-I/SS is suitable for 6 applications: Automotive Body Electronics and Sensor Interfaces, Industrial Control and Remote Sensing, Home Appliance Control (White Goods), Consumer Electronics Remote Controls and HMI, Lighting Control and LED Drivers, Metering and Measurement Instruments.
Automotive Body Electronics and Sensor Interfaces
The PIC16F628A-I/SS fits automotive body-control modules because its integrated 4MHz internal oscillator eliminates the external crystal BOM line, while 16 I/O pins handle multiple switch inputs and LED outputs. With 224 bytes RAM and 3.5 KB Flash, the part runs simple body-control protocols including LIN slave via the hardware USART, and its -40 C to +85 C industrial temperature rating covers cabin-mounted ECUs. For under-hood designs requiring -40 C to +125 C, the PIC16F628A-E/SS variant extends the range to AEC-Q100-style thermal stress without changing the SSOP-20 footprint.
Recommended
Industrial Control and Remote Sensing
In industrial sensor-node designs the PIC16F628A-I/SS provides the deterministic 8-bit RISC execution needed for control loops while its nanoWatt sleep mode drops quiescent current into the microamp range for battery-powered remote sensors. The two onboard analog comparators with programmable voltage reference handle threshold detection on thermocouple or process-variable inputs without external op-amps, and the 128-byte EEPROM stores calibration constants and node ID across power cycles. The 20-MHz instruction rate supports sub-millisecond response on UART-linked sensor buses, and the 20-pin SSOP fits 0.5-inch-pitch sensor PCBs.
Recommended
Home Appliance Control (White Goods)
White-goods appliance controllers from dishwashers to washing machines benefit from the PIC16F628A-I/SS integrated peripherals: the CCP/PWM module drives motor or valve control at up to 20 MHz, the USART interfaces with the user-panel board or main display, and the analog comparators monitor over-temperature and water-level sensors directly. The industrial -40 C to +85 C range covers the appliance thermal envelope, while the small SSOP-20 footprint lets designers shrink the controller PCB for tight-form-factor washers. Its Flash-based program memory supports field firmware updates via ICSP without removing the controller from the appliance.
Recommended
Consumer Electronics Remote Controls and HMI
The PIC16F628A-I/SS is well suited to consumer remote controls and simple human-machine-interface (HMI) panels because its nanoWatt sleep current extends battery life on coin cells, and the integrated 4 MHz oscillator eliminates external timing components. With 16 I/O pins the part drives IR LEDs, scan key matrices up to 4x4, and interfaces with low-cost LCD character displays via bit-banged SPI or I2C. The 128-byte EEPROM stores user preferences like channel lists or favorite settings, and the SSOP-20 package enables ultra-thin remote enclosures.
Recommended
Lighting Control and LED Drivers
The PIC16F628A-I/SS drives simple lighting-control products like DMX-512 slave dimmers or PWM-based RGB controllers using its CCP/PWM module and USART. The 20-MHz instruction rate sustains 8-bit PWM at frequencies above 1 kHz with no visible flicker, while the analog comparators implement zero-cross detection for TRIAC-based AC dimming. The integrated programmable voltage reference sets the comparator threshold accurately without external parts, and the small SSOP-20 footprint fits inside the compact ceiling-rose or wall-switch enclosures typical of LED retrofit products.
Recommended
Metering and Measurement Instruments
Basic metering applications such as electricity submeters, water-flow counters, and gas-volume totalizers use the PIC16F628A-I/SS because its two analog comparators and 16-bit timer1 enable pulse-counting and frequency measurement with minimal external components. The 128-byte EEPROM accumulates non-volatile totals across power outages, and the USART streams measurement data to a host display or aggregator. The industrial temperature rating supports outdoor and basement installations, while the SSOP-20 surface-mount package withstands standard wave-solder and reflow processes used in metering manufacturing.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F628A-I/SS β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F627A-I/SS | PIC16F628AT-I/SS | PIC16F628A-E/SS | PIC16F628A-I/SO | PIC16F88-I/SS | PIC16F1827-I/SS |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-SSOP | 20-SSOP - same | 20-SSOP - same | 20-SSOP - same | 20-SOIC (different body width) | 20-SSOP - same | 20-SSOP - same |
| Program Memory (Flash) | 3.5 KB | 1.75 KB | 3.5 KB | 3.5 KB | 3.5 KB | 7 KB | 7 KB |
| RAM | 224 bytes | 224 bytes | 224 bytes | 224 bytes | 224 bytes | 368 bytes | 384 bytes |
| EEPROM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 256 bytes | 256 bytes |
| Maximum Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 32 MHz |
| ADC | None (comparators only) | None | None | None | None | 10-bit, 7 channels | 10-bit, 12 channels |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C (Extended) | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
Key Differentiators
- Lowest-cost 3.5 KB Flash PIC16 in SSOP-20 with industrial temperature grade (vs PIC16F627A-I/SS)
- Higher program memory and ADC option in same SSOP-20 footprint (vs PIC16F88-I/SS)
- Lower-power modern replacement with extended peripherals (vs PIC16F1827-I/SS)
Design Notes
Estimated: at 20 MHz and 5 V VDD the PIC16F628A typically draws 11 mA active and 1-2 uA in sleep. For battery designs, configure the OSCCAL register for the lowest acceptable frequency, use the sleep command between sensor reads, and place a 0.1 uF decoupling capacitor within 5 mm of the VDD pin. The MCU retains RAM through sleep so no warm-up time is needed on wake.
When using an external crystal, keep the crystal traces short and surrounded by a ground pour to minimize EMI. The ICSP pins RB6 and RB7 must remain accessible for production programming - do not load them with circuitry that prevents the programmer from driving them. If RB4 is used as the LVP enable pin, ensure the LVP configuration bit is set correctly or the part will refuse to enter low-voltage programming.
Watch the MCLR pin configuration: if left as a reset input it requires a 10 kohm pull-up to VDD for reliable operation, but if configured as RA5 (digital input only) the internal weak pull-up is sufficient. Brown-out reset (BOR) must be enabled for reliable operation in noisy electrical environments such as motor-control applications. The two VSS pins (5 and 19) and two VDD pins (14 and 20) must both be connected for adequate supply distribution.
Compliance Information
RoHS compliant per Microchip material declaration. MSL Level 1 per JEDEC J-STD-020. Not AEC-Q100 qualified - choose PIC16F628A-E/SS for extended-temperature designs but still no automotive Q100 qualification.