PIC16F1828T-I/SO - 8-bit XLP MCU 7KB Flash 32MHz 20-SOIC | Microchip
MPN: PIC16F1828T-I/SO β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.62 | $1.62 |
| 10 | $1.49 | $14.90 |
| 100 | $1.3 | $130.00 |
| 500 | $1.18 | $590.00 |
| 1,000 | $1.04 | $1,040.00 |
PIC16F1828T-I/SO Overview
An 8-bit microcontroller (MCU) is a single-chip computer that combines a CPU, non-volatile program memory (Flash), volatile data memory (RAM), and configurable peripherals around a compact instruction set. Within the broader taxonomy it sits under microcontroller -> embedded controller -> integrated circuit -> semiconductor. PIC16F1xxx family parts extend the legacy PIC16 mid-range architecture with enhanced peripherals, nanoWatt XLP sleep modes, and mTouch capacitive sensing, making them suitable for ultra-low-power and human-interface designs.
Key features of the PIC16F1828 include twelve I/O pins, an internal oscillator accurate to within +/-2% across voltage and temperature, a 10-bit ADC with computation (ADC2), up to four PWM modules, two comparators, EUSART, I2C and SPI peripherals, and a hardware Capacitive Voltage Divider (CVD) module for touch sensing. The XLP energy-managed design supports sleep currents down to the nanoampere range and active currents in the microampere range, enabling years of battery life on coin cells.
Typical applications for this part include capacitive touch user interfaces (keypads, sliders, proximity sensors), battery management and remote sensor nodes, home automation and IoT endpoints, low-power metering, and consumer appliances requiring mixed signal and human interface integration. The 20-SOIC footprint is hand-solderable and friendly to through-hole-style prototype boards while still being reflow-compatible for SMT production.
When designing with this part, choose decoupling and VDD/VSS placement to minimize ADC reference noise, since the same ADC serves both measurement and touch acquisition. For capacitive sensing, route the CVD guard rings and shield layers per the mTouch design guide to preserve baseline stability across temperature.
Drop-in alternatives for PIC16F1828T-I/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 PIC16F1828T-I/SO (same form factor and footprint) β differing in Package, ADC, Program Memory (Flash), Operating Temperature, Core Architecture.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
No drop-in alternatives available for this product.
Request AlternativesPIC16F1828T-I/SO Maximum Ratings & Electrical Characteristics
| Family | PIC16F1828 |
| Core Architecture | PIC 8-bit enhanced mid-range |
| Maximum CPU Frequency | 32 MHz |
| Program Memory (Flash) | 7 KB (4K x 14 words) |
| Data Memory (RAM) | 256 bytes |
| Data EEPROM | 256 bytes |
| I/O Pins | 12 |
| Supply Voltage (VDD) | 2.5 V to 5.5 V (F-series) |
| Internal Oscillator | 31 kHz to 32 MHz, software-selectable |
| ADC | 10-bit, up to 12 channels with ADC2 (computation) |
| PWM Modules | Up to 4 (10-bit) |
| Comparators | 2 |
| Communication Peripherals | EUSART, I2C/SPI, MSSP |
| Capacitive Touch (mTouch) | Yes (CVD-based) |
| nanoWatt XLP | Yes |
| Timers | 0x8-bit Timer0, 0x16-bit Timer1, Timer2 (8-bit) |
| Operating Temperature | -40C to +85C (industrial) |
| Package | 20-pin SOIC (SO), 7.50 mm body width |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC16F1828T-I/SO Pin Configuration
| Pin 1 | VDD β Positive supply voltage (2.5-5.5 V) |
| Pin 2 | RA5 β Digital I/O / ICSP programming clock |
| Pin 3 | RA4 β Digital I/O / ICSP programming data |
| Pin 4 | RA3/MCLR β Digital I/O or Master Clear (reset) input |
| Pin 5 | RC5 β Digital I/O / CCP |
| Pin 6 | RC4 β Digital I/O |
| Pin 7 | RC3 β Digital I/O / SCL (I2C) / SCK (SPI) |
| Pin 8 | RC6 β Digital I/O / TX (EUSART) |
| Pin 9 | RC7 β Digital I/O / RX (EUSART) |
| Pin 10 | RB7 β Digital I/O / ICSP ICDCLK |
| Pin 11 | RB6 β Digital I/O / ICSP ICDDAT |
| Pin 12 | RB5 β Digital I/O / AN11 |
| Pin 13 | RB4 β Digital I/O / AN10 |
| Pin 14 | RC2 β Digital I/O / AN8 / DAC reference |
| Pin 15 | RC1 β Digital I/O / AN7 |
| Pin 16 | RC0 β Digital I/O / AN6 |
| Pin 17 | RA2 β Digital I/O / AN2 |
| Pin 18 | RA1 β Digital I/O / ICSPCLK / OSCI |
| Pin 19 | RA0 β Digital I/O / ICSPDAT / OSCO |
| Pin 20 | VSS β Ground reference |
Typical Applications
PIC16F1828T-I/SO is suitable for 6 applications: Capacitive Touch User Interface, Battery-Powered IoT Sensor Node, Home Automation Lighting Control, Industrial Control and Sensing, Consumer Appliance UI Board, Hobby Electronics and Education.
Capacitive Touch User Interface
The PIC16F1828T-I/SO is purpose-built for capacitive touch user interfaces via its integrated mTouch CVD module. The hardware CVD can directly drive up to 12 touch electrodes on its I/O pins, eliminating the need for an external touch controller. With 7 KB Flash and 256 bytes RAM, the device is sized to run touch scanning state machines, baseline-tracking algorithms, and I2C-keyboard-style output. The XLP sleep modes keep idle touch-scanning power in the microampere range, making the part well-suited for white-goods keypads, appliance sliders, and proximity-sensing panels. Pair with the PIC18F MCU for a master controller if handoff to higher-level processing is required.
Recommended
Battery-Powered IoT Sensor Node
The PIC16F1828T-I/SO fits wireless sensor nodes that must operate for years on a coin cell. The XLP architecture provides sub-microampere sleep currents and fast wake-up from the internal 31 kHz LFINTOSC. The 10-bit ADC2 with computation peripheral performs oversampling and averaging in hardware, offloading the CPU during sleep-to-measure-to-transmit cycles. EUSART or I2C connects to a sub-GHz or BLE companion radio. The 2.5-5.5 V range covers both single-AA and single-CR2032 topologies with regulator headroom.
Recommended
Home Automation Lighting Control
For wall-switch or smart-bulb controls, the PIC16F1828T-I/SO provides the right mix of analog and digital peripherals. The 12 I/O pins connect directly to zero-cross detectors, triac/MOSFET gate drivers, and a capacitive touch or rotary sensor. The four 10-bit PWM channels can dim LED loads directly or trigger external driver stages. The 2.5-5.5 V supply range accommodates rectified mains-derived rails, and the -40C to +85C industrial range covers in-wall temperature extremes. Wirelessly, EUSART or I2C passes control commands to a companion BLE/Zigbee radio.
Recommended
Industrial Control and Sensing
In factory automation the PIC16F1828T-I/SO is sized for sensor-conditioning front ends, fan controllers, and small actuator drivers. Its 10-bit ADC2 with computation allows hardware accumulation for thermocouple or RTD signal chains, while the two on-chip comparators support threshold trips or window detection. EUSART in RS-485 mode (with external transceiver) supports 4-20 mA loop or Modbus RTU. The 32 MHz CPU and 7 KB Flash accommodate modest PID loops and state-machine firmware.
Recommended
Consumer Appliance UI Board
Coffee makers, microwaves, induction cooktops, and washing machines commonly use the PIC16F1828T-I/SO for the user-interface PCB. The mTouch channels accept glass-overlay touch buttons, the 10-bit ADC reads thermistor inputs, and the PWM outputs drive buzzers or relay coils. The 20-SOIC package is hand-solderable for low-volume serviceability. Combined with a host MCU on the power board, the part serves as a low-cost UI coprocessor over I2C.
Recommended
Hobby Electronics and Education
The PIC16F1828T-I/SO is a popular choice for hobbyists and university curricula due to its affordable price (under $2 at qty 1 as of 2026-09-20), 20-SOIC package that is breadboard-friendly, and full MPLAB X / PICkit 3 support. Students learn 8-bit assembly and XC8 C programming on a real industrial MCU rather than a toy platform. The mTouch peripherals and ADC2 make it a versatile teaching vehicle for mixed-signal and human-interface design.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1828T-I/SO β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1828-I/SO | PIC16F1828-E/SO | PIC16F1829-I/SO | PIC16F1827T-I/SO | PIC16F1826T-I/SO | PIC16F1788T-I/SS |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-SOIC (7.50 mm) | 20-SOIC (7.50 mm) - same | 20-SOIC (7.50 mm) - same | 20-SOIC (7.50 mm) - same | 20-SOIC (7.50 mm) - same | 20-SOIC (7.50 mm) - same | 20-SOIC (7.50 mm) - same |
| Flash Memory | 7 KB | 7 KB | 7 KB | 14 KB | 4 KB | 2 KB | 28 KB |
| RAM | 256 B | 256 B | 256 B | 1 KB | 128 B | 128 B | 2 KB |
| Maximum CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| I/O Pins | 12 | 12 | 12 | 12 | 12 | 12 | 17 |
| Operating Temperature | -40C to +85C (industrial) | -40C to +85C | -40C to +125C (extended) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| mTouch Capacitive Sensing | Yes (CVD, up to 12 channels) | Yes (CVD) | Yes (CVD) | Yes (CVD) | Yes (CVD) | Yes (CVD) | Yes (CVD) |
| Unit Price (qty 1, USD) | 1.62 | 1.62 | 1.85 | 1.89 | 1.45 | 1.38 | 2.05 |
Key Differentiators
- Smallest 20-pin member of the PIC16F1828 family (vs PIC16F1829-I/SO)
- Integrated mTouch CVD capacitive sensing hardware (vs PIC16F1786-I/SS)
- Larger memory than the PIC16F1827T-I/SO at minimal cost premium (vs PIC16F1827T-I/SO)
- Higher temperature option available in same footprint (vs PIC16F1828-I/SO)
Design Notes
The PIC16F1828T-I/SO supports nanoWatt XLP modes including doze, idle, and sleep. For battery applications, configure the CPU to wake via RTCC, IOC, or watchdog and return to sleep immediately after EUSART/SPI transmissions. Estimated: at 32 kHz LFINTOSC with all peripherals off, sleep current is in the low-microampere range per the Microchip PIC16F/LF1824/1828 datasheet. Place a 0.1 uF decoupling capacitor within 3 mm of the VDD pin and a bulk 1-10 uF cap on the supply rail.
Route the ICSP pins (RA4/RA5 for ICSPCLK/ICSPDAT, plus MCLR) to a 5-pin in-circuit programming header so the board can be re-flashed and debugged without removing the IC. For mTouch designs, follow the AN1478 design guide: place a grounded guard ring around each touch electrode, minimize trace-to-trace capacitance, and add a series resistor (typically 1-10 kohm) between the pin and the electrode to improve ESD immunity.
Common pitfalls include (1) forgetting the CONFIG words - the PIC16F1828 ships with unprogrammed configuration, so FOSC, WDTE, and LVP bits must be set explicitly in code; (2) using RA0/RA1 as general-purpose I/O without disabling ICSP - the ICSPDAT/ICSPCLK functions share these pins and must be unblocked by LVP=OFF; (3) misreading ADC channels when the same pin doubles as a touch channel - the CVD logic can disturb the ADC SAR; sequence touch and ADC acquisitions separately. The MCLR pin must be tied to VDD through a 10 kohm pull-up if not used as a reset.
For accurate ADC2 readings, keep analog traces short and away from switching nodes such as PWM outputs and EUSART lines. The on-chip ADC references include a fixed 1.024 V, 2.048 V, 4.096 V bandgap that can be routed internally. Enable ADC2 computation for hardware oversampling at the cost of acquisition time. For EUSART RS-485 links, add 120 ohm termination at the line ends and bias the bus idle state with a fail-safe resistor network.
Compliance Information
RoHS and REACH compliance per Microchip product page. Not AEC-Q100 qualified - choose PIC16F1828-E/SO (extended temperature) for harsh industrial environments.