Microchip Technology

PIC16F870-E/SS - 8-Bit MCU, 3.5KB Flash, 20MHz | Microchip

料号: PIC16F870-E/SS ✓ 量产中
有现货 1-3 个工作日内发货
2.0 V to 5.5 V Vdss 28-pin SSOP Package 20 MHz Speed 3.5 KB (2K x 14) Memory
低至 $2.65 USD / 件
最小起订量: 1 |
价格更新于: 2026-09-21
批量定价
数量 单价 小计
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
ℹ️ 所有价格均以 USD 计价

PIC16F870-E/SS 概述

The Microchip PIC16F870-E/SS is an 8-bit CMOS FLASH-based microcontroller built on Microchip's PIC16 mid-range RISC architecture, delivering 20 MHz (200 ns instruction cycle) performance with 3.5KB (2K x 14) of program Flash, 128 bytes of RAM, and 64 bytes of EEPROM in a 28-pin SSOP package.

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.

Microchip Technology
ADC: 10-bit, 5 channels
Package: 28-pin SSOP (5.30 mm body, 0.65 mm pitch)
Program Memory (Flash): 3.5 KB (2K x 14 words)
Microchip Technology
ADC: 5 channels x 10-bit
Package: 28-pin SSOP (5.30 mm body)
Program Memory (Flash): 14 KB (8K x 14 words)

快速对比工具——选择替代料号进行并排对比:

PIC16F870-I/SS

✅ 直接替换
Microchip Technology
📦 28-pin SSOP
PIC16 mid-range 8-bit RISC · 35 instructions, 14-bit wide · DC to 20 MHz (200 ns instruction cycle) · 3.5 KB (2K x 14 words) · 128 bytes · 64 bytes · 22 · 2 x 8-bit, 1 x 16-bit

✓ 有现货

$2.47 / 个

查看数据手册 →

PIC16F873-E/SS

✅ 直接替换
📦 28-pin SSOP
Doubles Flash to 7KB and adds 2nd CCP module, 4-level stack deepened to 8 levels, more peripherals; otherwise same SSOP-28 footprint and pic16 core

📋 参考替代料(不在目录中)

PIC16F872-I/SS

✅ 直接替换
📦 28-pin SSOP
Same 28-pin SSOP footprint, same PIC16 core; memory map differs (2KB Flash on 872 vs 3.5KB on 870) - verify code size compatibility (-25% Flash)

📋 参考替代料(不在目录中)

PIC16F876A-I/SS

✅ 直接替换
Microchip Technology
📦 28-pin SSOP
PIC16 mid-range 8-bit RISC · 20 MHz (200 ns instruction cycle) · 14 KB (8K x 14 words) · 368 bytes · 256 bytes · 35 single-word instructions · 2.0 V to 5.5 V · 22

✓ 有现货

$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 引脚配置

SSOP-28 Package Pinout Diagram SSOP-28 5.3x10.2mm, P0.65mm, JEDEC MO-150. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 SSOP-28
引脚 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.

推荐产品汇总

