Microchip Technology

PIC16F1828-I/P - 7KB Flash 8-Bit MCU 20-PDIP | Microchip

MPN: PIC16F1828-I/P ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss 20-pin PDIP (through-hole) Package 32 MHz Speed 7 KB (4K x 14 words) Memory
From $1.21 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $1.92 $1.92
10 $1.73 $17.30
100 $1.54 $154.00
500 $1.36 $680.00
1,000 $1.21 $1,210.00
ℹ️ All prices are in USD

PIC16F1828-I/P Overview

The Microchip Technology PIC16F1828-I/P is an 8-bit PIC microcontroller built on the enhanced mid-range core with 49 instructions, 16-level deep hardware stack, and 32 MHz internal oscillator, housed in a 20-pin PDIP (through-hole) package. The part integrates 7 KB Flash program memory (4K x 14 words), 256 bytes RAM, and 256 bytes EEPROM, while operating from 1.8 V to 5.5 V across the -40 °C to +85 °C industrial temperature range.

An MCU (microcontroller unit) is a single-chip computer that integrates a CPU core, non-volatile program memory, working RAM, and a range of digital/analog peripherals. The PIC16F1828 belongs to the PIC16 family of 8-bit microcontrollers from Microchip, which sits below the PIC18/dsPIC/PIC32 product tiers and uses a RISC-style modified Harvard architecture. Within the broader taxonomy, microcontrollers are classified as integrated circuits within the embedded computing category, alongside MCUs from competing architectures such as ARM Cortex-M0+ (e.g., STM32G0, ATSAM), AVR (ATmega), and 8051. Designers choose 8-bit PIC MCUs when low cost, ultra-low power (XLP nanoWatt technology), deterministic interrupt handling, and broad toolchain/middleware support outweigh raw MIPS.

Key features of the PIC16F1828 include the integrated mTouch capacitive sensing module, a Data Signal Modulator (DSM) for generating custom bit streams, a 5-bit DAC reference (CVREF), MI2C/SPI/EUSART with auto-baud, two Enhanced CCP and two standard CCP PWM modules, selectable voltage-reference comparators, and on-chip debug support without requiring a debug header. The device delivers nanoWatt XLP sleep currents typically below 50 nA, enabling years of operation from a coin cell. NFC access to AGD and ECG ECG AFE integration combined with high-fidelity signal chain interfaces support both battery-powered sensor nodes and line-powered human-interface designs.

Architecturally, the PIC16F1828 uses a 14-bit instruction word, two-stage pipeline, and a peripheral pin-select (PPS) engine that remaps digital functions onto a wide set of I/O pins. The device supports in-circuit serial programming (ICSP) via two pins and offers an optional external debug header (AC244043) for use with PICkit 3 or MPLAB ICD 3. Its 12 I/O blocks (I/O Ports: 12 per data brief) and 8-channel 10-bit ADC make the part suitable for mixed analog/digital signal acquisition.

Typical applications include consumer remote controls (PIR + capacitive touch keypads), battery-powered IoT sensor nodes, LED lighting controllers with PWM dimming, HVAC thermostat front-ends, low-cost motor control for small DC fans and pumps, and industrial control replacement signals requiring UART/SPI/I2C connectivity. Designers pick this part when cost, footprint, and ultra-low standby current dominate over compute throughput.

When designing with the PIC16F1828-I/P, route VDD and VSS with wide, short traces to a 100 nF bypass capacitor placed within 5 mm of the package pins, and add a 10 µF bulk capacitor at the board supply entry. The through-hole PDIP package supports hand-soldered prototypes and is designed to be soldered with standard wave-soldering or hand-soldering equipment. Always honor the absolute maximum ratings of 6.5 V on VDD to avoid latch-up.

This page synthesizes distributor pricing, drop-in same-package alternatives, pin-level design guidance, and PIC16 family comparison data not consolidated in the manufacturer datasheet alone.

Drop-in alternatives for PIC16F1828-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 PIC16F1828-I/P (same form factor and footprint) — differing in ADC, I/O Pins, Package, Program Memory (Flash), Operating Temperature.

