PIC16LF1828-E/SO - 8-Bit XLP MCU 32MHz 7KB Flash SOIC-20 | Microchip
MPN: PIC16LF1828-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.74 | $1.74 |
| 10 | $1.59 | $15.90 |
| 100 | $1.39 | $139.00 |
| 500 | $1.18 | $590.00 |
| 1,000 | $1.02 | $1,020.00 |
PIC16LF1828-E/SO Overview
A PIC microcontroller is a compact programmable processor that combines CPU core, Flash program memory, RAM, EEPROM, and a rich set of peripherals (ADC, timers, communication interfaces) into a single IC. PIC microcontrollers sit at the hierarchy of embedded controller -> microcontroller -> microprocessor-based semiconductor, providing deterministic real-time control for sensor interfacing, motor control, user-interface, and battery-powered applications. The 8-bit PIC16 architecture uses an enhanced mid-range RISC core with a 14-bit instruction set, optimized for low power and code density.
Key features include 7 KB self-programmable Flash with device longevity, 256 bytes RAM, 256 bytes EEPROM, a 10-bit ADC with up to 12 channels, two 8-bit and two 16-bit timers, EUSART, MSSP (SPI/I2C), enhanced PWM modules, and the mTouch capacitive-sensing peripheral that enables touch-button or slider user interfaces without dedicated hardware. The integrated nanoWatt XLP technology provides ultra-low sleep currents suitable for battery-powered or energy-harvesting designs.
Architecturally, the PIC16LF1828 employs a Harvard RISC core with a hardware multiplier, a 16-level hardware stack, and a vectored interrupt controller supporting up to 32 interrupts. Its instruction pipeline provides deterministic 1-cycle execution for most instructions at 32 MHz (8 MHz instruction rate), and the integrated capacitive-sensing engine uses charge-time measurement for robust touch acquisition. Peripherals are routed through Microchip's Peripheral Pin Select (PPS) module, which remaps digital functions to any user-selected I/O pin, simplifying PCB layout and BOM reuse across PIC16/18 product lines.
Typical applications include consumer-electronics user interfaces (touch buttons, sliders, proximity sensing), low-power IoT sensor nodes, battery-powered metering, small home appliances, USB-to-UART bridges, and industrial sensor signal conditioning. The combination of XLP sleep currents below 1 µA in RTCC + Sleep mode and the mTouch peripheral makes the device especially suitable for sealed-keypad or battery-powered capacitive-touch products.
When designing with this part, allocate adequate decoupling (100 nF plus 1-10 µF bulk) on VDD and place the 32 kHz low-power crystal close to the SOSC pins if accurate RTCC timing is required. Program memory endurance is rated for 100 K erase/write cycles typical, so use EEPROM for parameter storage and wear-level high-frequency writes across the array.
This page synthesizes distributor pricing, drop-in same-package alternatives from the PIC16 family, and practical design notes not found in the standalone manufacturer datasheet.
Drop-in alternatives for PIC16LF1828-E/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 PIC16LF1828-E/SO (same form factor and footprint) — differing in Package, Timers, I/O Pins, Core Architecture, Internal Oscillator.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1828-E/SO
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC16LF1828-I/SO
✅ Drop-In✓ In Stock
$1.32 / Unit
View Datasheet →PIC16LF1828T-I/SO
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16LF1827-E/SO
✅ Drop-In✓ In Stock
$1.52 / Unit
View Datasheet →PIC16LF1828-E/SO Maximum Ratings & Electrical Characteristics
| Family | PIC16 XLP mTouch 16F |
| Core Architecture | 8-bit PIC16 enhanced mid-range (14-bit instruction) |
| Maximum CPU Frequency | 32 MHz |
| Program Memory (Flash) | 7 KB (4K x 14) |
| RAM | 256 bytes |
| EEPROM | 256 bytes |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| Operating Temperature | -40 °C to +125 °C (E suffix = extended) |
| I/O Pins | 17 (typical for 20-pin PIC16LF1828 in SOIC) |
| ADC | 10-bit, up to 12 channels |
| Communication Interfaces | EUSART, MSSP (SPI / I2C) |
| Timers | Two 8-bit + two 16-bit |
| PWM Modules | Enhanced PWM with auto-shutdown |
| Touch Sensing | mTouch capacitive sensing peripheral |
| Internal Oscillator | 32 MHz selectable HFINTOSC + 31 kHz LFINTOSC |
| Package | 20-SOIC (0.295 inch / 7.50 mm width) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| MSL Level | 1 (per JEDEC J-STD-020, surface-mount SOIC) |
| Programming | ICSP (In-Circuit Serial Programming), ICD debug |
| Pin Count | 20 |
PIC16LF1828-E/SO Pin Configuration
| Pin 1 | RA5/T1CKI/OSC1/CLKIN — Bidirectional I/O / Timer1 clock / Crystal oscillator input |
| Pin 2 | RA4/T1G/OSC2/CLKOUT — Bidirectional I/O / Timer1 gate / Oscillator output / Clock output |
| Pin 3 | RA3/MCLR/VPP — Bidirectional I/O / Master Clear (Reset, active low) / Programming voltage |
| Pin 4 | RA2/AN2/CPS2 — Bidirectional I/O / Analog channel 2 / Capacitive touch CPS2 |
| Pin 5 | RA1/AN1/CPS1 — Bidirectional I/O / Analog channel 1 / Capacitive touch CPS1 |
| Pin 6 | RA0/AN0/CPS0 — Bidirectional I/O / Analog channel 0 / Capacitive touch CPS0 |
| Pin 7 | VSS — Ground reference |
| Pin 8 | VDD — Positive supply voltage (1.8 V to 3.6 V) |
| Pin 9 | RC7/AN9/CPS9 — Bidirectional I/O / Analog channel 9 / Capacitive touch CPS9 |
| Pin 10 | RC6/AN8/CPS8 — Bidirectional I/O / Analog channel 8 / Capacitive touch CPS8 |
| Pin 11 | RC5/AN5/CPS11 — Bidirectional I/O / Analog channel 5 / Capacitive touch CPS11 |
| Pin 12 | RC4/AN4/CPS10 — Bidirectional I/O / Analog channel 4 / Capacitive touch CPS10 |
| Pin 13 | RC3/AN7/CPS7/SDA — Bidirectional I/O / Analog channel 7 / Capacitive touch CPS7 / I2C data |
| Pin 14 | RC2/AN6/CPS6/SCL — Bidirectional I/O / Analog channel 6 / Capacitive touch CPS6 / I2C clock |
| Pin 15 | RC1/AN10/CPS12 — Bidirectional I/O / Analog channel 10 / Capacitive touch CPS12 |
| Pin 16 | RC0/AN11/CPS13 — Bidirectional I/O / Analog channel 11 / Capacitive touch CPS13 |
| Pin 17 | RB7 — Bidirectional I/O port B |
| Pin 18 | RB6/ICSPCLK — Bidirectional I/O / ICSP clock |
| Pin 19 | RB5/ICSPDAT — Bidirectional I/O / ICSP data |
| Pin 20 | RB4 — Bidirectional I/O port B |
Typical Applications
PIC16LF1828-E/SO is suitable for 7 applications: Capacitive Touch User Interface, Battery-Powered IoT Sensor Node, Home Appliance Control Board, USB-to-UART Bridge Dongle, Industrial Sensor Signal Conditioning, Wearable Health Monitor, Smart Home Sensor Hub.
Capacitive Touch User Interface
The PIC16LF1828-E/SO is purpose-built for capacitive touch button and slider interfaces thanks to its integrated mTouch capacitive-sensing peripheral, which uses charge-time measurement to resolve finger proximity on PCB pads without dedicated hardware. The 32 MHz core runs the mTouch library with sub-millisecond scan times across 12+ channels, while the XLP architecture limits sleep current to below 1 µA per the Microchip PIC16F/LF1824/1828 datasheet. With 17 GPIO and PPS (Peripheral Pin Select) for flexible PCB layout, the device fits behind sealed overlays in cooktops, appliance control panels, and consumer-electronics keypads. Pair with a PICkit 3 / MPLAB ICD 3 for in-circuit debug and on-board touch tuning via the Data Visualizer plug-in.
Recommended
Battery-Powered IoT Sensor Node
The PIC16LF1828-E/SO excels in coin-cell or 2x AA battery-powered sensor endpoints because its 1.8-3.6 V VDD range aligns directly with alkaline or single-cell Li-ion chemistries. The XLP nanoWatt technology delivers sleep currents below 1 µA with RTCC running, letting the device wake periodically for sensor sampling and transmit, then return to deep sleep. The 10-bit ADC, EUSART, and MSSP (SPI/I2C) peripherals connect to temperature, humidity, or motion sensors, while the 256-byte EEPROM stores calibration constants across power cycles. The 32 MHz HFINTOSC eliminates the need for an external crystal, reducing BOM cost for high-volume IoT sensor products deployed at scale.
Recommended
Home Appliance Control Board
The PIC16LF1828-E/SO operates reliably across the -40 °C to +125 °C extended temperature range required by major home appliances such as washing machines, ovens, dishwashers, and HVAC controls. Its 32 MHz CPU drives precise PWM control for brushed DC motors, solenoids, and triac-fired AC loads, while the 10-bit ADC reads temperature, pressure, and current-sense signals from the appliance harness. The integrated EUSART bridges to a UI display module or wireless sub-system, and the 7 KB Flash holds the IEC 60730 software class B self-test library for safety-critical appliance designs. The 20-SOIC package is hand-solder friendly for serviceability and fits on compact appliance control boards with tight keep-out zones.
Recommended
USB-to-UART Bridge Dongle
With its integrated EUSART, the PIC16LF1828-E/SO is well suited to low-cost USB-to-UART bridge dongles that expose debug console or factory-test interfaces to legacy equipment. The MSSP in SPI mode can also emulate USB FS on MCUs without native USB by bit-banging, or the EUSART handles RS-232/RS-485 bridging for industrial control links. The 32 MHz CPU sustains high baud rates up to 1 Mbps, while the 256-byte RAM buffer handles short command/response transactions. The 20-SOIC package allows hand-rework and field-replacement, and the 1.8-3.6 V supply range lets the dongle derive power directly from a host UART pin without additional regulation circuitry.
Recommended
Industrial Sensor Signal Conditioning
The PIC16LF1828-E/SO is appropriate for 4-20 mA loop transmitters and industrial sensor signal-conditioning boards that require a precise 10-bit ADC, PWM outputs, and serial communication in a single small package. The HFINTOSC achieves ±2% accuracy without an external crystal, while RTCC timing drives periodic sampling intervals. The 32 MHz core runs background calibration loops while the EUSART delivers HART, Modbus RTU, or vendor-specific sensor protocols. The extended -40 °C to +125 °C temperature rating supports outdoor and factory-floor installations. The XLP low-power modes reduce quiescent current in loop-powered sensors that must draw less than 3.5 mA in the deadband.
Recommended
Wearable Health Monitor
The PIC16LF1828-E/SO supports low-power wearable health monitoring such as fitness bands, heart-rate patches, and step-counters thanks to its sub-µA XLP sleep current at 1.8 V and integrated mTouch capacitive sensing for skin-contact electrodes. The 10-bit ADC captures PPG or ECG signals while the 32 MHz core runs peak-detection and motion-compensation algorithms in real-time. The 256-byte EEPROM stores device ID, calibration, and step-count baselines across battery swaps, while the 20-SOIC package is small enough for wearable enclosures. The wide 1.8-3.6 V VDD range pairs naturally with rechargeable Li-Po cells and the integrated mTouch replaces bulky mechanical buttons.
Recommended
Smart Home Sensor Hub
The PIC16LF1828-E/SO integrates all peripherals required for a compact smart-home sensor hub: mTouch for capacitive user input, EUSART/MSSP for wireless-module connectivity (NRF24L01, RN2483 LoRa, ESP8266), and PWM for driving indicator LEDs or buzzers. The 32 MHz CPU can run a small event scheduler or simple state machine in C using the MPLAB Code Configurator (MCC) peripheral libraries. The XLP sleep modes are essential for energy-harvested or battery-only sensors that must operate unattended for years. The 7 KB Flash supports over-the-air (OTA) firmware update via bootloader and stores user-configurable thresholds in the 256-byte EEPROM.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1828-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1828-E/SO | PIC16LF1828-I/SO | PIC16LF1828T-I/SO | PIC16LF1827-E/SO |
|---|---|---|---|---|---|
| Package | 20-SOIC (7.50 mm) | 20-SOIC - same | 20-SOIC - same | 20-SOIC - same | 20-SOIC - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Supply Voltage | 1.8 V to 3.6 V (LF) | 1.8 V to 5.5 V (F) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) |
| Operating Temperature | -40 °C to +125 °C (E extended) | -40 °C to +125 °C (E) | -40 °C to +85 °C (I industrial) | -40 °C to +85 °C (I) | -40 °C to +125 °C (E) |
| Flash Memory | 7 KB | 7 KB | 7 KB | 7 KB | 7 KB |
| RAM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Max CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| mTouch Capacitive Sensing | Yes (12+ channels) | Yes | Yes | Yes | Limited channels |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
Key Differentiators
- mTouch capacitive-sensing peripheral integrated on-chip (vs PIC16F1938-E/SO (non-mTouch family))
- XLP eXtreme Low Power architecture in LF process (vs PIC16F1828-E/SO (F process))
- Extended -40 °C to +125 °C operating range (vs PIC16LF1828-I/SO (industrial -40 to +85 °C))
- Wider 32 MHz CPU vs competing lower-cost PIC16LF variants (vs PIC16LF1709-I/ML (16 MHz))
Design Notes
Estimated: at 32 MHz active with all peripherals on, the PIC16LF1828 core draws approximately 4 mA from a 3.3 V supply per the Microchip PIC16F/LF1824/1828 datasheet typical curves. Decoupling must include a 100 nF ceramic capacitor placed within 3 mm of the VDD pin, plus a bulk 1-10 µF tantalum or ceramic capacitor at the supply input. For battery applications, the XLP Sleep mode (CPU off, peripherals off) drops IDD below 1 µA with RTCC running on SOSC, extending coin-cell life to multi-year durations.
Place the 100 nF VDD decoupling capacitor and the bulk supply capacitor within 3 mm of the SOIC VDD pin (pin 8) and VSS pin (pin 7) using the shortest possible traces to minimize inductance. For mTouch capacitive-sensing designs, route the CPSx traces as short, narrow, well-spaced traces and surround the touch pad with a ground hatch to suppress noise coupling. The ICSP/ICD programming pins RB6/ICSPCLK (pin 18) and RB5/ICSPDAT (pin 19) should be accessible in-circuit for debugging; add a 3-pin header or test-pad footprint even if programming is via factory pogo pins.
The PIC16LF1828-E/SO in 20-SOIC dissipates approximately 0.6 W maximum (per VS, JT with Theta_JA ~ 80 °C/W) and is rated for operation to +125 °C ambient per the extended 'E' grade. For sealed enclosures, derate by 30 % to account for thermal rise above ambient and use copper pours on VDD/VSS to spread heat across the PCB. In continuous mTouch scanning duty at 32 MHz, expected junction temperature rise above ambient is less than 10 °C, so no heatsink is required for typical applications.
Common pitfalls: (1) connecting MCLR (pin 3) directly to VDD without a 10 kΩ pull-up breaks ICSP programming and proper reset; always include the pull-up. (2) Configuring the FOSC configuration bits for an external crystal without populating the crystal will result in no clock and a non-responsive MCU; verify the configuration bits in MPLAB X before programming. (3) Writing to EEPROM inside a tight loop exceeds endurance ratings; use the wear-leveling helper from the Microchip application libraries or pace writes to <100 ms intervals.
For EUSART baud rates above 250 kbps, place the TX/RX traces over a continuous ground plane and avoid stubs or vias. For MSSP (SPI) operation above 4 MHz, route the clock trace with 50 Ω characteristic impedance and place series damping resistors (22-33 Ω) close to the source pin to reduce ringing. I2C lines should include 2.2-10 kΩ pull-ups on SDA and SCL; do not exceed 400 kHz without verifying capacitive load budget. The PPS module can remap digital functions, so cross-check pin assignments in the MCC generated header to avoid conflicts between PPS-mapped and fixed-function peripherals.
Compliance Information
Compliant with JEDEC J-STD-020 for MSL-1 surface-mount SOIC. PIC16LF1828-E/SO is not AEC-Q100 qualified - use Q1-suffixed PIC16F1828-E/SO for automotive applications.