PIC16F873-E/SS Same-family upgrade with 7KB Flash for more complex sensor stacks 用于: Industrial Sensor Interface, Automotive Body and HVAC Subsystems, Digital Thermostat / Temperature Controller MAX485ESA RS-485 transceiver companion for USART-to-bus isolation 用于: Industrial Sensor Interface IRF7507TRPBF N/P-FET half-bridge for brushless DC HVAC motors 用于: Automotive Body and HVAC Subsystems, Small DC Motor and Fan Speed Control PIC16F870-I/SS Microchip Technology 用于: Appliance Control Boards MCP1700-3302E 3.3V LDO regulator to power MCU from rectified mains 用于: Appliance Control Boards PIC16LF870-I/SS Microchip Technology 用于: Battery-Operated Data Acquisition Node RN2483-I/RM101 LoRaWAN transceiver module for remote sensor uplink 用于: Battery-Operated Data Acquisition Node HS1101LF Capacitive humidity sensor for combined temp/humidity thermostats 用于: Digital Thermostat / Temperature Controller PIC16F876A-I/SS Microchip Technology 用于: Small DC Motor and Fan Speed Control
What is the program memory size of PIC16F870-E/SS?
The PIC16F870-E/SS includes 3.5KB (2K x 14) of FLASH program memory, according to the Microchip datasheet 30569b. The 14-bit-wide instruction words allow compact code density, and the FLASH supports self-programming for in-field firmware updates without an external programmer.
What is the maximum clock speed of PIC16F870-E/SS?
The PIC16F870-E/SS operates at a maximum clock frequency of 20 MHz, which gives a 200 ns instruction cycle. The device is also fully static, so you can operate it at any slower clock - including the internal 32 kHz oscillator mode - to reduce power consumption in low-duty-cycle applications.
What is the difference between PIC16F870-E/SS and PIC16F870-I/SS?
The PIC16F870-E/SS is the Extended temperature grade (-40C to +125C), while the PIC16F870-I/SS is the Industrial grade (-40C to +85C), per the Microchip PIC16F870/871 datasheet. Both parts share identical pinout, peripherals, and memory map, making them drop-in interchangeable when the application only requires industrial temperatures.
How many ADC channels does PIC16F870-E/SS have?
The PIC16F870-E/SS contains a single 10-bit ADC with 5 analog input channels multiplexed onto the same sample-and-hold circuit. The ADC supports both single-ended and (in some variants) differential conversions, and the conversion clock is software-selectable to balance speed and accuracy for the chosen input impedance.
Where can I download the PIC16F870-E/SS datasheet PDF?
The official PIC16F870/871 datasheet is freely available as document 30569b on the Microchip website. The datasheet covers electrical characteristics, instruction set, peripheral operation, and package drawings for both the 28-pin and 40-pin variants - PIC16F870 is the 28-pin device in this family.
What package does PIC16F870-E/SS use?
The PIC16F870-E/SS uses a 28-pin SSOP (Shrink Small Outline Package) with a body width of 5.3 mm and 0.65 mm pin pitch. The '/SS' suffix in the Microchip naming convention always indicates SSOP packaging, distinguishing it from the '/SO' (SOIC) and '/SP' (SPDIP) variants of the same silicon.
Is the PIC16F870-E/SS suitable for automotive applications?
The PIC16F870-E/SS Extended grade (-40C to +125C) is often used in non-safety automotive subsystems such as body controllers and HVAC panels, where AEC-Q100 qualification is not formally required. For AEC-Q100-qualified automotive designs, the PIC16F870-E/SS needs to be cross-referenced against an AEC-Q100 part number on the automotive-grade silicon, which is not the same as Extended temperature alone.
What is the best drop-in replacement for PIC16F870-E/SS?
The best drop-in replacement is the PIC16F870-I/SS, which is the Industrial-grade variant (PIC16F870-E/SS is the Extended-grade variant) sharing identical pinout and the same 3.5KB Flash / 128B RAM / 64B EEPROM memory map. If you need more code space, the PIC16F873-E/SS is the 28-pin step-up with 7KB Flash and additional peripherals on the same footprint.
Can PIC16F873-E/SS replace PIC16F870-E/SS in an existing design?
Yes, the PIC16F873-E/SS is pin-compatible with the PIC16F870-E/SS in the 28-pin SSOP footprint and extends the memory to 7KB Flash plus additional peripherals. Source code written for the PIC16F870 compiles and runs on the PIC16F873 with no port changes, although registers above the 2K boundary must not be used.
What is the difference between PIC16F870 and PIC16F871?
The PIC16F870 is the 28-pin variant of the family with 22 I/O pins and 5 ADC channels, while the PIC16F871 is the 40-pin variant with 33 I/O pins and 8 ADC channels, per Microchip datasheet 30569b. Both parts use the same PIC16 core, instruction set, and peripherals; the 871 simply exposes more pins for larger designs.
How much RAM and EEPROM does PIC16F870-E/SS have?
The PIC16F870-E/SS provides 128 bytes of data RAM plus 64 bytes of data EEPROM, according to the Microchip datasheet. The EEPROM supports byte-by-byte read and write with internal hardware-managed wear-leveling, typically rated for 1 million erase/write cycles per byte.
Does PIC16F870-E/SS support PWM?
Yes, the PIC16F870-E/SS includes a single Capture/Compare/PWM (CCP) module that supports PWM output with 10-bit resolution. Combined with Timer2 as the time base, this delivers flexible PWM generation for motor control, LED dimming, or audio tone applications, all handled in hardware with no CPU overhead.
Is PIC16F870-E/SS still in production in 2026?
The PIC16F870-E/SS remains an active product in Microchip's PIC16 mid-range portfolio as of 2026-09-21, and is widely stocked across distributors such as DigiKey, Mouser, and Octopart. Microchip's strategy has historically supported PIC16 devices for 20+ years, and there is no published end-of-life notice for the PIC16F870 at this date.
What programmer is needed for PIC16F870-E/SS?
The PIC16F870-E/SS is supported by all Microchip programmers including PICkit 3, PICkit 4, MPLAB ICD 3, and ICD 4, using the In-Circuit Serial Programming (ICSP) two-wire interface on the RB6/RB7 pins. The on-chip ICD (In-Circuit Debugger) module also allows in-circuit debugging through the same ICSP lines without needing a separate debug header.
What are the key specifications that engineers should know about PIC16F870-E/SS?
Key PIC16F870-E/SS specifications: 8-bit PIC16 RISC core, 20 MHz / 200 ns instruction cycle, 3.5 KB Flash program memory, 128 B data RAM, 64 B EEPROM, 22 digital I/O pins, 5 channels of 10-bit ADC, 1 USART, 1 CCP/PWM module, 3 timers, ICD debug interface, 2.0 V to 5.5 V VDD, and -40C to +125C Extended temperature, packaged in 28-pin SSOP. The combination of EEPROM plus self-programming and a 35-instruction RISC core makes it a compact, deterministic microcontroller for embedded control.

