PIC16F1782-I/ML - 8-Bit MCU, 32MHz, 3.5KB Flash, 28-QFN | Microchip
MPN: PIC16F1782-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.95 | $2.95 |
| 10 | $2.66 | $26.60 |
| 100 | $2.36 | $236.00 |
| 500 | $2.07 | $1,035.00 |
| 1,000 | $1.78 | $1,780.00 |
PIC16F1782-I/ML Overview
An MCU (microcontroller) is a single-chip computer that integrates a CPU core, program and data memory, and configurable peripherals on one die. The PIC® XLP™ (eXtreme Low Power) family extends this definition by adding proprietary nanoWatt XLP technology that drops active current to the microampere range and standby current to the nanoampere range, allowing battery-powered designs such as wireless sensor nodes, wearables, and remote controls to operate for years on a single cell. The PIC16F1782 also implements the enhanced mid-range core, providing 49 instructions, hardware multiply, and a 14-bit instruction word with 200 ns execution.
Key features include 28 general-purpose I/O pins arranged for capacitive-touch proximity sensing via the mTouch™ peripheral, two UART/USART modules (one EUSART with auto-baud), I²C/SPI master/slave interfaces, three 16-bit Capture/Compare/PWM, a 12-bit differential ADC with up to 11 channels, two 8-bit DACs, two on-chip op-amps, and a 5-bit DAC reference. Operating voltage spans 2.3V to 5.5V, supporting both 3.3V and 5V rails, and the QFN-28 package offers a small 6x6 mm footprint suited to high-density consumer and industrial control designs.
Typical applications include LED lighting color mixing and dimming, brushless DC motor and stepper control loops, battery-powered sensor hubs with capacitive-touch keypads, smart thermostats, IoT edge nodes, and precision analog front-ends. The PSMC block generates complementary PWM with dead-band, programmable slope compensation, and current-reset schemes that would otherwise require a dedicated motor-control DSP, simplifying field-oriented control and synchronous-buck LED drivers.
When designing with this part, place a 0.1 µF decoupling capacitor within 5 mm of the VDD pin and route the exposed pad (EP) to a continuous ground plane for thermal and noise performance. Configure the device for low-power operation using the ON bit, FCPU clock-switching, and the ultra-low-power wake-up peripheral to minimize sleep current in battery applications.
Drop-in alternatives for PIC16F1782-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 PIC16F1782-I/ML (same form factor and footprint) — differing in ADC, DAC, Package, Operating Temperature, MSL Level.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F1782-E/ML
✅ Drop-In✓ In Stock
$1.82 / Unit
View Datasheet →PIC16F1782T-I/ML
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16F1783-I/ML
✅ Drop-In✓ In Stock
$1.78 / Unit
View Datasheet →PIC16F1788-I/ML
✅ Drop-In✓ In Stock
$1.82 / Unit
View Datasheet →PIC16F1768-I/ML
✅ Drop-In✓ In Stock
$1.55 / Unit
View Datasheet →PIC16F1764-I/ML
✅ Drop-In✓ In Stock
$0.87 / Unit
View Datasheet →PIC16F1782-I/ML Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC® XLP™ enhanced mid-range 8-bit |
| Instruction Set | 49 instructions, 14-bit word, 200 ns execution |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data EEPROM | 256 bytes |
| Data SRAM | 256 bytes |
| Maximum CPU Speed | 32 MHz |
| Operating Voltage | 2.3 V to 5.5 V |
| I/O Pins | 28 |
| ADC | 12-bit, differential, up to 11 channels |
| DAC | 8-bit, 2 channels |
| Operational Amplifiers | 2 on-chip op-amps |
| Comparators | 1 fast comparator |
| Timers | 3x 16-bit Capture/Compare/PWM (CCP/ECCP) |
| PSMC Module | 1 (Peripheral Signal Steering and Modulation Controller) |
| Communication Interfaces | EUSART (1), I²C (1), SPI (1) |
| Capacitive Touch Sensing | mTouch™ supported |
| Package | QFN-28 (ML) 6x6 mm with exposed pad |
| Mounting Type | Surface Mount |
| Operating Temperature | -40°C to +85°C (industrial 'I' suffix) |
| MSL Level | 1 (unlimited) |
| RoHS Status | Compliant |
PIC16F1782-I/ML Pin Configuration
| Pin 1 | RA0/AN0/CPS0 — Analog input 0 / cap touch CPS0 / GPIO RA0 |
| Pin 2 | RA1/AN1/CPS1 — Analog input 1 / cap touch CPS1 / GPIO RA1 |
| Pin 3 | RA2/AN2/DAC1OUT1/CPS2 — Analog input 2 / DAC1 output / cap touch / GPIO RA2 |
| Pin 4 | RA3/AN3/CPS3 — Analog input 3 / cap touch CPS3 / GPIO RA3 |
| Pin 5 | RA4/AN4/CPS4/T0CKI — Analog input 4 / cap touch / Timer0 clock / GPIO RA4 |
| Pin 6 | RA5/AN5/CPS5/SS1 — Analog input 5 / cap touch / SPI1 slave select / GPIO RA5 |
| Pin 7 | RA6/OSC2/CLKOUT — Crystal output / clock output / GPIO RA6 |
| Pin 8 | RA7/OSC1/CLKIN — Crystal input / external clock / GPIO RA7 |
| Pin 9 | VDD — Positive supply (2.3V to 5.5V) |
| Pin 10 | VSS — Ground reference |
| Pin 11 | RB0/AN12/CPS6/CCP1 — Analog input 12 / cap touch / CCP1 PWM / GPIO RB0 |
| Pin 12 | RB1/AN10/CPS7 — Analog input 10 / cap touch / GPIO RB1 |
| Pin 13 | RB2/AN8/CPS8 — Analog input 8 / cap touch / GPIO RB2 |
| Pin 14 | RB3/AN9/CPS9 — Analog input 9 / cap touch / GPIO RB3 |
| Pin 15 | RB4/AN11/CPS10 — Analog input 11 / cap touch / GPIO RB4 |
| Pin 16 | RB5/AN13/CPS11 — Analog input 13 / cap touch / GPIO RB5 |
| Pin 17 | RB6/ICSPCLK — In-circuit serial programming clock / GPIO RB6 |
| Pin 18 | RB7/ICSPDAT — In-circuit serial programming data / GPIO RB7 |
| Pin 19 | RC0/SOSCO — Secondary oscillator output / GPIO RC0 |
| Pin 20 | RC1/SOSCI — Secondary oscillator input / GPIO RC1 |
| Pin 21 | RC2/AN14/CPS12/CCP2 — Analog input 14 / cap touch / CCP2 / GPIO RC2 |
| Pin 22 | RC3/AN15/CPS13/SCL1 — Analog input 15 / cap touch / I2C1 SCL / GPIO RC3 |
| Pin 23 | RC4/AN16/CPS14/SDA1 — Analog input 16 / cap touch / I2C1 SDA / GPIO RC4 |
| Pin 24 | RC5/AN17/CPS15 — Analog input 17 / cap touch / GPIO RC5 |
| Pin 25 | RC6/AN18/CPS16/CCP3 — Analog input 18 / cap touch / CCP3 / GPIO RC6 |
| Pin 26 | RC7/AN19/CPS17 — Analog input 19 / cap touch / GPIO RC7 |
| Pin 27 | RE3/MCLR/VPP — Master clear reset / programming voltage |
| Pin 28 | VDD — Positive supply (2.3V to 5.5V) - second VDD pin |
Typical Applications
PIC16F1782-I/ML is suitable for 7 applications: Brushless DC Motor Control, LED Lighting Dimming and Color Mixing, Battery-Powered Sensor Hub with Capacitive Touch, Industrial Control and Factory Automation, Smart Thermostat with Touch Interface, Precision Analog Front-End for Sensor Signal Conditioning, IoT Edge Node with Wireless Connectivity.
Brushless DC Motor Control
The PIC16F1782-I/ML is purpose-built for sensorless or hall-sensor BLDC motor control in fans, pumps, drones, and small appliances. Its dedicated PSMC block generates complementary PWM pairs with programmable dead-band, slope compensation, and current-reset, while the two on-chip op-amps condition the current-shunt signals and the 12-bit ADC digitizes back-EMF at sample rates up to 100 ksps. In a typical 3-phase BLDC drive, the PSMC drives the three half-bridges directly, the op-amps amplify the leg shunt currents, and the ADC feedback closes the torque loop - eliminating the need for an external motor-control ASIC. Compared with a PIC16F1768 design, the PSMC reduces firmware cycle load by handling dead-band and complementary switching in hardware, freeing CPU bandwidth for commutation and speed control.
Recommended
LED Lighting Dimming and Color Mixing
The PIC16F1782-I/ML drives multi-channel LED lighting systems including white-color tunable fixtures, RGBW stage lighting, and horticultural grow lights. Its PSMC outputs deliver 16-bit resolution PWM at frequencies up to 1 MHz with dead-band control suitable for synchronous-buck constant-current LED drivers. The 12-bit ADC senses photodiode feedback for closed-loop brightness control, while mTouch™ capacitive-touch inputs replace mechanical dimmer knobs. In a 4-channel tunable-white fixture, each channel is driven by a PSMC PWM output driving a buck-converter MOSFET pair; the MCU also handles DALI25 or 0-2551 DMX receive over EUSART. Compared with simple PIC16F1509 designs, the PSMC eliminates external gate-driver logic and provides hardware dead-band for high-side/low-side shoot-through protection.
Recommended
Battery-Powered Sensor Hub with Capacitive Touch
The PIC16F1782-I/ML forms the heart of ultra-low-power IoT sensor nodes with mTouch™ capacitive-touch keypads for user input. Its nanoWatt XLP™ technology drops active current below 100 µA/MHz and sleep current into the nanoampere range, enabling years of operation from a single CR2032 coin cell. The 28-pin QFN provides 25 GPIO for sensors (temperature, humidity, motion) plus capacitive-touch electrodes; the 12-bit ADC digitizes analog sensors and the EUSART bridges to a BLE or Sub-GHz radio module. In a smart-home sensor, the MCU sleeps at 50 nA, wakes on touch or timer, samples the sensor array, transmits over UART, and returns to sleep. Compared with a PIC16F1705 design, the PIC16F1782's op-amps and PSMC add analog signal-conditioning flexibility in the same footprint.
Recommended
Industrial Control and Factory Automation
The PIC16F1782-I/ML serves as a compact industrial controller for PLC expansion modules, machine-status indicators, and process-control loops operating from 24V industrial rails. Its 2.3V-5.5V operation tolerates noisy industrial supplies after external TVS and LDO conditioning, and the on-chip 12-bit ADC with differential inputs reads 4-20 mA current loops through burden resistors. The 32MHz instruction clock and 49-instruction core deliver deterministic interrupt latency for control loops; PSMC outputs drive opto-isolated MOSFET/IGBT gate drivers. Compared with a PIC16F1716 design, the PIC16F1782 adds the PSMC for motor/valve actuator control, while the smaller QFN-28 footprint suits DIN-rail mount modules with limited PCB area.
Recommended
Smart Thermostat with Touch Interface
The PIC16F1782-I/ML is well suited for residential and commercial thermostats, where its mTouch™ capacitive-touch inputs replace mechanical buttons and the PSMC drives TRIAC-controlled HVAC circuits. Its 12-bit ADC reads thermistor temperature sensors with 0.1°C resolution, the 8-bit DAC outputs 0-10V analog signals for variable-air-volume damper control, and the EUSART interfaces to Wi-Fi or BLE modules for cloud connectivity. In a 7-day programmable thermostat, the PIC16F1782-I/ML samples temperature every second, drives the LCD with PWM backlight, and switches HVAC relays via opto-isolated TRIACs. Compared with a PIC16F1825 design, the PIC16F1782's PSMC and 32MHz clock support more sophisticated adaptive-comfort logic.
Recommended
Precision Analog Front-End for Sensor Signal Conditioning
The PIC16F1782-I/ML replaces a discrete analog front-end in low-power instrumentation by integrating two on-chip op-amps, a fast comparator, 8-bit DAC, and 12-bit ADC into the QFN-28 package. The op-amps condition thermocouple or strain-gauge bridge signals, the comparator triggers threshold events without CPU wake-up, and the ADC digitizes the conditioned signal. The PSMC and 16-bit PWM provide excitation signals for resistive-bridge sensors. In a battery-powered handheld multimeter, the PIC16F1782-I/ML amplifies and digitizes the voltage/current/resistance measurements and displays results on an LCD. Compared with a PIC16F1707 design, the on-chip op-amps reduce BOM cost by $0.30-$0.50 per board.
Recommended
IoT Edge Node with Wireless Connectivity
The PIC16F1782-I/ML acts as the application processor for IoT edge nodes that aggregate sensor data and relay it over Bluetooth, Sub-GHz, or LoRaWAN radios. Its 32MHz instruction clock handles local analytics (moving averages, threshold detection) before transmission, and its low-power sleep modes preserve battery life between transmissions. The mTouch inputs provide tamper detection or user interface, and the 12-bit ADC reads up to 11 analog sensors including battery voltage for energy-aware operation. In a smart agriculture node, the MCU measures soil moisture and temperature, applies local thresholding, and wakes the radio only when action is needed. Compared with a PIC16F1615 design, the PIC16F1782's PSMC adds support for solar MPPT power conversion in the same footprint.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F1782-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F1782-E/ML | PIC16F1783-I/ML | PIC16F1788-I/ML | PIC16F1768-I/ML | PIC16F1764-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | QFN-28 (ML) 6x6 mm | QFN-28 (ML) 6x6 mm - same | QFN-28 (ML) 6x6 mm - same | QFN-28 (ML) 6x6 mm - same | QFN-28 (ML) 6x6 mm - same | QFN-28 (ML) 6x6 mm - same |
| Flash Memory | 3.5 KB | 3.5 KB | 7 KB | 7 KB | 3.5 KB | 1.75 KB |
| SRAM | 256 B | 256 B | 512 B | 512 B | 256 B | 256 B |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B | 256 B |
| PSMC Module | Yes (1) | Yes (1) | Yes (1) | Yes (1) | No | No |
| On-Chip Op-Amps | 2 | 2 | 2 | 2 | 1 | 1 |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 12-bit | 10-bit | 10-bit |
| Operating Temperature | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Max CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
Key Differentiators
- Dedicated PSMC motor/lighting controller with hardware dead-band (vs PIC16F1768-I/ML)
- Dual on-chip op-amps for current sensing and signal conditioning (vs PIC16F1707-I/ML)
- 12-bit differential ADC versus 10-bit on lower-tier variants (vs PIC16F1764-I/ML)
Design Notes
Place a 0.1 uF ceramic decoupling capacitor within 5 mm of each VDD pin (pins 9 and 28), with the trace to VDD being short and wide (>=0.2 mm). Connect the exposed thermal pad (EP) of the QFN-28 to a continuous ground plane with at least 4 thermal vias (0.3 mm drill, 0.6 mm pad) for thermal dissipation and noise return paths. Without the EP soldered to ground, junction temperature can rise 20-30C above the rated thermal envelope under full PSMC switching load.
The PIC16F1782-I/ML supports 2.3V to 5.5V operation. For 5V systems, ensure the LDO can source the peak active current plus PSMC switching transients; the XLP™ peak is typically 4 mA at 32 MHz but may spike higher during ADC conversions. For battery applications, the on-chip LDO can be switched off via the VREGPM bit to drop VDD core current below 1 uA in deep sleep - enable this with the LFPMEN configuration bit.
When routing mTouch™ capacitive touch traces, keep each electrode trace length below 50 mm and surround them with a ground hatch (hatched ground pour) for stable readings. Avoid routing digital switching signals (PSMC PWM outputs, oscillator traces) parallel to touch electrodes - cross at 90 degrees if unavoidable and keep separation >= 2 mm. Add a 1 nF to 10 nF series resistor to each touch electrode near the MCU pin for EMI suppression.
Do not forget to configure the unused pins as outputs (set LATx and TRISx appropriately) rather than leaving them floating - floating inputs increase sleep current and may cause spurious interrupt wake-ups. The MCLR pin (RE3) can be disabled only when no in-circuit programming is needed; otherwise leave it pulled high through a 10 kohm resistor to VDD. Always issue a BOR (brown-out reset) configuration at 2.0V minimum to protect EEPROM data corruption during supply dips.
Compliance Information
RoHS and REACH compliant per Microchip product page. Lead-free finish (Matte Tin). Not AEC-Q100 qualified - the PIC16F1782-I/ML is industrial grade; for automotive consider AEC-Q100 qualified PIC families.