PIC16F628T-04I/SS - 8-Bit Flash MCU, 4MHz, 3.5KB | Microchip
MPN: PIC16F628T-04I/SS ✓ نشطPIC16F628T-04I/SS نظرة عامة
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.
بدائل مباشرة لـ PIC16F628T-04I/SS — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.
الطرازات في هذه السلسلة
طرازات من نفس السلسلة متوافقة تمامًا مع PIC16F628T-04I/SS (نفس عامل الشكل والبصمة) — يختلف في Package, Internal Oscillator, Maximum Clock Speed, RoHS Status, I/O Pins.
PIC16F628-04I/SS
✅ بديل مباشر📋 بديل مرجعي (غير موجود في الكتالوج)
PIC16F628A-I/SS
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC16F628-20I/SS
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منها📋 بديل مرجعي (غير موجود في الكتالوج)
PIC16F88-I/SS
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC16F1828-I/SS
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منها📋 بديل مرجعي (غير موجود في الكتالوج)
PIC16F627A-I/SS
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC16F628T-04I/SS الحدود القصوى والخصائص الكهربائية
| 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 |
| درجة حرارة التشغيل | -40C to +85C (industrial) |
| I/O Pins | 16 |
| العلبة | 20-pin SSOP (5.30 mm body width) |
| نوع التركيب | Surface Mount |
| Analog Comparators | 2 with programmable VREF |
| Timers | Timer0 (8-bit), timer2 (8-bit), watchdog timer |
| Communication | USART (async serial), ICSP |
| حالة RoHS | Compliant |
تكوين أطراف PIC16F628T-04I/SS
| دبوس 1 | RA7/OSC1 — PORTA bit 7 / oscillator input |
| دبوس 2 | RA6/OSC2 — PORTA bit 6 / oscillator output |
| دبوس 3 | RA5/MCLR/VPP — PORTA bit 5 / master clear / programming voltage |
| دبوس 4 | RA4/AN4/TOCKI — PORTA bit 4 / analog input 4 / Timer0 clock |
| دبوس 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / VREF positive |
| دبوس 6 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / VREF negative |
| دبوس 7 | RA1/AN1/C1OUT — PORTA bit 1 / analog input 1 / comparator 1 output |
| دبوس 8 | RA0/AN0/C2OUT — PORTA bit 0 / analog input 0 / comparator 2 output |
| دبوس 9 | RB7/PGD — PORTB bit 7 / ICSP data |
| دبوس 10 | RB6/PGC — PORTB bit 6 / ICSP clock |
| دبوس 11 | RB5 — PORTB bit 5 |
| دبوس 12 | RB4/PGM — PORTB bit 4 / LVP programming |
| دبوس 13 | RB3/CCP1 — PORTB bit 3 / Capture Compare PWM 1 |
| دبوس 14 | RB2 — PORTB bit 2 |
| دبوس 15 | RB1/RX/DT — PORTB bit 1 / USART RX / data |
| دبوس 16 | RB0/TX/CK — PORTB bit 0 / USART TX / clock |
| دبوس 17 | VDD — Positive supply |
| دبوس 18 | GND — Ground |
| دبوس 19 | NC — Not connected (per datasheet) |
| دبوس 20 | NC — Not connected (per datasheet) |
التطبيقات النموذجية
PIC16F628T-04I/SS مناسب لـ 6 التطبيقs: 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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
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.
موصى به
ملخص المنتجات الموصى بها
بيانات مرجعية هندسية لـ PIC16F628T-04I/SS — المقارنة وإرشادات التصميم ومعلومات الامتثال.
دليل الاختيار
المقارنة مع البدائل
| المعامل | هذا المنتج | 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 |
أبرز الفروقات
- High-current I/O for direct LED/relay drive (مقابلPIC16F88-I/SS)
- Industrial temperature grade as standard (مقابلPIC16F627A-I/SS)
- Dual analog comparators with programmable VREF (مقابلPIC16F1828-I/SS)
ملاحظات التصميم
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.
معلومات الامتثال
RoHS and REACH compliance per Microchip PIC16F628 family product page. Not AEC-Q100 qualified - industrial grade only.