PIC16F1828-E/GZ - 8-bit 32MHz 7KB Flash MCU 20-UQFN | Microchip
MPN: PIC16F1828-E/GZ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.4 | $1.40 |
| 10 | $1.26 | $12.60 |
| 100 | $1.12 | $112.00 |
| 500 | $0.95 | $475.00 |
| 1,000 | $0.81 | $810.00 |
PIC16F1828-E/GZ Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory (Flash/ROM), volatile data memory (RAM), and peripheral set on one die. PIC16F series microcontrollers sit in the mid-range enhanced PIC family hierarchy: 8-bit CPU -> PIC16 enhanced mid-range -> PIC16F182x sub-family -> PIC microcontrollers -> Microchip 8-bit portfolio -> embedded MCU. The XLP (eXtreme Low Power) branding reflects active power-management features such as ultra-low sleep current and multiple idle modes that suit battery-powered and energy-harvesting designs.
Key features include 12-channel 10-bit ADC, two 8-bit timers and one 16-bit timer, enhanced PWM with complementary outputs, configurable logic cell (CLC), and multiple serial interfaces (EUSART, MSSP for I2C/SPI). The integrated mTouch™ peripheral enables capacitive touch button, slider, and proximity sensing without external components, reducing BOM cost. On-chip debug via ICSP eliminates the need for an external debug header for in-circuit development with PICkit™ 3 or MPLAB® ICD 3.
Architecturally the PIC16F1828 uses Microchip's 14-bit instruction word RISC core with 200ns instruction execution at 20MHz (32MHz max), 16-level hardware stack, and 32 interrupt sources. On-chip peripherals are mapped via the peripheral pin select (PPS) system, allowing flexible digital function routing to most I/O pins. The 4x4 mm 20-UQFN package has an exposed thermal pad and operates in -40C to +125C extended industrial/automotive temperature range for harsh-environment applications.
Typical applications include capacitive touch user interfaces for appliances, IoT sensor nodes with multi-year battery life, small home appliances and white goods, LED lighting controllers with dimming, and automotive body controllers. The combination of low-power sleep modes, integrated touch sensing, and tiny 4x4 mm QFN footprint suits space- and cost-sensitive designs.
When designing with this device, configure PPS mappings carefully because peripheral-to-pin remapping differs between PIC16F1828 package variants (UQFN vs SOIC/SSOP). For capacitive touch, follow Microchip application note AN1478 for sensor layout and tuning. Always bypass VDD with a 0.1uF ceramic capacitor and tie all unused I/O pins to defined logic states to minimize current draw in sleep mode.
This page synthesizes distributor pricing, drop-in alternative MPNs, design notes, and cross-reference data not consolidated in any single manufacturer datasheet, providing a single-source engineering entry point for the PIC16F1828-E/GZ.
Drop-in alternatives for PIC16F1828-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 PIC16F1828-E/GZ (same form factor and footprint) — differing in ADC, Package, Timers, Core Architecture, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1828-I/GZ
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
PIC16F1828-E/ML
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
PIC16F1828-I/ML
✅ Drop-In✓ In Stock
$1.02 / Unit
View Datasheet →PIC16F1829-I/ML
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC16F1768-I/ML
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16F1828-E/GZ Maximum Ratings & Electrical Characteristics
| Product Family | PIC16F182x (PIC16F1828 sub-family) |
| Series | PIC16F (mid-range enhanced 8-bit) |
| Core | 8-bit PIC RISC (14-bit instruction word) |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data RAM | 256 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Frequency | 32 MHz (200 ns instruction cycle) |
| Operating Voltage (VDD) | 1.8 V to 5.5 V |
| Operating Temperature | -40 C to +125 C (Extended) |
| ADC | 10-bit, 12 channels |
| Timers | 2x 8-bit, 1x 16-bit |
| PWM Channels | 4 enhanced PWM with complementary outputs |
| Communication Interfaces | 1x EUSART, 1x MSSP (I2C/SPI) |
| Special Features | nanoWatt XLP, mTouch capacitive touch, CLC, ICSP debug |
| Package | 20-pin UQFN (4x4 mm) with exposed pad |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC16F1828-E/GZ Pin Configuration
| Pin 1 | RA5 — Bidirectional I/O / mTouch input / analog input |
| Pin 2 | RA4 — Bidirectional I/O / mTouch input / analog input |
| Pin 3 | RA3 — Bidirectional I/O / mTouch input / analog input |
| Pin 4 | RC5 — Bidirectional I/O / analog input |
| Pin 5 | RC4 — Bidirectional I/O / analog input |
| Pin 6 | RC3 — Bidirectional I/O / analog input / SCL (PPS) |
| Pin 7 | RC2 — Bidirectional I/O / analog input / SDA (PPS) |
| Pin 8 | RC1 — Bidirectional I/O / analog input / CCP (PPS) |
| Pin 9 | RC0 — Bidirectional I/O / analog input / CCP (PPS) |
| Pin 10 | VSS — Ground reference |
| Pin 11 | RA2 — Bidirectional I/O / mTouch input / analog input |
| Pin 12 | RA1 — Bidirectional I/O / mTouch input / analog input / ICSPCLK |
| Pin 13 | RA0 — Bidirectional I/O / mTouch input / analog input / ICSPDAT |
| Pin 14 | VDD — Positive supply voltage (1.8V-5.5V) |
| Pin 15 | RB7 — Bidirectional I/O / analog input |
| Pin 16 | RB6 — Bidirectional I/O / analog input / ICSPCLK (alternate) |
| Pin 17 | RB5 — Bidirectional I/O / analog input |
| Pin 18 | RB4 — Bidirectional I/O / analog input / SCL (PPS) |
| Pin 19 | RB3 — Bidirectional I/O / analog input / SDA (PPS) |
| Pin 20 | RB2 — Bidirectional I/O / analog input |
| Pin 21 | EP — Exposed thermal pad - tie to VSS for thermal dissipation |
Typical Applications
PIC16F1828-E/GZ is suitable for 6 applications: Capacitive Touch User Interface (Appliance / White Goods), Battery-Powered IoT Sensor Node, LED Lighting Controller with Dimming, Automotive Body Control Module, Small Home Appliance Controller (Coffee Machine / Fan / Heater), Portable Medical / Health Monitoring Device.
Capacitive Touch User Interface (Appliance / White Goods)
The PIC16F1828-E/GZ's integrated mTouch™ capacitive touch peripheral supports up to 12 touch channels for buttons, sliders, and proximity sensing without external touch controller ICs. The 4x4 mm UQFN-20 footprint drops easily behind glass or plastic panels in washing machines, microwave ovens, induction cooktops, and refrigerators where panel space is constrained. Combined with nanoWatt XLP sleep current below 20 nA typical, the device delivers multi-year battery life on portable touch appliances. The 7KB Flash comfortably stores touch calibration tables, multi-segment UI state machines, and Modbus/IR communication stacks. The 12-channel 10-bit ADC reads temperature, humidity, or motor current sensors in parallel with touch scanning, allowing single-chip appliance controller designs. The -40C to +125C extended temperature grade suits kitchen and laundry environments where ambient temperatures regularly exceed 85C near heating elements.
Recommended
Battery-Powered IoT Sensor Node
The PIC16F1828-E/GZ's nanoWatt XLP technology provides active current under 2 mA at 1 MHz and sleep current below 20 nA, enabling multi-year battery life for wireless IoT sensor endpoints. The 1.8V to 5.5V wide VDD range accommodates single-cell Li-ion, two-AA, CR2032 coin cell, and energy-harvesting supplies. The 12-channel 10-bit ADC supports simultaneous temperature, humidity, light, and battery voltage sampling for environmental monitoring. UART/SPI/I2C peripherals connect to sub-GHz radios (LoRa, Sigfox) or BLE modules; the 7KB Flash holds small protocol stacks and Over-The-Air update bootloaders. The 4x4 mm UQFN-20 package fits inside miniature sensor housings for wearables, smart agriculture, and structural health monitoring applications.
Recommended
LED Lighting Controller with Dimming
The PIC16F1828-E/GZ integrates enhanced PWM with 4 channels and complementary outputs, directly controlling high-power LED strings for architectural, commercial, and residential lighting. Independent PWM frequency and duty cycle resolution support 0-10V analog dimming, DALI digital dimming, and color-temperature mixing. The CLC (Configurable Logic Cell) implements custom logic for zero-crossing detection, TRIAC dimming compatibility, and over-temperature foldback without external glue logic. The 7KB Flash accommodates DALI-2 stack or Casambi/PWM-to-DMX translation firmware. The wide 1.8V to 5.5V VDD simplifies direct connection to rectified mains-derived 3.3V or 5V rails.
Recommended
Automotive Body Control Module
The PIC16F1828-E/GZ's extended -40C to +125C operating temperature grade suits under-hood and cabin body electronics including window lift modules, seat controllers, mirror actuators, and interior lighting. The EUSART and MSSP peripherals provide LIN bus connectivity (via LIN software stack) and CAN-ready interfaces when paired with external transceivers. PWM channels control DC motor H-bridge drivers with complementary outputs and dead-band control. The 256-byte EEPROM stores trim, calibration, and fault history without external memory. The 4x4 mm UQFN-20 footprint supports compact PCB designs in space-constrained body controller housings. For AEC-Q100 qualified options, Microchip recommends the PIC16F1828-E/GZVAO automotive-grade variant.
Recommended
Small Home Appliance Controller (Coffee Machine / Fan / Heater)
The PIC16F1828-E/GZ provides a complete single-chip controller for small home appliances such as espresso machines, humidifiers, air purifiers, fans, and portable heaters. The 12-channel 10-bit ADC reads NTC temperature sensors, flow sensors, tank level probes, and motor back-EMF for closed-loop control. PWM channels drive TRIAC or MOSFET-based heating elements, brushed DC motors, and solenoid valves. The mTouch peripheral enables sleek capacitive button panels without mechanical switches. nanoWatt XLP allows standby power below 0.1W to meet global energy regulations (ErP, Energy Star). The 256-byte EEPROM stores user settings and brewing profiles across power cycles.
Recommended
Portable Medical / Health Monitoring Device
The PIC16F1828-E/GZ's low-power nanoWatt XLP operation, small UQFN-20 footprint, and 10-bit ADC make it suitable for portable personal health devices such as pulse oximeters, digital thermometers, and handheld spirometers. Sleep current below 20 nA preserves battery life during long standby periods. The mTouch peripheral enables hygienic capacitive user controls that replace mechanical buttons in clinical environments. The MSSP peripheral connects to I2C temperature, pressure, or SpO2 sensor front-ends. The 7KB Flash accommodates simple USB HID stacks, Bluetooth Low Energy command interfaces, and on-device user prompts for diagnostic procedures.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1828-E/GZ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1828-I/GZ | PIC16F1828-E/ML | PIC16F1828-I/ML | PIC16F1829-I/ML | PIC16F1768-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-UQFN (4x4 mm) | 20-UQFN (4x4 mm) - same | 20-QFN (6x6 mm) - larger footprint | 20-QFN (6x6 mm) - larger footprint | 20-QFN (6x6 mm) - larger footprint | 20-QFN (6x6 mm) - larger footprint |
| Flash Memory | 7 KB | 7 KB | 7 KB | 7 KB | 8 KB (+14%) | 14 KB (+100%) |
| RAM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 512 bytes (+100%) | 1024 bytes (+300%) |
| Max CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Operating Voltage | 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 5.5 V | 1.8 V to 5.5 V |
| Temperature Grade | Extended (-40C to +125C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) |
| mTouch Support | Yes (12 channels) | Yes (12 channels) | Yes (12 channels) | Yes (12 channels) | Yes (12 channels) | Yes (varies) |
| NanoWatt XLP | Yes | Yes | Yes | Yes | Yes | Yes |
| Approx Unit Price (Qty 1) | USD 1.40 | USD 1.40-1.50 | USD 1.50-1.60 | USD 1.50-1.60 | USD 1.60-1.80 | USD 1.70-1.90 |
Key Differentiators
- Integrated mTouch capacitive touch peripheral with 12 channels (vs PIC16F1829-I/ML)
- Smallest UQFN-20 4x4 mm footprint in PIC16F182x family (vs PIC16F1828-E/ML)
- Extended -40C to +125C temperature range (vs PIC16F1828-I/GZ)
- Active production lifecycle status (vs PIC16F1768-I/ML)
Design Notes
Place a 0.1uF ceramic decoupling capacitor as close as possible to the VDD pin (pin 14) of the PIC16F1828-E/GZ, with the ground side connected to VSS (pin 10) using a wide short trace. For the UQFN-20 (4x4 mm) package, solder the exposed thermal pad (pin 21 / EP) to a ground copper pour of at least 10x10 mm with multiple thermal vias to the inner ground plane for heat dissipation. Keep sensitive analog traces (ADC inputs) away from PWM and digital switching signals to minimize crosstalk into the 10-bit ADC measurements.
The PIC16F1828-E/GZ supports sleep current below 20 nA typical (per datasheet 41439A), but total quiescent draw is dominated by peripherals left enabled. Configure all unused peripherals to OFF state via PMDx registers and set unused I/O pins as outputs driving low (not floating) before entering SLEEP to achieve datasheet-specified nanoWatt XLP sleep current. For battery-powered designs, use the on-chip LFINTOSC (31 kHz) during sleep and switch to HFINTOSC only when active processing is required.
Do not confuse the PIC16F1828 pinout across package variants - UQFN-20 (4x4 mm, E/GZ), QFN-20 (6x6 mm, E/ML), and SOIC-20 have different pin assignments for peripheral functions even though pin count matches. Always re-validate pin mapping when switching between PIC16F1828-E/GZ and PIC16F1828-E/ML or PIC16F1828-I/ML. Also note that PIC16F1828 differs from PIC16F1824 in memory map - PIC16F1828 has 7KB Flash while PIC16F1824 has 4KB Flash, so code compiled for one will not run on the other without recompiling.
For capacitive touch mTouch sensor PCB layout, follow Microchip application note AN1478 guidelines: route touch sensor traces with 7-10 mil trace width on a dedicated inner layer or top layer with minimum 0.5 mm clearance to adjacent traces, avoid ground pour under touch electrodes, and place a hatched ground hatch around but not under the touch sensor. The 4x4 mm UQFN-20 footprint allows the entire touch panel to fit on a small daughter board, but maintain a minimum 4 mm clearance between touch sensors and noisy PWM/LED driver traces.
Compliance Information
RoHS compliant per Microchip product page. Standard E/GZ grade is not AEC-Q100 qualified; automotive designs requiring AEC-Q100 should select the -VAO variant. Lead-free / matte-tin finish standard.