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 — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки 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 (против 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 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.