PIC16F15345-I/GZ - 32MHz 8-bit MCU, 14KB Flash, 20-UQFN | Microchip
MPN: PIC16F15345-I/GZ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.05 | $1.05 |
| 10 | $0.95 | $9.50 |
| 100 | $0.85 | $85.00 |
| 500 | $0.74 | $370.00 |
| 1,000 | $0.65 | $650.00 |
PIC16F15345-I/GZ Overview
What is a PIC16 microcontroller? The PIC16 is a family of 8-bit microcontrollers from Microchip Technology built on a RISC Harvard architecture. PIC microcontrollers sit within the broader taxonomy of microcontroller (MCU) -> embedded controller -> semiconductor IC, and the PIC16 family specifically targets cost-sensitive, low-power, and peripheral-rich applications requiring deterministic real-time performance. The 'F' prefix denotes Flash program memory, and the XLP (eXtreme Low Power) designation signals sub-uA sleep currents suitable for battery-powered designs.
Key features include eXtreme Low-Power (XLP) technology with sleep currents as low as ~30 nA typical, Core Independent Peripherals (CIPs) such as the CWG and configurable logic cells that offload tasks from the CPU, and Intelligent Analog peripherals including a 10-bit ADC with computation, two comparators, and a 5-bit DAC. The 32 MHz internal oscillator eliminates the need for an external resonator in many designs.
Technical depth: the PIC16F15345 uses a 14-bit instruction word and supports up to 49 instructions with hardware multiply. The device operates from 2.5V to 5.5V and is offered in industrial (-40C to +85C, I-suffix) and extended (-40C to +125C, E-suffix) temperature grades. Memory includes 14 KB Flash, 1 KB SRAM, and 256 bytes of EEPROM, with internal self-programmability for bootloader-style firmware updates.
Typical applications include IoT sensor nodes, LED lighting controllers, battery-powered consumer devices, low-end motor and fan control, and human-interface nodes (HMI buttons/knobs) where the CWG simplifies drive waveforms. The wide operating voltage and low sleep current make it well-suited for energy-harvesting or always-on edge devices.
Design consideration: when migrating from larger PIC16 packages to this 20-UQFN, ensure the PCB land pattern matches the 4x4 mm UQFN footprint and that the exposed thermal pad is soldered to a continuous ground pour for thermal dissipation. Decoupling: place a 100 nF ceramic capacitor within 3 mm of each VDD pin and a bulk capacitor (1-10 uF) on the main supply rail.
This page synthesizes distributor pricing, drop-in alternatives in the same 20-UQFN footprint, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC16F15345-I/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 PIC16F15345-I/GZ (same form factor and footprint) — differing in ADC, Core Architecture, DAC, Package, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F15345-E/GZVAO
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16F15345-E/SS
✅ Drop-In✓ In Stock
$1.05 / Unit
View Datasheet →PIC16F15344-I/GZ
✅ Drop-In✓ In Stock
$1.12 / Unit
View Datasheet →PIC16F15344-I/SS
✅ Drop-In✓ In Stock
$0.79 / Unit
View Datasheet →PIC16F15345-I/GZ Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC RISC (Harvard), 14-bit instruction word |
| Maximum CPU Frequency | 32 MHz (8 MIPS) |
| Program Memory (Flash) | 14 KB (8192 x 14 words) |
| Data SRAM | 1 KB |
| EEPROM | 256 bytes |
| Operating Voltage Range | 2.5 V to 5.5 V |
| I/O Pins | 18 (of 20 package pins) |
| ADC | 10-bit, up to 14 channels (with ADC2 computation) |
| PWM Channels | 4 (10-bit) |
| Comparators | 2 |
| DAC | 5-bit, 2 channels |
| Communication | 2x EUSART, SPI, I2C |
| Timers | 3x 8-bit, 2x 16-bit |
| CWG (Complementary Waveform Generator) | Yes (Core Independent Peripheral) |
| CLC (Configurable Logic Cell) | Yes (CIPs) |
| Package | 20-pin UQFN (4x4 mm) with exposed pad |
| Mounting Type | Surface Mount |
| Operating Temperature | -40 C to +85 C (industrial, I suffix) |
| RoHS Status | Compliant |
PIC16F15345-I/GZ Pin Configuration
| Pin 1 | RA5 — Bidirectional I/O / ADC / CLC |
| Pin 2 | RA4 — Bidirectional I/O / ADC |
| Pin 3 | RA3 — Bidirectional I/O / VPP / MCLR (selected by configuration) |
| Pin 4 | RA2 — Bidirectional I/O / ADC / DAC reference |
| Pin 5 | RA1 — Bidirectional I/O / ADC / comparator |
| Pin 6 | RA0 — Bidirectional I/O / ADC / ICSPDAT |
| Pin 7 | VSS — Ground reference |
| Pin 8 | RA7 — Bidirectional I/O / ADC |
| Pin 9 | RA6 — Bidirectional I/O / ADC |
| Pin 10 | RC0 — Bidirectional I/O / ADC |
| Pin 11 | RC1 — Bidirectional I/O / ADC / comparator |
| Pin 12 | RC2 — Bidirectional I/O / ADC |
| Pin 13 | RC3 — Bidirectional I/O / ADC / SCL |
| Pin 14 | RC4 — Bidirectional I/O / ADC / SDA |
| Pin 15 | RC5 — Bidirectional I/O / ADC |
| Pin 16 | RC6 — Bidirectional I/O / ADC |
| Pin 17 | RC7 — Bidirectional I/O / ADC |
| Pin 18 | RB7 — Bidirectional I/O / ADC / PWM |
| Pin 19 | VDD — Positive supply (2.5V to 5.5V) |
| Pin 20 | RB5 — Bidirectional I/O / ADC / PWM |
Typical Applications
PIC16F15345-I/GZ is suitable for 6 applications: Battery-Powered IoT Sensor Node, LED Lighting and Dimmer Control, Low-End Motor and Fan Control, Human-Machine Interface (HMI) Nodes, Consumer Battery Charging and Monitoring, Industrial Sensor Transmitters.
Battery-Powered IoT Sensor Node
The PIC16F15345-I/GZ fits battery-powered IoT sensor nodes through its XLP Sleep mode (~30 nA typical at 3V), 32 MHz HFINTOSC that wakes in microseconds, and 14 KB Flash supporting sensor fusion, BLE-protocol command stacks, or LoRaWAN-like duty-cycled MAC layers. Its 10-bit ADC with ADC2 computation provides oversampling and threshold detection without CPU wake-up, and the CWG can drive an indicator piezo or LED with zero software overhead. Compared to a 16-bit Cortex-M0+ at the same price tier, the PIC16F15345 typically wins on sleep current and BOM (no external crystal needed) at the cost of instruction density. Place the device with a single 100 nF decoupling cap and a 10 uF bulk cap; ground the exposed UQFN pad with at least 4 thermal vias for reliable high-current pulse loads.
Recommended
LED Lighting and Dimmer Control
The PIC16F15345-I/GZ is well suited to LED dimmers and color-mixing drivers because its Complementary Waveform Generator (CWG) produces complementary PWM outputs with programmable dead-band for half-bridge FET drive, and its 4 PWMs support RGBW or dual-channel constant-current topologies. The 5-bit DAC and two comparators enable closed-loop current regulation with hardware overcurrent shutdown, bypassing CPU latency. The 32 MHz core runs a PID loop on ADC feedback at sub-millisecond update rates, sufficient for high-end architectural dimmers. In production designs, the device typically replaces discrete PWM controller ICs in cost-optimized 4-channel fixtures, while keeping firmware updateable over SPI for tunable-white calibration. Connect the exposed pad to a continuous ground pour for thermal relief in high-current PWM applications.
Recommended
Low-End Motor and Fan Control
Brushless DC (BLDC) and small brushed-DC motor controllers benefit from the PIC16F15345-I/GZ's CWG with dead-band control, four PWMs for multi-phase commutation, and comparators that decode back-EMF without ADC oversampling. The 32 MHz core handles sensorless trapezoidal commutation in firmware while the CIPs handle commutation timing in hardware, freeing the CPU for speed-loop and protection logic. At 14 KB Flash, designs can include UART diagnostics, fault logging, and a closed-loop speed PI controller. The 2.5-5.5 V supply range allows direct operation from rectified 5 V or 12 V rails with a simple LDO. The PIC16F15345 typically replaces discrete micro-step or sinusoidal control ICs in sub-100 W appliances where firmware flexibility matters more than absolute determinism.
Recommended
Human-Machine Interface (HMI) Nodes
The PIC16F15345-I/GZ drives small HMI subsystems such as capacitive-touch keypads, rotary encoder readers, and seven-segment LED displays. The Configurable Logic Cell (CLC) implements touch-proximity gating and quadrature decoding without CPU intervention, while the 4 PWMs drive LED brightness or buzzer tones. EUSART and SPI/I2C connect to a host processor or larger SoC as a peripheral co-processor, offloading debouncing, gesture recognition, and indicator animations. The 14 KB Flash supports modest UI state machines with non-volatile EEPROM (256 B) for last-mode memory. Compared to a stand-alone touch controller, the PIC16F15345 cuts BOM in designs that already need an MCU by absorbing the touch function into the same silicon.
Recommended
Consumer Battery Charging and Monitoring
The PIC16F15345-I/GZ monitors battery voltage, current, and temperature in single-cell Li-ion or Li-poly charger applications. The 10-bit ADC reads up to 14 analog channels with ADC2 hardware averaging, the comparators detect end-of-charge voltage thresholds, and the 5-bit DAC programs constant-current setpoints. The 32 MHz core runs charge-state machines and CC/CV control loops. XLP Sleep reduces quiescent draw to tens of nanoamps when the battery is idle, critical for shipping-shelf life. Compared to standalone battery gauge ICs, the PIC16F15345 integrates fuel-gauge math, LED status indication, and a host UART in one device, enabling sub-$2 BOM in chargers with telemetry.
Recommended
Industrial Sensor Transmitters
The PIC16F15345-I/GZ serves as the digital core of 4-20 mA loop-powered or RS-485 industrial sensor transmitters. Its two EUSART channels handle half-duplex RS-485 with hardware addressing, while the 10-bit ADC reads bridge sensors, RTDs, or 4-20 mA loopback. The 2.5-5.5 V supply range accepts loop-power-derived rails after a boost or shunt regulator. CLCs implement Manchester or bit-stuffing encoders for proprietary protocols without CPU load. At 14 KB Flash, the device supports MODBUS-RTU with CRC, calibration constants in EEPROM, and digital filtering. The I-suffix -40C to +85C industrial temperature grade covers process-control cabinets and remote terminal enclosures; choose the E-suffix variant for unconditioned outdoor locations.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F15345-I/GZ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F15345-E/GZ | PIC16F15344-I/GZ | PIC16F15344-I/SS |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-UQFN (4x4) | 20-UQFN (4x4) - same | 20-UQFN (4x4) - same | 28-SSOP - DIFFERENT package |
| Flash Memory | 14 KB | 14 KB | 7 KB | 7 KB |
| SRAM | 1 KB | 1 KB | 512 B | 512 B |
| Maximum CPU Frequency | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Operating Voltage | 2.5 V to 5.5 V | 2.5 V to 5.5 V | 2.5 V to 5.5 V | 2.5 V to 5.5 V |
| Operating Temperature | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C | -40 C to +85 C |
| PWM Channels | 4 (10-bit) | 4 (10-bit) | 4 (10-bit) | 4 (10-bit) |
| Unit Price (1 pc) | $1.05 | ~$1.15 | ~$0.92 | ~$0.95 |
Key Differentiators
- Extended temperature qualification in same 20-UQFN footprint (vs PIC16F15345-E/GZ)
- Half the Flash of the PIC16F15345, with all peripherals in the same footprint (vs PIC16F15344-I/GZ)
- Native 5V operation (vs PIC16LF15345-I/GZ)
- Core Independent Peripherals (CIPs) - CWG and CLC (vs PIC16F1455)
Design Notes
The 20-UQFN (4x4 mm) has an exposed thermal pad on the bottom bonded internally to VSS. Solder this pad to a continuous ground pour with at least 4 thermal vias to a mid-layer ground plane. Estimate: with 4 thermal vias of 0.3 mm drill and 1 oz copper, the resulting junction-to-ambient thermal resistance drops from approximately 70 C/W to roughly 35 C/W, sufficient for the PIC16F15345's modest 100 mW dissipation budget at full CPU load.
Place a 100 nF ceramic decoupling capacitor within 3 mm of the VDD pin (pin 19) and another on the AVSS/VDD analog pair. Add a 1-10 uF bulk capacitor on the main supply rail. For battery applications where the device spends most of its time in XLP Sleep, source the bulk capacitor from the battery with a ferrite bead to prevent switching noise from waking the part. Estimated: at 32 MHz active, core current is roughly 2 mA at 3.3 V; in Sleep with WDT disabled, the device draws approximately 30 nA typical.
Do not confuse the PIC16F15345 (full-voltage 2.5-5.5V 'F') with the PIC16LF15345 (low-voltage 1.8-3.6V 'LF'). They are NOT drop-in replacements at the same supply voltage. Also, the I/GZ suffix means industrial -40C to +85C; the E/GZ suffix is extended -40C to +125C. Verify the E variant is required only if your application exceeds 85C ambient. Finally, when migrating from PIC16F1xxx older families, the CWG and CLC register names differ - read the PIC16F153xx family reference manual section 26 (CWG) before porting.
Route the ICSP programming pins (ICSPCLK/ICSPDAT, typically on RA0/RA1) to a 6-pin header with a 10 kohm pull-up on MCLR. Keep traces short and away from PWM outputs. For ADC accuracy, dedicate an AVSS pin to a quiet ground island joined to the main ground at a single point near the bulk capacitor. The 10-bit ADC achieves approximately 1 LSB INL when source impedance is below 5 kohm and the input bandwidth is below the Nyquist rate of the ADC clock.
Compliance Information
RoHS compliant per Microchip product page. Industrial temperature grade (-40C to +85C); not AEC-Q100 qualified - choose PIC16F15345-E/GZ for higher temperature but still not automotive qualified.