PIC16F870-E/SS - 8-Bit MCU, 3.5KB Flash, 20MHz | Microchip
部品番号: PIC16F870-E/SS ✓ 生産中| 数量 | 単価 | 小計 |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.78 | $37.80 |
| 100 | $3.36 | $336.00 |
| 500 | $2.95 | $1,475.00 |
| 1,000 | $2.65 | $2,650.00 |
PIC16F870-E/SS 概要
An 8-bit microcontroller (MCU) is a small programmable processor that integrates a CPU, memory, and peripherals onto a single silicon die; PIC microcontrollers use a RISC (Reduced Instruction Set Computer) architecture with only 35 single-word instructions, making them well-suited for embedded control tasks across automotive, industrial, and consumer markets. The PIC16F870 series sits in Microchip's mid-range MCU family, hierarchically placed as 8-bit PIC -> mid-range PIC16 -> PIC16F87x family -> peripheral-rich general-purpose MCU -> semiconductor IC.
Key features include 22 digital I/O pins, 5 channels of 10-bit Analog-to-Digital converter (ADC), two additional timers beyond Timer0, a Universal Synchronous/Asynchronous Receiver-Transmitter (USART) for serial communication, a Capture/Compare/PWM (CCP) module, and an In-Circuit Debugger (ICD) interface. Self-programming capability allows in-field firmware updates, and the FLASH program memory supports endurance of 100K erase/write cycles per the manufacturer datasheet. The 'E' suffix designates the Extended industrial temperature grade (-40C to +125C), and the '/SS' suffix indicates the 28-pin SSOP surface-mount package.
The device uses Harvard bus architecture with separate program and data buses, plus a 14-bit instruction word that allows most instructions to execute in a single 200 ns cycle, providing predictable deterministic timing for control loops. With 5 ADC channels and PWM, the PIC16F870 can perform closed-loop motor control, sensor reading, and analog signal conditioning from a single chip.
Typical applications include industrial sensor interfaces, automotive body and chassis subsystems, appliance control boards, and low-power data-acquisition nodes. The combination of on-chip EEPROM, USART, and PWM makes it a strong fit for digital thermostat, fan controller, and small-scale motor drive designs.
When designing with the PIC16F870-E/SS, note that the 28-pin SSOP package has the same footprint as the PIC16F871-I/SS and PIC16F872-I/SS family, allowing source-code compatibility (with memory-size caveats) and PCB reuse. Designers migrating to larger code or peripheral sets should consider the PIC16F873 or PIC16F876 family.
This page synthesizes distributor pricing, drop-in compatible Microchip PIC alternatives, and practical design notes not found on standard manufacturer product listings.
ドロップイン代替品: PIC16F870-E/SS — 同一パッケージでピン互換。PCBの作り直しが必要な異なるパッケージの部品は除外されています。
このシリーズのバリエーション
同一シリーズでドロップイン互換のモデル: PIC16F870-E/SS (同一形状・フットプリント) — 相違点: ADC, Package, Program Memory (Flash), Timers, Data EEPROM.
クイック比較ツール — 並列比較する代替部品を選択:
PIC16F870-I/SS
✅ ドロップイン✓ 在庫あり
$2.47 / 個
データシートを見る →PIC16F873-E/SS
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F872-I/SS
✅ ドロップイン📋 参考代替品(カタログ未掲載)
PIC16F876A-I/SS
✅ ドロップイン✓ 在庫あり
$3.46 / 個
データシートを見る →PIC16F870-E/SS 最大定格&電気的特性
| Core Architecture | PIC16 (8-bit RISC, Harvard) |
| Instruction Set Width | 14-bit |
| Number of Instructions | 35 single-word instructions |
| Instruction Execution Time | 200 ns at 20 MHz |
| 最大クロック周波数 | 20 MHz |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data RAM | 128 bytes |
| Data EEPROM | 64 bytes |
| Digital I/O Pins | 22 |
| ADC | 5 channels, 10-bit |
| Timers | 3 (Timer0, Timer1, Timer2) |
| CCP Modules | 1 (Capture/Compare/PWM) |
| Serial Interface | 1x USART |
| Operating Voltage (VDD) | 2.0 V to 5.5 V |
| 動作温度 | -40C to +125C (Extended grade) |
| パッケージ | 28-pin SSOP |
| 実装タイプ | Surface Mount |
| Programming/Debug | ICD (In-Circuit Debugger) |
| Self-Programming | Yes |
| RoHS ステータス | Compliant |
PIC16F870-E/SS ピン構成
| ピン 1 | RA0/AN0 — PORTA bit 0 / Analog channel 0 |
| ピン 2 | RA1/AN1 — PORTA bit 1 / Analog channel 1 |
| ピン 3 | RA2/AN2 — PORTA bit 2 / Analog channel 2 |
| ピン 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog channel 3 / ADC reference positive |
| ピン 5 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| ピン 6 | RA5/AN4/SS — PORTA bit 5 / Analog channel 4 / SSP slave select |
| ピン 7 | OSC1/CLKIN — Crystal/clock input |
| ピン 8 | OSC2/CLKOUT — Crystal/clock output |
| ピン 9 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 output / Timer1 clock |
| ピン 10 | RC1/T1OSI — PORTC bit 1 / Timer1 input |
| ピン 11 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM/Capture/Compare |
| ピン 12 | RC3/SCK/SCL — PORTC bit 3 / SSP clock (SPI I2C) |
| ピン 13 | RC4/SDI/SDA — PORTC bit 4 / SSP data in / I2C data |
| ピン 14 | RC5/SDO — PORTC bit 5 / SSP data out |
| ピン 15 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| ピン 16 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| ピン 17 | RB0/INT — PORTB bit 0 / external interrupt |
| ピン 18 | RB1 — PORTB bit 1 |
| ピン 19 | RB2 — PORTB bit 2 |
| ピン 20 | RB3/PGM — PORTB bit 3 / low-voltage programming |
| ピン 21 | RB4 — PORTB bit 4 |
| ピン 22 | RB5 — PORTB bit 5 |
| ピン 23 | RB6/PGC — PORTB bit 6 / ICSP clock (programming/debug) |
| ピン 24 | RB7/PGD — PORTB bit 7 / ICSP data (programming/debug) |
| ピン 25 | VSS — Ground reference |
| ピン 26 | VDD — Positive supply voltage (2.0-5.5V) |
| ピン 27 | MCLR/VPP/THV — Master clear / programming voltage / device reset |
| ピン 28 | NC — Not connected (per datasheet) |
主な用途
PIC16F870-E/SS の用途: 6 件s: Industrial Sensor Interface, Automotive Body and HVAC Subsystems, Appliance Control Boards, Battery-Operated Data Acquisition Node, Digital Thermostat / Temperature Controller, Small DC Motor and Fan Speed Control.
Industrial Sensor Interface
The PIC16F870-E/SS reads multiple analog sensors and serial data from industrial control cabinets. Its 5-channel 10-bit ADC samples thermocouple amplification stages (0-5V) every 200 ns instruction cycle, and the USART drives RS-485 links to PLC inputs; only 2V to 5.5V VDD tolerates 24V-conditioned industrial rails. With 22 digital I/O it can also drive indicator LEDs and front-panel keypads from the same chip.
おすすめ
Automotive Body and HVAC Subsystems
The PIC16F870-E/SS Extended temperature grade (-40C to +125C) suits under-dash HVAC blend-door actuators, interior lighting, and seat-heater controls. The 22 I/O drive MOSFET half-bridges for fan speed and damper position, while the 10-bit ADC reads NTC thermistor + potentiometer feedback for closed-loop climate control; hardware CCP produces a 10-bit PWM for FET drivers without CPU load.
おすすめ
Appliance Control Boards
Washers, dryers, and microwave ovens use the PIC16F870-E/SS as the main user-interface controller, reading front-panel buttons via the ADC, driving 7-segment LED multiplexed displays through the digital I/O, and producing piezo-buzzer tones with the PWM module. EEPROM stores user preferences and fault-history bytes; 128 byte RAM holds the running state machine. The 20 MHz CPU handles brushed DC motor on/off + tachometer decoding.
おすすめ
Battery-Operated Data Acquisition Node
In remote or wireless sensor nodes, the PIC16F870-E/SS serves as a low-power ADC aggregator that wakes on interrupt, samples 4-5 analog channels (e.g., soil moisture or battery voltage), computes the average, and transmits via the USART to an attached radio module. The CMOS 35-instruction core with low-power sleep modes (down to 1uA typical) lets a coin-cell last years; the 22 I/O can drive an SPI-attached LoRa modem directly.
おすすめ
Digital Thermostat / Temperature Controller
The PIC16F870-E/SS firmware reads one NTC thermistor with the 10-bit ADC, applies lookup-table linearization in RAM (128B is ample), compares against the setpoint stored in the 64B EEPROM, and toggles a relay via a CCP-PWM-driven SSR control line. The 5 ADC channels can monitor indoor, outdoor, setpoint, humidity sensor, and supply voltages. Five timers deliver debouncing for keypad inputs and the 1Hz UI tick.
おすすめ
Small DC Motor and Fan Speed Control
The PIC16F870-E/SS generates a 10-bit PWM via its CCP module to drive a low-side N-MOSFET on a brushed DC fan or small DC motor, using hardware PWM rather than software bit-banging to leave the CPU free for Tach-input capture via Timer1. The same 10-bit ADC reads back-emf or shunt current for closed-loop RPM regulation; this combination provides full I/O for HVAC-type variable-speed drives without needing an external PWM generator.
おすすめ
おすすめ製品の概要
エンジニアリング参考データ: PIC16F870-E/SS — 比較、設計ガイダンス、コンプライアンス情報。
選定ガイド
代替品との比較
| パラメータ | この製品 | PIC16F870-I/SS | PIC16F873-E/SS | PIC16F872-I/SS | PIC16F876A-I/SS |
|---|---|---|---|---|---|
| Package | 28-pin SSOP | 28-pin SSOP - same | 28-pin SSOP - same | 28-pin SSOP - same | 28-pin SSOP - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 3.5 KB (2K x 14) | 3.5 KB | 7 KB | 2 KB | 14 KB |
| Data RAM | 128 bytes | 128 bytes | 192 bytes | 128 bytes | 368 bytes |
| Data EEPROM | 64 bytes | 64 bytes | 128 bytes | 64 bytes | 256 bytes |
| ADC Channels | 5 channels, 10-bit | 5 channels, 10-bit | 5 channels, 10-bit | 5 channels, 10-bit | 5 channels, 10-bit |
| CCP/PWM Modules | 1 | 1 | 2 | 1 | 2 |
| Operating Temperature | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| Maximum Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
主な差別化要因
- Extended industrial temperature -40C to +125C in the same 28-pin SSOP (vs PIC16F870-I/SS)
- Pin-compatible software upgrade from 3.5KB to 7KB Flash (vs PIC16F873-E/SS)
- On-chip EEPROM for persistent state without external I2C EEPROM (vs PIC16F872-I/SS)
設計ノート
The PIC16F870-E/SS operates over VDD = 2.0 V to 5.5 V with brown-out and power-on reset built in. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin and a 10 uF bulk capacitor near the supply rail. For stable ADC readings, add a 100 nF + 10 uF pair on AVCC/VREF+ if your firmware uses AVCC as the ADC reference. Low-power sleep with watchdog enabled draws roughly 1 uA typical, allowing years of operation on a 3 V lithium backup cell.
Use a 4-layer PCB with continuous ground plane beneath the SSOP footprint to keep the 20 MHz core from injecting switching noise into nearby analog traces. Route the OSC1/OSC2 crystal traces within 5 mm of the package with symmetric ground-side shielding - trace length mismatch degrades oscillation margin and may cause unlock at temperature extremes. The ICSP lines (RB6/PGC, RB7/PGD) should both have 4.7k pull-downs to avoid false programming events in noisy environments.
Never reuse firmware without verifying the configuration bits: the watchdog timer, low-voltage programming (LVP), and code-protect bits must be set explicitly per application. If LVP is left enabled by mistake, the MCLR pin becomes RB4/PGM and a logic low at reset will enter programming mode, causing field firmware-lockouts. Flash row-write endurance is rated at 100K cycles; for high-write EEPROM use, average writes in software to honor the 1M-cycle/byte EEPROM endurance - a common bug is to write state every loop instead of only on change.
コンプライアンス情報
RoHS compliant per Microchip product page datasheet 30569b. The 'E' suffix denotes Extended temperature grade; it is not equivalent to AEC-Q100 automotive qualification, which is a separate certification not stated on the PIC16F870 datasheet family.