工程参考数据: PIC16F870-E/SS ——对比、设计指导和合规信息。

选型指南

Choose the PIC16F870-E/SS when you need an Extended-temperature (-40C to +125C) 8-bit Microchip PIC microcontroller in a 28-pin SSOP package with 3.5 KB Flash, 128 B RAM, 5 channels of 10-bit ADC, 1 USART, and 1 CCP/PWM module. It is the right part for compact sensor interfaces, HVAC controllers, and appliance boards where the Industrial PIC16F870-I/SS would be thermally limited. Migrate to the PIC16F873-E/SS in the same SSOP-28 footprint for more code space (7KB Flash) or to the PIC16F876A-I/SS for richer peripheral sets - no PCB rework required. Use the PIC16LF870-I/SS instead if you need 2.0V-3.6V battery-only operation.

与替代料对比

参数 本产品 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 (对比 PIC16F870-I/SS)
  • Pin-compatible software upgrade from 3.5KB to 7KB Flash (对比 PIC16F873-E/SS)
  • On-chip EEPROM for persistent state without external I2C EEPROM (对比 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
REACH
Compliant
AEC-Q100
Not Applicable
无铅
Yes
无卤
Yes
冲突矿物
Compliant

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.

数据核验日期: 2026-09-21 ——数据由 XAIPART 元器件工程团队核验和整理

相关搜索

PIC16F870-E/SS PIC16F870 datasheet Microchip PIC16F870-E/SS PIC16F870 SSOP price PIC 8-bit 3.5KB Flash 20MHz 28-pin SSOP PIC16 microcontroller PIC16F870 vs PIC16F873 PIC16F870-E/SS drop-in replacement PIC16F870-E/SS equivalent industrial temperature PIC16F870-E/SS automotive HVAC microcontroller PIC16F870-E/SS buy online distributor what is the RAM size of PIC16F870 PIC16F870 ICD in-circuit debugger PIC16 mid-range 8-bit RISC 35 instructions

相关元器件 & 术语

Microchip Technology PIC16F870 PIC16F870-E/SS PIC16F870-I/SS PIC16F873-E/SS PIC16F872-I/SS PIC16F876A-I/SS PIC16F871 PIC16 mid-range family 8-bit microcontroller MCU RISC architecture FLASH program memory EEPROM 10-bit ADC USART CCP PWM In-Circuit Debugger (ICD) SSOP-28 Extended temperature grade Industrial temperature grade ICSP PICkit MPLAB RoHS AEC-Q100 Harvard bus architecture brown-out reset (BOR)
快速报价
填写完整信息——我们的销售团队将在 24 小时内回复
料号 制造商 封装 QTY 目标价 小计
合计: $0.00 USD
✓
报价已提交!

我们将在 24 小时内回复您的邮件

1
询价已提交
2
已收到报价
3
已下单
4
支付
5
已发货
6
已送达
查看询价详情