PIC12F1822-I/SN - 8-Bit XLP MCU, 3.5KB Flash, 32MHz | Microchip
MPN: PIC12F1822-I/SN ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.42 | $1.42 |
| 10 | $1.28 | $12.80 |
| 100 | $1.12 | $112.00 |
| 500 | $0.96 | $480.00 |
| 1,000 | $0.85 | $850.00 |
PIC12F1822-I/SN Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash/ROM), data memory (RAM), non-volatile storage (EEPROM), and peripheral interfaces onto one silicon die. The PIC12F1822 uses Microchip's RISC-based PIC architecture with 200 ns instruction execution, a single-cycle oscillator, and nanoWatt XLP technology. Within the product hierarchy, this places it as: 8-bit MCU -> microcontroller -> embedded processor -> semiconductor. The XLP nanoWatt feature set enables ultra-low sleep currents below 50 nA typical, which is critical for battery-powered applications.
Key features include 6 I/O pins with individual direction control, an internal 32MHz oscillator (selectable from 31kHz to 32MHz via software), a 10-bit ADC with up to 8 channels, two 8-bit timers plus one 16-bit timer, enhanced PWM modules (ECCP + CCP), hardware USART, I2C, and SPI peripherals, and an integrated temperature indicator. It also supports capacitive-touch sensing via the mTouch™ peripheral and includes an on-chip debug interface.
Typical applications include battery-powered sensor nodes, IoT end devices, LED lighting controllers, consumer appliance user-interface controllers, smart-home sensor hubs, and hobbyist/Maker projects using the Curiosity development board. Designers benefit from in-circuit serial programming (ICSP) for low-voltage programming and debug without a separate header.
When designing with this part, ensure VDD decoupling with 100nF ceramic capacitors close to the supply pin. For ICSP, dedicate pins to ICSPCLK and ICSPDAT, and avoid placing large capacitors on those lines. The wide 1.8V-5.5V operating range allows direct Li-ion battery operation.
Drop-in alternatives for PIC12F1822-I/SN — 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-I/SN (same form factor and footprint) — differing in ADC, Package, Program Memory (Flash), I/O Pins, Maximum CPU Speed.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12F1822-I/MF
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F1822-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F1822-E/SN
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12LF1822-I/SN
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F1572-I/SN
✅ Drop-In📋 Reference alternative (not in catalog)
PIC10F322-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F1822-I/SN Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit enhanced mid-range |
| Program Memory (Flash) | 3.5 KB (2K x 14 words) |
| RAM | 128 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz |
| Internal Oscillator | 31 kHz to 32 MHz (selectable) |
| Operating Voltage (VDD) | 1.8 V to 5.5 V |
| I/O Pins | 6 GPIO + 1 input-only |
| ADC | 10-bit, up to 4 channels (8-pin device) |
| Timers | 2x 8-bit, 1x 16-bit |
| PWM Modules | 1x ECCP, 1x CCP |
| Communication Peripherals | EUSART, I2C, SPI |
| Operating Temperature Range | -40C to +85C (Industrial) |
| Package | 8-pin SOIC (SN) |
| Mounting Type | Surface Mount |
| Programming Method | ICSP (In-Circuit Serial Programming) |
| Low-Power Technology | nanoWatt XLP |
| RoHS Status | Compliant |
PIC12F1822-I/SN Pin Configuration
| Pin 1 | VDD — Positive supply voltage (1.8V to 5.5V) |
| Pin 2 | RA5 — GPIO RA5 / T1CKI / CCP1 / PWM output / AN4 |
| Pin 3 | RA4 — GPIO RA4 / CLKR / T0CKI / AN3 |
| Pin 4 | RA3/MCLR/VPP — Input-only RA3 / Master Clear reset (active-low) / ICSP programming voltage |
| Pin 5 | RC5 — GPIO RC5 / CCP1 / PWM / SDO / AN5 |
| Pin 6 | RC4 — GPIO RC4 / SDA / AN6 |
| Pin 7 | RC3 — GPIO RC3 / SCL / AN7 |
| Pin 8 | VSS — Ground reference |
Typical Applications
PIC12F1822-I/SN is suitable for 7 applications: Battery-Powered IoT Sensor Node, LED Lighting Controller, Consumer Appliance User Interface, Capacitive Touch Button Interface, Hobbyist & Maker Projects, Automotive Interior Auxiliary Controller, Smart Home Sensor Hub.
Battery-Powered IoT Sensor Node
The PIC12F1822-I/SN is well-suited for battery-powered IoT sensor nodes due to its nanoWatt XLP technology delivering sleep currents under 50 nA typical, extending coin-cell or 2x AA battery life by years. Its 1.8 V to 5.5 V operating range supports direct connection to Li-ion, alkaline, or Li-SOCl2 cells without level translation. The internal 32 MHz oscillator eliminates crystal cost, and the integrated 10-bit ADC handles temperature, light, or voltage monitoring. Combined with EUSART/I2C/SPI peripherals, the part serves as a low-power MCU reading sensors and transmitting wake-up events. Typical duty cycles of 0.1% achieve average current consumption of a few microamps.
Recommended
LED Lighting Controller
The PIC12F1822-I/SN fits entry-level LED lighting applications via its Enhanced CCP (ECCP) PWM module supporting up to 10-bit resolution and complementary outputs. The internal 32 MHz oscillator provides stable PWM frequencies up to 7.8 kHz with 10-bit resolution, eliminating flicker in dimmable lighting. Current draw at 32 MHz is under 3 mA active, and the 1.8 V startup allows direct drive from a single-cell Li-ion battery. Designers use the ADC to read ambient light sensors for automatic dimming and the PWM for MOSFET gate driving. The 8-pin SOIC fits in compact MR16 bulb form factors where PCB space is constrained.
Recommended
Consumer Appliance User Interface
The PIC12F1822-I/SN serves as a user-interface controller in small consumer appliances such as coffee makers, hair dryers, and countertop ovens. The mTouch capacitive sensing peripheral enables capacitive touch buttons without mechanical switches, reducing BOM and improving water resistance. The EUSART supports communication with a host MCU or BLE module, and the PWM drives buzzers, relays, or small motors. The 6 GPIO pins handle 4-6 buttons plus status LEDs. Industrial temperature grade (-40C to +85C) covers kitchen and laundry environments. Programming via low-voltage ICSP enables in-system firmware updates during production.
Recommended
Capacitive Touch Button Interface
The PIC12F1822-I/SN's mTouch peripheral supports up to 4 capacitive touch channels via the 10-bit ADC with charge-time measurement, eliminating the need for dedicated touch ICs. Each channel requires only a PCB pad, reducing component count and cost. The 32 MHz core runs the touch scanning algorithm in under 200 us, leaving bandwidth for communication protocols. Sleep current of <50 nA suits battery-powered remote controls. The SOIC-8 package fits behind a plastic overlay up to 3 mm thick, enabling fully sealed designs. Production calibration uses internal FVR (Fixed Voltage Reference) for stable touch thresholds.
Recommended
Hobbyist & Maker Projects
The PIC12F1822-I/SN is a favorite in hobbyist and maker communities due to its compatibility with the Microchip Curiosity Development Board and PICkit 3/4 programmers, low cost (under USD 1.50 in single-unit quantities), and rich peripheral set. It is supported by MPLAB X IDE, XC8 compiler, and MCC code configurator, which generates peripheral initialization code automatically. The 8-pin SOIC fits on standard DIP breakout boards for breadboarding. Common projects include addressable WS2812 LED controllers, IR remote blasters, simple logic analyzers, and educational timing experiments. Arduino-style tutorials in C and assembly are widely available.
Recommended
Automotive Interior Auxiliary Controller
The PIC12F1822-I/SN can serve as a small auxiliary controller in non-safety automotive interior applications such as ambient lighting, door lock indicators, and seat position memory buttons. The industrial -40C to +85C temperature range covers cabin environments, and the 5.5 V maximum VDD supports direct 5 V automotive rail operation. The EUSART links to a body control module via LIN or UART, and the PWM drives LED strings with smooth dimming. Watchdog timer with separate oscillator ensures recovery from code lockups. For safety-critical systems, upgrade to AEC-Q100-qualified PIC16F1823 or PIC16F18324 instead.
Recommended
Smart Home Sensor Hub
The PIC12F1822-I/SN functions as an ultra-low-power sensor hub for smart home applications, aggregating data from temperature, humidity, and motion sensors via I2C or SPI. The MCU's nanoWatt XLP mode keeps idle current under 1 uA, allowing multi-year battery operation. The 32 MHz core handles periodic sensor polling, threshold evaluation, and BLE wake-up signaling without external clock components. The 8-pin SOIC is small enough to fit inside wall switch boxes or behind thermostats. On-chip EEPROM stores calibration and configuration across power cycles, while the 10-bit ADC reads battery voltage for low-battery alerts.
Recommended
Recommended Products Summary
Engineering reference data for PIC12F1822-I/SN — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12F1822-I/MF | PIC12F1822-I/P | PIC12F1822-E/SN | PIC12LF1822-I/SN | PIC12F1572-I/SN |
|---|---|---|---|---|---|---|
| Package | 8-pin SOIC (SN) | 8-pin DFN (MF) | 8-pin PDIP (P) | 8-pin SOIC (SN) | 8-pin SOIC (SN) | 8-pin SOIC (SN) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB |
| Max CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Operating Voltage (VDD) | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 3.6 V | 1.8 V to 5.5 V |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C |
| EUSART Peripheral | Yes | Yes | Yes | Yes | Yes | No |
| 16-bit High-Resolution PWM | No (ECCP 10-bit) | No (ECCP 10-bit) | No (ECCP 10-bit) | No (ECCP 10-bit) | No (ECCP 10-bit) | Yes (16-bit PWM) |
Key Differentiators
- Wide 1.8V to 5.5V operating range with same silicon as 3.6V-only LF variant (vs PIC12LF1822-I/SN)
- Industrial temperature grade option covers more applications than extended grade only (vs PIC12F1822-E/SN (extended grade))
- Same die across SOIC-8, DFN-8, and PDIP-8 packages (vs PIC12F1822-I/MF (DFN-8))
Design Notes
Place a 100 nF ceramic decoupling capacitor as close as possible to the VDD pin (pin 1) and a bulk capacitor (e.g., 10 uF tantalum or ceramic) at the supply input. For battery applications, the nanoWatt XLP sleep mode can drop current to <50 nA typical when the MCU is in sleep with WDT disabled. Use the internal LFINTOSC during sleep to minimize wake-up latency.
Keep the ICSP programming pins (RA3/MCLR/VPP and RA0/ICSPDAT, RA1/ICSPCLK) accessible - do not place large capacitors directly on RA0/RA1 as they can interfere with programming. Use a 10 kohm pull-up on MCLR to VDD. Keep trace lengths to ADC inputs short to minimize noise pickup, and use the internal FVR for ratiometric measurements.
Do not apply 5V to VDD when using the LF variant (PIC12LF1822) - the LF part's absolute maximum is 3.6V and will be damaged. The configuration word OSCCON settings affect clock accuracy; for UART communication, use HFINTOSC with PLL to achieve 16 MHz baud-rate generation. Watchdog timer should be enabled in noisy environments but disabled during sleep for lowest current.
Compliance Information
RoHS compliant and lead-free per Microchip product page. Not AEC-Q100 qualified - for automotive applications choose PIC16F1823 or PIC16F18324. Halogen-free status not explicitly stated in available data.