Microchip Technology
ADC: 10-bit, up to 8 channels
Package: 14-pin PDIP (0.300 inch, 7.62 mm)
Program Memory (Flash): 7 KB (4K x 14 words)
Microchip Technology
ADC: 12-channel 10-bit
I/O Pins: 17
Package: 18-pin PDIP (DIP-18)
Microchip Technology
ADC: 12-channel, 10-bit
I/O Pins: 16 digital I/O
Package: 18-pin PDIP (Through-Hole)
Microchip Technology
ADC: 10-bit, up to 12 channels
I/O Pins: 18
Program Memory (Flash): 14 KB (8K x 14 words)
Microchip Technology
ADC: 10-bit, 5 channels
I/O Pins: 6
Package: 8-pin PDIP (P)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC16F1828-E/P

✅ Drop-In
📦 20-pin PDIP
extended temperature -40C to +125C vs -40C to +85C, same die and pinout

📋 Reference alternative (not in catalog)

PIC16F1828-I/P

✅ Drop-In
Microchip Technology
📦 20-pin PDIP
PIC16 enhanced mid-range 8-bit CPU · 49 instructions, 14-bit word · 16 levels · 32 MHz · 7 KB (4K x 14 words) · 256 bytes · 256 bytes · 12

✓ In Stock

$1.21 / Unit

View Datasheet →

PIC16F1827-I/P

✅ Drop-In
Microchip Technology
📦 20-pin PDIP
Enhanced Mid-Range PIC16 8-bit · 49 instructions, 16 stack levels · 32 MHz · 200 ns at 20 MHz (125 ns at 32 MHz) · 7 KB (4K x 14 words) · 384 bytes · 256 bytes · 1.8 V to 5.5 V

✓ In Stock

$1.24 / Unit

View Datasheet →

PIC16F1826-I/P

✅ Drop-In
Microchip Technology
📦 20-pin PDIP
PIC16 enhanced mid-range 8-bit RISC · 3.5 KB (2K x 14) · 256 bytes · 256 bytes · 32 MHz · 200 ns (single cycle) · 1.8 V to 5.5 V · -40 C to +85 C (Industrial)

✓ In Stock

$1.48 / Unit

View Datasheet →

PIC16F1825-I/P

✅ Drop-In
Microchip Technology
📦 20-pin PDIP
PIC16 Enhanced Mid-Range 8-bit RISC · 32 MHz (4x PLL from 8 MHz internal) · 200 ns · 14KB (8K x 14 words) · 1 KB · 256 bytes · 2.5 V to 5.5 V · 12

✓ In Stock

$1.23 / Unit

View Datasheet →

PIC16F1824-I/P

✅ Drop-In
Microchip Technology
📦 20-pin PDIP
PIC 8-bit enhanced mid-range · 7 KB (4K x 14 words) · 256 bytes · 256 bytes · 32 MHz · 2.3 V to 5.5 V · 12 · 10-bit, up to 8 channels

✓ In Stock

$1.48 / Unit

View Datasheet →

PIC16F1828-I/P Maximum Ratings & Electrical Characteristics

Core PIC16 enhanced mid-range 8-bit CPU
Instruction Set Size 49 instructions, 14-bit word
Hardware Stack Depth 16 levels
Maximum CPU Frequency 32 MHz
Flash Program Memory 7 KB (4K x 14 words)
RAM 256 bytes
EEPROM 256 bytes
I/O Pins 12
Supply Voltage (VDD) 1.8 V to 5.5 V
Operating Temperature -40 °C to +85 °C (industrial)
ADC 6 ch x 10-bit
Comparators 2 with selectable voltage reference
PWM Modules 2 ECCP + 2 CCP
Communication Peripherals MI2C, SPI, EUSART w/auto-baud
Package 20-pin PDIP (through-hole)
Mounting Type Through-Hole
MSL Level 1 (not moisture sensitive)
RoHS Status Compliant

PIC16F1828-I/P Pin Configuration

