PIC16F628T-04I/SS - 8-Bit Flash MCU, 4MHz, 3.5KB | Microchip
MPN: PIC16F628T-04I/SS ✓ AktifPIC16F628T-04I/SS Ringkasan
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, I/O peripherals, and interrupt logic on one die. The PIC16F62X family uses Microchip's enhanced mid-range 8-bit RISC core with a 14-bit instruction word, sitting in the product hierarchy of microcontroller -> 8-bit MCU -> PIC16 family -> PIC16F6XX flash series -> PIC16F62X. This category serves cost-sensitive and deterministic real-time control tasks such as appliance control, sensor interfacing, and battery-powered logic replacement.
Key features include an internal 4 MHz oscillator with calibration, dual analog comparators with programmable VREF, a hardware USART for asynchronous serial communication, Capture/Compare/PWM (CCP) modules, power-on reset (POR), brown-out detect (BOD), a watchdog timer with its own RC oscillator, programmable weak pull-ups on PORTB, and in-circuit serial programming (ICSP) via the multiplexed MCLR pin. These features minimize external component count for small-form-factor designs.
The architecture combines a Harvard bus, 35 single-cycle instructions, and direct/indirect addressing modes with peripheral-rich silicon. Compared to the older 16C/16F baseline, the PIC16F628A generation adds internal oscillator calibration and improved flash endurance, making it suitable for low-volume and field-upgradable designs.
Typical applications include appliance and white-goods control boards, sensor signal conditioning front-ends, LED lighting controllers, low-end motor drivers (via CCP/PWM), hobby and educational hardware (Arduino predecessor designs), battery chargers, and small industrial monitoring nodes where deterministic 8-bit performance is sufficient.
When designing with this device, budget the oscillator start-up time and BOD reset behavior in power-sequenced systems, and ensure decoupling on VDD/VSS is placed within 5 mm of the IC pins. For new designs, evaluate the pin-compatible PIC16F628A-I/SS or PIC16F88 upgrades for enhanced peripherals, otherwise the PIC16F628T-04I/SS remains a cost-optimized choice.
This page synthesizes distributor pricing, cross-reference candidates, and practical design notes not found in the manufacturer datasheet alone.
Alternatif penggantian untuk PIC16F628T-04I/SS — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian PIC16F628T-04I/SS (sama faktor bentuk dan footprint) — berbeda di dalam Package, Internal Oscillator, Maximum Clock Speed, RoHS Status, I/O Pins.
PIC16F628-04I/SS
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F628A-I/SS
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC16F628-20I/SS
✅ Drop-In ⚠️ Spesifikasi Tidak Disahkan📋 Alternatif referensi (tidak dalam katalog)
PIC16F88-I/SS
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC16F1828-I/SS
✅ Drop-In ⚠️ Spesifikasi Tidak Disahkan📋 Alternatif referensi (tidak dalam katalog)
PIC16F627A-I/SS
✅ Drop-In ⚠️ Spesifikasi Tidak DisahkanKontak untuk harga
Lihat Datasheet →PIC16F628T-04I/SS Rating Maksimal & Karakteristik Listrik
| Family | PIC16F6XX |
| Core | 8-bit PIC RISC, 14-bit instruction word |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data RAM | 224 bytes |
| Data EEPROM | 128 bytes |
| Maximum Clock Speed | 4 MHz |
| Supply Voltage (VDD) | 3.0 V to 5.5 V |
| Suhu Kerja | -40C to +85C (industrial) |
| I/O Pins | 16 |
| Paket | 20-pin SSOP (5.30 mm body width) |
| Tipe Mounting | Surface Mount |
| Analog Comparators | 2 with programmable VREF |
| Timers | Timer0 (8-bit), timer2 (8-bit), watchdog timer |
| Communication | USART (async serial), ICSP |
| Status RoHS | Compliant |
Konfigurasi Pin PIC16F628T-04I/SS
| Pin produk 1 | RA7/OSC1 — PORTA bit 7 / oscillator input |
| Pin produk 2 | RA6/OSC2 — PORTA bit 6 / oscillator output |
| Pin produk 3 | RA5/MCLR/VPP — PORTA bit 5 / master clear / programming voltage |
| Pin produk 4 | RA4/AN4/TOCKI — PORTA bit 4 / analog input 4 / Timer0 clock |
| Pin produk 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / VREF positive |
| Pin produk 6 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / VREF negative |
| Pin produk 7 | RA1/AN1/C1OUT — PORTA bit 1 / analog input 1 / comparator 1 output |
| Pin produk 8 | RA0/AN0/C2OUT — PORTA bit 0 / analog input 0 / comparator 2 output |
| Pin produk 9 | RB7/PGD — PORTB bit 7 / ICSP data |
| Pin produk 10 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Pin produk 11 | RB5 — PORTB bit 5 |
| Pin produk 12 | RB4/PGM — PORTB bit 4 / LVP programming |
| Pin produk 13 | RB3/CCP1 — PORTB bit 3 / Capture Compare PWM 1 |
| Pin produk 14 | RB2 — PORTB bit 2 |
| Pin produk 15 | RB1/RX/DT — PORTB bit 1 / USART RX / data |
| Pin produk 16 | RB0/TX/CK — PORTB bit 0 / USART TX / clock |
| Pin produk 17 | VDD — Positive supply |
| Pin produk 18 | GND — Ground |
| Pin produk 19 | NC — Not connected (per datasheet) |
| Pin produk 20 | NC — Not connected (per datasheet) |
Aplikasi Umum
PIC16F628T-04I/SS cocok untuk 6 aplikasis: Appliance Control Boards, LED Lighting and Signage Controllers, Sensor Signal Conditioning Front-Ends, Battery-Powered Logic Replacement, Hobby and Educational Hardware, Small Industrial Monitoring Nodes.
Appliance Control Boards
The PIC16F628T-04I/SS is well suited for white-goods and small appliance controllers where deterministic 8-bit execution and high-current I/O matter more than raw compute. Its 16 mA source/sink capability on PORTB allows direct LED and relay drive without external buffers, and the on-chip comparators support zero-crossing detection for triac firing. The CCP module delivers PWM for motor-speed or heater regulation, and 3.5 KB of flash fits typical state-machine firmware. Industrial temperature grade (-40 to +85 C) supports under-cabinet and garage environments.
Direkomendasikan
LED Lighting and Signage Controllers
For LED lighting and signage, the PIC16F628T-04I/SS provides 16 high-drive I/O pins that can source/sink up to 25 mA per pin to multiplex LED matrices or drive discrete indicators directly. The CCP/PWM peripheral generates precise dimming waveforms, while the USART enables daisy-chained addressable displays or DMX-style control. Operating from 3.0-5.5 V, the device is compatible with both 3.3 V and 5 V LED-driver ecosystems, and its 4 MHz instruction rate keeps up with typical refresh-rate demands for static and slow-multiplexed signage.
Direkomendasikan
Sensor Signal Conditioning Front-Ends
In sensor-conditioning front-ends, the PIC16F628T-04I/SS uses its two on-chip analog comparators with programmable VREF to threshold thermistor, photodiode, or Hall-sensor signals without external op-amps. The programmable reference covers 0-5 V rails for direct threshold setting. Combined with USART telemetry, the MCU can wake on comparator interrupt, capture a reading, and transmit it to a host controller. Its low BOM count (no external crystal needed) and small SSOP-20 footprint suit miniaturized sensor modules.
Direkomendasikan
Battery-Powered Logic Replacement
The PIC16F628T-04I/SS replaces discrete CMOS logic in battery-powered devices by integrating timers, glue logic, and sequencing into a single chip. Brown-out detect (BOD) and power-on reset (POR) protect lithium cells from under-voltage damage, while sleep current in the microamp range extends runtime. Watchdog timer with its own RC oscillator prevents lockups in unattended deployments. The 3.0-5.5 V supply range aligns with single-cell Li-ion and 2x AA chemistries commonly used in remote controls, door sensors, and IoT edge nodes.
Direkomendasikan
Hobby and Educational Hardware
Educational and hobby platforms built around the PIC16F628T-04I/SS benefit from 8-bit simplicity, free MPLAB X IDE support, and the XC8 compiler toolchain. The 3.5 KB flash is enough for learning projects from blinking LEDs to interrupt-driven I/O, and the ICSP interface allows live re-flashing on a breadboard. PICkit 3/4/5 programmers support this device, and its 20-pin SSOP package breaks out all relevant pins on standard DIP adapters for student kits.
Direkomendasikan
Small Industrial Monitoring Nodes
In small industrial monitoring nodes, the PIC16F628T-04I/SS provides the analog comparators, timers, and USART needed to read switch contacts, drive indicator LEDs, and report status over serial links. Industrial temperature rating (-40 to +85 C) tolerates cabinet and outdoor enclosure conditions. The PIC16F62X watchdog with dedicated RC oscillator ensures recovery from EMI-induced lockups, while 128 bytes of EEPROM stores calibration constants and non-volatile configuration. SSOP-20 supports compact, densely-packed PLC-style I/O cards.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC16F628T-04I/SS — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | PIC16F628-04I/SS | PIC16F628A-I/SS | PIC16F628-20I/SS | PIC16F88-I/SS | PIC16F1828-I/SS |
|---|---|---|---|---|---|---|
| Package | SSOP-20 (5.30 mm) | SSOP-20 (5.30 mm) - same | SSOP-20 (5.30 mm) - same | SSOP-20 (5.30 mm) - same | SSOP-20 (5.30 mm) - same | SSOP-20 (5.30 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Maximum Clock Speed | 4 MHz | 4 MHz | 20 MHz | 20 MHz | 20 MHz | 32 MHz |
| Flash Program Memory | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 7 KB | 7 KB |
| Supply Voltage | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 2.0 V to 5.5 V | 1.8 V to 5.5 V |
| Internal Calibrated Oscillator | No | No | Yes (4 MHz) | No | Yes (8 MHz) | Yes (32 MHz HF + 32 kHz LF) |
| ADC | None (comparators only) | None (comparators only) | None (comparators only) | None (comparators only) | 10-bit ADC, 7 channels | 12-bit ADC, 8 channels |
Diferensiator Kunci
- High-current I/O for direct LED/relay drive (vsPIC16F88-I/SS)
- Industrial temperature grade as standard (vsPIC16F627A-I/SS)
- Dual analog comparators with programmable VREF (vsPIC16F1828-I/SS)
Catatan Desain
Decouple VDD (pin 17) to ground with a 100 nF ceramic capacitor placed within 5 mm of the IC. Add a bulk 10 uF tantalum or aluminum polymer capacitor on the main 5 V rail to suppress motor inrush transients. The PIC16F62X BOD and POR are sensitive to VDD rise time - a soft-start ramp longer than the PWRT interval (typ. 72 ms) requires external reset supervision. Average active current is below 2 mA at 4 MHz, 5 V; sleep current is approximately 1 uA.
For designs without an external crystal, route the PIC16F628T-04I/SS in RC oscillator mode and add a 100 nF capacitor across OSC1/OSC2. Pin RA5/MCLR must be tied to VDD through a 10 kohm resistor for normal operation. If precise USART baud rates are required, use a 4.000 MHz crystal with 22 pF load capacitors; the '04' speed grade limits instruction rate to 4 MHz, so this part cannot use the higher 20 MHz crystal options.
Do not leave the MCLR/RA5 pin floating - an undriven MCLR may cause spurious resets and prevent ICSP programming. PORTB weak pull-ups are individually programmable but are disabled by default; enable them globally with the RBPU bit for switch-input reliability. The PIC16F628T-04I/SS lacks ADC - if your firmware requires analog conversion, choose the pin-compatible PIC16F88 instead. Lastly, ensure CCP1 is configured before using PWM on RB3, and confirm the comparator output mode is correct for the chosen CVREF polarity.
Informasi Konformitas
RoHS and REACH compliance per Microchip PIC16F628 family product page. Not AEC-Q100 qualified - industrial grade only.