PIC12F1822-E/MF - 8-Bit 32MHz XLP MCU 3.5KB Flash | Microchip
MPN: PIC12F1822-E/MF β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.73 | $1.73 |
| 10 | $1.55 | $15.50 |
| 100 | $1.32 | $132.00 |
| 500 | $1.15 | $575.00 |
| 1,000 | $0.98 | $980.00 |
PIC12F1822-E/MF Overview
An 8-bit microcontroller (MCU) is a small single-chip computer built around an 8-bit data path; it is the simplest member of the microcontroller hierarchy, sitting below 16-bit MCUs, 32-bit ARM Cortex-M MCUs, and microprocessors. The PIC12F1822 belongs to Microchip's 8-bit PIC microcontroller family, which uses a RISC Harvard architecture and is widely deployed in low-cost, low-power embedded control tasks. Within the broader taxonomy: PIC12F -> PIC10/12/16 family -> 8-bit MCU -> microcontroller -> embedded processor -> semiconductor.
Key features include six I/O pins, an integrated 32 MHz internal oscillator with 4x PLL option, 10-bit ADC with up to 8 channels, multiple PWM and enhanced PWM modules, an EUSART, an MSSP (I2C/SPI) module, and an on-chip temperature indicator. The device offers configurable internal pull-ups, interrupt-on-change pins, and a watchdog timer for safety-critical applications. Peripherals are individually enabled via the PMD (Peripheral Module Disable) registers to minimize dynamic power consumption.
The PIC12F1822 is implemented in a low-power CMOS process, with supply current scaling linearly with clock speed. The architecture supports 49 instructions, a 16-level hardware stack with overflow/underflow reset, and direct/indirect/relative addressing modes. In-circuit debugging is available via the ICSP interface using PICkit 3, MPLAB ICD 3, or the optional AC244043/AC244044 headers, removing the need for an external debug header.
Typical applications include battery-powered sensor nodes, low-end remote controls, LED lighting controllers, energy-harvesting devices, household appliances, and portable medical accessories. The combination of tiny DFN-8 footprint and nanoWatt XLP sleep currents makes it especially attractive for coin-cell and energy-harvesting designs.
Designers should choose this part when a sub-$1 MCU with deep-sleep current below 50 nA, 6 usable I/O lines, and a 3x3 mm PCB footprint is needed. Note that the Extended (E) temperature grade spans -40C to +125C, so for cost-sensitive commercial-only designs the -I/MF variant can be considered instead.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone. It is intended as a technical reference complementing the Microchip PIC12F1822 datasheet (DS40001413G).
Drop-in alternatives for PIC12F1822-E/MF β 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 PIC12F1822-E/MF (same form factor and footprint) β differing in Package, Timers, ADC, Internal Oscillator, Instruction Set.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC12F1822-I/MF
β Drop-Inπ Reference alternative (not in catalog)
PIC12F1822-E/SN
β Drop-Inπ Reference alternative (not in catalog)
PIC12F1822-I/SN
β Drop-Inβ In Stock
$0.85 / Unit
View Datasheet βPIC12F1572-E/MF
β Drop-Inβ In Stock
$0.78 / Unit
View Datasheet βPIC12F1501-E/MF
β Drop-Inπ Reference alternative (not in catalog)
PIC12F1822-E/MF Maximum Ratings & Electrical Characteristics
| Core Architecture | Enhanced Mid-Range 8-bit PIC |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data SRAM | 128 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz |
| Supply Voltage Range | 1.8 V to 5.5 V |
| I/O Pins | 6 |
| ADC | 10-bit, up to 8 channels |
| Timers | 4 (Timer0, Timer1, Timer2, WDT) |
| Communication Interfaces | EUSART, MSSP (I2C/SPI) |
| PWM Channels | Enhanced PWM, multiple outputs |
| Operating Temperature | -40 C to +125 C (Extended, E) |
| Package | 8-pin DFN (3x3 mm) |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| RoHS Status | Compliant |
| Low-Power Technology | nanoWatt XLP |
| Instruction Set | 49 instructions, 16-level stack |
PIC12F1822-E/MF Pin Configuration
| Pin 1 | RA3/MCLR/VPP β Digital I/O / Master Clear (Reset, active-low) / Programming voltage input |
| Pin 2 | VSS β Ground reference |
| Pin 3 | RA0/AN0/ICSPDAT β Digital I/O / Analog input / ICSP data |
| Pin 4 | RA1/AN1/ICSPCLK β Digital I/O / Analog input / ICSP clock |
| Pin 5 | RA2/AN2 β Digital I/O / Analog input |
| Pin 6 | RA4/AN3 β Digital I/O / Analog input |
| Pin 7 | RA5/AN4 β Digital I/O / Analog input |
| Pin 8 | VDD β Positive power supply |
Typical Applications
PIC12F1822-E/MF is suitable for 6 applications: Battery-Powered IoT Sensor Nodes, LED Lighting Controllers, Low-End Remote Controls, Household Appliance Controls, Portable Medical Accessories, Energy-Harvesting Devices.
Battery-Powered IoT Sensor Nodes
The PIC12F1822-E/MF fits battery-powered IoT sensor nodes thanks to its nanoWatt XLP Sleep current of approximately 20 nA and 3.5 KB Flash that fits typical sensor-firmware images. The integrated 10-bit ADC samples temperature/humidity/light sensors, while the MSSP module interfaces I2C peripherals such as the MCP9808 temperature sensor. Per the Microchip datasheet, a typical duty-cycled sensor node with 0.1% wake duty cycle can run for years on a CR2032 coin cell. The DFN-8 3x3 mm footprint leaves space for compact wearable or throwaway sensor tags.
Recommended
LED Lighting Controllers
The PIC12F1822-E/MF suits single-channel LED drivers, RGB accent lighting, and decorative light controllers where its 32 MHz core delivers the PWM resolution needed for smooth dimming. Per the Microchip datasheet, the enhanced PWM module supports up to 10-bit resolution with independent period/duty registers, enabling logarithmic dimming curves that match human eye perception. The wide 1.8 V-5.5 V supply range lets it run directly from USB, 3.3 V, or 5 V rails, while the 6 I/O pins are sufficient to drive WS2812-style addressable LEDs or analog PWM dimming chains.
Recommended
Low-End Remote Controls
The PIC12F1822-E/MF is well suited for IR/RF remote controls, key fobs, and consumer handheld controllers. Its nanoWatt XLP Sleep current (~20 nA) lets a coin-cell remote last for years without battery replacement. The 10-bit ADC reads analog stick or button inputs, while the EUSART drives ASK/FSK transmitters at 433 MHz or 2.4 GHz carrier frequencies. Per the Microchip datasheet, the integrated pull-ups on each I/O pin eliminate external components for typical 4-12 button matrix scanning, reducing BOM cost and PCB area.
Recommended
Household Appliance Controls
The PIC12F1822-E/MF handles small home appliance controls such as fans, coffee makers, electric toothbrushes, and personal-care devices where its -40C to +125C extended temperature rating guarantees operation in hot environments. Per the Microchip datasheet, the EUSART plus MSSP provide interfaces to BLE or Wi-Fi modules for connected appliances, while PWM channels drive motor speed or heater elements. Watchdog timer and brown-out reset ensure safe recovery from brown-out events common in mains-powered appliance designs.
Recommended
Portable Medical Accessories
The PIC12F1822-E/MF is a strong fit for portable medical accessories like pill dispensers, glucose meter side-cars, thermometers, and pulse-oximeter front-ends where its low Sleep current extends battery life and its small DFN-8 footprint enables miniaturized enclosures. Per the Microchip datasheet, the integrated 10-bit ADC captures analog sensor outputs with sufficient resolution for thermistor or photodiode front-ends. Watchdog timer and brown-out reset protect against battery-induced faults that could compromise patient safety.
Recommended
Energy-Harvesting Devices
The PIC12F1822-E/MF is purpose-built for energy-harvesting applications such as wireless light switches, mechanical energy harvesters, and thermoelectric generators where the load can run only when enough energy is accumulated. Its nanoWatt XLP Sleep current (~20 nA) and rapid wake-up time (a few microseconds) make it ideal for duty-cycled harvesting, while the 1.8 V minimum supply lets it run directly from low-voltage solar or piezo harvesters. Per the Microchip datasheet, the ADC and internal voltage reference (1.024 V fixed, 2.048 V, 4.096 V options) support energy-budget monitoring without external components.
Recommended
Recommended Products Summary
Engineering reference data for PIC12F1822-E/MF β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12F1822-I/MF | PIC12F1822-E/SN | PIC12F1572-E/MF | PIC12F1501-E/MF |
|---|---|---|---|---|---|
| Package | DFN-8 (3x3) | DFN-8 (3x3) | SOIC-8 | DFN-8 (3x3) | DFN-8 (3x3) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 3.5 KB | 3.5 KB | 3.5 KB | 1.75 KB (-50%) | 1.75 KB (-50%) |
| SRAM | 128 B | 128 B | 128 B | 128 B | 64 B (-50%) |
| EEPROM | 256 B | 256 B | 256 B | None | None |
| Max CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 20 MHz |
| Operating Temperature | -40C to +125C (E) | -40C to +85C (I) | -40C to +125C (E) | -40C to +125C (E) | -40C to +125C (E) |
| Sleep Current (XLP) | ~20 nA | ~20 nA | ~20 nA | ~20 nA | ~20 nA |
| ADC Resolution | 10-bit | 10-bit | 10-bit | 10-bit | 10-bit |
Key Differentiators
- Includes 256 bytes of EEPROM on-chip, eliminating external memory (vs PIC12F1572-E/MF)
- Extended temperature range -40C to +125C (vs PIC12F1822-I/MF)
- Smallest available package - DFN-8 (3x3 mm) (vs PIC12F1822-E/SN)
Design Notes
Estimated: at VDD=3.3 V and Sleep mode with WDT disabled, the PIC12F1822-E/MF draws approximately 20 nA per the Microchip datasheet. To leverage this, disable the WDT (WDTE=0 in configuration) for battery-powered designs unless safety-critical. Decouple VDD with a 100 nF X7R ceramic placed within 3 mm of pin 8, plus a 10 uF bulk capacitor if the supply rail is shared with switching converters. Avoid powering the MCU from a high-impedance source; use a regulator with fast transient response for radio or motor loads.
Estimated: route the exposed thermal pad of the DFN-8 package directly to the ground plane with at least 4 thermal vias (0.3 mm drill, 0.5 mm pitch). Place decoupling capacitors within 3 mm of VDD and VSS pins to minimize parasitic inductance. Keep RA3/MCLR traces short and add a 10 kohm pull-up to VDD if hardware reset is not actively driven. The ICSP signals (RA0/ICSPDAT, RA1/ICSPCLK) should be accessible via test points or a 2x3 header for in-circuit programming.
Do not float the MCLR pin - it must have a pull-up resistor (typically 10 kohm) to VDD, or be configured as RA3 input in software to avoid unintended resets. Per the Microchip datasheet, all unused I/O pins must be configured as outputs low or inputs with internal pull-ups to minimize Sleep current leakage. Brown-out reset (BOR) should be enabled in the configuration bits to protect against VDD sags during battery end-of-life. Do not exceed 5.5 V on VDD or the absolute maximum ratings will damage the device.
Compliance Information
RoHS and REACH compliant per Microchip product page. Lead-free and halogen-free packaging. Not AEC-Q100 qualified - the E temperature grade (-40C to +125C) does not imply automotive qualification. For AEC-Q100, consider PIC16F series.