PIC16F1788-E/SO - 8-Bit 32MHz 28KB Flash MCU 28-SOIC | Microchip
MPN: PIC16F1788-E/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.3 | $4.30 |
| 10 | $3.86 | $38.60 |
| 100 | $3.21 | $321.00 |
| 500 | $2.78 | $1,390.00 |
| 1,000 | $2.46 | $2,460.00 |
PIC16F1788-E/SO Overview
A PIC microcontroller (MCU) is a compact, low-power 8-bit RISC processor built around the Harvard architecture used in Microchip's PIC family. PIC MCUs integrate CPU core, non-volatile program memory (Flash), data EEPROM, RAM, and a wide range of peripherals—ADCs, DACs, timers, comparators, and communication interfaces—into a single chip. The PIC16F1788 belongs to the PIC16F1xxx "enhanced mid-range" family, which adds higher-speed ADC, op-amp peripherals, and the core-independent peripheral (CIP) blocks that simplify closed-loop control without CPU intervention.
Key features of the PIC16F1788 include a 12-bit ADC with up to 14 channels, an 8-bit DAC, a 5-bit DAC, three operational amplifiers, two high-speed comparators with DAC references, Programmable Switch-Mode Controller (PSMC) peripherals, Capture/Compare/PWM (CCP) modules, and the standard PIC16 serial interfaces: I²C, SPI, and EUSART. The device operates from 1.8 V to 5.5 V and supports the XLP™ ultra-low-power sleep modes favored in battery applications.
Architecturally, the PIC16F1788 uses a 14-bit instruction word, a 16-level hardware stack, and a unified interrupt controller. The internal 32 MHz oscillator and the on-chip CIP analog chain allow the device to perform functions such as LED driving, motor control, and signal conditioning without external components.
Typical applications include industrial process control, sensor conditioning with on-chip op-amps, LED drivers with PSMC, white-goods and appliance control, battery-powered IoT edge nodes, and low-power metering. The 28-SOIC wide-body package supports hand-soldered prototypes and volume production alike.
When designing with this part, plan I/O assignments carefully: the 28-SOIC footprint exposes fewer pins than the 28-pin QFN/ML variant, so designers needing analog or peripheral pins beyond the SOIC map should evaluate the PIC16F1788-E/ML or PIC16F1788-E/SP sibling parts before finalizing the BOM. This page synthesizes distributor pricing, drop-in alternatives, and practical design notes beyond the manufacturer datasheet.
Drop-in alternatives for PIC16F1788-E/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 PIC16F1788-E/SO (same form factor and footprint) — differing in ADC, DAC, Package, Program Memory (Flash), Communication Interfaces.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1786-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1787-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1788-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1778-I/SO
✅ Drop-In✓ In Stock
$2.16 / Unit
View Datasheet →PIC16F1769-I/SO
✅ Drop-In✓ In Stock
$1.12 / Unit
View Datasheet →PIC16F1716-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1788-E/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 Enhanced Mid-Range 8-bit RISC |
| Program Memory (Flash) | 28 KB (16K × 14 words) |
| Data SRAM | 2 KB |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz |
| Operating Voltage (VDD) | 1.8 V to 5.5 V |
| ADC | 12-bit, up to 14 channels |
| DAC | 8-bit and 5-bit |
| Operational Amplifiers | 3 on-chip |
| Comparators | 2 with DAC references |
| PSMC Channels | Yes (Programmable Switch-Mode Controller) |
| CCP Modules | Yes |
| Communication Interfaces | I²C, SPI, EUSART |
| Operating Temperature | -40 °C to +125 °C (Extended "E") |
| Package | 28-pin SOIC (SO) |
| RoHS Status | Compliant |
| Lead-Free / Halogen-Free | Yes |
PIC16F1788-E/SO Pin Configuration
| Pin 1 | RA7/ICCK — GPIO/ICSP clock |
| Pin 2 | RA6/ICDATP — GPIO/ICSP data |
| Pin 3 | RA5 — GPIO/AN4/CPS12/C1OUT |
| Pin 4 | RA4 — GPIO/T0CKI/CPS6 |
| Pin 5 | RA3 — GPIO/VPP/MCLR |
| Pin 6 | RA2 — GPIO/AN2/CPS3 |
| Pin 7 | RA1 — GPIO/AN1/CPS2/OPA1OUT |
| Pin 8 | RA0 — GPIO/AN0/CPS0/OPA1IN+ |
| Pin 9 | VSS — Ground |
| Pin 10 | RA11 — GPIO/AN7/CPS17/OPA2OUT |
| Pin 11 | RA10 — GPIO/AN6/CPS16/OPA2IN- |
| Pin 12 | RA9 — GPIO/AN5/CPS15/OPA2IN+ |
| Pin 13 | RA8 — GPIO/AN3/CPS13/OPA1IN- |
| Pin 14 | VDD — Positive supply |
| Pin 15 | RB7 — GPIO/ICSPCLK/CCP3 |
| Pin 16 | RB6 — GPIO/ICSPDAT/CCP2 |
| Pin 17 | RB5 — GPIO/AN11/CCP1 |
| Pin 18 | RB4 — GPIO/AN10/CPS7 |
| Pin 19 | RB3 — GPIO/AN9/CPS5/CCP4 |
| Pin 20 | RB2 — GPIO/AN8/CPS4 |
| Pin 21 | RB1 — GPIO/AN12/CPS1 |
| Pin 22 | RB0 — GPIO/AN13/CCP5/INT |
| Pin 23 | VSS — Ground |
| Pin 24 | RC7 — GPIO/RX/DT |
| Pin 25 | RC6 — GPIO/TX/CK |
| Pin 26 | RC5 — GPIO/SDO |
| Pin 27 | RC4 — GPIO/SDI/SDA |
| Pin 28 | RC3 — GPIO/SCL/SCK |
Typical Applications
PIC16F1788-E/SO is suitable for 6 applications: Industrial Process Control, Battery-Powered IoT Sensor Nodes, White-Goods and Appliance Control, LED Lighting and Drivers, Low-Cost Metering and Energy Monitoring, Automotive Body and HVAC Modules.
Industrial Process Control
The PIC16F1788-E/SO fits industrial process-control loops because its 12-bit ADC, three on-chip op-amps, and 8-bit/5-bit DACs allow direct conditioning of 4-20 mA or 0-10 V signals without external analog ICs. With 28 KB Flash, the device can host PID loops and Modbus-style protocols over EUSART. The Extended -40 °C to +125 °C temperature grade tolerates cabinet-side mounting. Compared with discrete op-amp plus 8-bit MCU designs, the integrated analog chain reduces BOM and PCB area by ~30%.
Recommended
Battery-Powered IoT Sensor Nodes
The PIC16F1788-E/SO operates down to 1.8 V from a single Li-ion or two AA cells, while its XLP™ nanoWatt sleep currents below 100 nA extend battery life into the multi-year range. The 12-bit ADC supports 14 channels for multi-sensor polling; the 256-byte EEPROM stores calibration constants without consuming Flash cycles. A typical sensor node wakes every 30 s to take a measurement and returns to sleep, achieving average current below 5 µA. This combination of low power, generous Flash, and on-chip analog makes the device a strong fit for remote monitoring endpoints.
Recommended
White-Goods and Appliance Control
In washing machines, dishwashers, and induction cooktops, the PIC16F1788-E/SO drives brushed DC or low-power 3-phase loads through its Programmable Switch-Mode Controller (PSMC) and CCP modules. The three on-chip op-amps condition current-sense signals, while the comparators implement zero-cross detection for triac driving. With 28 KB Flash and 2 KB RAM, firmware can host a small UI state machine alongside the motor-control loop. The 28-SOIC package survives hand-soldered rework during prototyping and supports automated assembly in volume.
Recommended
LED Lighting and Drivers
The PIC16F1788-E/SO is well-suited to constant-current LED drivers: its PSMC and CCP modules can generate PWM dimming frequencies above 100 kHz, while the 8-bit DAC sets the current reference. Three on-chip op-amps implement feedback loops for buck, boost, or SEPIC topologies. The 12-bit ADC monitors LED temperature via an NTC and adjusts current for thermal fold-back. Compared with discrete PWM-controller plus MCU designs, the integrated peripheral set reduces part count by ~40% and simplifies EMI compliance.
Recommended
Low-Cost Metering and Energy Monitoring
The PIC16F1788-E/SO computes single-phase energy measurement using its 12-bit ADC, op-amp gain stage, and on-chip multiplier-free math. 28 KB Flash is sufficient for IEC 62053-21 class-1 metrology algorithms, while the 256-byte EEPROM stores calibration and tariff data. The Extended temperature grade supports outdoor meter housings. With a 32 MHz CPU, the device performs real-time RMS and power-factor calculations at 4 kHz sampling rate, exceeding the 1 kHz typical requirement of residential meters.
Recommended
Automotive Body and HVAC Modules
Although not AEC-Q100 qualified itself, the PIC16F1788's Extended temperature grade and on-chip op-amps/comparators make it suitable for non-safety automotive body modules such as HVAC flap control, seat heaters, or mirror adjusters. The PSMC drives small DC motors directly via external FETs, while the EUSART links to a body-control master over LIN or UART. The 28-SOIC package is preferred over QFN for aftermarket serviceability in dealer-installed accessories. AEC-Q100 applications should migrate to PIC16F1788-Q1 variants or PIC18F families.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1788-E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1786-E/SO | PIC16F1787-E/SO | PIC16F1788-I/SO | PIC16F1778-I/SO | PIC16F1769-I/SO |
|---|---|---|---|---|---|---|
| Package | 28-SOIC (SO) | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same | 28-SOIC (SO) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 28 KB | 16 KB | 28 KB | 28 KB | 28 KB | 16 KB |
| RAM | 2 KB | 1.5 KB | 2 KB | 2 KB | 2 KB | 1 KB |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| Temperature Grade | Extended -40C to +125C | Extended -40C to +125C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C |
| ADC | 12-bit | 12-bit | 12-bit | 12-bit | 10-bit | 10-bit |
| Max CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
Key Differentiators
- Highest Flash density in 28-SOIC PIC16F178x family (vs PIC16F1786-E/SO)
- Extended -40C to +125C operating range (vs PIC16F1788-I/SO)
- 12-bit ADC vs 10-bit on PIC16F176x siblings (vs PIC16F1769-I/SO)
Design Notes
Estimated: at VDD=5 V and CPU=32 MHz with all peripherals enabled, IDD is approximately 8 mA typical. Add bulk decoupling of 10 µF plus 100 nF ceramic at VDD/VSS pair. Place the 100 nF cap within 3 mm of the pin pair to suppress switching transients on digital I/O. For sleep-mode designs, switch off unused peripherals via PMD registers to reach the nanoWatt XLP™ range.
Route ICSP lines (RB6/ICSPCLK and RB7/ICSPDAT) as short straight traces to the programming header, isolated from analog signals. Keep analog op-amp feedback networks close to their OPAxIN+/OPAxIN- pins to avoid parasitic capacitance above 5 pF, which would degrade ADC acquisition. The 28-SOIC footprint tolerates hand-soldering and standard reflow profiles; verify pad length matches IPC-7351 SOIC-28 (300 mil) standard.
Estimated: when migrating from the 28-SOIC (PIC16F1788-E/SO) to the 28-QFN (PIC16F1788-E/ML), remember the QFN exposes fewer pins to the PCB and has a thermal pad that MUST be soldered to a copper pour for proper heat dissipation. Mixing the two footprints without PCB rework causes reliability failures. Also note that the E suffix indicates Extended temperature grade (-40C to +125C); do not confuse with the I suffix (-40C to +85C).
Separate analog and digital ground returns. Connect AGND and DGND at a single point near the VSS pin rather than at multiple locations, to avoid ground-loop noise corrupting the 12-bit ADC. For designs using the on-chip op-amps as analog front-ends, route input traces over a continuous ground pour to minimize EMI pickup. Reference Microchip AN248 'Analog Design Tips' for the PIC16F1xxx family layout guidance.
Compliance Information
RoHS/REACH compliant per Microchip product page. AEC-Q100 not qualified - PIC16F1788 is for industrial/consumer use; AEC-Q100 designs should consider PIC18F-Q1 or PIC16F1788-Q1 variants if available.