PIC16F882-E/SS - 8-Bit MCU, 20MHz, 3.5KB Flash | Microchip
MPN: PIC16F882-E/SS β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.31 | $2.31 |
| 10 | $2.08 | $20.80 |
| 100 | $1.86 | $186.00 |
| 500 | $1.65 | $825.00 |
| 1,000 | $1.49 | $1,490.00 |
PIC16F882-E/SS Overview
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, plus integrated peripherals such as timers, ADC, communication interfaces, and GPIO. PIC microcontrollers use a RISC Harvard architecture with only 35 single-word instructions, making them well-suited for embedded control applications where deterministic behavior, low power, and ease of programming are priorities. Within the semiconductor hierarchy, an MCU sits under Microcontrollers -> Integrated Circuits -> Semiconductors.
Key features of the PIC16F882-E/SS include 11 channels of 10-bit Analog-to-Digital conversion, two analog comparators, one Capture/Compare/PWM (CCP) module plus one Enhanced CCP (ECCP), an Enhanced Universal Synchronous/Asynchronous Receiver/Transmitter (EUSART), an MSSP module supporting SPI and I2C (master and slave), 256 bytes of non-volatile EEPROM, self-programming capability, an ICD (In-Circuit Debugger) interface, and nanoWatt technology for low-power sleep modes. The 28-pin SSOP footprint delivers 22 I/O pins in a compact 5.30mm body.
The PIC16F882 uses Microchip's enhanced mid-range 14-bit instruction set, with a hardware multiplier and interrupt controller supporting context-saving by hardware. The 2.0V to 5.5V wide operating range allows operation from a single Li-ion cell, two AA cells, or a regulated 3.3V or 5V rail. The device supports ICSP (In-Circuit Serial Programming) and ICD for field upgrades and debug without removing the chip from the board.
Typical applications include consumer appliance controls, battery-powered sensor nodes, simple motor and lighting controls, RS-485/EUSART networked sensor hubs, and industrial automation auxiliary controllers. The wide operating voltage plus EEPROM data memory makes it attractive for parameter storage in field-deployed equipment. Its 11-channel 10-bit ADC provides sufficient resolution for many sensor-conditioning front-ends.
When designing with the PIC16F882-E/SS, allocate one decoupling capacitor (100nF ceramic) per VDD pin and one bulk capacitor (10uF) near the supply entry. Use the ICSP header layout recommended in the Microchip programming specification to keep MPLAB X and PICkit debug tool compatibility. For low-power battery designs, switch to Sleep mode between ADC samples and use the Watchdog Timer or an external interrupt to wake.
This page combines distributor pricing, drop-in same-family alternatives, and practical design notes not consolidated in the manufacturer datasheet, giving engineers a single source for sourcing and design-in decisions.
Drop-in alternatives for PIC16F882-E/SS β 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 PIC16F882-E/SS (same form factor and footprint) β differing in I/O Pins, Package, Timers, ADC, Core Architecture.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F882-I/SS
β Drop-Inβ In Stock
$1.38 / Unit
View Datasheet βPIC16F883-E/SS
β Drop-Inπ Reference alternative (not in catalog)
PIC16F884-E/SS
β Drop-Inπ Reference alternative (not in catalog)
PIC16F886-E/SS
β Drop-Inβ In Stock
$3.51 / Unit
View Datasheet βPIC16F882T-E/SS
β Drop-Inπ Reference alternative (not in catalog)
PIC16F882-E/SO
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$1.18 / Unit
View Datasheet βPIC16F882-E/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (Enhanced Mid-Range, 14-bit instruction) |
| Program Memory (Flash) | 3.5 KB (2K x 14 words) |
| Data RAM | 128 bytes |
| Data EEPROM | 128 bytes |
| Maximum CPU Frequency | 20 MHz (200 ns instruction cycle) |
| Supply Voltage (VDD) | 2.0 V to 5.5 V |
| Operating Temperature | -40 C to +125 C (Extended, -E suffix) |
| I/O Pins | 22 |
| Analog-to-Digital Converter | 10-bit, 11 channels |
| Comparators | 2 |
| CCP / ECCP Modules | 1 CCP + 1 ECCP |
| Serial Interfaces | 1x EUSART, 1x MSSP (SPI / I2C master & slave) |
| Timers | Timer0, Timer1, Timer2 |
| Package | 28-pin SSOP (5.30 mm body width) |
| Mounting Type | Surface Mount |
| Programming / Debug | ICSP + ICD (2-wire) |
| Instruction Set Size | 35 single-word instructions |
| RoHS Status | Compliant |
PIC16F882-E/SS Pin Configuration
| Pin 1 | RA0/AN0/ULPWU β PORTA bit 0 / ADC channel 0 / Ultra-Low-Power Wake-up input |
| Pin 2 | RA1/AN1 β PORTA bit 1 / ADC channel 1 |
| Pin 3 | RA2/AN2/VREF- β PORTA bit 2 / ADC channel 2 / ADC negative reference |
| Pin 4 | RA3/AN3/VREF+ β PORTA bit 3 / ADC channel 3 / ADC positive reference |
| Pin 5 | RA4/AN4/T0CKI/C1OUT β PORTA bit 4 / ADC channel 4 / Timer0 clock input / Comparator 1 output |
| Pin 6 | RA5/AN5/SS/HLVDIN/C2OUT β PORTA bit 5 / ADC channel 5 / SPI Slave Select / HLVD input / Comparator 2 output |
| Pin 7 | VSS β Ground reference |
| Pin 8 | OSC1/CLKIN β Crystal oscillator input / external clock input |
| Pin 9 | OSC2/CLKOUT β Crystal oscillator output / clock output |
| Pin 10 | RC0/T1OSO/T1CKI β PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pin 11 | RC1/T1OSI/CCP2 β PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Pin 12 | RC2/P1A/CCP1 β PORTC bit 2 / Enhanced PWM output P1A / CCP1 I/O |
| Pin 13 | RC3/SCK/SCL β PORTC bit 3 / SPI clock / I2C clock |
| Pin 14 | RC4/SDI/SDA β PORTC bit 4 / SPI data in / I2C data |
| Pin 15 | RC5/SDO β PORTC bit 5 / SPI data out |
| Pin 16 | RC6/TX/CK β PORTC bit 6 / EUSART TX / EUSART synchronous clock |
| Pin 17 | RC7/RX/DT β PORTC bit 7 / EUSART RX / EUSART synchronous data |
| Pin 18 | VSS β Ground reference |
| Pin 19 | VDD β Positive supply (2.0V to 5.5V) |
| Pin 20 | RB0/AN12/INT β PORTB bit 0 / ADC channel 12 / External interrupt |
| Pin 21 | RB1/AN10/P1C β PORTB bit 1 / ADC channel 10 / Enhanced PWM output P1C |
| Pin 22 | RB2/AN8/P1B β PORTB bit 2 / ADC channel 8 / Enhanced PWM output P1B |
| Pin 23 | RB3/AN9/PGM/CPP2 β PORTB bit 3 / ADC channel 9 / ICSP program clock / CCP2 |
| Pin 24 | RB4/AN11/P1D β PORTB bit 4 / ADC channel 11 / Enhanced PWM output P1D |
| Pin 25 | RB5/AN13/T1G β PORTB bit 5 / ADC channel 13 / Timer1 gate input |
| Pin 26 | RB6/ICSPCLK β PORTB bit 6 / ICSP clock (programming/debug) |
| Pin 27 | RB7/ICSPDAT β PORTB bit 7 / ICSP data (programming/debug) |
| Pin 28 | VDD β Positive supply (2.0V to 5.5V) |
Typical Applications
PIC16F882-E/SS is suitable for 6 applications: Consumer Appliance Control, Battery-Powered Sensor Node, Lighting Control and LED Drivers, Industrial Sensor Hub with RS-485, Automotive Auxiliary Module, Small Motor and Fan Speed Control.
Consumer Appliance Control
The PIC16F882-E/SS fits consumer appliance front-panel controllers thanks to its 22 I/O pins, 11-channel 10-bit ADC for temperature and current sensing, and Extended -40C to +125C temperature grade covering oven-adjacent enclosures. The CCP/ECCP module drives TRIACs or PWM-controlled heating elements, while the EUSART links to a display board or a wireless module. Internal 128-byte EEPROM stores user settings across power cycles, eliminating an external serial EEPROM and reducing BOM cost in coffee machines, induction cooktops, and washing machines. The 35-instruction RISC core keeps firmware simple to validate for safety-critical consumer products.
Recommended
Battery-Powered Sensor Node
Low-power battery designs benefit from the PIC16F882-E/SS nanoWatt technology, which drops Sleep current to sub-microamp levels while retaining RAM and the Watchdog Timer. A 2.0V to 5.5V supply range lets the node run directly from a single Li-ion cell or two AA batteries without an LDO. The 11-channel 10-bit ADC reads environmental sensors, and the MSSP I2C bus connects to digital sensors with minimal wiring. The 3.5KB Flash comfortably fits a small RTOS or state-machine firmware with periodic wake-measure-transmit duty cycling for multi-year battery life.
Recommended
Lighting Control and LED Drivers
The PIC16F882-E/SS drives multi-channel LED lighting through its ECCP module, which supports half-bridge, full-bridge, and PWM modes ideal for color-mixing or dimmable white fixtures. The 22 I/O pins interface to button matrices, rotary encoders, or DMX-style data links over the EUSART. Extended -40C to +125C operation covers hot-driver enclosures. Internal 128-byte EEPROM preserves last-on state and color presets across power cycles. The wide 2.0V to 5.5V range also supports direct 3.3V or 5V power without a separate regulator.
Recommended
Industrial Sensor Hub with RS-485
Industrial sensor hubs use the PIC16F882-E/SS EUSART with an external RS-485 transceiver to poll remote 4-20mA or 0-10V sensors over long cables. The 11-channel ADC digitizes analog sensor outputs, the 128-byte EEPROM stores calibration constants, and the Extended temperature range supports factory-floor ambient conditions. The MSSP SPI port can drive a local display or a digital potentiometer for trimming. With 3.5KB Flash, the firmware can implement Modbus RTU slave protocol, CRC-16 error checking, and digital filtering.
Recommended
Automotive Auxiliary Module
The PIC16F882-E/SS fits automotive auxiliary modules (interior lighting, seat controllers, mirror adjusters) thanks to its -40C to +125C Extended temperature grade and 2.0V to 5.5V supply tolerance that survives load-dump transients when paired with a TVS diode. The ECCP module generates PWM for motor speed or LED dimming, the 10-bit ADC reads battery voltage or thermistor inputs, and the EUSART interfaces to a body-control network. Note: this part is NOT AEC-Q100 qualified; design engineers must verify automotive requirements separately or choose a Q-qualified PIC16 variant.
Recommended
Small Motor and Fan Speed Control
Brushless DC and brushed DC motor control benefit from the PIC16F882-E/SS ECCP module's PWM outputs, which deliver complementary or push-pull drive signals at up to 20MHz instruction rate, giving a PWM resolution that suits low-RPM fans or pumps. The two analog comparators provide overcurrent detection by sensing a shunt resistor, while the ADC monitors tachometer feedback from a Hall sensor. Sleep mode plus the Watchdog Timer yields energy-efficient standby behavior for battery-driven appliances.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F882-E/SS β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F882-I/SS | PIC16F883-E/SS | PIC16F884-E/SS | PIC16F886-E/SS | PIC16F882T-E/SS | PIC16F882-E/SO |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SSOP-28 (5.30 mm) | SSOP-28 (5.30 mm) - same | SSOP-28 (5.30 mm) - same | SSOP-28 (5.30 mm) - same | SSOP-28 (5.30 mm) - same | SSOP-28 (5.30 mm) - same | SOIC-28 (7.50 mm) - wider body |
| Program Flash | 3.5 KB (2K x 14) | 3.5 KB | 7.2 KB | 7.2 KB | 14 KB | 3.5 KB | 3.5 KB |
| Data RAM | 128 bytes | 128 bytes | 256 bytes | 256 bytes | 368 bytes | 128 bytes | 128 bytes |
| Data EEPROM | 128 bytes | 128 bytes | 256 bytes | 256 bytes | 256 bytes | 128 bytes | 128 bytes |
| CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Temperature | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +125C (Extended) |
| Supply Voltage | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V | 2.0V to 5.5V |
| ADC Channels | 11 x 10-bit | 11 x 10-bit | 11 x 10-bit | 11 x 10-bit | 11 x 10-bit | 11 x 10-bit | 11 x 10-bit |
Key Differentiators
- Extended -40C to +125C temperature grade included (vs PIC16F882-I/SS)
- Largest memory in the same 28-pin SSOP family (vs PIC16F882T-E/SS)
- Cost-optimized smallest memory in the family (vs PIC16F886-E/SS)
Design Notes
Per the Microchip datasheet, place a 100nF decoupling capacitor as close as possible to each VDD pin (pins 19 and 28 on SSOP-28) and a single 10uF bulk capacitor near the supply entry point. Both VDD and VSS pins must be connected; leaving either floating causes erratic ADC readings and unstable operation. The 2.0V to 5.5V supply range tolerates direct Li-ion cell use without an LDO in low-power designs, but add reverse-polarity and TVS protection for production boards.
Route the ICSP clock (RB6/ICSPCLK) and data (RB7/ICSPDAT) lines so that an ICD header can be added in production without signal integrity issues. Keep both traces short, away from switching nodes, and add 4.7kohm pull-ups on RB6/RB7 only if external circuitry requires it; otherwise leave floating to avoid interfering with ICSP. The Microchip programming specification recommends a 5-pin ICSP header footprint (VDD, VSS, PGM, PGC, PGD) accessible from the board edge for debug and field updates.
Do NOT confuse the -E and -I temperature grades: the -E variant (PIC16F882-E/SS) is characterized from -40C to +125C, while the -I variant (PIC16F882-I/SS) is characterized only from -40C to +85C. Using the -I grade above 85C is outside its specification and may cause timing or memory-retention failures. The Configuration Word (CONFIG) must be programmed correctly to enable the watchdog, brown-out reset, and code protection as needed; Microchip MPLAB X provides a graphical CONFIG editor to prevent mistakes.
When using the MSSP module in I2C mode, select appropriate pull-up resistor values based on bus capacitance and clock speed - 4.7kohm is a typical default for 100kHz Standard-mode with a few devices on the bus. For SPI, the SS pin must be handled correctly in slave mode to avoid bus contention. The EUSART can operate in synchronous or asynchronous mode; in RS-485 networks add a 120ohm termination resistor at the two ends of the bus to suppress reflections.
Compliance Information
RoHS and lead-free per Microchip product page. NOT AEC-Q100 qualified - choose a Q-suffix variant for automotive applications.