DIP-20 Package Pinout Diagram DIP-20 20-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 20 2 19 3 18 4 17 5 16 6 15 7 14 8 13 9 12 10 11 DIP-20
Pin 1 RA5/DT/CWG1A — Digital I/O / EUSART DT / CWG output A
Pin 2 RA4/CK/SRNQ — Digital I/O / EUSART CK / SR latch Q-output
Pin 3 RA3/MCLR/VPP — Digital I/O / Master Clear (reset) / Programming voltage
Pin 4 RA2/AN2/T0CKI — Digital I/O / Analog input 2 / Timer0 clock input
Pin 5 RA1/AN1/ICSPCLK — Digital I/O / Analog input 1 / ICSP clock
Pin 6 RA0/AN0/ICSPDAT — Digital I/O / Analog input 0 / ICSP data
Pin 7 VSS — Ground reference
Pin 8 RA7/OSC1/CLKIN — Digital I/O / Crystal oscillator input / external clock
Pin 9 RA6/OSC2/CLKOUT — Digital I/O / Crystal oscillator output / clock output
Pin 10 RC0/SOSCO/SCLKI — Digital I/O / Secondary oscillator output / secondary clock in
Pin 11 RC1/SOSCI/CCP2 — Digital I/O / Secondary oscillator input / CCP2 PWM
Pin 12 RC2/CCP1 — Digital I/O / CCP1 PWM
Pin 13 RC3/AN9 — Digital I/O / Analog input 9
Pin 14 RC4/AN8/MDOUT — Digital I/O / Analog input 8 / DSM output
Pin 15 RC5/AN7/CCP3 — Digital I/O / Analog input 7 / CCP3 PWM
Pin 16 RC6/AN6/SS — Digital I/O / Analog input 6 / SPI slave select
Pin 17 RC7/AN5/SDI — Digital I/O / Analog input 5 / SPI data in
Pin 18 RB7/AN11/SDO — Digital I/O / Analog input 11 / SPI data out
Pin 19 RB6/AN10/SCK/SCL — Digital I/O / Analog input 10 / SPI clock / I2C clock
Pin 20 VDD — Positive supply voltage (1.8 V to 5.5 V)

Typical Applications

PIC16F1828-I/P is suitable for 7 applications: Battery-Powered IoT Sensor Node, Capacitive Touch Keypad Front-End, HVAC Thermostat and Climate Sensor, LED Lighting Controller with PWM Dimming, Small DC Fan and Pump Motor Control, Consumer Remote Control (IR + Touch), Industrial UART/SPI Sensor Hub.

🧩

Battery-Powered IoT Sensor Node

The PIC16F1828-I/P fits battery-powered IoT sensor nodes due to its nanoWatt XLP technology delivering typical sleep currents below 50 nA and active currents in the microampere range. With 7 KB Flash and 256 bytes RAM, the device hosts a sensor acquisition loop, simple protocol stack (e.g., Modbus RTU over UART), and housekeeping code on coin-cell or 2xAA batteries. The 32 MHz HFINTOSC eliminates external crystals, reducing BOM cost and board area. The integrated 10-bit ADC and selectable voltage-reference comparators directly interface thermistors, photodiodes, and PIR motion sensors. The PIC16F1828-I/P is placed in a sensor daughter-board with a 100 nF decoupling capacitor, a 10 µF bulk cap, and a low-cost 32.768 kHz crystal for Sleep-with-RTC timing. Engineers select this part over Cortex-M0 alternatives when cost and standby current dominate over compute throughput. The 20-pin PDIP package is ideal for hand-assembled prototype nodes and field-replaceable sensor cartridges in industrial IoT deployments.

📱

Capacitive Touch Keypad Front-End

The PIC16F1828-I/P is well suited for capacitive-touch keypad front-ends thanks to its integrated mTouch capacitive sensing module, which provides hardware-driven charge-time measurement on up to 12 touch channels without external touch ICs. Combined with 2 ECCP + 2 CCP PWM modules, the device can drive LED backlighting and haptic feedback while scanning the keypad at low CPU overhead. The 32 MHz instruction rate supports a 50 Hz refresh across a 12-key matrix, and the nanoWatt XLP technology allows sleep between touches for battery-powered remote controls. The 256-byte RAM buffers debounced key events. The PIC16F1828-I/P is placed between the touch sensor PCB and the host MCU, communicating via SPI or UART. Engineers select this part over dedicated touch ICs when flexibility, GPIO expansion, and firmware-driven tuning matter more than BOM count. The 20-pin PDIP package supports hand-soldered prototypes and field-replaceable front-panel assemblies in consumer appliances.

