PIC16LF1828-E/GZ - 8-bit MCU, 7KB Flash, 32MHz, 20-UQFN | Microchip
MPN: PIC16LF1828-E/GZ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.78 | $1.78 |
| 10 | $1.62 | $16.20 |
| 100 | $1.43 | $143.00 |
| 500 | $1.21 | $605.00 |
| 1,000 | $1.05 | $1,050.00 |
PIC16LF1828-E/GZ Overview
What is an 8-bit microcontroller? An 8-bit MCU is a small computer-on-a-chip that processes data in 8-bit chunks and is the foundational building block of embedded systems. The PIC16LF1828 belongs to the enhanced mid-range PIC16 architecture, sitting in the hierarchy: microcontroller -> 8-bit MCU -> enhanced mid-range PIC16 -> nanoWatt XLP family -> semiconductor. Its Harvard RISC core with 49 instructions and 16-level hardware stack delivers deterministic, low-latency interrupt response valued in safety-critical loops.
Key features include 7 KB (4K x 14) self-programmable Flash with read-while-write, 256 B RAM, 256 B EEPROM, on-chip FRC oscillator with PLL, and ultra-low-power sleep modes (down to ~20 nA typical). The mTouch capacitive-touch peripheral enables capacitive buttons and sliders without external components, while the ADC operates with an internal fixed-voltage reference for ratiometric measurements.
Typical applications include low-power IoT sensor nodes, wearable health bands, capacitive-touch user interfaces, remote controls, battery-powered HVAC sensors, and consumer white goods requiring USB-friendly 3.3 V rails. The 1.8 V minimum rail makes it compatible with single-cell alkaline or Li-Ion coin-cell designs.
Design with the PIC16LF1828 using MPLAB X IDE and the XC8 compiler; debug via PICkit 3 or MPLAB ICD 3 on the ICSP pins. Place a 100 nF decoupling capacitor directly on VDD and route the ICSP lines away from switching nodes.
Drop-in alternatives for PIC16LF1828-E/GZ — 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/GZ (same form factor and footprint) — differing in Package, Operating Temperature, Program Memory (Flash), Timers, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF1828-I/GZ
✅ Drop-In✓ In Stock
$1.6 / Unit
View Datasheet →PIC16F1828-E/GZ
✅ Drop-In✓ In Stock
$0.81 / Unit
View Datasheet →PIC16LF1828-E/GZ Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC enhanced mid-range (Harvard RISC) |
| Program Memory (Flash) | 7 KB (4K x 14) |
| Data SRAM | 256 B |
| Data EEPROM | 256 B |
| Maximum CPU Clock | 32 MHz (200 ns instruction cycle) |
| Operating Voltage Range | 1.8 V to 3.6 V |
| I/O Pins | 18 |
| ADC | 10-bit, up to 12 channels |
| Timers | Two 8-bit, one 16-bit |
| PWM Module | ECCP (Enhanced Capture/Compare/PWM) |
| Communication Peripherals | MSSP (I2C/SPI), EUSART |
| Capacitive Touch | mTouch (CTMU) |
| Package | 20-pin UQFN (4x4 mm) |
| Operating Temperature Range | -40 C to +125 C (extended industrial, -E suffix) |
| RoHS Status | Compliant |
PIC16LF1828-E/GZ Pin Configuration
| Pin 1 | VDD — Positive power supply (1.8 V to 3.6 V) |
| Pin 2 | RA5 — Bidirectional I/O / ICSP VPP |
| Pin 3 | RC7 — Bidirectional I/O |
| Pin 4 | RC6 — Bidirectional I/O |
| Pin 5 | RC5 — Bidirectional I/O |
| Pin 6 | RC4 — Bidirectional I/O |
| Pin 7 | RC3 — Bidirectional I/O / SCL (MSSP I2C) |
| Pin 8 | RC2 — Bidirectional I/O |
| Pin 9 | RC1 — Bidirectional I/O |
| Pin 10 | RC0 — Bidirectional I/O |
| Pin 11 | RA7 — Bidirectional I/O / OSC1 |
| Pin 12 | RA6 — Bidirectional I/O / OSC2 |
| Pin 13 | RA3 — Bidirectional I/O / MCLR (reset) |
| Pin 14 | RA4 — Bidirectional I/O (open-drain, no output driver) |
| Pin 15 | RA2 — Bidirectional I/O |
| Pin 16 | RA1 — Bidirectional I/O / ICSPCLK |
| Pin 17 | RA0 — Bidirectional I/O / ICSPDAT |
| Pin 18 | VSS — Ground reference |
| Pin 19 | RB7 — Bidirectional I/O |
| Pin 20 | RB6 — Bidirectional I/O / PGC |
Typical Applications
PIC16LF1828-E/GZ is suitable for 6 applications: Battery-Powered IoT Sensor Node, Capacitive Touch User Interface, Wearable Health Band, Remote Control (IR/RF), HVAC Environmental Sensor, Consumer White Goods (Coffee Machine, Washer UI).
Battery-Powered IoT Sensor Node
The PIC16LF1828-E/GZ is an ideal host for a coin-cell IoT sensor node because its nanoWatt XLP Sleep current drops to ~20 nA typical with WDT off, enabling multi-year battery life on a single CR2032. With 7 KB of Flash and 256 B of RAM it runs a small RTOS-less sensor loop, duty-cycling the 10-bit ADC to wake, sample, transmit via EUSART, and return to Sleep. The 1.8 V minimum rail directly accepts the CR2032 discharge curve, eliminating the need for a boost regulator.
Recommended
Capacitive Touch User Interface
The PIC16LF1828-E/GZ integrates the mTouch CTMU peripheral, which measures capacitance change on a pin with sub-pF resolution and no external analog components - perfect for capacitive buttons, sliders, or proximity wake. Combined with 18 I/O and 12 ADC channels, one MCU can replace several mechanical switches and a dedicated touch controller, shrinking the BOM and lowering the Sleep current below what a discrete touch ASIC typically draws.
Recommended
Wearable Health Band
Wearable health bands benefit from the PIC16LF1828-E/GZ's 20-UQFN (4x4 mm) tiny footprint, which fits comfortably on a wristband PCB next to a Li-Po cell. The on-chip 10-bit ADC samples heart-rate or SpO2 photodiode signals, the EUSART streams data to a paired BLE module, and the LF process node keeps active current under 1 mA at 3.3 V. The 256-byte EEPROM stores user-profile data without external memory.
Recommended
Remote Control (IR/RF)
A TV remote control running on two AAA cells is a classic fit for the PIC16LF1828-E/GZ: the 1.8-3.6 V supply directly rails the cell stack, the ECCP + 16-bit timer generates precise 38 kHz IR carrier modulation, and Sleep current at <50 nA means the batteries outlast the plastic. The 7 KB Flash accommodates multi-protocol IR libraries (RC5, NEC, SIRC) and the EUSART drives a 433/915 MHz OOK transmitter for RF variants.
Recommended
HVAC Environmental Sensor
The PIC16LF1828-E/GZ monitors temperature, humidity, and CO2 in HVAC systems using its 10-bit ADC with the internal fixed-voltage reference for ratiometric sensor reads. The MSSP peripheral interfaces I2C sensors like the MCP9808 or SHT31, the EUSART reports back to a building controller via RS-485, and the -40 to +125 C extended temperature range handles attic and outdoor installations without derating.
Recommended
Consumer White Goods (Coffee Machine, Washer UI)
In a coffee machine or washer front panel, the PIC16LF1828-E/GZ drives the LED/LCD user interface, reads mechanical and capacitive buttons, and pulses TRIAC drivers via its ECCP module for heater control. The 1.8-3.6 V rail shares a small SMPS with the rest of the appliance, and the on-chip mTouch module eliminates dozens of mechanical switches. Flash read-while-write supports OTA-style firmware updates for warranty-recovery cycles.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1828-E/GZ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF1828-I/GZ | PIC16F1828-E/GZ |
|---|---|---|---|
| Package | 20-UQFN (4x4 mm) | 20-UQFN (4x4) - same | 20-UQFN (4x4) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 7 KB | 7 KB | 7 KB |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 5.5 V |
| Temperature Range | -40 C to +125 C (extended) | -40 C to +85 C (industrial) | -40 C to +125 C (extended) |
| Sleep Current (typ) | ~20 nA | ~20 nA | ~50-100 nA |
| ADC | 10-bit, 12 channels | 10-bit, 12 channels | 10-bit, 12 channels |
| Capacitive Touch | mTouch (CTMU) | mTouch (CTMU) | mTouch (CTMU) |
Key Differentiators
- Smallest-package 7 KB Flash XLP MCU in 20-UQFN (4x4 mm) (vs PIC16LF1828-I/SO)
- Lower Sleep current than 5 V-rated F variant (vs PIC16F1828-E/GZ)
- Extended -40 to +125 C temperature grade (vs PIC16LF1828-I/GZ)
Design Notes
Estimated: at 32 MHz active current is approximately 5 mA at 3.3 V; duty-cycling with Sleep of ~20 nA yields average draw in the single-digit uA for periodic sensor products. Always place a 100 nF X7R decoupling capacitor within 2 mm of VDD and a bulk 1-10 uF tantalum at the regulator output.
Route the ICSP lines (RA0/RA1 for ICSPDAT/ICSPCLK, RA3/MCLR for VPP) so they reach an in-system programming header without crossing switching nodes. The UQFN-20 has an exposed pad on the bottom that must be soldered to the ground pour for thermal dissipation - leave a 4x4 thermal via array under the pad.
RA4 is open-drain on PIC16F/LF182x parts and cannot source current - if you need a high-side LED, use RA2/RA5 instead or add an external pull-up transistor. The MCLR pin (RA3) is enabled by default and must be tied to VDD through a 10 k resistor; floating MCLR causes intermittent resets during ESD events.
When using the MSSP I2C peripheral at 400 kHz or 1 MHz, place 2.2-4.7 k pull-ups close to the bus master and keep traces under 50 mm. For capacitive touch, the CTMU current source is sensitive to leakage; guard-ring the touch pads and route them on the top layer with no vias in the pad area.
Compliance Information
RoHS and lead-free status confirmed by Mouser and Digi-Key product listings; halogen-free status not explicitly stated in scraped data - verify against Microchip material declaration before halogen-critical designs.