PIC16F87T-E/SO - 8-bit MCU, 20MHz, 4KB Flash, 18-SOIC | Microchip
MPN: PIC16F87T-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.94 | $6.94 |
| 10 | $6.1 | $61.00 |
| 100 | $5.42 | $542.00 |
| 500 | $4.8 | $2,400.00 |
| 1,000 | $4.25 | $4,250.00 |
PIC16F87T-E/SO Overview
An 8-bit microcontroller (MCU) is a single-chip computer with an 8-bit data bus, integrating CPU, memory (Flash/ROM, RAM, EEPROM), and peripherals into one IC. Within the broader semiconductor hierarchy, it belongs to the microcontroller -> embedded controller -> digital IC -> integrated circuit family. Microchip's PIC16 mid-range architecture is one of the industry-standard 8-bit RISC cores, designed for deterministic real-time control in consumer, industrial, and automotive applications.
Key features include 16 digital I/O pins, an operating voltage range of 4.0 V to 5.5 V, on-chip peripherals such as a 10-bit ADC, two 8-bit timers, one 16-bit timer with capture/compare/PWM, enhanced PWM module, USART, I2C/SPI, and NanoWatt power management for low-power sleep modes. Brown-out Reset, Power-on Reset, and Watchdog Timer provide robust field reliability.
The device uses Microchip's enhanced mid-range Harvard architecture with a 14-bit instruction word and 8-bit data path, executed through a pipelined RISC engine. The "T" suffix denotes Tape & Reel packaging for high-volume assembly; the "-E" denotes the Extended (industrial) temperature grade of -40 °C to +125 °C, while the "SO" suffix indicates the 18-pin SOIC 300-mil package.
Typical applications include sensor signal conditioning, HVAC damper/valve control, small appliance motor control, battery chargers, security alarm panels, and industrial control modules. The combination of low power, deterministic interrupt latency, and ample analog/digital peripherals makes it well suited for replacing discrete logic in space-constrained designs.
When designing with this MCU, ensure the ICSP clock/clock-out pins are reserved for in-circuit programming unless a separate programming header is provided, and place a 100 nF decoupling capacitor close to VDD with a bulk 10 µF on the board supply rail.
This page synthesizes distributor pricing from Mouser and Octopart, drop-in same-package alternatives from the PIC16F87 family, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC16F87T-E/SO — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16F87T-E/SO (same form factor and footprint) — differing in Operating Temperature, Package, Internal Oscillator, RoHS Status, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F87-E/SO
✅ Drop-In✓ In Stock
$3 / Unit
View Datasheet →PIC16F87T-I/SO
✅ Drop-In✓ In Stock
$1.12 / Unit
View Datasheet →PIC16F87-I/SO
✅ Drop-In✓ In Stock
$4.93 / Unit
View Datasheet →PIC16F87-I/P
✅ Drop-In✓ In Stock
$3.78 / Unit
View Datasheet →PIC16F87T-E/SO Maximum Ratings & Electrical Characteristics
| Core Processor | PIC |
| Core Size | 8-Bit |
| Maximum Clock Speed | 20 MHz |
| Instruction Cycle Time | 200 ns |
| Number of I/O Pins | 16 |
| Program Memory Size | 7 KB (4K x 14) Flash |
| RAM Size | 368 x 8 bytes |
| EEPROM Size | 256 x 8 bytes |
| Supply Voltage (Vcc/Vdd) | 4.0 V to 5.5 V |
| Operating Temperature | -40 °C to +125 °C (Extended, "-E") |
| Package / Case | 18-SOIC (0.295", 7.50 mm Width) |
| Mounting Type | Surface Mount |
| Connectivity | I2C, SPI, UART/USART |
| Peripherals | Brown-out Detect/Reset, POR, PWM, WDT |
| ADC | 10-bit, multi-channel |
| Data Converters | A/D 5x10b |
| Oscillator Type | Internal/External |
| Program Memory Type | FLASH |
| Packaging | Tape & Reel ("T" suffix) |
| RoHS Status | Compliant |
| Moisture Sensitivity Level (MSL) | 1 (Unlimited) |
PIC16F87T-E/SO Pin Configuration
| Pin 1 | MCLR/VPP — Master Clear (Reset) input / Programming voltage |
| Pin 2 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Pin 3 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Pin 4 | RA2/AN2/VREF- — Port A bit 2 / Analog input 2 / Negative reference |
| Pin 5 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / Positive reference |
| Pin 6 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — Port A bit 5 / Analog input 4 / SPI slave select |
| Pin 8 | VSS — Ground |
| Pin 9 | OSC1/CLKIN — Crystal/oscillator input or external clock in |
| Pin 10 | OSC2/CLKOUT — Crystal/oscillator output or clock out |
| Pin 11 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer1 oscillator output or clock input |
| Pin 12 | RC1/T1OSI/CCP2 — Port C bit 1 / Timer1 oscillator input or CCP2 |
| Pin 13 | RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1 |
| Pin 14 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Pin 15 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Pin 16 | RC5/SDO — Port C bit 5 / SPI data out |
| Pin 17 | RC6/TX/CK — Port C bit 6 / USART TX / clock |
| Pin 18 | RC7/RX/DT — Port C bit 7 / USART RX / data |
Typical Applications
PIC16F87T-E/SO is suitable for 6 applications: Industrial Sensor Signal Conditioning, HVAC Damper and Valve Control, Small Appliance Motor Control, Battery Chargers and Power Banks, Security and Alarm Panels, Automotive Aftermarket Modules.
Industrial Sensor Signal Conditioning
The PIC16F87T-E/SO is well suited for industrial sensor signal conditioning front-ends because it pairs a 10-bit ADC with five analog input channels and a 20 MHz enhanced mid-range core that runs the PIC MCU's deterministic 35-instruction RISC pipeline. With 7 KB of Flash and 256 bytes of EEPROM, calibration constants can be stored permanently and updated in-circuit via ICSP. Operating from 4.0 V to 5.5 V and across -40 °C to +125 °C, it tolerates factory-floor supply noise and thermal swings near motors or solenoids. Its 368-byte RAM buffer fits modest FIR/IIR filtering of 8-bit ADC samples before UART or SPI reporting. Compared with a discrete op-amp + ADC + microcontroller design, this single-chip solution reduces BOM and PCB area for thermocouple, RTD, or pressure-transducer front-ends.
Recommended
HVAC Damper and Valve Control
For HVAC damper/valve actuator control, the PIC16F87T-E/SO provides a 16-bit timer with capture/compare/PWM that drives brushless DC or servo valve actuators with deterministic timing, plus an enhanced PWM module for proportional control. Its extended -40 °C to +125 °C temperature grade and 4.0 V to 5.5 V supply range suit unconditioned rooftop and basement installations. The 7 KB Flash accommodates state-machine firmware plus Modbus or BACnet-lite framing over UART, while 256 bytes of EEPROM retain setpoints and PID tuning across power cycles. NanoWatt sleep modes cut standby current to a few microamps between commands, important for battery-backed thermostats.
Recommended
Small Appliance Motor Control
In small appliances such as blenders, fans, or washing-machine pumps, the PIC16F87T-E/SO delivers an integrated PWM, capture/compare, and 10-bit ADC inside an 18-SOIC package that fits a 1-inch-square motor-control PCB. The 5 MIPS core executes sensorless commutation routines for low-cost BLDC pumps or simple triac-fired universal motors. Internal brown-out reset and watchdog timer improve field reliability against supply dropouts during inrush. With 7 KB Flash and 256 EEPROM, appliance firmware plus last-cycle memory fit comfortably. Tape-and-reel packaging supports high-volume SMT lines typical of consumer appliance manufacturing.
Recommended
Battery Chargers and Power Banks
The PIC16F87T-E/SO fits lead-acid or multi-chemistry battery chargers that need temperature-compensated voltage regulation, current sensing, and timer-based state transitions. Its 10-bit ADC samples charge current and battery voltage with 4 mV resolution at 5 V full-scale, sufficient for 12 V lead-acid charge profiling, while the enhanced PWM regulates the switching converter. The -40 °C to +125 °C extended grade handles automotive underhood or solar-cabinet environments, and the 256-byte EEPROM stores learned battery parameters. Brown-out reset protects against deeply discharged battery reconnect events. The 18-SOIC package keeps the charger board under 50 mm x 30 mm.
Recommended
Security and Alarm Panels
For security alarm panels, the PIC16F87T-E/SO combines UART for keypad/GSM modules, I2C for EEPROM-backed event logs, and a 10-bit ADC for line-monitoring tamper detection - all within one 18-SOIC IC. The 7 KB Flash stores zone-configuration firmware, while 256 bytes of on-chip EEPROM retains arm/disarm codes and alarm history. Brown-out reset and watchdog timer guard against supply-line tampering, and NanoWatt sleep keeps quiescent current low enough for standby battery operation. ICSP via RB6/RB7 enables in-field firmware updates during installation.
Recommended
Automotive Aftermarket Modules
Although not AEC-Q100 qualified, the PIC16F87T-E/SO is used in non-safety automotive aftermarket modules such as LED interior light controllers, auxiliary gauges, and 12 V accessory timers, where the extended -40 °C to +125 °C grade handles cabin and engine-bay thermal swings. The 16-bit timer with capture input measures RPM or speedometer pulses from a 12 V square wave, while the enhanced PWM dims LED strips. 7 KB Flash supports UI logic, and 256 bytes of EEPROM stores user preferences. The 18-SOIC 300-mil package fits in the tight enclosures typical of aftermarket accessories.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F87T-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F87-E/SO | PIC16F87T-I/SO | PIC16F87-I/SO | PIC16F87-I/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 18-SOIC (300 mil) | 18-SOIC (300 mil) - same | 18-SOIC (300 mil) - same | 18-SOIC (300 mil) - same | PDIP-18 - different (thru-hole) |
| Core / Architecture | PIC16 enhanced mid-range, 8-bit | PIC16 enhanced mid-range, 8-bit (same) | PIC16 enhanced mid-range, 8-bit (same) | PIC16 enhanced mid-range, 8-bit (same) | PIC16 enhanced mid-range, 8-bit (same) |
| Max Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Flash Program Memory | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) | 7 KB (4K x 14) |
| RAM | 368 bytes | 368 bytes | 368 bytes | 368 bytes | 368 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Operating Temperature | -40 C to +125 C (Extended) | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) |
| Packaging | Tape & Reel | Tray | Tape & Reel | Tray | Tube (PDIP) |
| Supply Voltage | 4.0 V to 5.5 V | 4.0 V to 5.5 V | 4.0 V to 5.5 V | 4.0 V to 5.5 V | 4.0 V to 5.5 V |
| I/O Pins | 16 | 16 | 16 | 16 | 16 |
Key Differentiators
- Extended -40 C to +125 C temperature grade with same 18-SOIC footprint (vs PIC16F87T-I/SO)
- Tape & Reel packaging for high-volume SMT assembly (vs PIC16F87-E/SO)
- Same die as the broader PIC16F87 family - zero firmware rework (vs PIC16F873A-I/SO)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to VDD (pin 14 area on the 18-SOIC) and a bulk 10 uF tantalum or ceramic on the board-side VDD rail. For NanoWatt sleep-mode designs add a 1-10 MOhm resistor from MCLR/VPP to VDD so the internal pull-up does not need to source the supply rail during wake-up, reducing sleep-mode current by 1-2 uA per the Microchip PIC16F87 datasheet.
Route the ICSP clock/data lines RB6/ICSPCLK and RB7/ICSPDAT away from switching power nodes and high-current traces. Keep trace length under 50 mm and add 4.7 kOhm pull-ups on MCLR to VDD. A 5-pin in-circuit programming header (ICSP) on the production PCB avoids firmware rework cost when design updates are needed after deployment.
Do not omit the configuration word settings (oscillator selection, WDT enable/disable, code protection, brown-out voltage). Unprogrammed configuration bits default to internal RC oscillator and enabled WDT, which can trap first-time programmers. Use the MPLAB X IDE configuration bit window or set _CONFIG in source to explicitly define WDTE, FOSC, BOREN, and PWRT before generating the HEX file.
When using the internal oscillator, the 4 MHz HFINTOSC accuracy is +/- 2 % typical and +/- 5 % over -40 C to +125 C, per the Microchip PIC16F87 datasheet electrical characteristics. For UART communication at higher baud rates (e.g. 115200), use a 20 MHz external crystal or resonator. Place the crystal within 10 mm of OSC1/OSC2 with short, symmetric traces and a guard ring tied to ground for EMI robustness.
Compliance Information
RoHS and lead-free per Microchip product page. Not AEC-Q100 qualified - the Extended -E temperature grade supports industrial environments but is not certified for automotive safety-critical applications. For AEC-Q100 designs use PIC16F877A-I/PT or PIC16F1xxx equivalents.