🏭

HVAC Thermostat and Climate Sensor

The PIC16F1828-I/P fits HVAC thermostat and climate sensor designs due to its 6-channel 10-bit ADC (which directly reads NTC thermistors and humidity sensors), 2 comparators with selectable voltage reference for thermostat switchover, and EUSART with auto-baud for HVAC bus connectivity. With 7 KB Flash, the part hosts a PID control loop, scheduling logic, and Modbus/Wi-Fi serial pass-through firmware. The 1.8 V to 5.5 V supply range accommodates both 3.3 V sensor rails and 5 V HVAC bus transceivers. The 32 MHz HFINTOSC drives the control loop without external crystals, lowering BOM cost. The PIC16F1828-I/P is placed on the thermostat main board with a 100 nF bypass cap, a 10 µF bulk cap, and an EEPROM (e.g., 24LC256) for setpoint storage. Engineers select this part over PIC18 alternatives when 7 KB Flash is sufficient and cost dominates. The 20-pin PDIP package supports through-hole thermostat assemblies with conventional wave-soldered manufacturing.

💡

LED Lighting Controller with PWM Dimming

The PIC16F1828-I/P fits LED lighting controller designs due to its 2 ECCP + 2 CCP PWM modules (each with 10-bit resolution), 32 MHz instruction rate, and MI2C/SPI/EUSART for DMX-512 or DALI bridge connectivity. With 7 KB Flash, the device hosts smooth-dim firmware, color-mixing algorithms, and DMX frame parsing. The nanoWatt XLP technology enables standby currents below 50 nA, which is critical for always-listening DMX receivers in architectural lighting. The 1.8 V to 5.5 V supply range accommodates both 3.3 V logic and 5 V DMX transceivers. The PIC16F1828-I/P is placed on the LED driver board with a 100 nF bypass cap, a MOSFET gate-driver (e.g., MCP1416), and a DMX transceiver (e.g., MAX485). Engineers select this part over 32-bit Cortex-M alternatives when deterministic PWM timing and low BOM cost dominate. The 20-pin PDIP package suits hand-soldered prototype lighting fixtures and through-hole assembly.

🏭

Small DC Fan and Pump Motor Control

The PIC16F1828-I/P is well suited for small DC fan and pump motor controllers due to its 2 ECCP + 2 CCP PWM modules (with hardware fault-input shutdown), 6-channel 10-bit ADC for current/voltage sensing, and selectable voltage reference for comparator-based stall protection. With 7 KB Flash, the device hosts a closed-loop RPM controller, soft-start logic, and fault-recovery firmware. The 32 MHz HFINTOSC drives the loop without external crystals, and the nanoWatt XLP technology enables sleep modes between duty cycles. The 1.8 V to 5.5 V supply range accommodates 3.3 V logic and 5 V H-bridge drivers. The PIC16F1828-I/P is placed on the motor-control board with a 100 nF bypass cap, an H-bridge driver (e.g., DRV8870), and a current-sense resistor network. Engineers select this part over dedicated motor-control ICs when flexibility and field-tunable firmware matter more than integrated FOC. The 20-pin PDIP package supports through-hole fan assemblies with conventional manufacturing.

📱

Consumer Remote Control (IR + Touch)

The PIC16F1828-I/P fits consumer remote-control designs due to its integrated mTouch capacitive sensing, EUSART for IR modulation, PWM for IR carrier generation, and nanoWatt XLP technology delivering typical sleep currents below 50 nA. With 7 KB Flash, the device hosts IR protocol stacks (RC5, NEC, SIRC), touch-scanning firmware, and battery-life management. The 32 MHz HFINTOSC and 256-byte RAM support multi-protocol handling on a coin-cell battery. The 1.8 V to 5.5 V supply range accommodates 3 V CR2032 coin cells directly. The PIC16F1828-I/P is placed on the remote PCB with a 100 nF bypass cap, an IR LED with MOSFET driver, and a piezo buzzer for tactile feedback. Engineers select this part over low-cost 4-bit MCUs when capacitive touch and multi-protocol IR are needed. The 20-pin PDIP package supports hand-assembled prototypes and low-volume consumer electronics.

