PIC16F1828-I/SO - 8-bit MCU, 7KB Flash, 32MHz XLP | Microchip
MPN: PIC16F1828-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.65 | $1.65 |
| 10 | $1.49 | $14.90 |
| 100 | $1.32 | $132.00 |
| 500 | $1.18 | $590.00 |
| 1,000 | $1.05 | $1,050.00 |
PIC16F1828-I/SO Overview
What is an 8-bit microcontroller? An 8-bit MCU is a small, self-contained computer on a single integrated circuit that uses an 8-bit data bus, meaning the CPU processes data in 8-bit (1-byte) chunks. The PIC16F1828 belongs to the enhanced mid-range PIC16 family, which sits in the broader hierarchy: 8-bit MCU -> microcontroller -> embedded controller -> integrated circuit -> semiconductor. Within Microchip's PIC portfolio, the PIC16F1828 specifically targets low-power, mixed-signal embedded applications requiring on-chip peripherals such as ADC, comparators, PWM, and mTouch capacitive sensing.
Key features of the PIC16F1828-I/SO include 12 I/O pins, an internal 32 MHz oscillator with PLL, a 10-bit ADC with up to 12 channels, two comparators, enhanced PWM modules, mTouch capacitive touch sensing support, and an on-chip temperature indicator. The XLP nanoWatt technology delivers typical sleep currents below 20 nA, enabling years of battery life for IoT edge nodes, remote sensors, and wearable devices.
The architecture combines a RISC instruction set with a hardware multiplier, allowing single-cycle 8x8 multiply operations for efficient signal processing. The internal voltage reference (1.024V/2.048V/4.096V), selectable from the ADC, simplifies analog design, and the EUSART plus MSSP (I2C/SPI) peripherals support both wired and sensor-bus connectivity.
Typical applications include capacitive touch user interfaces (keypads, sliders, proximity sensors), battery-powered IoT sensor nodes, low-power remote controls, white goods and small appliance control, and LED lighting controllers. The combination of mTouch, XLP, and rich analog integration makes the PIC16F1828-I/SO particularly well-suited for human-machine interfaces in cost-sensitive products.
When designing with this device, place a 0.1 uF decoupling capacitor close to VDD and consider adding a bulk capacitor of at least 1 uF to handle inrush during ADC acquisition. The internal PLL-derived 32 MHz operation can interfere with sensitive analog measurements; for lowest noise, use the 16 MHz HFINTOSC mode or switch to the 32 kHz LFINTOSC for ADC idle periods.
This page synthesizes distributor pricing, drop-in same-package alternatives from the same PIC16F1828 family, and practical design notes not found on the manufacturer product page alone, giving engineers an actionable reference for sourcing and substituting this MCU.
Drop-in alternatives for PIC16F1828-I/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 PIC16F1828-I/SO (same form factor and footprint) — differing in Package, ADC, Core Architecture, Program Memory (Flash), Internal Oscillator.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1828T-I/SO
✅ Drop-In✓ In Stock
$1.04 / Unit
View Datasheet →PIC16F1828-E/SO
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC16F1827-I/SO
✅ Drop-In✓ In Stock
$1.82 / Unit
View Datasheet →PIC16F1826-I/SO
✅ Drop-In✓ In Stock
$1.32 / Unit
View Datasheet →PIC16F1828-I/SO Maximum Ratings & Electrical Characteristics
| Core | PIC16 enhanced mid-range 8-bit CPU |
| Instruction Set | 49 instructions, 16-level hardware stack |
| Maximum CPU Frequency | 32 MHz (with PLL) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data RAM | 256 bytes |
| Data EEPROM | 256 bytes |
| I/O Pins | 12 |
| ADC | 10-bit, up to 12 channels |
| Comparators | 2 |
| PWM Modules | Enhanced CCP/ECCP |
| mTouch Capacitive Sensing | Yes |
| Supply Voltage | 2.5 V to 5.5 V |
| Operating Temperature | -40 C to +85 C (Industrial, "I") |
| Package | 20-pin SOIC (SO), wide-body |
| Mounting Type | Surface Mount |
| Internal Oscillator | 31 kHz LFINTOSC, 16 MHz HFINTOSC, 32 MHz with PLL |
| Communication Peripherals | EUSART, MSSP (I2C/SPI) |
| MSL Level | 1 (unlimited floor life at <30 C / 85% RH) |
| RoHS Status | Compliant |
PIC16F1828-I/SO Pin Configuration
| Pin 1 | VDD — Positive supply voltage (2.5 V to 5.5 V) |
| Pin 2 | RA5 — Digital I/O / analog input |
| Pin 3 | RA4 — Digital I/O / analog input |
| Pin 4 | RA3/MCLR — Digital I/O or Master Clear (reset) input |
| Pin 5 | RA2 — Digital I/O / analog input |
| Pin 6 | RA1 — Digital I/O / analog input / ICSPCLK |
| Pin 7 | RA0 — Digital I/O / analog input / ICSPDAT |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7 — Digital I/O / analog input |
| Pin 10 | RA6 — Digital I/O / analog input |
| Pin 11 | RC5 — Digital I/O |
| Pin 12 | RC4 — Digital I/O |
| Pin 13 | RC3 — Digital I/O / analog input |
| Pin 14 | RC2 — Digital I/O / analog input |
| Pin 15 | RC1 — Digital I/O / analog input |
| Pin 16 | RC0 — Digital I/O / analog input |
| Pin 17 | RB7 — Digital I/O / ICSPCLK programming |
| Pin 18 | RB6 — Digital I/O / ICSPDAT programming |
| Pin 19 | RB5 — Digital I/O / analog input |
| Pin 20 | RB4 — Digital I/O / analog input |
Typical Applications
PIC16F1828-I/SO is suitable for 6 applications: Capacitive Touch User Interface, Battery-Powered IoT Sensor Node, White Goods and Small Appliance Control, LED Lighting Controller, Low-Power Remote Control, Industrial Sensor and Process Monitor.
Capacitive Touch User Interface
The PIC16F1828-I/SO is well-suited for capacitive touch keypads, sliders, and proximity sensors using its on-chip mTouch CTMU and CVD peripherals. With 12 I/O pins, a 12-channel 10-bit ADC, and XLP sleep currents below 1 uA, it can scan multiple touch electrodes while drawing minimal battery current. Engineers typically dedicate 2-3 mF supercaps or a CR2032 coin cell, with the MCU waking on a touch event, sampling the electrodes via CTMU charge-time measurement, then returning to sleep. The 32 MHz PLL provides ample throughput for noise-tolerant averaging, while the 256 B RAM is sufficient for touch state machines and debounce buffers. Compared to a discrete CTMU + MCU design, integrating the touch acquisition saves 30-50% of BOM cost and 60% of PCB area. Firmware libraries from Microchip's mTouch suite support sliders, wheels, and matrix keypads.
Recommended
Battery-Powered IoT Sensor Node
The PIC16F1828-I/SO's nanoWatt XLP technology delivers typical sleep currents in the tens of nanoamps, making it ideal for battery-powered IoT sensor nodes that spend 99% of their time asleep. The 32 MHz PLL provides burst-mode processing for sensor acquisition and protocol framing, while the 7 KB Flash holds a small RTOS or state machine plus application logic. The 256-byte EEPROM stores calibration constants without burning Flash endurance. A typical 3.6 V 1/2 AA Li-SOCl2 cell can power the node for 10+ years with hourly wake-ups. The internal LFINTOSC (31 kHz) drives the WDT and RTC during sleep, eliminating an external crystal. The EUSART + MSSP combination supports UART, I2C, and SPI sensor interfaces including temperature, humidity, and accelerometer ICs.
Recommended
White Goods and Small Appliance Control
The PIC16F1828-I/SO integrates all the peripherals needed for small appliance control: 12 I/O pins for key inputs and relay drivers, enhanced PWM for motor or heating element control, two comparators for overcurrent/overvoltage protection, and a 10-bit ADC for sensing temperature, current, or position feedback. The wide 2.5-5.5 V supply range allows direct connection to 3.3 V or 5 V rails, while the industrial -40 C to +85 C range covers refrigerator, dishwasher, and washing machine environments. The 7 KB Flash easily fits state-machine firmware plus self-test routines. Cost-sensitive white-goods designs benefit from the SOIC-20 package's hand-solder-friendly footprint for prototyping and low-volume SKUs. The on-chip mTouch allows seamless capacitive touch-button integration for modern UI designs.
Recommended
LED Lighting Controller
The PIC16F1828-I/SO's enhanced PWM modules and 12-bit ADC make it a strong fit for LED lighting controllers requiring DMX512, DALI, or 0-10 V dimming interfaces. The MCU can generate multi-channel PWM at frequencies above 1 kHz with 10-bit resolution, smoothly dimming RGB or tunable-white LED strings. The mTouch peripheral enables touch-based dimmer controls, while the XLP sleep mode lets battery-powered fixtures last years between cell changes. The 2.5-5.5 V supply range accepts 3.3 V or 5 V driver rails, and the 12 I/O pins are sufficient for channel select, color temperature feedback, and ambient light sensing. Engineers often add the chip to retrofit lamps where the SOIC-20 footprint fits inside the form factor.
Recommended
Low-Power Remote Control
The PIC16F1828-I/SO is well-matched to low-power remote controls for toys, security systems, and consumer electronics, drawing nanoamps in sleep and waking on a GPIO interrupt or button press. The 7 KB Flash accommodates IR protocol libraries (RC5, NEC, SIRC) plus custom extensions, while the 256 B RAM holds button matrices, debounce state, and transmit buffers. The 32 MHz PLL drives IR carrier generation at 38 kHz with high timing accuracy, and the EUSART supports RF transceivers or UART-controlled wireless modules. Coin-cell or AAA-powered remotes can achieve 5+ years of battery life thanks to XLP technology. The 12 I/O pins handle up to 12 buttons or a small matrix keypad, and mTouch enables touch-slider volume controls.
Recommended
Industrial Sensor and Process Monitor
The PIC16F1828-I/SO's combination of a 12-channel 10-bit ADC, two comparators, and 32 MHz CPU makes it a versatile industrial sensor and process monitor for non-safety applications. The MCU can read multiple analog inputs (4-20 mA current loops, 0-10 V signals, thermocouples via op-amp front-ends), process them via digital filtering, and output over RS-485, I2C, or SPI. The EUSART supports MODBUS RTU framing at 9600-115200 baud. With an industrial -40 C to +85 C temperature range and a wide 2.5-5.5 V supply, the part tolerates factory floor conditions. The 256-byte EEPROM stores calibration and unit ID parameters, while the 7 KB Flash fits protocol stacks plus application logic. The 12 I/O pins drive status LEDs, relays, and opto-isolated outputs.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1828-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1828T-I/SO | PIC16F1828-E/SO | PIC16F1827-I/SO | PIC16F1826-I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SOIC-20 (SO) | SOIC-20 (SO) - same | SOIC-20 (SO) - same | SOIC-20 (SO) - same | SOIC-20 (SO) - same |
| Flash Memory | 7 KB | 7 KB | 7 KB | 7 KB | 3.5 KB |
| RAM | 256 B | 256 B | 256 B | 256 B | 256 B |
| Maximum CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| ADC Resolution / Channels | 10-bit / 12-ch | 10-bit / 12-ch | 10-bit / 12-ch | 10-bit / 12-ch | 10-bit / 8-ch |
| Operating Temperature | -40 C to +85 C (I-grade) | -40 C to +85 C (I-grade) | -40 C to +125 C (E-grade) | -40 C to +85 C (I-grade) | -40 C to +85 C (I-grade) |
| Supply Voltage | 2.5 V to 5.5 V | 2.5 V to 5.5 V | 2.5 V to 5.5 V | 2.5 V to 5.5 V | 2.5 V to 5.5 V |
| mTouch Support | Yes | Yes | Yes | Yes | Yes |
| I/O Pins | 12 | 12 | 12 | 12 | 12 |
Key Differentiators
- mTouch CTMU integrated with 12-channel 10-bit ADC (vs PIC16F1826-I/SO)
- Industrial temperature grade at lowest cost (vs PIC16F1828-E/SO)
- Same silicon as PIC16F1828T-I/SO with Tube packaging (vs PIC16F1828T-I/SO)
- Industrial temperature plus wider peripheral set (vs PIC16F1827-I/SO)
Design Notes
Place a 0.1 uF decoupling capacitor within 3 mm of the VDD pin (pin 1), and add a bulk capacitor of at least 1 uF within 10 mm to handle ADC acquisition inrush. For battery-powered designs targeting nanoWatt XLP currents, also place a 100 nF cap on the MCLR/RA3 line to suppress spurious resets from high-impedance coupling. The internal LDO is not externalized on the PIC16F1828, so all decoupling must be at the single VDD pin.
Route the ICSPDAT and ICSPCLK lines (RA0/RA1) away from switching signals and analog inputs to avoid coupling programming-clock noise into sensitive measurements. Keep the trace lengths matched and use a ground guard around the ICSP signals if you plan to field-program in-circuit. The SOIC-20 wide-body package allows hand-soldering for prototype builds and rework; ensure 0.6 mm pad-to-pad pitch accommodates 0.5 mm tip soldering irons.
Do not enable the 32 MHz PLL when the supply voltage drops below 2.7 V; the PLL becomes unstable. Use HFINTOSC at 16 MHz or 8 MHz below that threshold. When using mTouch CTMU, ensure the ADC is configured for the proper acquisition time; insufficient acquisition results in non-monotonic touch readings. Also, the LFINTOSC drift over temperature is significant for RTC applications - use an external 32.768 kHz crystal if accurate timekeeping is required.
Switching the internal PLL between 8 MHz and 32 MHz can inject short noise spikes on VDD; if ADC readings are time-correlated with clock changes, sample the ADC multiple times and discard the first conversion. For sensitive touch or analog measurements, switch to the 16 MHz HFINTOSC mode (no PLL) and accept the lower MIPS throughput. Microchip application note AN1267 covers PLL-ADC interaction in detail.
Compliance Information
RoHS and REACH compliant per Microchip product page; not AEC-Q100 qualified (choose automotive-grade PIC parts for vehicle applications). MSL Level 1 per JEDEC J-STD-020.