PIC16F628-20E/SS - 8-bit 20MHz 3.5KB Flash MCU | Microchip
部品番号: PIC16F628-20E/SS ✗ 生産終了| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $4.59 | $4.59 |
| 10 | $4.12 | $41.20 |
| 100 | $3.65 | $365.00 |
| 500 | $3.27 | $1,635.00 |
| 1,000 | $2.94 | $2,940.00 |
PIC16F628-20E/SS 概要
A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory (ROM/Flash), data memory (RAM), and integrated peripherals such as timers, communication interfaces, and I/O ports. The PIC16 family occupies the 8-bit mid-range tier of Microchip's PIC hierarchy (PIC10/12/14/16/18 -> 8-bit MCU -> microcontroller -> semiconductor) and is targeted at cost-sensitive embedded control where deterministic interrupt latency and low power are valued. This part falls under Microchip's PIC16 mid-range product line.
Key features include 16 I/O pins, an internal 4MHz precision oscillator (selectable), two analog comparators, a USART module, a capture/compare/PWM (CCP) module, brown-out detect (BOD), power-on reset (POR), power-up timer (PWRT), oscillator start-up timer (OST), watchdog timer (WDT) with its own RC oscillator, and in-circuit serial programming (ICSP). The 'E' suffix denotes the extended industrial temperature grade of -40C to +125C. Programmable weak pull-ups on PORTB and code protection round out the feature set.
The device operates from 3.0V to 5.5V (the '04' variant) or 4.5V to 5.5V at the full 20MHz speed grade. CMOS technology with nanoWatt power management enables very low standby current (typical < 1uA). The Harvard bus architecture separates program and data memory to allow simultaneous fetch and read/write in a single instruction cycle.
Typical applications include industrial control, automotive body electronics, smart sensors, consumer appliances, remote controls, low-cost data loggers, and battery-powered instrumentation. The extended temperature range makes the PIC16F628-20E/SS well suited to harsh environments where commercial-grade parts would fail.
When designing with this MCU, note that the 'E' temperature grade requires verification of the analog comparator and internal oscillator behavior at extreme temperatures. Designers migrating from the older PIC16F84 will find similar peripheral mapping but with substantially more memory and a richer peripheral set.
ドロップイン代替品: PIC16F628-20E/SS — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC16F628-20E/SS (同一形状・フットプリント) — 相違点: Package, Operating Temperature, I/O Pins, Analog Comparators, Core Architecture.
クイック比較ツール — 並列比較する代替部品を選択:
PIC16F628-20/SS
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F628-20I/SS
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F628T-20E/SS
✅ ドロップイン✓ 在庫あり
$2.5 / 個
データシートを見る →PIC16F627A-I/SS
✅ ドロップイン✓ 在庫あり
$1.12 / 個
データシートを見る →PIC16F627-20E/SS
✅ ドロップイン✓ 在庫あり
$1.65 / 個
データシートを見る →PIC16F628-04E/SS
✅ ドロップイン✓ 在庫あり
$2.1 / 個
データシートを見る →PIC16F628-20E/SS 最大定格&電気的特性
| Core Architecture | PIC16 Enhanced Mid-Range 8-bit RISC |
| Instruction Set | 35 single-word instructions |
| Program Memory (Flash) | 3.5 KB (2K x 14 words) |
| RAM | 224 bytes |
| EEPROM | 128 bytes |
| Maximum CPU Clock | 20 MHz |
| Instruction Execution Time | 200 ns at 20 MHz |
| Supply Voltage (VDD) | 4.5 V to 5.5 V (at 20 MHz) |
| I/O Pins | 16 |
| パッケージ | 20-pin SSOP (5.30 mm width) |
| 動作温度 | -40 C to +125 C (Extended, 'E' suffix) |
| Timers | Timer0, Timer1, Timer2 |
| Analog Comparators | 2 |
| Communication Peripherals | USART (SCI), SPI/I2C via MSSP not present (USART only) |
| CCP Module | 1 (Capture/Compare/PWM) |
| Internal Oscillator | 4 MHz precision (software-selectable) |
| Watchdog Timer | Yes, with dedicated on-chip RC oscillator |
| Brown-out Detect (BOD) | Yes |
| In-Circuit Programming | ICSP |
| RoHS ステータス | Compliant |
| 実装タイプ | Surface Mount |
PIC16F628-20E/SS ピン構成
| ピン 1 | RA2/AN2/VREF — PORTA bit 2 / analog input 2 / voltage reference |
| ピン 2 | RA3/AN3/CMP1 — PORTA bit 3 / analog input 3 / comparator 1 output |
| ピン 3 | RA4/T0CKI/CMP2 — PORTA bit 4 / Timer0 clock input / comparator 2 output |
| ピン 4 | RA5/MCLR/VPP — PORTA bit 5 / Master Clear reset (active low) / programming voltage |
| ピン 5 | VSS — Ground reference |
| ピン 6 | RB0/INT — PORTB bit 0 / external interrupt input |
| ピン 7 | RB1/RX/DT — PORTB bit 1 / USART RX / data line |
| ピン 8 | RB2/TX/CK — PORTB bit 2 / USART TX / clock line |
| ピン 9 | RB3/CCP1 — PORTB bit 3 / Capture-Compare-PWM module 1 |
| ピン 10 | RB4/PGM — PORTB bit 4 / low-voltage programming |
| ピン 11 | RB5 — PORTB bit 5 |
| ピン 12 | RB6/T1OSO/T1CKI/PGC — PORTB bit 6 / Timer1 oscillator out / Timer1 clock in / ICSP clock |
| ピン 13 | RB7/T1OSI/PGD — PORTB bit 7 / Timer1 oscillator in / ICSP data |
| ピン 14 | VDD — Positive supply voltage (4.5 V to 5.5 V at 20 MHz) |
| ピン 15 | RA6/OSC2/CLKO — PORTA bit 6 / crystal oscillator output / clock output |
| ピン 16 | RA7/OSC1/CLKI — PORTA bit 7 / crystal oscillator input / clock input |
| ピン 17 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| ピン 18 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| ピン 19 | OSC1/RA7 — (see pin 16; alternate function noted) |
| ピン 20 | OSC2/RA6 — (see pin 15; alternate function noted) |
主な用途
PIC16F628-20E/SS の用途: 6 件s: Industrial Control and Sensor Interface, Automotive Body Electronics, Consumer Appliance Control, Remote Control and IR Transmitter, Battery-Powered Sensor Node, Security and Access Control Panels.
Industrial Control and Sensor Interface
The PIC16F628-20E/SS fits industrial control and sensor interface designs thanks to its extended -40C to +125C temperature grade, 16 digital I/O pins, and two on-chip analog comparators. With 3.5KB flash and 224 bytes RAM, the MCU can run PID control loops, debounce switch inputs, and drive relay or SSR outputs. The internal 4MHz oscillator eliminates an external crystal in cost-sensitive applications, while the 20MHz external clock supports tighter timing. Built-in brown-out detect and watchdog timer with dedicated RC oscillator give the fault resilience expected on factory floors.
おすすめ
Automotive Body Electronics
The PIC16F628-20E/SS serves automotive body electronics applications such as seat controllers, lighting modules, and HVAC damper drivers where extended temperature and reliability are required. The 35-instruction RISC core delivers deterministic 200ns interrupt latency, suitable for encoder decoding and PWM-driven actuators via the on-chip CCP module. The internal USART enables LIN bus slave implementations when paired with a transceiver. The 128-byte EEPROM stores trim and configuration across battery disconnects, and the watchdog timer with dedicated RC oscillator ensures recovery from lock-up events.
おすすめ
Consumer Appliance Control
The PIC16F628-20E/SS is well matched to consumer appliance control boards such as washing machine user interfaces, microwave ovens, and coffee machines. Its 16 I/O pins directly drive LED indicators, keypads, and 7-segment displays, while the CCP module generates PWM for motor speed or buzzer tones. The 3.5KB flash accommodates user-interface state machines plus diagnostic routines, and 128 bytes of EEPROM preserve user settings across power cycles. The 20MHz clock provides responsive button debounce and display refresh, and ICSP allows in-circuit firmware updates during production.
おすすめ
Remote Control and IR Transmitter
The PIC16F628-20E/SS is an excellent fit for handheld remote controls and IR transmitter designs. Its nanoWatt sleep modes drop current below 1uA, extending battery life in standby. The CCP module generates accurate 38kHz/40kHz IR carrier frequencies, and the 35-instruction RISC core executes RC5, NEC, or SIRC protocols with deterministic timing. The internal 4MHz oscillator is accurate enough for most consumer IR protocols, eliminating the need for an external resonator. Sixteen I/O pins support matrix keypads up to 4x4 plus status LEDs.
おすすめ
Battery-Powered Sensor Node
The PIC16F628-20E/SS supports battery-powered sensor nodes such as wireless thermostats, utility meters, and environmental loggers. Sleep currents below 1uA combined with the internal low-power oscillator allow multi-year operation on two AA cells. The two on-chip analog comparators can directly interface thermistors or other resistive sensors without an op-amp front-end, while the 128-byte EEPROM stores calibration data. The 16-bit Timer1 with its optional external crystal provides a real-time-clock timebase for periodic wake-and-sample cycles.
おすすめ
Security and Access Control Panels
The PIC16F628-20E/SS integrates well into security panels, door access controllers, and alarm keypads. Its 16 I/O pins accept multiple keypad rows/columns, magnetic door sensor inputs, and relay-driver outputs for door strikes. The hardware USART supports a connection to a GSM modem or Ethernet bridge for off-premises monitoring. The watchdog timer and brown-out detect guard against firmware lock-up and under-voltage events that could leave a door unsecured. The 128-byte EEPROM holds user credentials and event counters that survive power loss.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC16F628-20E/SS — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC16F628-20/SS | PIC16F628-20I/SS | PIC16F627A-I/SS | PIC16F628-04E/SS |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin SSOP | 20-pin SSOP (same) | 20-pin SSOP (same) | 20-pin SSOP (same) | 20-pin SSOP (same) |
| Max CPU Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 4 MHz |
| Program Flash | 3.5 KB (2K x 14) | 3.5 KB | 3.5 KB | 1.75 KB | 3.5 KB |
| RAM | 224 bytes | 224 bytes | 224 bytes | 128 bytes | 224 bytes |
| EEPROM | 128 bytes | 128 bytes | 128 bytes | None | 128 bytes |
| Operating Temperature | -40C to +125C (Extended) | 0C to +70C (Commercial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) |
| Supply Voltage | 4.5 V to 5.5 V | 4.5 V to 5.5 V | 4.5 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V |
主な差別化要因
- Extended industrial temperature range of -40C to +125C (vs PIC16F628-20/SS)
- On-chip 128-byte EEPROM for non-volatile storage (vs PIC16F627A-I/SS)
- Internal 4 MHz precision oscillator (vs PIC16F628-04E/SS)
設計ノート
At 20 MHz the PIC16F628-20E/SS requires a supply of 4.5 V to 5.5 V; the 04 MHz speed grade supports 3.0 V to 5.5 V. Add a 100 nF decoupling capacitor as close as possible to VDD (pin 14) and a bulk capacitor (10 uF) on the supply rail. For battery-powered designs, use the nanoWatt sleep modes and the internal 4 MHz oscillator to reduce active current. The internal EEPROM write voltage is generated on-chip; no external programming voltage is needed for in-circuit serial programming (ICSP).
Route the MCLR/VPP pin (pin 4) directly to a dedicated reset supervisor or pull-up resistor network; do not share this trace with high-current switching signals. Place the crystal or resonator (if used) within 5 mm of OSC1/RA7 and OSC2/RA6 (pins 16 and 15) and guard the traces with a ground pour. For ICSP, dedicate PGC (RB6, pin 12) and PGD (RB7, pin 13) to programming and avoid loading these with large capacitances.
PIC16F628-20E/SS has only 224 bytes of RAM and 3.5 KB flash; recursive algorithms or large lookup tables will exhaust memory quickly. The CCP1 module is shared with PORTB bit 3, so using PWM disables RB3 as general I/O. Brown-out detect voltage is fixed and cannot be adjusted in this family - if a tunable threshold is needed, use the PIC16F88 or PIC16F1827. The 4 MHz internal oscillator accuracy is approximately +/- 1 percent over temperature, insufficient for tight baud-rate UART links without calibration.
コンプライアンス情報
RoHS compliant per Microchip product page; lead-free finish is standard for SSOP packaging. Part is not AEC-Q100 qualified - for automotive applications requiring full AEC-Q100 compliance, consider PIC16F15244 or another PIC16F1xx automotive-grade part. Lifecycle status is Not Recommended for new Designs (NRND) per Microchip.