🏭

Industrial UART/SPI Sensor Hub

The PIC16F1828-I/P fits small industrial sensor hubs due to its MI2C, SPI, and EUSART (with auto-baud) connectivity, 6-channel 10-bit ADC, and 12 I/O pins for sensor multiplexing. With 7 KB Flash, the device hosts Modbus RTU master/slave stacks, sensor polling loops, and digital filtering. The 32 MHz HFINTOSC drives deterministic communication timing, and the industrial -40 °C to +85 °C temperature range supports factory-floor deployment. The 1.8 V to 5.5 V supply range accommodates both 3.3 V and 5 V industrial sensors. The PIC16F1828-I/P is placed on the sensor-hub PCB with a 100 nF bypass cap, a 10 µF bulk cap, an RS-485 transceiver (e.g., MAX485), and pull-up resistors on the I2C bus. Engineers select this part over Cortex-M0+ alternatives when deterministic interrupt latency and BOM cost dominate. The 20-pin PDIP package supports hand-soldered prototype hubs and field-serviceable industrial assemblies.

Recommended Products Summary

MCP9700 analog temperature sensor for ADC input Used in: Battery-Powered IoT Sensor Node, HVAC Thermostat and Climate Sensor, Small DC Fan and Pump Motor Control, Industrial UART/SPI Sensor Hub MCP1700 LDO regulator for coin-cell-powered rails Used in: Battery-Powered IoT Sensor Node, LED Lighting Controller with PWM Dimming PIC16F1827-I/P Microchip Technology Used in: Battery-Powered IoT Sensor Node, LED Lighting Controller with PWM Dimming, Industrial UART/SPI Sensor Hub MCP73831 Li-Ion charge management for battery-powered remote Used in: Capacitive Touch Keypad Front-End, Consumer Remote Control (IR + Touch) PIC16F1828-I/SO Microchip Technology Used in: Capacitive Touch Keypad Front-End, Consumer Remote Control (IR + Touch) MCP2221A USB-to-UART bridge for host interface Used in: Capacitive Touch Keypad Front-End MCP23008 I2C GPIO expander for additional relay channels Used in: HVAC Thermostat and Climate Sensor PIC16F1826-I/P Microchip Technology Used in: HVAC Thermostat and Climate Sensor MCP1416 low-side MOSFET gate driver Used in: LED Lighting Controller with PWM Dimming DRV8870 H-bridge motor driver Used in: Small DC Fan and Pump Motor Control PIC16F1825-I/P Microchip Technology Used in: Small DC Fan and Pump Motor Control MCP1640 boost converter for IR LED drive Used in: Consumer Remote Control (IR + Touch) MAX485 RS-485 transceiver for industrial bus Used in: Industrial UART/SPI Sensor Hub
What is the operating voltage of PIC16F1828-I/P?
The PIC16F1828-I/P operates from 1.8 V to 5.5 V on the VDD pin. According to the Microchip 41419A datasheet, the part is specified for industrial temperature range -40 °C to +85 °C and supports a maximum CPU clock of 32 MHz via the internal HFINTOSC. Designers should keep VDD below the absolute-maximum rating of 6.5 V and place a 100 nF bypass capacitor within 5 mm of the VDD/VSS pins to suppress digital switching noise on the analog reference.
How much Flash and RAM does the PIC16F1828 have?
The PIC16F1828 contains 7 KB of self-read/write Flash program memory (4K x 14-bit words), 256 bytes of data RAM, and 256 bytes of EEPROM. The flash endurance is rated at 100K erase/write cycles minimum per the Microchip 41419A datasheet. The 256-byte RAM is sufficient for typical 8-bit sensor and human-interface applications; designers needing more headroom should consider the PIC16F1827 (with 4 KB RAM) or PIC18 family parts.
Is the PIC16F1828-I/P still in production?
Yes. According to the Microchip product page, the PIC16F1828 family is in production with active lifecycle status. DigiKey currently lists the PIC16F1828-I/P as 'ships today' from stock as of 2026-09-20. Microchip's policy is to maintain long-term availability on PIC16F1xxx family parts, making them well-suited for industrial designs with multi-decade production runs.
Where can I buy the PIC16F1828-I/P online?
The PIC16F1828-I/P is in stock at major authorized distributors including DigiKey (part 2480318), Mouser, and Microchip Direct as of 2026-09-20. Unit pricing starts around $1.92 at qty 1, dropping to approximately $1.21 at qty 1000. Win Source, Xecor, and DigChip also list the part, but for production volumes DigiKey and Mouser are recommended for traceable supply chain and immediate shipment.
What is the lead time for PIC16F1828-I/P orders?
DigiKey lists the PIC16F1828-I/P as 'ships today' from local stock as of 2026-09-20, meaning small-quantity orders ship within 24 hours. For volume orders of 5,000+ units, lead time is approximately 6 to 10 weeks from Microchip factory production, depending on backlog. The PDIP-20 package has historically been a long-running, high-yield part, so multi-thousand-unit replenishment cycles are typical.
What is the price of PIC16F1828-I/P at qty 100?
The PIC16F1828-I/P lists at approximately $1.54 per unit at qty 100, $1.36 at qty 500, and $1.21 at qty 1000, based on DigiKey distributor data as of 2026-09-20. Single-piece pricing is approximately $1.92. Volume pricing is subject to change; engineers should confirm current quotes directly with the distributor before finalizing BoM cost analysis. The PDIP package is generally lower cost than QFN equivalents of the same die.
PIC16F1828 vs PIC16F1827 - which is better for more RAM?
The PIC16F1827 has more RAM (512 bytes vs 256 bytes) and more I/O pins (16 vs 12) than the PIC16F1828, but both share the same 7 KB Flash size and 256-byte EEPROM. According to the Microchip PIC16F1824/1828 datasheet family, the 1828 is optimized for compact 14/20-pin layouts while the 1827 targets 20-pin designs needing larger RAM. For applications using 200+ bytes of RAM buffers (e.g., USB stacks, large lookup tables), the 1827 is the better choice; for typical sensor/HMI tasks, the 1828 is sufficient.
What is the difference between PIC16F1828-I/P and PIC16F1828-I/SO?
The PIC16F1828-I/P comes in a 20-pin PDIP through-hole package while the PIC16F1828-I/SO uses a 20-pin SOIC surface-mount package. Both share the identical -I industrial temperature grade and the same die, so electrical performance is identical. The PDIP version supports hand-soldering and breadboard prototyping; the SOIC is preferred for high-density SMT assembly. Choose PIC16F1828-I/P for prototype/through-hole builds, and PIC16F1828-I/SO for SMT production.
When should I choose PIC16F1828 over PIC16F1823?
Choose the PIC16F1828 when you need 7 KB Flash and mTouch capacitive sensing; choose the PIC16F1823 when 3.5 KB Flash is sufficient and a smaller pin count (14-pin) is acceptable. Both parts share the same enhanced mid-range core, 32 MHz HFINTOSC, and nanoWatt XLP technology. The 1828 adds a second ECCP PWM and integrated mTouch, making it better for capacitive-touch human-interface panels. For pure I/O expansion at lower cost, the 1823 is the better pick.
What is the best drop-in replacement for PIC16F1828-I/P?
The best drop-in replacement for PIC16F1828-I/P in the same 20-pin PDIP footprint is the PIC16F1828-I/P itself with -E extended temperature grade, or the PIC16F1828-E/P variant for -40 °C to +125 °C operation. For reduced cost where some peripherals are unused, PIC16F1827-I/P provides pin compatibility with more RAM. All parts share the same 20-pin PDIP through-hole package and identical pinout per the Microchip 41419A datasheet, allowing direct PCB swap.
Is PIC16F1828 pin-compatible with PIC16F1826 or PIC16F1825?
Yes, the PIC16F1826 and PIC16F1825 share the same 20-pin PDIP pinout as the PIC16F1828. According to the Microchip PIC16F182x family datasheet, the 1825/1826/1828 are pin-compatible with different Flash/RAM options: 1825 has 14 KB Flash, 1826 has 8 KB Flash, and 1828 has 7 KB Flash. All three share the same enhanced mid-range core, 32 MHz HFINTOSC, and 12 I/O pins, making them drop-in compatible for designs with code-size flexibility.
Where to download PIC16F1828 datasheet PDF?
The official PIC16F1828 datasheet (document 41419A) is freely available at https://ww1.microchip.com/downloads/en/DeviceDoc/41419A.pdf. The datasheet covers the PIC12F1822/PIC16F182x family and includes pinout diagrams, electrical characteristics, peripheral descriptions, and programming specifications. Errata documents and additional application notes are also accessible via the official Microchip product page at https://www.microchip.com/en-us/product/PIC16F1828.
Where to find PIC16F1828-I/P pinout diagram?
The PIC16F1828-I/P 20-pin PDIP pinout is documented in the Microchip 41419A datasheet, with pin 1 marked at the top-left of the package when oriented with the notch up. Pin 1 is RA5/DT/CWG1A, pin 10 is VSS, and pin 20 is VDD. The XAIPART product page also renders the pinout SVG via the dip-20 package diagram. For development board pinout, the AC244043 debug header maps to specific pins per Microchip's debugger documentation.
Hey Google, what is the equivalent of PIC16F1828 from a different manufacturer?
There is no true pin-compatible drop-in equivalent of the PIC16F1828 from a competing manufacturer in the same 20-pin PDIP footprint. Cross-brand alternatives exist but require PCB redesign: the Atmel/Microchip ATmega328P-PU (28-pin PDIP, AVR core) covers similar use cases with more Flash, and the STM8S003F3P6 (20-pin TSSOP) from STMicroelectronics offers comparable 8-bit performance in a different package. For seamless migration, designers typically move within the PIC16F182x family rather than across architectures.
What are the key specifications of PIC16F1828-I/P that should I know?
The PIC16F1828-I/P delivers 7 KB Flash, 256 bytes RAM, 256 bytes EEPROM, 32 MHz CPU clock, 12 I/O pins, 1.8 V to 5.5 V VDD, and -40 °C to +85 °C industrial temperature in a 20-pin PDIP package. Per the Microchip 41419A datasheet, the part integrates mTouch capacitive sensing, 2 ECCP + 2 CCP PWM, MI2C/SPI/EUSART, 6-channel 10-bit ADC, and nanoWatt XLP technology. Three headline numbers for engineers: 7 KB Flash, 32 MHz, and nanoWatt XLP sleep currents below 50 nA.

