PIC16F628-20I/SO - 8-Bit 20MHz PIC MCU 3.5KB Flash | Microchip
部品番号: PIC16F628-20I/SO ✗ 生産終了| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $4.42 | $4.42 |
| 10 | $3.96 | $39.60 |
| 100 | $3.18 | $318.00 |
| 500 | $2.74 | $1,370.00 |
| 1,000 | $2.4 | $2,400.00 |
PIC16F628-20I/SO 概要
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (ROM/Flash), data memory (RAM), and peripheral interfaces into one IC. MCUs sit at the bottom of the embedded-computing stack: they execute firmware, drive GPIO pins, and service interrupts from analog and digital peripherals. Within that stack, PIC microcontrollers belong to the 8-bit RISC MCU family, an architecture category that prioritizes deterministic instruction timing and low-power operation over raw computational throughput. The PIC16F628 is the iconic mid-range member of this family, widely adopted in industrial control, automotive subsystems, and hobbyist projects.
Key features of the PIC16F628-20I/SO include the Flash-based program memory that enables in-circuit serial programming (ICSP), an internal 4 MHz oscillator with software-selectable calibration, dual analog comparators, a 10-bit PWM module with capture/compare, a hardware USART for asynchronous serial communication, and a programmable brown-out reset. Per the manufacturer datasheet, the device supports 100,000 erase/write cycles on its Flash memory and retains data for more than 40 years.
The PIC16F628-20I/SO leverages an enhanced Harvard architecture with separate program and data buses, allowing simultaneous instruction fetch and data access. The 35-instruction RISC set is fully orthogonally addressable, so any register can act as an accumulator, which simplifies compiler design and minimizes code density. The device integrates multiple low-power modes (SLEEP, RC_RUN) that drop quiescent current below 1 microampere for battery-friendly designs.
Typical applications include industrial control boards, appliance controls, automotive body modules, low-end consumer electronics, and remote sensor platforms that need moderate compute at minimum power. For new designs, Microchip recommends the PIC16F15244, since this PIC16F628 is flagged as Not Recommended for New Designs (NRND) on the official product page.
When designing with the PIC16F628-20I/SO, plan around the 18-pin SOIC package: the device multiplexes analog inputs onto digital I/O, so care is needed when routing traces that share comparator and ADC pins. Always include decoupling capacitors on VDD and use the ICSP header for firmware updates.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in any single manufacturer datasheet.
ドロップイン代替品: PIC16F628-20I/SO — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC16F628-20I/SO (同一形状・フットプリント) — 相違点: Operating Temperature, Package, Core Architecture, Timers, Analog Comparators.
クイック比較ツール — 並列比較する代替部品を選択:
PIC16F628-20E/SO
✅ ドロップイン✓ 在庫あり
$2.55 / 個
データシートを見る →PIC16F628-20/SO
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F628-20/P
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$1.96 / 個
データシートを見る →PIC16F628-04I/SO
✅ ドロップイン✓ 在庫あり
$2.3 / 個
データシートを見る →PIC16F628-04E/SO
✅ ドロップイン ⚠️ 仕様未検証✓ 在庫あり
$1.78 / 個
データシートを見る →PIC16F627-20I/SO
✅ ドロップイン ⚠️ 仕様未検証📋 参考代替品(カタログ未掲載)
PIC16F628T-20/SO
✅ ドロップイン✓ 在庫あり
$2.18 / 個
データシートを見る →PIC16F628-20I/SO 最大定格&電気的特性
| Core Architecture | PIC16 (8-bit RISC, Harvard) |
| Max Clock Frequency | 20 MHz |
| Instruction Set Size | 35 single-word instructions |
| Instruction Execution Time | 200 ns (at 20 MHz) |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data Memory (RAM) | 224 bytes |
| Data Memory (EEPROM) | 128 bytes |
| Operating Voltage | 3.0 V to 5.5 V |
| I/O Pins | 16 |
| Number of I/O Ports | 2 (PORTA, PORTB) |
| パッケージ | 18-pin SOIC (SO-18) |
| Timers | Three (TMR0, TMR1, TMR2) |
| Capture/Compare/PWM | 1 CCP module, 10-bit PWM |
| USART | 1 hardware USART |
| Comparators | 2 analog comparators |
| Oscillator | Internal 4 MHz + external crystal support |
| Operating Temperature (Industrial) | -40C to +85C |
| 実装タイプ | Surface Mount |
PIC16F628-20I/SO ピン構成
| ピン 1 | RA2/AN2/CVREF — PORTA bit 2 / analog input 2 / comparator reference output |
| ピン 2 | RA3/AN3 — PORTA bit 3 / analog input 3 |
| ピン 3 | RA4/T0CKI/C1OUT — PORTA bit 4 / TMR0 clock input / comparator 1 output |
| ピン 4 | MCLR/VPP — Master clear reset input / ICSP programming voltage |
| ピン 5 | VSS — Ground |
| ピン 6 | RB0/INT — PORTB bit 0 / external interrupt input |
| ピン 7 | RB1/RX/DT — PORTB bit 1 / USART RX / synchronous data |
| ピン 8 | RB2/TX/CK — PORTB bit 2 / USART TX / synchronous clock |
| ピン 9 | RB3/CCP1 — PORTB bit 3 / capture/compare/PWM channel 1 |
| ピン 10 | RB4/PGM — PORTB bit 4 / low-voltage programming |
| ピン 11 | RB5 — PORTB bit 5 |
| ピン 12 | RB6/PGC — PORTB bit 6 / ICSP clock |
| ピン 13 | RB7/PGD — PORTB bit 7 / ICSP data |
| ピン 14 | VDD — Positive supply voltage (3.0 V to 5.5 V) |
| ピン 15 | OSC2/CLKOUT/RA6 — Oscillator output / CLKOUT / PORTA bit 6 |
| ピン 16 | OSC1/CLKIN/RA7 — Oscillator input / CLKIN / PORTA bit 7 |
| ピン 17 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| ピン 18 | RA1/AN1 — PORTA bit 1 / analog input 1 |
主な用途
PIC16F628-20I/SO の用途: 7 件s: Industrial Control and Automation, Appliance Control Boards, Automotive Body Electronics, Remote Sensor and Battery Monitoring, Educational and Hobbyist Embedded Projects, LED Lighting and Display Drivers, Low-Cost Serial Communication Bridges.
Industrial Control and Automation
The PIC16F628-20I/SO operates from 3.0 V to 5.5 V and at -40C to +85C industrial temperature range, making it ideal for factory-floor controllers that ride noisy 24 V-isolated rails. With 16 GPIO and the integrated CCP PWM module, the part drives optocouplers, triacs, and stepper motor coils without external logic. The hardware USART handles RS-485 links via external transceiver, while a single-chip design keeps bill of materials under a dollar.
おすすめ
Appliance Control Boards
The PIC16F628-20I/SO is purpose-built for home appliances such as washing machines, dishwashers, and microwave ovens. Its 8-bit RISC engine executes at 200 ns per instruction cycle, allowing real-time monitoring of pressure sensors and motor currents via the on-chip comparators. The Flash-based program memory supports in-circuit serial programming (ICSP), letting manufacturers apply field firmware updates without physical access. Low-power SLEEP mode drops quiescent current below 1 microampere for standby efficiency.
おすすめ
Automotive Body Electronics
Despite the PIC16F628 family being NRND for new automotive starts, mature subsystems still deploy it for non-safety body functions such as seat controllers, mirror adjusters, and interior lighting. The integrated 10-bit PWM module drives LED dimming and DC motor speed with no external driver IC. Operating temperature to +85C comfortably handles cabin environments, while the 35-instruction RISC set keeps deterministic interrupt latency for time-critical sequential functions. Production EMS lines still stock this part for existing programs.
おすすめ
Remote Sensor and Battery Monitoring
Battery-powered remote sensor nodes leverage the PIC16F628-20I/SO's integrated analog comparators and ultra-low SLEEP current to achieve multi-year lifetimes on a single lithium cell. The internal 4 MHz oscillator eliminates the external crystal, reducing both PCB area and BOM cost, while brown-out-reset guarantees clean wakeup from sleep state. The on-chip USART drives low-power RS-485 sensor networks with no extra components. This is a classic use case for the original mid-range PIC architecture.
おすすめ
Educational and Hobbyist Embedded Projects
The PIC16F628-20I/SO is among the most popular devices on the educational embedded market due to its manageable 35-instruction RISC set and abundant tutorial ecosystem. Students master fundamental concepts including interrupts, timers, PWM, and serial communication without the complexity of larger ARM Cortex devices. Breadboard-friendly PDIP variants and ICSP programming via PICkit tools simplify lab work. The university electronics curriculum has used this part consistently for over a decade.
おすすめ
LED Lighting and Display Drivers
The PIC16F628-20I/SO 10-bit PWM module and 16-bit CCP channels deliver smooth dimming control for LED drivers, driving large LED matrices via external shift registers. The internal comparators handle current-sense feedback for closed-loop constant-current regulation, while the USART enables DMX512 protocol or analog 0-10 V dimming. The 3.5 KB Flash accommodates fading curves and color-mixing algorithms for architectural lighting controllers that don't need an RTOS.
おすすめ
Low-Cost Serial Communication Bridges
With its hardware USART and ample GPIO, the PIC16F628-20I/SO makes a reliable, cheap bridge between RS-232 and TTL serial ports in legacy industrial equipment. The internal comparators and Schmitt-trigger inputs tolerate long cable noise, while the 20 MHz clock supports 115200 baud transmission reliably. The Flash memory stores bridging protocol logic that can be updated via ICSP if the upstream protocol changes, and the part costs under $3 in volume to integrate into gateway designs.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC16F628-20I/SO — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC16F628-20E/SO | PIC16F628-20/SO | PIC16F628-04I/SO | PIC16F627-20I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 18-SOIC (SO-18) | 18-SOIC - same | 18-SOIC - same | 18-SOIC - same | 18-SOIC - same |
| Max Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 4 MHz | 20 MHz |
| Program Memory (Flash) | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 1.75 KB |
| RAM | 224 bytes | 224 bytes | 224 bytes | 224 bytes | 224 bytes |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +125C (Extended) | 0C to +70C (Commercial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| I/O Pins | 16 | 16 | 16 | 16 | 16 |
| Lifecycle Status | NRND | NRND | NRND | NRND | NRND |
主な差別化要因
- Same silicon with extended temperature envelope (vs PIC16F628-20E/SO)
- Five-times faster MCU clock (vs PIC16F628-04I/SO)
- Double the Flash program memory (vs PIC16F627-20I/SO)
設計ノート
The PIC16F628-20I/SO accepts 3.0 V to 5.5 V on VDD (pin 14) and must have VSS (pin 5) within +/- 100 mV of system ground. Always place a 100 nF decoupling capacitor within 3 mm of the VDD pin, paired with a bulk 10 uF electrolytic or tantalum at the regulator output. The internal brown-out reset can be configured for voltages in the 2.0-4.5 V range; choose BOR thresholds to match the regulator's worst-case dropout to avoid spurious resets during transient sags.
When laying out the 18-SOIC footprint, follow IPC-7351 surface-mount land pattern recommendations with 0.95 mm pad width and 5.30 mm pad pitch. Keep analog input traces on PORTA short and ground-pour enclosed to minimize noise coupling from the PWM channel on RB3. Place the ICSP programming header (MCLR, PGC, PGD, VDD, VSS) on the board edge so that PICkit 3 / PICkit 5 can be attached with a clip without removing the chip. This also avoids ISP complications with pin-protected reset circuits.
A common mistake is leaving MCLR floating: the /MCLR pin must be tied to VDD through a 10 kohm pull-up resistor plus a 100 nF decoupling cap to ensure clean reset behavior, per the Microchip datasheet. For low-voltage ICSP programming, RB4/PGM must not be pulled low during reset, which conflicts with some legacy pull-down user designs on RB4. Crystal oscillator load capacitors must match the crystal's specified load, not the MCU's internal capacitance; typical values are 15-22 pF for AT-cut crystals.
If the application is sensitive to radiated emissions, consider running the part at 4 MHz internal RC rather than the 20 MHz external crystal, which reduces edge rate harmonics by approximately 14 dB. The PIC16F628-04I/SO is the lower-frequency 18-SOIC pin-compatible variant of this device for such low-EMI designs. Unused GPIO pins should be configured as outputs and tied low to avoid floating-input digital switching noise coupling into the ADC / comparator block.
コンプライアンス情報
RoHS and REACH compliance confirmed per Microchip product documentation. Parts are not AEC-Q100 qualified; this part is NRND for new designs.