PIC16F882-E/ML - 8-Bit 20MHz MCU 3.5KB Flash | Microchip
Référence : PIC16F882-E/ML ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $2.45 | $2,45 |
| 10 | $2.18 | $21,80 |
| 100 | $1.92 | $192,00 |
| 500 | $1.71 | $855,00 |
| 1 000 | $1.55 | $1 550,00 |
PIC16F882-E/ML Présentation
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, non-volatile program memory, peripherals, and I/O onto one silicon die. The PIC16F882 belongs to the mid-range PIC16 family, sitting between PIC10/PIC12 baseline parts and PIC18 enhanced parts. MCUs are the most widely produced computing category, embedded as decision-makers inside everything from white goods to industrial sensors; the PIC architecture in particular is known for deterministic single-cycle instruction execution, simple C and assembly tooling, and decades-long supply continuity.
Key features include 128 bytes of EEPROM, self-programming support, an integrated 10-bit ADC, multiple PWM channels, USART, SPI, and I2C peripherals, and NanoWatt Technology power management with multiple sleep modes and ultra-low power consumption. The device operates from 2.0V to 5.5V across the full industrial temperature range, making it suitable for harsh-environment designs.
The PIC16F882 uses a RISC-like Harvard architecture with only 35 single-word instructions, simplifying code development and reducing compiler overhead. With 20MHz clock speed yielding 200ns instruction cycles, the device delivers predictable real-time response. Integrated brown-out reset, power-on reset, and a watchdog timer with its own on-chip RC oscillator provide robust autonomous operation.
Typical applications include consumer appliance control, automotive body and interior modules, industrial sensor interfaces, low-cost motor control, LED lighting controllers, and battery-powered instruments. The combination of extended temperature grade and the thermally-enhanced QFN package also makes it suitable for sealed-environment embedded designs where heat must be dissipated through the PCB.
Designers should pay close attention to the exposed thermal pad of the QFN package: it must be soldered to a sufficient copper pour for both electrical grounding and thermal dissipation. The 28-QFN pinout differs from the 28-SOIC and 28-PDIP variants of the same die, so PCB layouts are not interchangeable across packages.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not assembled in the manufacturer datasheet, giving engineers a faster sourcing decision than navigating Microchip documentation alone.
Alternatives de remplacement direct pour PIC16F882-E/ML — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC16F882-E/ML (même facteur de forme et même empreinte) — différant par ADC, Core Architecture, Program Memory (Flash), Communication Peripherals, Comparators.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC16F882-I/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F883-E/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F886-E/ML
✅ Remplacement direct✓ En stock
$1.71 / unité
Voir la fiche technique →PIC16F887-E/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F882-E/ML Valeurs maximales et caractéristiques électriques
| Core Architecture | PIC16 (8-bit RISC) |
| Program Memory (Flash) | 3.5 KB (2K x 14 words) |
| Data EEPROM | 128 bytes |
| Maximum CPU Speed | 20 MHz |
| Instruction Cycle Time | 200 ns @ 20 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V |
| Plage de température de fonctionnement | -40 C to +125 C (Extended, -E suffix) |
| Package Type | 28-QFN (6x6 mm) with Exposed Pad (ML) |
| Type de montage | Surface Mount |
| ADC | 10-bit, integrated |
| Communication Peripherals | USART, SPI, I2C (MSSP) |
| Power-Saving Modes | NanoWatt Technology, multiple sleep modes |
| Instruction Set | 35 single-word instructions |
| Self-Programming | Yes (Flash) |
| Brown-Out Reset | Yes, integrated |
| Watchdog Timer | Yes, with dedicated on-chip RC oscillator |
| Statut RoHS | Compliant |
Configuration des broches de PIC16F882-E/ML
| Broche 1 | RA0/AN0/ULPWU — PORTA bit 0 / Analog input 0 / Ultra-Low-Power Wake-up |
| Broche 2 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Broche 3 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / ADC Vref- |
| Broche 4 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC Vref+ |
| Broche 5 | RA4/AN4/T0CKI — PORTA bit 4 / Analog input 4 / Timer0 clock input |
| Broche 6 | RA5/AN5/SS/HLVDIN — PORTA bit 5 / Analog input 5 / SPI Slave Select / High-Low Voltage Detect input |
| Broche 7 | RA6/OSC2/CLKO — PORTA bit 6 / Crystal output / Clock output |
| Broche 8 | RA7/OSC1/CLKI — PORTA bit 7 / Crystal input / Clock input |
| Broche 9 | VSS — Ground reference |
| Broche 10 | VDD — Positive supply (2.0V to 5.5V) |
| Broche 11 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Broche 12 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Broche 13 | RC2/P1A/CCP1 — PORTC bit 2 / PWM output P1A / CCP1 output |
| Broche 14 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Broche 15 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Broche 16 | RC5/SDO — PORTC bit 5 / SPI data out |
| Broche 17 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Broche 18 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Broche 19 | VSS — Ground reference (second pin) |
| Broche 20 | VDD — Positive supply (second pin) |
| Broche 21 | RB0/INT — PORTB bit 0 / External interrupt |
| Broche 22 | RB1 — PORTB bit 1 |
| Broche 23 | RB2 — PORTB bit 2 |
| Broche 24 | RB3/PGM — PORTB bit 3 / Low-voltage programming |
| Broche 25 | RB4 — PORTB bit 4 |
| Broche 26 | RB5 — PORTB bit 5 |
| Broche 27 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Broche 28 | RB7/PGD — PORTB bit 7 / ICSP data |
| Broche 29 | EP — Exposed Thermal Pad (must be soldered to ground) |
Applications typiques
PIC16F882-E/ML convient pour 7 applications: Consumer Appliance Control, Industrial Sensor Interface, Automotive Body and Interior Modules, Battery-Powered Instruments, LED Lighting Controllers, Low-Cost Motor Control, HVAC and Thermostat Control.
Consumer Appliance Control
The PIC16F882-E/ML fits consumer appliance control boards because its 3.5KB flash accommodates typical washing-machine, dishwasher, or microwave user-interface state machines, while the integrated 10-bit ADC reads sensor inputs (temperature, water level, motor current). The 20MHz CPU executes control loops in 200ns instruction cycles, leaving headroom for keypad scanning, LCD driving, and safety interlocks. Its NanoWatt sleep modes reduce standby power below 1uA, important for ENERGY STAR ratings. With -E Extended temperature grade, it survives the high-ambient inside appliance cabinets, and the 28-QFN exposed pad dissipates heat efficiently on a 2-layer FR4 board.
Recommandé
Industrial Sensor Interface
The PIC16F882-E/ML serves industrial sensor interface modules by aggregating analog and digital signals from 4-20mA loops, thermistors, and switches. Its 10-bit ADC and NanoWatt Technology let it poll sensors continuously while keeping average current draw in the microamp range for loop-powered 4-20mA transmitters. The 35-instruction PIC16 instruction set is deterministic enough for IEC 61131-3-style logic, and the integrated USART/SPI/I2C peripherals connect to industrial field buses or wireless modules. With -40C to +125C operation, it handles outdoor and factory-floor temperatures, and the 28-QFN package fits inside small IP67 sensor heads.
Recommandé
Automotive Body and Interior Modules
The PIC16F882-E/ML is well-suited for automotive body controllers such as seat controls, mirror modules, interior lighting, and HVAC blend-door actuators. Its Extended -40C to +125C temperature grade survives cabin and under-hood thermal swings, while the small 28-QFN 6x6 mm package fits behind dashboard switches. The 20MHz CPU drives PWM channels for LED dimming and motor control at frequencies above the audible band. On-chip brown-out reset, watchdog timer, and high-voltage ESD-tolerant I/O improve automotive robustness, and NanoWatt sleep modes support quiescent current budgets below 100uA demanded by modern body modules.
Recommandé
Battery-Powered Instruments
The PIC16F882-E/ML suits battery-powered instruments such as handheld multimeters, portable medical monitors, and wireless sensor nodes because its NanoWatt Technology delivers sleep currents below 1uA. The integrated 10-bit ADC reads battery voltage and sensor inputs, while 128 bytes of EEPROM stores calibration constants and user settings that survive power cycles. The 2.0-5.5V supply range works directly from single-cell Li-ion or two AA cells, eliminating boost converters in simple designs. The 28-QFN exposed pad provides thermal relief during high-CPU-activity bursts, and the 3.5KB flash is adequate for protocol stacks like BLE command parsers or LCD menu engines.
Recommandé
LED Lighting Controllers
The PIC16F882-E/ML works as the brains of addressable LED strips, architectural lighting, and RGBW fixture controllers because its PWM channels drive multiple LED strings with hardware-timed precision. The 20MHz CPU generates flicker-free PWM above 200Hz, and NanoWatt Technology keeps standby consumption negligible when lights are off but the controller remains powered. The integrated USART and I2C peripherals accept DMX-512, DALI, or I2C LED driver commands, while 128 bytes EEPROM stores user-set brightness, color, and scene presets. With -40C to +125C operation, it survives the high ambient inside sealed outdoor luminaires.
Recommandé
Low-Cost Motor Control
The PIC16F882-E/ML handles low-cost brushed DC, stepper, and small BLDC motor control in applications like small fans, pumps, valves, and robotic actuators. Its integrated PWM with dead-band control and 20MHz instruction rate deliver smooth commutation at up to several kHz electrical frequency. The 10-bit ADC samples back-EMF or current-sense amplifiers, while USART/SPI/I2C peripherals receive commands from a host controller. The -40C to +125C temperature range tolerates the heat generated by nearby motor drivers, and the 28-QFN package keeps the MCU footprint under 36 mm^2, enabling very compact motion subassemblies.
Recommandé
HVAC and Thermostat Control
The PIC16F882-E/ML controls residential and light-commercial HVAC thermostats, zone valves, and damper actuators. Its 10-bit ADC reads thermistor temperature sensors with adequate resolution for setpoint control, and the integrated PWM drives TRIAC phase-angle or zero-crossing circuits for heater/cooler staging. NanoWatt Technology minimizes idle power for ENERGY STAR thermostats, while 128 bytes EEPROM retains user schedules and setpoints across power loss. The -40C to +125C temperature grade handles plenum-mounted installations, and the 28-QFN exposed pad provides low thermal resistance for continuous CPU activity in Wi-Fi-connected smart thermostats.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC16F882-E/ML — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC16F882-I/ML | PIC16F883-E/ML | PIC16F886-E/ML |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) with Exposed Pad | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same | 28-QFN (6x6 mm) - same |
| Program Memory (Flash) | 3.5 KB (2K x 14) | 3.5 KB | 7 KB | 14 KB |
| Data EEPROM | 128 bytes | 128 bytes | 256 bytes | 256 bytes |
| Maximum CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| Operating Temperature | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | -40 C to +125 C (Extended) | -40 C to +125 C (Extended) |
| Peripheral Set | 10-bit ADC, USART, SPI, I2C, PWM | 10-bit ADC, USART, SPI, I2C, PWM | 10-bit ADC, USART, SPI, I2C, PWM, more capture/compare | 10-bit ADC, 2x USART, SPI, I2C, PWM, more capture/compare |
| Instruction Set | 35 instructions, 200 ns cycle | 35 instructions, 200 ns | 35 instructions, 200 ns | 35 instructions, 200 ns |
Principaux différenciateurs
- Extended -40C to +125C temperature grade in same 28-QFN footprint (vs PIC16F882-I/ML)
- Direct upgrade path to PIC16F886-E/ML with 4x flash, same package (vs PIC16F886-E/ML)
- Compact 28-QFN 6x6 mm with exposed thermal pad for improved heat dissipation (vs PIC16F882-E/SO (SOIC variant))
Notes de conception
The 28-QFN package's exposed thermal pad (EP, pin 29) MUST be soldered to a ground copper pour on the PCB, not only for electrical grounding but also for thermal dissipation. Recommended: at least 1 square inch (645 mm^2) of 2 oz copper on the top layer connected to the EP, with multiple thermal vias to inner ground planes. Without this, junction-to-ambient thermal resistance rises dramatically and the device derates at high ambient temperatures. Estimated: at 20 MHz with all peripherals active and 5V supply, the device draws ~13 mA (~65 mW), well within QFN dissipation limits when the EP is properly soldered.
Place a 0.1 uF ceramic decoupling capacitor as close as possible to each VDD pin (pins 10 and 20) with the ground return to the nearest VSS pin or ground pour. Add a single 10 uF bulk capacitor on the main VDD rail near the MCU. The PIC16F882's NanoWatt Technology supports sleep currents below 1 uA when the system clock is off, but decoupling must remain effective even in sleep to prevent digital noise injection on wake-up. For battery-powered designs, use a low-quiescent LDO such as MCP1700 with the bulk cap on its output.
Configuration word bits must be set correctly during programming: disable the watchdog timer if not needed, enable the internal MCLR function for digital-only reset, and select the correct oscillator mode (HS for >4 MHz crystal, INTOSC for internal 8/31 kHz). Forgetting to configure the ADC channel as analog (ANSEL bits) results in floating digital inputs that yield noisy ADC readings. Brown-out reset voltage should be configured to match the lowest expected supply voltage to prevent code runaway during power dips.
Keep the crystal/oscillator traces short and surrounded by ground pour to minimize EMI. Place the crystal within 5 mm of the OSC1/OSC2 pins. Avoid routing high-speed switching signals (PWM outputs, SPI clock) directly under the crystal or across the analog AVdd/AVss traces. Route analog signals (ADC inputs, Vref) away from digital switching signals; if they must cross, do so at 90 degrees. The ICSP programming pins (RB6/PGC, RB7/PGD) should be accessible on test points or a 2x3 header for in-circuit programming and debug.
Informations de conformité
RoHS compliant per Microchip product page. Not AEC-Q100 qualified as a standalone automotive part; the Extended -E temperature grade is industrial, not automotive-qualified. For AEC-Q100 designs, consider PIC16F882-E/ML with additional qualification testing or move to a specifically automotive-qualified PIC part.