Engineering reference data for PIC16F1828-I/P — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16F1828-I/P when you need a 7 KB Flash, 256-byte RAM, 12-I/O 8-bit PIC microcontroller in a 20-pin PDIP through-hole package for prototype or low-volume production. Pick PIC16F1824-I/P if you only need 4 KB Flash (lower cost, same footprint). Pick PIC16F1826-I/P or PIC16F1825-I/P for code growth headroom (8 KB and 14 KB respectively). Pick PIC16F1827-I/P if your firmware requires 512 bytes RAM or more I/O. Pick PIC16F1828-E/P for automotive or industrial extended-temperature (-40 °C to +125 °C) applications. For cross-architecture migration, consider ATmega328P-PU (AVR) or STM8S003F3P6 (STM8), but note these require PCB redesign due to different pinouts and packages.

Comparison with Alternatives

Parameter This Product PIC16F1828-E/P PIC16F1827-I/P PIC16F1826-I/P PIC16F1825-I/P PIC16F1824-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 20-pin PDIP 20-pin PDIP - same 20-pin PDIP - same 20-pin PDIP - same 20-pin PDIP - same 20-pin PDIP - same
Flash Program Memory 7 KB (4K x 14) 7 KB 7 KB 8 KB 14 KB 4 KB
RAM 256 B 256 B 512 B 512 B 512 B 256 B
I/O Pins 12 12 16 16 16 12
Maximum CPU Frequency 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz
Operating Temperature -40 °C to +85 °C (industrial) -40 °C to +125 °C (extended) -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C
mTouch Capacitive Sensing Yes Yes Yes Yes Yes Yes

