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.