PIC16HV785T-I/ML - 8-Bit 20MHz 3.5KB Flash MCU w/ Shunt Regulator | Microchip
MPN: PIC16HV785T-I/ML β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.2 | $3.20 |
| 10 | $2.88 | $28.80 |
| 100 | $2.55 | $255.00 |
| 500 | $2.25 | $1,125.00 |
| 1,000 | $1.95 | $1,950.00 |
PIC16HV785T-I/ML Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash/ROM), data RAM, and peripheral set on one die; the PIC16 family uses a 14-bit wide instruction word and Harvard architecture, providing deterministic single-cycle execution for embedded control loops. The PIC16F785 specifically adds analog peripherals - two op-amps, two high-speed comparators, a 12-channel 10-bit ADC, and a two-phase asynchronous feedback PWM - that make it a system-on-chip for closed-loop analog control. The HV prefix denotes the integrated shunt regulator.
Key specifications include 18 digital I/O pins, a wide operating voltage range driven by the internal shunt regulator, an internal 8 MHz oscillator with PLL options, NanoWatt power management for low standby current, on-chip EEPROM emulation, and an enhanced mid-range core with 33 instructions. The 20-QFN (4x4) package measures 4x4 mm with a thermal pad, enabling compact PCB layouts in space-constrained designs.
The on-chip shunt regulator is the architectural differentiator: a typical PIC requires a regulated 2.0-5.5 V supply, but the HV785 can accept an unregulated high-voltage input (up to 15 V) and internally derive the core logic supply through a parallel-pass (shunt) topology, similar to a Zener reference. The two op-amps and comparators can be wired into closed-loop current-mode or voltage-mode control, while the two-phase PWM drives synchronous buck/boost/SEPIC stages. This integration removes external regulator and analog components, reducing BOM cost and PCB area for SMPS and LED driver designs.
Typical applications include LED lighting drivers (constant-current buck/boost), battery chargers (CC/CV topologies), DC-DC converters (buck, boost, SEPIC, flyback), motor control for low-power BLDC fans, and smart power modules. The combination of analog + PWM + high-voltage input suits any closed-loop power-conversion design.
When designing with the PIC16HV785, ensure the shunt regulator has a current-limiting resistor or active pass element rated for the input voltage, since the shunt sinks the difference between input current and MCU current. The op-amp outputs share package pins with comparator inputs - review the pin allocation table in the datasheet carefully. For firmware development, Microchip's MPLAB X IDE with XC8 compiler and PICkit programmers are the standard toolchain.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design considerations not found in the manufacturer datasheet alone - a complete engineering reference for selecting the PIC16HV785T-I/ML for next-generation lighting, charging, and power-conversion designs.
Drop-in alternatives for PIC16HV785T-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 PIC16HV785T-I/ML (same form factor and footprint) β differing in ADC, Core Architecture, I/O Pins, Package.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16HV785-I/ML
β Drop-Inπ Reference alternative (not in catalog)
PIC16HV785T-E/ML
β Drop-Inπ Reference alternative (not in catalog)
PIC16HV785-E/ML
β Drop-Inπ Reference alternative (not in catalog)
PIC16F785-I/ML
β Drop-Inπ Reference alternative (not in catalog)
PIC16HV785T-I/SS
β Drop-Inβ In Stock
$1.18 / Unit
View Datasheet βPIC16HV785T-I/ML Maximum Ratings & Electrical Characteristics
| Product Family | PIC16F |
| Core Architecture | 8-bit PIC Mid-Range (14-bit instruction) |
| Maximum Clock Speed | 20 MHz |
| Program Memory | 3.5 KB (2K x 14) Flash |
| Data RAM | 128 bytes |
| I/O Pins | 18 |
| ADC | 10-bit, 12 channels |
| Operational Amplifiers | 2 on-chip |
| Comparators | 2 high-speed |
| PWM Channels | 2-phase asynchronous feedback |
| Internal Shunt Voltage Regulator | Yes (HV suffix) |
| Supply Voltage Range | 2.0 V to 5.5 V (logic); up to 15 V via shunt regulator |
| Operating Temperature | -40C to +85C (Industrial) |
| Package | 20-QFN (4x4 mm) |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| RoHS Status | Compliant |
PIC16HV785T-I/ML Pin Configuration
| Pin 1 | RA0/AN0/C1IN+/OP1+ β Port A bit 0 / Analog input 0 / Comparator 1 non-inverting / Op-Amp 1 non-inverting input |
| Pin 2 | RA1/AN1/C1IN-/OP1- β Port A bit 1 / Analog input 1 / Comparator 1 inverting / Op-Amp 1 inverting input |
| Pin 3 | RA2/AN2/VREF-/OP1OUT β Port A bit 2 / Analog input 2 / Negative reference / Op-Amp 1 output |
| Pin 4 | RA3/AN3/VREF+/OP2+ β Port A bit 3 / Analog input 3 / Positive reference / Op-Amp 2 non-inverting input |
| Pin 5 | RA4/AN4/C2OUT/OP2- β Port A bit 4 / Analog input 4 / Comparator 2 output / Op-Amp 2 inverting input |
| Pin 6 | RA5/AN5/C2IN+/OP2OUT β Port A bit 5 / Analog input 5 / Comparator 2 non-inverting / Op-Amp 2 output |
| Pin 7 | RC0/AN6/C2IN- β Port C bit 0 / Analog input 6 / Comparator 2 inverting |
| Pin 8 | RC1/AN7 β Port C bit 1 / Analog input 7 |
| Pin 9 | RC2/P1A/AN8 β Port C bit 2 / PWM1 output A / Analog input 8 |
| Pin 10 | RC3/P1B/AN9 β Port C bit 3 / PWM1 output B / Analog input 9 |
| Pin 11 | RC4/P1C/AN10 β Port C bit 4 / PWM1 output C / Analog input 10 |
| Pin 12 | RC5/P1D/AN11 β Port C bit 5 / PWM1 output D / Analog input 11 |
| Pin 13 | RC6 β Port C bit 6 |
| Pin 14 | RC7 β Port C bit 7 |
| Pin 15 | RB4 β Port B bit 4 |
| Pin 16 | RB5 β Port B bit 5 |
| Pin 17 | RB6/ICSPDAT β Port B bit 6 / In-Circuit Serial Programming data |
| Pin 18 | RB7/ICSPCLK β Port B bit 7 / In-Circuit Serial Programming clock |
| Pin 19 | VDD β Positive logic supply (regulated 2.0-5.5V) |
| Pin 20 | VSS β Ground reference |
Typical Applications
PIC16HV785T-I/ML is suitable for 6 applications: LED Lighting Drivers, Battery Chargers (CC/CV), DC-DC Converters (Buck / Boost / SEPIC), Low-Power Motor Control (BLDC / Fan), Smart Power Modules, Industrial Sensor Signal Conditioning.
LED Lighting Drivers
The PIC16HV785T-I/ML is engineered for high-brightness LED drivers, where its integrated shunt regulator accepts 9-15 V input from an AC/DC adapter without an external LDO. The two-phase PWM module drives a synchronous buck or SEPIC stage at programmable frequency, while the two on-chip op-amps amplify the high-side current-sense signal for closed-loop constant-current regulation. The high-speed comparators perform cycle-by-cycle current limiting, protecting the LED string from inrush and short-circuit faults. With 12 ADC channels, the MCU monitors LED temperature via NTC, ambient light via photodiode, and supply voltage - enabling dimming curves, thermal foldback, and daylight harvesting in a single chip. Compared to discrete solutions, this design saves 30-50% board area.
Recommended
Battery Chargers (CC/CV)
For single- and multi-cell Li-ion battery chargers, the PIC16HV785T-I/ML implements constant-current / constant-voltage (CC/CV) profiles entirely in firmware. The two on-chip op-amps form the current-sense amplifier (CC loop) and voltage-sense divider buffer (CV loop); the 10-bit ADC reads back pack voltage and current at 100 kS/s for accurate termination detection. The internal shunt regulator accepts a 12 V adapter input directly, removing an external LDO. The two-phase PWM controls a synchronous buck converter driving the battery pack, achieving >92% efficiency at 2 A charge current. Thermal regulation is automatic via NTC input on ADC channel, throttling charge current when cell temperature exceeds safe limits.
Recommended
DC-DC Converters (Buck / Boost / SEPIC)
The PIC16HV785T-I/ML serves as the controller for non-isolated DC-DC converters in industrial 24 V bus systems. The internal shunt regulator handles 15 V input directly, with the two-phase PWM driving the high-side and synchronous low-side MOSFETs of a buck or SEPIC topology. The two high-speed comparators provide peak-current-mode control with sub-100 ns response time, while the op-amps condition the inductor current-sense signal. The 20 MHz instruction rate closes the voltage loop at 100 kHz switching frequency, achieving better than 1% load regulation. This eliminates the external PWM controller IC, current-sense amplifier, and bias regulator typical of discrete solutions - reducing BOM cost by 25-40%.
Recommended
Low-Power Motor Control (BLDC / Fan)
Sensorless BLDC fan and pump controllers benefit from the PIC16HV785T-I/ML's on-chip op-amps for back-EMF sensing and comparators for zero-crossing detection. The two-phase PWM (with programmable dead-band) drives a 3-phase inverter at 25 kHz, while the ADC samples the BEMF signal through a resistor divider. The integrated shunt regulator accepts 12-15 V directly from the fan rail, eliminating the external 5 V regulator. With 33 instructions and 5 MIPS, the MCU executes the full sensorless trapezoidal commutation algorithm in under 5 us, leaving headroom for RPM control via PWM duty cycle and fault detection via the comparator.
Recommended
Smart Power Modules
The PIC16HV785T-I/ML integrates seamlessly into smart power modules combining AC line rectification, isolated DC-DC conversion, and load switching. The HV shunt regulator operates from rectified 12-15 VDC derived from a small transformer winding, eliminating startup circuitry. The two op-amps monitor primary-side current and output voltage, while the comparators implement primary-side regulation (PSR) without an opto-isolator. The 3.5 KB Flash accommodates PSR control loops, fault handling, and communication stacks (UART/I2C for telemetry). With 18 GPIO and 12 ADC channels, the MCU monitors multiple rails simultaneously, providing digital housekeeping for high-reliability industrial systems.
Recommended
Industrial Sensor Signal Conditioning
Beyond power conversion, the PIC16HV785T-I/ML excels at analog sensor conditioning in industrial environments. The two op-amps provide front-end gain for bridge-type pressure sensors, RTD temperature sensors, or load cells, with the 10-bit ADC digitizing at 100 kS/s for 1% accuracy. The HV shunt regulator tolerates 24 V industrial transients directly, with the MCU's internal ESD clamps providing additional ruggedness. The 20-MHz instruction rate supports digital filtering (moving average, FIR) of the ADC stream, while the 18 GPIO drive alarm LEDs, relays, and 4-20 mA current loops. This combination of analog + digital + HV tolerance in one chip suits PLC analog-input modules and field transmitters.
Recommended
Recommended Products Summary
Engineering reference data for PIC16HV785T-I/ML β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16HV785-I/ML | PIC16HV785T-E/ML | PIC16HV785-E/ML | PIC16F785-I/ML | PIC16HV785T-I/SS |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-QFN (4x4 mm) | 20-QFN (4x4) - same | 20-QFN (4x4) - same | 20-QFN (4x4) - same | 20-QFN (4x4) - same | 20-SSOP - different |
| Flash Memory | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB |
| RAM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes |
| Maximum Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Internal Shunt Regulator (HV) | Yes (up to 15 V) | Yes (up to 15 V) | Yes (up to 15 V) | Yes (up to 15 V) | No - external 5V required | Yes (up to 15 V) |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +85C | -40C to +85C |
| Packaging Format | Tape & Reel (3300 pcs) | Tube / Tray | Tape & Reel | Tube / Tray | Tube / Tray | Tape & Reel |
| On-chip Op-Amps | 2 | 2 | 2 | 2 | 2 | 2 |
Key Differentiators
- Integrated HV shunt regulator eliminates external 5V LDO (vs PIC16F785-I/ML)
- Industrial vs extended temperature grades available in same footprint (vs PIC16HV785T-E/ML)
- Two-phase PWM with asynchronous feedback enables cycle-by-cycle control (vs PIC16HV616-I/P (28-pin PDIP))
Design Notes
The PIC16HV785's integrated shunt regulator requires an external current-limiting resistor between the high-voltage rail (up to 15 V) and the VDD pin. Size the resistor so the shunt sinks the difference between input current and MCU current: R_LIMIT = (V_IN_max - 5.0V) / I_SHUNT_typ. At V_IN=12V and I_SHUNT=10 mA, R_LIMIT is approximately 700 ohm (use 680 ohm standard value). The shunt regulates VDD at 5V nominal; add a 100 nF decoupling capacitor close to VDD and a 10 uF bulk capacitor for transient response.
At 20 MHz switching activity with all peripherals active, the PIC16HV785T-I/ML dissipates approximately 100-150 mW. The 20-QFN (4x4) package has a theta_JA of approximately 35-40 C/W on a standard 4-layer JEDEC test board, yielding a 5-6 C temperature rise above ambient. Estimated: at 85 C ambient, junction reaches 90-91 C - well below the 150 C absolute maximum. For higher ambient temperatures (>100 C), use the PIC16HV785T-E/ML extended-temperature variant instead of industrial grade.
Route the analog inputs (RA0-RA5, RC0-RC1) on a separate analog ground island tied to the QFN thermal pad (VSS) at a single point near the IC. The op-amp outputs (RA3/OP2OUT and RA5/OP1OUT in this pinout) should be guarded by ground traces to avoid coupling from PWM switching nodes (RC2-RC5). Place the VDD decoupling capacitor within 3 mm of pin 19 and the shunt resistor within 5 mm of pin 19. The exposed thermal pad (center pad) MUST be soldered to VSS for proper thermal dissipation and electrical grounding.
Common pitfalls when designing with PIC16HV785T-I/ML: (1) Forgetting that op-amp output pins are shared with port functions and comparator inputs - review the pin allocation table before PCB layout; (2) Configuring the shunt regulator without adequate heat dissipation in the current-limit resistor (use 0805 or larger size at >5 mA shunt); (3) Using the internal 8 MHz oscillator without calibrating for voltage/temperature drift in precision timing applications; (4) Forgetting that the ADC reference voltage defaults to VDD - for high-accuracy conversions, use an external VREF+ on RA3; (5) Enabling PWM without first configuring the comparator trip points, leading to MOSFET shoot-through.
Compliance Information
RoHS compliant per Microchip product page. Not AEC-Q100 qualified (industrial grade only). For automotive applications, Microchip recommends the PIC16F1779 or PIC16F18855 families which carry AEC-Q100 Grade 1 qualification.