Key Differentiators

  • Same-package Flash upgrade option within family (vs PIC16F1826-I/P)
  • Larger RAM option in same package (vs PIC16F1827-I/P)
  • Extended temperature option in same package (vs PIC16F1828-E/P)
  • Highest Flash density in 20-pin PDIP (vs PIC16F1825-I/P)

Design Notes

The PIC16F1828-I/P operates from 1.8 V to 5.5 V on the VDD pin (pin 20). Place a 100 nF ceramic bypass capacitor within 5 mm of the VDD/VSS pins to suppress digital switching noise on the analog reference. Add a 10 µF bulk capacitor at the board supply entry to handle inrush during sleep-to-active transitions. Do not exceed the absolute-maximum VDD rating of 6.5 V to avoid latch-up. For battery life optimization, leverage the nanoWatt XLP Sleep mode (typical current below 50 nA) and wake on interrupt from mTouch or comparator modules.

The 20-pin PDIP package has a 2.54 mm pin pitch and supports through-hole assembly with wave soldering or hand-soldering. Route the ICSP clock and data pins (RA1/ICSPCLK and RA0/ICSPDAT) to a 6-pin header for PICkit 3 or MPLAB ICD 3 in-circuit debug. Keep analog input traces (RA0-RA3, RC3-RC7, RB6-RB7) short and guarded by ground traces to minimize digital-to-analog coupling. PCI14 is best paired with a low-impedance ground plane for clean ADC readings.

