PIC16LF628T-04/SS - 4MHz 8-bit MCU 3.5KB Flash | Microchip
N.º da peça: PIC16LF628T-04/SS ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $2.95 | $2,95 |
| 10 | $2.75 | $27,50 |
| 100 | $2.5 | $250,00 |
| 500 | $2.28 | $1.140,00 |
| 1.000 | $2.05 | $2.050,00 |
PIC16LF628T-04/SS Visão geral
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path that integrates a CPU core, program memory, data RAM, peripheral set, and I/O into one package. Within the broader taxonomy, an 8-bit MCU sits under microcontroller -> embedded processor -> semiconductor IC, and historically serves cost-sensitive, deterministic, low-power applications where ARM Cortex-M devices would be overkill.
Key features include a Harvard RISC architecture with only 35 single-cycle instructions, an integrated analog comparator module with programmable on-chip voltage reference (VREF), two 8-bit timers plus one 16-bit timer, a USART with support for RS-232/RS-485 LIN, and a 10-bit (actually 8-bit PWM-capable) capture/compare/PWM module. The device also offers an internal 4 MHz oscillator, watchdog timer with on-chip RC oscillator, in-circuit serial programming (ICSP), and high-current sink/source capable of directly driving LEDs.
Architecturally, the PIC16LF628 uses a 14-bit instruction word with separate program and data buses, allowing instruction fetch and data access to occur in the same clock cycle. The '04' speed grade specifies 4 MHz operation, while the 'T' suffix denotes tape-and-reel packaging, and '/SS' indicates the 20-lead SSOP package outline (5.30 mm body width, 0.65 mm pitch).
Typical applications include battery-powered sensor nodes, automotive body controllers, appliance control boards, LED lighting controllers, hobbyist and educational embedded projects, industrial remote keyless entry (RKE), and small automation controllers. The wide voltage range makes it especially attractive for designs powered by 2x AA cells, coin cells, or unregulated supplies.
When designing with this part, observe that PIC16LF628 requires MPLAB X IDE or older MPLAB 8 with Hi-Tech PICC or XC8 compiler for firmware development, and that the device shares the PIC16 mid-range instruction set with hundreds of family members, easing code portability. For new designs, evaluate whether a newer PIC16F1xxx enhanced mid-range device may offer better peripherals at similar cost.
This page synthesizes distributor pricing, parametric cross-reference data, and practical design notes - a one-stop reference not available in the standalone Microchip datasheet.
Alternativas drop-in para PIC16LF628T-04/SS — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC16LF628T-04/SS (mesmo formato e footprint) — diferindo em Core Architecture, Package, Timers, Communication, I/O Pins.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16LF628-04/SS
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16LF628-04I/SS
✅ Drop-In✓ Em estoque
$1.85 / unidade
Ver ficha técnica →PIC16LF628T-04/SS301
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16LF627T-04I/SS
✅ Drop-In✓ Em estoque
$1.78 / unidade
Ver ficha técnica →PIC16LF628A-I/SS
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$1.65 / unidade
Ver ficha técnica →PIC16F628-20/SS
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16LF628T-04/SS Classificações máximas e características elétricas
| Core Architecture | PIC 8-bit RISC (Harvard) |
| Instruction Width | 14-bit |
| Maximum CPU Frequency | 4 MHz |
| Performance | 4 MIPS |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data SRAM | 224 bytes |
| Data EEPROM | 128 bytes |
| Digital I/O Pins | 16 |
| Operating Voltage Range | 2.0 V to 5.5 V |
| Encapsulamento | 20-pin SSOP (5.30 mm body width) |
| Package Code | /SS (Shrink Small Outline Package) |
| Speed Grade | -04 (4 MHz) |
| Packaging Suffix | T (Tape and Reel) |
| Timers | 2 x 8-bit + 1 x 16-bit Timer1 |
| Analog Comparators | 2 with programmable VREF |
| Communication | USART (RS-232/RS-485/LIN compatible) |
| CCP/PWM Module | Yes (10-bit PWM) |
| Internal Oscillator | 4 MHz (calibrated) |
| Watchdog Timer | Yes (with dedicated on-chip RC) |
| In-Circuit Programming | ICSP |
| Status RoHS | Compliant |
Configuração de pinos do PIC16LF628T-04/SS
| Pino 1 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Pino 2 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Pino 3 | RA2/AN2/VREF — Digital I/O / Analog input / VREF output |
| Pino 4 | RA3/AN3/CMP1 — Digital I/O / Analog input / Comparator 1 output |
| Pino 5 | RA4/T0CKI — Digital I/O / Timer0 clock input |
| Pino 6 | RA5/MCLR/VPP — Digital I/O / Master Clear (reset) / Programming voltage |
| Pino 7 | RA6/OSC2/CLKOUT — Digital I/O / Crystal oscillator output / Clock out |
| Pino 8 | RA7/OSC1/CLKIN — Digital I/O / Crystal oscillator input / Clock in |
| Pino 9 | VSS — Ground reference |
| Pino 10 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Pino 11 | RB0/INT — Digital I/O / External interrupt |
| Pino 12 | RB1/RX/DT — Digital I/O / USART RX / Data |
| Pino 13 | RB2/TX/CK — Digital I/O / USART TX / Clock |
| Pino 14 | RB3/CCP1 — Digital I/O / Capture/Compare/PWM 1 |
| Pino 15 | RB4 — Digital I/O (interrupt-on-change) |
| Pino 16 | RB5 — Digital I/O (interrupt-on-change) |
| Pino 17 | RB6/T1OSO/T1CKI/PGC — Digital I/O / Timer1 oscillator / T1 clock / ICSP clock |
| Pino 18 | RB7/T1OSI/PGD — Digital I/O / Timer1 oscillator in / ICSP data |
| Pino 19 | VSS — Ground reference |
| Pino 20 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
Aplicações típicas
PIC16LF628T-04/SS é adequado para 6 aplicaçãos: Battery-Powered Sensor Node, Automotive Body Controller, LED Lighting Controller, Industrial Remote Keyless Entry (RKE), Hobbyist & Educational Embedded Platform, Small Appliance Control Board.
Battery-Powered Sensor Node
The PIC16LF628T-04/SS fits battery-powered sensor nodes because its 2.0V-5.5V operating range supports direct use with 2x AA cells or 3V coin cells without a boost converter. Its integrated analog comparators with programmable VREF allow ultra-low-power sensor interfaces that wake the CPU only on threshold crossings, and the 224-byte SRAM is sufficient for small sensor state machines. At 4 MIPS the core comfortably handles I2C/SPI sensor polling and UART telemetry to a host, while the internal 4 MHz oscillator eliminates external crystal cost and quiescent current leakage in sleep mode.
Recomendado
Automotive Body Controller
The PIC16LF628T-04/SS is widely used in low-end automotive body controllers for window lift, mirror adjust, and interior lighting subsystems. Its wide voltage tolerance handles 12V lead-acid battery transients down to ~6V cranking dips, and its high-current sink/source I/O can drive relay coils and LED arrays directly without external drivers. The integrated USART supports LIN bus communication to other body modules, while the analog comparators enable current sensing across shunt resistors. For underhood applications, choose the industrial /SS variant and add TVS protection on supply pins.
Recomendado
LED Lighting Controller
The PIC16LF628T-04/SS is a strong fit for LED lighting controllers because its high-current I/O pins can directly sink LED segment current, and the CCP/PWM module provides hardware PWM dimming at 10-bit resolution for smooth fade effects. The 4 MIPS performance supports 8-16 channel addressable LED driving via software bit-bang on remaining I/O, while the 3.5KB flash accommodates complex chase patterns and color tables. The 2.0V minimum operating voltage allows direct use with 3.3V regulated rails from off-line LED drivers.
Recomendado
Industrial Remote Keyless Entry (RKE)
The PIC16LF628T-04/SS has long been a standard in industrial remote keyless entry transmitters thanks to its sub-1 mA active current and low-voltage operation from coin cells. The internal 4 MHz oscillator with hardware USART directly drives 433 MHz / 315 MHz ASK/FSK transmitters via OOK modulation, and the analog comparators detect pushbutton presses in deep sleep without CPU wakeup. The 128-byte EEPROM stores rolling code counters and pairing keys, while 3.5KB flash accommodates encrypted rolling-code firmware.
Recomendado
Hobbyist & Educational Embedded Platform
The PIC16LF628T-04/SS is a staple in hobbyist and educational embedded electronics thanks to its low cost, abundant online tutorials, and breadboard-friendly 20-pin SSOP-to-DIP adapter availability. Its simple PIC16 mid-range instruction set (only 35 single-cycle instructions) makes it an ideal teaching platform for assembly language fundamentals, while the free XC8 compiler and MPLAB X IDE lower the barrier to entry. The 16 I/O pins and integrated peripherals (comparators, timers, USART) enable classic projects like digital clocks, IR receivers, and stepper motor controllers.
Recomendado
Small Appliance Control Board
The PIC16LF628T-04/SS is widely deployed in small appliance control boards such as coffee makers, toaster ovens, blenders, and washing machine user-interface boards. Its integrated comparators handle zero-crossing detection for triac-driven heating elements and AC motors, while the 16-bit Timer1 captures precise timing for temperature profiling and motor speed control. The 3.5KB flash accommodates user-interface state machines, and the wide 2.0V-5.5V supply tolerance survives brownouts from inductive loads sharing the same mains-derived supply.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16LF628T-04/SS — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16LF628-04/SS | PIC16LF628-04I/SS | PIC16LF628T-04/SS301 | PIC16LF627T-04I/SS | PIC16F628-20/SS |
|---|---|---|---|---|---|---|
| Brand | 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-SSOP - same | 20-SSOP - same |
| Core | PIC 8-bit RISC | PIC 8-bit RISC | PIC 8-bit RISC | PIC 8-bit RISC | PIC 8-bit RISC | PIC 8-bit RISC |
| Max CPU Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz |
| Program Flash | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 1.75 KB | 3.5 KB |
| Data SRAM | 224 bytes | 224 bytes | 224 bytes | 224 bytes | 224 bytes | 224 bytes |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 4.5 V to 5.5 V |
| I/O Pins | 16 | 16 | 16 | 16 | 16 | 16 |
| Temperature Grade | Commercial (0C to +70C) | Commercial | Industrial (-40C to +85C) | Commercial | Industrial | Commercial |
Principais diferenciais
- True low-voltage operation from 2.0 V (vs PIC16F628-20/SS)
- Identical 3.5 KB flash and pinout with industrial-grade option (vs PIC16LF628-04I/SS)
- Larger flash memory than lower-tier PIC16LF627 (vs PIC16LF627T-04I/SS)
Notas de projeto
PIC16LF628T-04/SS supports 2.0 V to 5.5 V supply. Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 10 or pin 20) with the ground return to the nearest VSS pin. For battery-powered designs, add a 10 uF bulk capacitor on the supply rail to handle inrush from radio transmitters or motor loads. The /MCLR reset pin (RA5) requires a 10 kohm pull-up to VDD if not used for ICSP, and must not float.
When using an external crystal, place the crystal within 5 mm of the OSC1/OSC2 pins (RA6/RA7) with short symmetric traces to minimize stray capacitance and EMI. Add 4.7 kohm series resistors if using a high-drive crystal mode. The ICSP clock and data pins (RB6/PGC, RB7/PGD) should have no series resistance above 470 ohm or capacitive load that prevents programming; leave them accessible for the PICkit header.
Do not enable the internal weak pull-ups on RB0 when using it as the external INT pin with an open-collector driver - the pull-up will fight the external pull-up and cause oscillation. The PIC16LF628T-04/SS has only ONE CCP/PWM module on RB3; do not attempt to drive two independent PWMs without firmware-based PWM. When migrating code from PIC16F628 to PIC16LF628T-04/SS, verify the configuration word fuses for oscillator mode and watchdog timer are set correctly for low-voltage operation.
The USART pins (RB1/RX, RB2/TX) share the same physical pins as the PSP port on larger PIC16 variants; ensure that firmware does not inadvertently configure the PSP mode and disable the USART. The analog comparators (C1 and C2) can be configured with output routed to RB4 and RB3, which conflicts with Timer0 and CCP1 outputs - check the CONFIG register (CMCON) on every firmware revision. Schmitt-trigger inputs are present only on PORTB; PORTA pins are TTL-level inputs.
Informações de conformidade
RoHS and REACH compliant per Microchip product declarations; lead-free matte-tin finish; not AEC-Q100 qualified (PIC16F628-20/SS variant often chosen for automotive via separate qualification chain). Halogen-free per Microchip green packaging standard.