PIC16F628AT-E/SS - 8-bit MCU 3.5KB Flash 20MHz SSOP-20
MPN: PIC16F628AT-E/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.1 | $3.10 |
| 10 | $2.79 | $27.90 |
| 100 | $2.48 | $248.00 |
| 500 | $2.22 | $1,110.00 |
| 1,000 | $1.98 | $1,980.00 |
PIC16F628AT-E/SS Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, volatile data memory, and peripherals on one die. Within the broader taxonomy, the PIC16F628A sits under PIC16 mid-range family -> 8-bit PIC MCU -> microcontroller -> embedded processor -> semiconductor. The mid-range core uses a 14-bit instruction word with only 35 single-word instructions, making assembly and C programming accessible; its nanoWatt technology delivers dynamic and sleep power management modes that suit battery-powered nodes.
Key features include an internal 4 MHz precision oscillator (selectable between 4 MHz and 48 kHz), two analog comparators with a programmable voltage reference, a USART for serial communication, a Capture/Compare/PWM (CCP) module, and a 16-bit timer/counter (TMR1) plus an 8-bit timer (TMR0/TMR2). The device also supports in-circuit serial programming (ICSP) for field upgrades and on-chip debug for in-system bring-up.
Architecturally, the PIC16F628A uses a Harvard-style bus with separate program and data paths, allowing instruction fetch and data access in the same cycle. The CMOS process combined with nanoWatt sleep modes brings active current down to a few hundred microamperes at 4 MHz and sleep current below 1 µA, enabling years of operation from coin cells in duty-cycled sensing roles.
Typical applications include consumer remote controls, appliance control panels, low-end sensor signal conditioning, hobby robotics, automotive body-electronics nodes (non-safety), and battery-operated IoT endpoints. The 11 usable I/O pins, on-chip comparator, and PWM capability also support simple closed-loop control such as fan-speed regulation, LED dimming, and brushed-DC motor drive.
A key design consideration is supply voltage: this part operates from 4.5 V to 5.5 V. Engineers designing 3.3 V-only systems should migrate to the PIC16F182x or PIC16F188xx families rather than use level shifters. Always place a 0.1 µF decoupling capacitor within 5 mm of VDD, and reserve the MCLR pin for a proper reset network.
This page synthesizes distributor pricing, cross-manufacturer drop-in alternatives, and engineering design notes that go beyond the manufacturer datasheet, giving procurement and design teams a single source of truth for sourcing PIC16F628AT-E/SS.
Drop-in alternatives for PIC16F628AT-E/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 PIC16F628AT-E/SS (same form factor and footprint) — differing in Package, I/O Pins, Core Architecture, Internal Oscillator, Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F628A-I/SS
✅ Drop-In✓ In Stock
$1.41 / Unit
View Datasheet →PIC16F628A-E/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F648A-I/SS
✅ Drop-In✓ In Stock
$1.78 / Unit
View Datasheet →PIC16F627AT-I/SS
✅ Drop-In✓ In Stock
$1.77 / Unit
View Datasheet →PIC16F1827-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F88-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F628AT-E/SS Maximum Ratings & Electrical Characteristics
| Core | PIC16 mid-range 8-bit RISC |
| Program Memory | 3.5 KB (2K x 14) Flash |
| Data Memory (SRAM) | 224 bytes |
| Data EEPROM | 128 bytes |
| Maximum Clock Frequency | 20 MHz |
| Instruction Cycle | 200 ns |
| Supply Voltage (VDD) | 4.5 V to 5.5 V |
| I/O Pins | 11 |
| Timers | TMR0 (8-bit), TMR1 (16-bit), TMR2 (8-bit) |
| Analog Comparators | 2 with programmable voltage reference |
| Communication | USART |
| CCP Module | 1 (Capture/Compare/PWM) |
| Internal Oscillator | 4 MHz (precision) + 48 kHz LF |
| Operating Temperature | -40 °C to +125 °C (extended) |
| Package | 20-pin SSOP (5.30 mm width) |
| Programming | ICSP (In-Circuit Serial Programming) |
| RoHS Status | Compliant |
PIC16F628AT-E/SS Pin Configuration
| Pin 1 | RA2/AN2 — GPIO RA2 / analog input AN2 |
| Pin 2 | RA3/AN3/CMP1 — GPIO RA3 / analog input AN3 / comparator-1 output |
| Pin 3 | RA4/T0CKI/CMP2 — GPIO RA4 / TMR0 clock input / comparator-2 output |
| Pin 4 | RA5/MCLR/VPP — Master Clear reset (active-low) / programming voltage input |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0/INT — GPIO RB0 / external interrupt |
| Pin 7 | RB1/RX/DT — GPIO RB1 / USART RX / synchronous data |
| Pin 8 | RB2/TX/CK — GPIO RB2 / USART TX / synchronous clock |
| Pin 9 | RB3/CCP1 — GPIO RB3 / Capture-Compare-PWM channel 1 |
| Pin 10 | RB4/PGM — GPIO RB4 / low-voltage programming |
| Pin 11 | RB5 — GPIO RB5 |
| Pin 12 | RB6/PGC — GPIO RB6 / ICSP clock |
| Pin 13 | RB7/PGD — GPIO RB7 / ICSP data |
| Pin 14 | VDD — Positive supply voltage (4.5 V to 5.5 V) |
| Pin 15 | OSC2/CLKOUT — Crystal output / Fosc/4 clock output |
| Pin 16 | OSC1/CLKIN — Crystal input / external clock input |
| Pin 17 | RA6/OSC2 — GPIO RA6 / alternate crystal output |
| Pin 18 | RA7/OSC1 — GPIO RA7 / alternate crystal input |
| Pin 19 | RA0/AN0 — GPIO RA0 / analog input AN0 |
| Pin 20 | RA1/AN1 — GPIO RA1 / analog input AN1 |
Typical Applications
PIC16F628AT-E/SS is suitable for 6 applications: Consumer Remote Control and IR Transmitter, Industrial Appliance Control Panels, Battery-Operated IoT Sensor Nodes, Brushed-DC Motor Speed Control, Automotive Body-Electronics Nodes, Hobby Robotics and Educational Boards.
Consumer Remote Control and IR Transmitter
The PIC16F628AT-E/SS fits consumer IR remote control designs because its 20 MHz core, 3.5 KB flash, and internal 4 MHz oscillator are sufficient for RC5/RC6/SIRC protocol generation while keeping bill of materials low. With only the IR LED and a few passives on the PCB, the MCU modulates a 38 kHz carrier using its CCP/PWM module and switches the LED through a single GPIO. The 224-byte SRAM is ample for protocol state, button matrix debouncing, and command buffering. NanoWatt sleep below 1 µA lets the design run for years on a pair of AAA batteries. The extended -40 °C to +125 °C grade also tolerates in-car cabin environments where consumer remotes sometimes end up. Use an external 32 kHz crystal if you need a precise timebase for low-power wake scheduling.
Recommended
Industrial Appliance Control Panels
The PIC16F628AT-E/SS is well suited for washing-machine, dishwasher, and microwave-oven control boards where the 5 V supply rail is already present and the -40 °C to +125 °C extended temperature grade tolerates the inside of a metal enclosure next to a triac-driven heater. Its 11 I/O pins drive 7-segment LED displays directly through current-limiting resistors while two comparators and the programmable voltage reference handle sensor feedback such as NTC thermistor temperature sensing. The USART interfaces to a Wi-Fi/BLE module for IoT retrofit. Engineers should add a hardware watchdog timer (enabled via configuration fuse) to recover from brown-outs caused by relay switching. The PIC16F628AT-E/SS's 100,000-cycle flash endurance supports infrequent firmware updates over the product lifetime.
Recommended
Battery-Operated IoT Sensor Nodes
The PIC16F628AT-E/SS supports duty-cycled battery-powered sensor nodes where it spends most of its life in nanoWatt sleep with the watchdog timer disabled, drawing under 1 µA. The PIC16 mid-range core wakes on interrupt, takes a sensor reading through one of the two on-chip analog comparators (no ADC required for threshold detection), transmits via the USART to a sub-GHz radio module, and returns to sleep. The internal 4 MHz oscillator eliminates the cost and current draw of an external crystal. Coin-cell designs must note that the 4.5 V minimum supply rules out direct LiSOCl2 chemistry for long-term deployments; either use 2xAA or migrate to the PIC16LF1827 family for 1.8 V operation. The 128-byte EEPROM retains calibration data across power cycles.
Recommended
Brushed-DC Motor Speed Control
The PIC16F628AT-E/SS drives small brushed-DC fans, pumps, and vibration motors through its CCP/PWM module generating a 25 kHz PWM signal with 10-bit resolution. The two on-chip comparators close a hardware-based current limit loop for soft-start and stall protection without CPU intervention, freeing the core for higher-level logic. With 11 I/O pins, the design can read a Hall-effect tachometer, drive an H-bridge through gate drivers, and expose a UART service interface for parameter tuning. The 20 MHz clock and 200 ns instruction cycle keep the PID loop well under 100 µs even when running in C with the XC8 compiler. Add a flyback diode across the motor and a 0.1 µF decoupling cap on VDD for reliable EMI behaviour.
Recommended
Automotive Body-Electronics Nodes
The PIC16F628AT-E/SS 'E' (extended -40 °C to +125 °C) grade supports non-safety automotive body electronics such as interior lighting controllers, seat-position memory modules, mirror-adjust modules, and HVAC blend-door actuators. The 4.5 V to 5.5 V supply aligns with the regulated 5 V rail available on most body controllers, and the 11 I/O pins handle Hall-effect sensor inputs and H-bridge outputs for small actuators. Note that this part is NOT AEC-Q100 qualified; for under-hood or safety-relevant applications, choose the AEC-Q100 qualified PIC16F15324-I/SL or PIC16F18855-I/SS instead. Always add a TVS diode on VDD and a ferrite bead on the supply to survive load-dump transients up to 40 V.
Recommended
Hobby Robotics and Educational Boards
The PIC16F628AT-E/SS powers educational robotics platforms where the SSOP-20 footprint simplifies hand-soldering on breakout boards and the 35-instruction PIC16 mid-range ISA keeps assembly teaching transparent. With 3.5 KB of flash, students can fit line-following, sumo-bot, and PID line-tracking algorithms. The USART interfaces to HC-05 Bluetooth modules for smartphone control, while the CCP/PWM module drives hobby servos directly. The internal 4 MHz oscillator means no crystal is needed for initial bring-up; external crystal pads are reserved on the PCB for time-critical applications. PICKit3 or PICKit4 programmers attach to the ICSP pins (RB6/RB7) for in-circuit debugging, a feature usually missing from cheaper 8-bit competitors.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F628AT-E/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F628A-I/SS | PIC16F628A-E/SS | PIC16F648A-I/SS | PIC16F1827-I/SS |
|---|---|---|---|---|---|
| Package | SSOP-20 (5.30 mm) | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same | SSOP-20 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 3.5 KB | 3.5 KB | 7 KB | 7 KB | 7 KB |
| SRAM | 224 bytes | 224 bytes | 256 bytes | 384 bytes | 368 bytes |
| Maximum Clock | 20 MHz | 20 MHz | 20 MHz | 32 MHz | 20 MHz |
| Supply Voltage | 4.5 V to 5.5 V | 4.5 V to 5.5 V | 4.5 V to 5.5 V | 1.8 V to 5.5 V | 4.0 V to 5.5 V |
| Temperature Grade | Extended -40C to +125C | Industrial -40C to +85C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C |
| ADC | No (2 comparators only) | No (2 comparators) | Yes - 10-bit, 12 channels | Yes - 10-bit, 7 channels | |
| I/O Pins | 11 | 11 | 11 | 16 | 16 |
| Communication | USART | USART | USART | USART + I2C + SPI | USART + I2C + SPI |
Key Differentiators
- Extended -40C to +125C temperature grade in SSOP-20 with 5 V supply (vs PIC16F628A-I/SS)
- Tape-and-reel packaging orientation optimized for high-speed SMT (vs PIC16F628A-E/SS)
- nanoWatt sleep below 1 µA in the SSOP-20 footprint (vs PIC16F1827-I/SS)
Design Notes
Place a 0.1 µF ceramic decoupling capacitor within 5 mm of the VDD pin and a bulk 10 µF tantalum or aluminum capacitor on the supply rail to suppress switching noise from relays or motors on the same board. The PIC16F628A is a relatively low-current device (typical 220 µA active at 4 MHz / 5 V) so no special power-plane stitching is required, but the VSS pin should connect to a low-impedance ground pour. For battery-powered designs, route unused GPIO as outputs tied low to minimise floating-input shoot-through current.
The MCLR pin (pin 4) requires a proper reset network: a 10 kΩ pull-up to VDD and a 100 nF cap to VSS creates a typical RC rise time. If in-circuit programming is required, do NOT place any series resistance greater than 470 Ω on MCLR/PGC/PGD, or PICKit3/PICKit4 programming will fail. Reserve a 2-pin header for the ICSP interface. Keep the SSOP-20 thermal pad floating or grounded per Microchip's SSOP package guidance - the part has no exposed pad and thermal dissipation is not a concern at these current levels.
Estimated: at 20 MHz and 5 V, the PIC16F628AT-E/SS consumes roughly 5 mA active current; designers migrating from the PIC16F84A should note the supply voltage must be 4.5 V minimum. Watch the watchdog timer enable fuse - accidentally enabling WDT in nanoWatt sleep mode can double sleep current. Also confirm that the internal 4 MHz oscillator is selected by configuration bits (FOSC field), not external crystal, otherwise OSC1/OSC2 will float and the device will not start. Always read-back the configuration word after programming to verify.
Compliance Information
RoHS and REACH compliant per Microchip product page. NOT AEC-Q100 qualified - choose PIC16F15324-I/SL for automotive safety-relevant applications.