Do not forget the MCLR pull-up resistor on pin 3 (RA3/MCLR/VPP) - a 10 kΩ pull-up to VDD is required for normal operation, and the pin must be brought low only for external reset or ICSP programming. Do not exceed the absolute-maximum VDD rating of 6.5 V. When migrating from PIC16F1828-I/P to PIC16F1824-I/P, note the Flash size reduction (4 KB vs 7 KB) which may require code optimization. The 32 MHz HFINTOSC accuracy is typically ±1% over the industrial temperature range - use an external crystal if higher accuracy is required for UART communication.

Route VDD with wide, short traces to minimize voltage drop during high-current transients. Place the ICSP connector at the board edge for easy debug access, with RA0/RA1 routed to the ICSP header with short traces to avoid signal integrity issues. The mTouch capacitive sensing traces should be kept short and shielded to avoid crosstalk; place a ground guard ring around each touch pad for better noise immunity. For high-impedance analog inputs, minimize trace length and avoid routing near PWM output traces.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS and REACH compliant per Microchip product page. PDIP package is lead-free (Pb-free) and halogen-free. AEC-Q100 qualification not applicable for industrial temperature grade; choose PIC16F1828-E/P for AEC-Q100-grade automotive applications.

Data verified on: 2026-09-20 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC16F1828-I/P PIC16F1828-I/P datasheet Microchip PIC16F1828 PIC16F1828 20-pin PDIP MCU PIC16F1828-I/P price PIC16F1828 vs PIC16F1827 8-bit PIC microcontroller 7KB Flash PIC16F1828 capacitive touch mTouch PIC16F1828 nanoWatt XLP sleep current PIC16F1828-I/P pinout 20-pin PDIP PIC16F1828-I/P drop-in replacement what is the flash size of PIC16F1828 PIC16F1828-I/P buy online low power 8-bit MCU battery powered

Related Components & Terms

Microchip Technology PIC16F1828 PIC16F1828-I/P PIC16F1828-E/P PIC16F1827-I/P PIC16F1826-I/P PIC16F1825-I/P PIC16F1824-I/P PIC16F1828-I/SO PIC16F1828T-E/ML MCU microcontroller 8-bit PIC enhanced mid-range core nanoWatt XLP mTouch capacitive sensing PDIP-20 RoHS REACH AEC-Q100 PWM EUSART MI2C SPI ADC
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details