PIC16LF1828-I/P - 8-bit MCU 7KB 32MHz XLP 20-DIP | Microchip
MPN: PIC16LF1828-I/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.82 | $1.82 |
| 10 | $1.66 | $16.60 |
| 100 | $1.45 | $145.00 |
| 500 | $1.3 | $650.00 |
| 1,000 | $1.15 | $1,150.00 |
PIC16LF1828-I/P Overview
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory, working RAM, and a mix of analog and digital peripherals designed to be embedded inside a larger electronic system. The PIC16F/LF182x family belongs to Microchip's enhanced mid-range 8-bit PIC architecture, which extends the baseline PIC instruction set with additional addressing modes and peripherals while remaining easy to program in C or assembly. The 'LF' suffix designates the low-voltage, low-power silicon revision optimized for battery-powered and energy-harvesting designs.
Key features of the PIC16LF1828-I/P include 256 bytes of EEPROM, an I2C/SPI/EUSART configurable serial interface block, 18 digital I/O pins with peripheral pin-select (PPS) routing, an on-chip 32 kHz to 32 MHz HF oscillator that eliminates the external crystal in most designs, and a power-managed sleep mode with sub-microamp wake-up current. The 20-pin PDIP package is intentionally retained for breadboard-friendly through-hole prototyping, hobbyist projects, and legacy industrial control boards that still favor socketed or hand-solderable parts.
Typical applications include battery-powered sensor nodes, capacitive-touch user interfaces, low-cost motor control loops, industrial sensor transmitters, and educational microcontroller kits. The integrated 10-bit ADC and mTouch peripheral also suit it for portable measurement instruments where PCB area and BOM cost are critical.
When designing with this part, take advantage of the integrated 32 MHz oscillator to remove the external crystal and verify that the LF voltage range (2.5 V to 3.6 V) covers the intended supply rail; for 5 V designs use the PIC16F1828-I/P variant instead. Ensure the PPS register configuration is committed before enabling peripherals to avoid spurious pin states at startup.
This page consolidates distributor pricing, true 20-pin PDIP drop-in alternates from the PIC16LF182x family, and practical design notes compiled from Microchip's datasheet and pin-compatibility documentation - content beyond the raw datasheet spec table.
Drop-in alternatives for PIC16LF1828-I/P — 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-I/P (same form factor and footprint) — differing in Package, ADC, PWM Modules, Timers, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1828-I/P
✅ Drop-In✓ In Stock
$1.21 / Unit
View Datasheet →PIC16LF1828-I/SS
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1828-I/ML
✅ Drop-In✓ In Stock
$2.05 / Unit
View Datasheet →PIC16LF1827-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1826-I/P
✅ Drop-In✓ In Stock
$1.48 / Unit
View Datasheet →PIC16LF1828-E/P
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC16F1824-I/P
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.48 / Unit
View Datasheet →PIC16LF1828-I/P Maximum Ratings & Electrical Characteristics
| Architecture | 8-bit PIC16 enhanced mid-range |
| Flash Program Memory | 7 KB (4K x 14 words) |
| RAM | 256 bytes |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz (200 ns instruction cycle) |
| Supply Voltage Range | 2.5 V to 3.6 V |
| I/O Pins | 18 |
| ADC | 12-channel, 10-bit |
| Comparators | 2 |
| Timers | 4 x 8-bit / 1 x 16-bit |
| PWM / CCP | 2 CCP modules |
| Serial Interfaces | I2C, SPI, EUSART |
| Internal Oscillator | 32 MHz HF + 32 kHz LF |
| Package | 20-pin PDIP (P) |
| Operating Temperature | -40C to +85C (Industrial) |
| Capacitive Touch | mTouch peripheral |
| Peripheral Pin Select | Yes (PPS) |
PIC16LF1828-I/P Pin Configuration
| Pin 1 | VDD — Positive supply voltage |
| Pin 2 | RA5 — PORTA bit 5 (digital I/O, analog input) |
| Pin 3 | RA4 — PORTA bit 4 (digital I/O, analog input) |
| Pin 4 | RA3/MCLR/VPP — PORTA bit 3 / Master Clear reset / programming voltage |
| Pin 5 | RC5 — PORTC bit 5 (digital I/O, analog input) |
| Pin 6 | RC4 — PORTC bit 4 (digital I/O, analog input) |
| Pin 7 | RC3 — PORTC bit 3 (digital I/O, analog input, SCL via PPS) |
| Pin 8 | RC6 — PORTC bit 6 (digital I/O, TX via PPS) |
| Pin 9 | RC7 — PORTC bit 7 (digital I/O, RX via PPS) |
| Pin 10 | RB7 — PORTB bit 7 (digital I/O, ICSP PGD) |
| Pin 11 | RB6 — PORTB bit 6 (digital I/O, ICSP PGC) |
| Pin 12 | RB5 — PORTB bit 5 (digital I/O, analog input, AN13) |
| Pin 13 | RB4 — PORTB bit 4 (digital I/O, analog input, AN11) |
| Pin 14 | RB3 — PORTB bit 3 (digital I/O, analog input, AN9) |
| Pin 15 | RB2 — PORTB bit 2 (digital I/O, analog input, AN8) |
| Pin 16 | RB1 — PORTB bit 1 (digital I/O, analog input, AN10, INT) |
| Pin 17 | RB0 — PORTB bit 0 (digital I/O, analog input, AN12, INT) |
| Pin 18 | VSS — Ground reference |
| Pin 19 | RA0 — PORTA bit 0 (digital I/O, analog input AN0) |
| Pin 20 | RA1 — PORTA bit 1 (digital I/O, analog input AN1) |
Typical Applications
PIC16LF1828-I/P is suitable for 7 applications: Battery-Powered Sensor Node, Capacitive Touch User Interface, Industrial Sensor Transmitter, Low-Cost Motor Control, Educational Microcontroller Kit, Portable Measurement Instrument, Home Appliance Control Board.
Battery-Powered Sensor Node
The PIC16LF1828-I/P is ideal for wireless or wired sensor nodes running from a 3 V lithium coin cell or two-AA stack. Its 32 MHz enhanced mid-range core executes ADC, temperature, and protocol handling in microseconds, then drops into nanoWatt XLP sleep drawing under 1 uA. The 12-channel 10-bit ADC handles multiple analog sensors without an external mux, and the 256-byte RAM buffers short packet bursts. The integrated 32 MHz oscillator removes the external crystal to shrink BOM cost and board area, while the 2.5-3.6 V supply range matches coin-cell discharge curves directly. Battery life typically reaches years on a single CR2032 for periodic wake-and-transmit duty cycles under 1%.
Recommended
Capacitive Touch User Interface
The integrated mTouch peripheral and 12-channel 10-bit ADC let the PIC16LF1828-I/P drive capacitive-touch buttons, sliders, or proximity sensors without an external touch IC. With the 32 MHz core, scan rates up to several hundred Hz per channel are easily achieved, supporting 8-12 touch electrodes on the same die. The 18 I/O pins give generous routing headroom for a touch panel plus LEDs, while the PPS block reassigns UART/SPI to spare pins to simplify PCB layout. The 2.5-3.6 V LF supply suits USB-powered or battery-powered appliances, and the 20-pin PDIP package keeps prototyping and hand-rework fast for early UI development.
Recommended
Industrial Sensor Transmitter
The PIC16LF1828-I/P suits 4-20 mA loop-powered or 24 V industrial sensor transmitters thanks to its industrial -40 to +85 C rating, integrated 32 MHz HF oscillator, and rich peripheral set. Two comparators support threshold detection or zero-crossing events for opto-isolated inputs without extra analog ICs. The 10-bit ADC with 12 channels reads bridge sensors, thermistors, or 4-20 mA current sense directly, while the I2C/SPI/EUSART block drives an external DAC, display, or wireless module. The 7 KB Flash and 256 B RAM cover 4-20 mA linearization tables and Modbus RTU firmware. For applications exposed to higher temperatures, the PIC16LF1828-E/P extended-range variant is a drop-in alternative.
Recommended
Low-Cost Motor Control
The PIC16LF1828-I/P handles small DC motor, fan, or stepper control loops in compact appliances. Two CCP/PWM modules plus a 16-bit timer drive brushed DC motors with PWM frequencies above 25 kHz for silent operation, and the 32 MHz core keeps the PID loop well under 100 us. The two on-chip comparators provide overcurrent sensing on a low-side shunt, while the 10-bit ADC samples back-EMF or supply current for closed-loop regulation. NanoWatt sleep with peripheral wake-up lets battery tools hibernate between commands. The 20-pin PDIP package simplifies hand-prototyping motor-driver boards before committing to surface-mount production.
Recommended
Educational Microcontroller Kit
The PIC16LF1828-I/P is well suited for student labs and hobbyist kits because the 20-pin PDIP through-hole package is breadboard-compatible, easy to socket, and tolerates repeated insertion cycles. The 7 KB Flash stores non-trivial introductory projects (PWM, ADC, I2C peripherals), while the 32 MHz internal oscillator lets students focus on code rather than crystal selection. Microchip's free MPLAB X IDE and XC8 compiler provide a complete software toolchain with no licensing fee, and ICSP programming needs only five wires. With mTouch, ADC, comparators, and serial interfaces, one chip supports dozens of distinct teaching labs.
Recommended
Portable Measurement Instrument
Handheld multimeters, thermometers, and data-logging instruments benefit from the PIC16LF1828-I/P's XLP nanoWatt sleep, 12-channel 10-bit ADC, and 32 MHz performance. The 2.5-3.6 V supply runs directly from a 3 V battery or USB rail, and the integrated comparators handle threshold detection on sensor inputs. EUSART, I2C, and SPI drive external ADCs, displays, or SD cards as the design grows, while PPS flexibility makes PCB layout simple. The 7 KB Flash holds calibration tables and modest UI firmware. Switching to a 20-pin QFN (PIC16LF1828-I/ML) lets designers shrink the enclosure further once the prototype is finalized.
Recommended
Home Appliance Control Board
The PIC16LF1828-I/P serves as the main controller in white-goods submodules such as coffee machines, air purifiers, or small kitchen appliances. Its 18 I/O pins read keypads, drive relays through MOSFETs, control triac-fired heater elements via PWM timers, and talk to sensors over I2C. The 10-bit ADC and 12 channels handle temperature, pressure, or humidity sensor inputs, while mTouch adds capacitive buttons without an extra IC. The 32 MHz internal oscillator eliminates the crystal for EMI-sensitive environments, and the 20-pin PDIP version is convenient for breadboard prototyping that later moves to the PIC16LF1828-I/SS SSOP for SMT production.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1828-I/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1828-I/P | PIC16LF1828-I/SS | PIC16LF1828-I/ML | PIC16LF1827-I/P | PIC16F1826-I/P |
|---|---|---|---|---|---|---|
| Package | 20-pin PDIP | 20-pin PDIP (same) | 20-pin SSOP (same pinout, SMT) | 20-pin QFN 4x4 (same pinout, SMT) | 20-pin PDIP (same) | 20-pin PDIP (same) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Supply Voltage Range | 2.5 V to 3.6 V | 1.8 V to 5.5 V | 2.5 V to 3.6 V | 2.5 V to 3.6 V | 2.5 V to 3.6 V | 1.8 V to 5.5 V |
| Flash Memory | 7 KB | 7 KB | 7 KB | 7 KB | 7 KB | 3.5 KB (-50%) |
| RAM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 128 bytes (-50%) | 256 bytes |
| I/O Pins | 18 | 18 | 18 | 18 | 18 | 17 (-1) |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
Key Differentiators
- Same die as PIC16F1828-I/P with 80% wider supply range (vs PIC16F1828-I/P)
- Twice the EEPROM of PIC16LF1827-I/P (vs PIC16LF1827-I/P)
- Breadboard-friendly 20-pin PDIP form factor (vs PIC16LF1828-I/ML)
Design Notes
Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 1), with a bulk 10 uF electrolytic or tantalum on the same rail. The PIC16LF1828-I/P draws only microamp-level currents in XLP sleep, so the 100 nF cap dominates VDD ripple during wake transitions. Add a ferrite bead if the supply comes from a noisy switching regulator.
Route the ICSP lines (PGC on RB6, PGD on RB7) directly to a 6-pin header with no series resistors or capacitors. The Microchip PICkit 3 and ICD programmers drive these lines; any extra impedance prevents reliable in-circuit programming. Keep analog traces short and away from PWM or switching signals to preserve ADC accuracy.
Do not enable the on-chip 32 MHz HF oscillator immediately after VDD rise if the firmware takes time to stabilize - the system clock will not be valid and instructions may execute out of spec. Configure OSCCON carefully and wait for the HFIOFS bit before proceeding. Also note that pin 4 is shared with MCLR/VPP; leave it connected to VDD through a 10 kohm resistor unless you need external reset capability.
Compliance Information
RoHS-compliant lead-free package per Microchip product page. Not AEC-Q100 qualified; for automotive use select a Q-graded variant or the AEC-Q100 version where available. Halogen-free status not explicitly stated in the verified web data.