PIC16F1786-I/ML - 8-Bit 32MHz 14KB Flash MCU 28-QFN | Microchip
MPN: PIC16F1786-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $2.98 | $29.80 |
| 100 | $2.41 | $241.00 |
| 500 | $2.05 | $1,025.00 |
| 1,000 | $1.78 | $1,780.00 |
PIC16F1786-I/ML Overview
What is an 8-bit PIC microcontroller? It is a RISC-based CMOS microcontroller from Microchip's PIC family that executes one instruction per clock cycle (excluding branches) using a Harvard architecture with separate program and data buses. 8-bit PIC MCUs are widely used for embedded control because of their deterministic timing, low power consumption, broad peripheral integration, and a mature ecosystem of MPLAB X IDE, XC8 compilers, and PICkit programmers. They sit in a product hierarchy that goes: PIC10/12/16 baseline -> PIC16 enhanced mid-range -> PIC18 -> dsPIC -> 32-bit Arm Cortex SAM MCUs.
Key features of the PIC16F1786 include the integrated op-amp and fast comparator that simplify analog signal conditioning, 12-bit ADC2 (Analog-to-Digital Converter with Computation) that automates averaging, filtering, oversampling, and threshold comparisons, plus three 10-bit DACs and three 5-bit DACs. The device also supports EUSART, two SPI/I2C, three CCP modules, and PWM/Signal Routing Timers. Its CIPs (Core-Independent Peripherals) like the CWG, NCO, and COG operate without CPU supervision, enabling ultra-low system power.
Architecturally the PIC16F1786 uses an 8-bit data path with a 14-bit instruction word, executing most instructions in 200 ns at 20 MHz or 125 ns at 32 MHz. The XLP nanoWatt technology drops the sleep current to ~50 nA typical, making it well suited for battery-powered sensor nodes. The 28-QFN exposed pad aids thermal dissipation at higher operating frequencies and during EEPROM write cycles.
Typical applications include low-power IoT sensor nodes, battery-operated analog front-ends, LED lighting controllers, consumer appliances, industrial sensor conditioning, and compact motor-control PWM signal generation. The 32 MHz core and the 12-bit ADC2 together make it a strong choice for portable instrumentation requiring both signal processing and ultra-low standby current.
When designing with the PIC16F1786-I/ML, ensure the exposed pad is soldered to a sufficiently sized copper pour for thermal and electrical grounding, follow Microchip's MPLAB X IDE with XC8 for development, and use the PICkit 5 or Snap programmer for in-circuit programming. Decoupling libraries (0.1 uF plus bulk) must be placed close to VDD pins.
This page synthesizes current distributor pricing, parametric alternatives, and practical PCB design notes that are not aggregated in the manufacturer datasheet, giving engineers a faster path from specification to qualified BOM entry.
Drop-in alternatives for PIC16F1786-I/ML — 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 PIC16F1786-I/ML (same form factor and footprint) — differing in Package, ADC, DAC, Comparators, Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1786-E/ML
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC16F1786T-I/ML
✅ Drop-In✓ In Stock
$2.49 / Unit
View Datasheet →PIC16F1787-I/ML
✅ Drop-In✓ In Stock
$1.92 / Unit
View Datasheet →PIC16F1784-I/ML
✅ Drop-In✓ In Stock
$2.45 / Unit
View Datasheet →PIC16F1768-I/ML
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16F1776-I/SP
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.78 / Unit
View Datasheet →PIC16F1786-I/ML Maximum Ratings & Electrical Characteristics
| Core Processor | PIC |
| Core Size | 8-Bit |
| Family | PIC16F178x |
| Speed | 32 MHz |
| Program Memory | 14 KB (8K x 14) Flash |
| RAM | 1 KB |
| EEPROM | 256 B |
| Program Memory Type | FLASH |
| Package | 28-QFN (6x6 mm) |
| Operating Temperature | -40C to +85C (industrial) |
| Supply Voltage | 2.3 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 12-bit ADC2 |
| DAC | 3 x 10-bit + 3 x 5-bit |
| Integrated Op-Amp | Yes (rail-to-rail input) |
| Comparators | Yes (fast comparator) |
| Communication | EUSART, 2x SPI, 2x I2C |
| Timers | 3 CCP, PWM, Signal Routing Timer |
| Core-Independent Peripherals | CWG, NCO, COG |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| MSL Level | 1 |
| Lead-Free | Yes |
PIC16F1786-I/ML Pin Configuration
| Pin 1 | RA0 — I/O / AN0 / DAC / op-amp input |
| Pin 2 | RA1 — I/O / AN1 / DAC / op-amp input |
| Pin 3 | RA2 — I/O / AN2 / DAC / op-amp output |
| Pin 4 | RA3 — I/O / AN3 / DAC / reference voltage |
| Pin 5 | RA4 — I/O / AN4 / T0CKI (open-drain) |
| Pin 6 | RA5 — I/O / AN5 / comparator input |
| Pin 7 | RA6 — I/O / AN6 / OSC2 |
| Pin 8 | RA7 — I/O / AN7 / OSC1 |
| Pin 9 | VSS — Ground |
| Pin 10 | RB0 — I/O / INT / AN8 |
| Pin 11 | RB1 — I/O / AN9 |
| Pin 12 | RB2 — I/O / AN10 |
| Pin 13 | RB3 — I/O / AN11 |
| Pin 14 | RB4 — I/O / AN12 |
| Pin 15 | RB5 — I/O / AN13 |
| Pin 16 | RB6 — I/O / ICSPCLK / ICDCLK |
| Pin 17 | RB7 — I/O / ICSPDAT / ICDDAT |
| Pin 18 | VDD — Positive supply (2.3 V to 5.5 V) |
| Pin 19 | VSS — Ground (alternate) |
| Pin 20 | RC0 — I/O / AN16 |
| Pin 21 | RC1 — I/O / AN17 |
| Pin 22 | RC2 — I/O / AN18 |
| Pin 23 | RC3 — I/O / AN19 / SCL |
| Pin 24 | RC4 — I/O / AN20 / SDA |
| Pin 25 | RC5 — I/O / AN21 |
| Pin 26 | RC6 — I/O / AN22 / TX/CK |
| Pin 27 | RC7 — I/O / AN23 / RX/DT |
| Pin 28 | MCLR — Master clear (reset, active low) |
Typical Applications
PIC16F1786-I/ML is suitable for 6 applications: Low-Power IoT Sensor Nodes, Portable Instrumentation Front-End, LED Lighting Control, Industrial Sensor Conditioning, Compact Motor Control (PWM), Consumer Appliance Control.
Low-Power IoT Sensor Nodes
The PIC16F1786-I/ML fits low-power IoT sensor nodes because its nanoWatt XLP technology drops sleep current to roughly 50 nA typical while the integrated 12-bit ADC2, op-amp, and core-independent peripherals perform sensor conditioning autonomously without waking the CPU. Placed on a 28-QFN (6x6) module, the device can duty-cycle a duty ratio below 1%, supporting multi-year coin-cell battery life in temperature, humidity, or motion sensing applications. The 32 MHz core, when active, completes a complex sensor read in milliseconds before returning to sleep.
Recommended
Portable Instrumentation Front-End
The PIC16F1786-I/ML suits portable instrumentation front-ends because its integrated rail-to-rail op-amp and 12-bit ADC2 allow direct sensor signal conditioning without external analog ICs. With 14 KB of Flash, designers can fit DSP-style filtering routines in the PIC16 instruction set, while the 32 MHz execution speed provides sub-100 us acquisition latency per channel. Battery-powered handheld meters benefit from the XLP sleep mode between samples, stretching runtime by an order of magnitude over typical 8-bit MCUs.
Recommended
LED Lighting Control
The PIC16F1786-I/ML is well matched to LED lighting controllers because its three 10-bit DACs can independently drive RGB channels while the CWG and Signal Routing Timer generate high-resolution PWM without CPU intervention. The 32 MHz core handles DMX or DALI protocol decoding, and the 14 KB Flash stores lookup tables for color temperature curves. Sleep current under 50 nA means the device draws negligible quiescent power in standby, easing Energy Star compliance for the overall luminaire.
Recommended
Industrial Sensor Conditioning
The PIC16F1786-I/ML serves industrial sensor conditioning because its integrated op-amp, fast comparator, and 12-bit ADC2 eliminate a separate analog front-end IC, reducing board area and BOM cost. The industrial -40C to +85C temperature grade supports factory-floor deployments, while the 28-QFN package withstands vibration better than PDIP alternatives. Designers can leverage the EUSART and SPI/I2C interfaces to forward conditioned readings to a host PLC or display module over RS-485 or HMI link.
Recommended
Compact Motor Control (PWM)
The PIC16F1786-I/ML handles compact motor control PWM because its three CCP modules and the CWG deliver complementary or dead-band-controlled PWM outputs directly, driving half-bridge FET gates without external logic. The 32 MHz instruction rate ensures 10 ns-edge-resolution PWM at 31 kHz switching, suitable for small DC or BLDC fans. Its 14 KB Flash stores speed ramps and PI control loops while 1 KB RAM holds state variables; the 28-QFN package fits inside miniature motor housings.
Recommended
Consumer Appliance Control
The PIC16F1786-I/ML fits consumer appliance control boards because its small 28-QFN footprint saves PCB space in tight enclosures, while the integrated peripherals drive keypads, displays, and buzzers directly. The XLP nanoWatt technology keeps standby power below 0.5 W to meet global energy regulations, and the EUSART provides a debug interface for field updates. Combined with the integrated op-amp, the device can read thermistor or pressure sensor inputs in washing machines, coffee makers, and air purifiers.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1786-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1786-E/ML | PIC16F1786T-I/ML | PIC16F1787-I/ML | PIC16F1784-I/ML | PIC16F1768-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6) | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same |
| Core | 8-bit PIC16 enhanced mid-range | 8-bit PIC16 enhanced mid-range | 8-bit PIC16 enhanced mid-range | 8-bit PIC16 enhanced mid-range | 8-bit PIC16 enhanced mid-range | 8-bit PIC16 enhanced mid-range |
| Max CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| Flash | 14 KB | 14 KB | 14 KB | 28 KB (+100%) | 7 KB (-50%) | 7 KB (-50%) |
| RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| Operating Temperature | -40C to +85C (industrial) | -40C to +125C (extended) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Integrated Op-Amp | Yes | Yes | Yes | Yes | Yes | No |
| ADC | 12-bit ADC2 | 12-bit ADC2 | 12-bit ADC2 | 12-bit ADC2 | 12-bit ADC2 | 10-bit ADC3 |
| Unit Price (USD, as of 2026-09-20) | $3.42 (qty-1) | $3.50 (qty-1) | $3.42 (qty-1) | $3.85 (qty-1) | $2.95 (qty-1) | $2.80 (qty-1) |
Key Differentiators
- Industrial-grade temperature coverage with all PIC16F1786 peripherals intact (vs PIC16F1768-I/ML)
- Double the Flash memory vs PIC16F1784 with same footprint (vs PIC16F1784-I/ML)
- Right-sized 14 KB Flash versus over-provisioned 28 KB (vs PIC16F1787-I/ML)
Design Notes
Decouple VDD with a 0.1 uF ceramic capacitor placed within 5 mm of the VDD pin and a 1 uF to 10 uF bulk capacitor on the same rail. The PIC16F1786-I/ML draws peak transient current during Flash programming and EEPROM write cycles; insufficient decoupling causes VDD droop that can corrupt non-volatile writes. Tie the exposed thermal pad to the ground pour to reduce VDD-to-VSS thermal impedance and improve EEPROM write reliability.
For 28-QFN (6x6) layout, allocate at least 8 thermal vias (0.3 mm drill, 0.5 mm pitch) under the exposed pad to a continuous ground plane on the opposite PCB layer. Route the ICSP signals (RB6/ICSPCLK and RB7/ICSPDAT) to a 5-pin header near the package edge with no series resistors between the PICkit 5 programmer and the device pins, otherwise in-circuit programming may fail.
Do not drive MCLR low during normal operation unless intentional reset is required; many designers tie it directly to VDD through a 10 kohm pull-up, but adding a 100 nF capacitor on MCLR extends the reset pulse width and improves brown-out recovery. Avoid applying VDD before VSS is established at hot-plug events; an ESD protection diode on VDD protects the part from this sequence. Always use the CONFIG register settings from Microchip's MPLAB Code Configurator to lock unused peripherals off, reducing sleep current by hundreds of nA.
Compliance Information
RoHS and REACH compliance per Microchip product page. Lead-free ML package suffix denotes Pb-free terminal finish. AEC-Q100 not applicable to -I/ML industrial grade; use -E or -V variants for automotive qualification.