PIC16F628A-I/SS - 8-Bit 20MHz 3.5KB Flash MCU 20-SSOP | Microchip
N.º de pieza: PIC16F628A-I/SS ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 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 Descripción general
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.
Alternativas directas para PIC16F628A-I/SS — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC16F628A-I/SS (mismo factor de forma y huella) — difiere en Program Memory Size, RAM Size, Core Architecture, Timers, Package / Case.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC16F627A-I/SS
✅ Sustitución directa✓ En stock
$1.12 / unidad
Ver hoja de datos →PIC16F628AT-I/SS
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC16F628A-E/SS
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC16F628A-I/SO
✅ Sustitución directa✓ En stock
$2.32 / unidad
Ver hoja de datos →PIC16F88-I/SS
✅ Sustitución directa✓ En stock
$3.08 / unidad
Ver hoja de datos →PIC16F1827-I/SS
✅ Sustitución directa ⚠️ Especificaciones sin verificar📋 Alternativa de referencia (no en el catálogo)
PIC16F628A-I/SS Valores máximos y características eléctricas
| 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 |
| Encapsulado | 20-pin SSOP |
| Operating Voltage Range | 3.0 V to 5.5 V (F version) |
| Rango de temperatura de funcionamiento | -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) |
| Estado RoHS | Compliant |
Configuración de pines de PIC16F628A-I/SS
| 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) |
Aplicaciones típicas
PIC16F628A-I/SS es adecuado para 6 aplicacións: 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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC16F628A-I/SS — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | 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 |
Diferenciadores clave
- Lowest-cost 3.5 KB Flash PIC16 in SSOP-20 with industrial temperature grade (frente a PIC16F627A-I/SS)
- Higher program memory and ADC option in same SSOP-20 footprint (frente a PIC16F88-I/SS)
- Lower-power modern replacement with extended peripherals (frente a PIC16F1827-I/SS)
Notas de diseño
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.
Información de cumplimiento
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.