PIC16HV785-E/SS - 8-Bit MCU, 20MHz, 3.5KB Flash, 20-SSOP | Microchip
MPN: PIC16HV785-E/SS ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.95 | $3.95 |
| 10 | $3.55 | $35.50 |
| 100 | $3.15 | $315.00 |
| 500 | $2.78 | $1,390.00 |
| 1,000 | $2.45 | $2,450.00 |
PIC16HV785-E/SS Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (Flash/ROM), data memory (RAM), and peripherals on one silicon die. MCUs belong to the broader category of microcontrollers, which fall under embedded processors, semiconductors, and integrated circuits. The 8-bit architecture executes instructions one byte (or one word) at a time, making it cost-effective and deterministic for low-power control tasks.
Key features include a two-phase asynchronous feedback PWM module, two on-chip op-amps with rail-to-rail inputs, two high-speed comparators with programmable reference, internal 8MHz oscillator, and an integrated shunt regulator supporting operation directly from 3.5V to 15V supplies without an external regulator. The device supports In-Circuit Serial Programming (ICSP) and In-Circuit Debug (ICD).
The PIC16HV785 uses a RISC-style Harvard design with 35 single-word instructions, providing deterministic interrupt response and low interrupt latency. The on-chip op-amps can be configured for active filtering, current sensing, or signal conditioning, while the comparators support overcurrent and zero-cross detection. Together they enable compact, single-chip SMPS, LED driver, and motor-control implementations.
Typical applications include DC-DC converters, LED lighting drivers, battery chargers, solar micro-inverters, motor control, and intelligent power management. The HV regulator eliminates an external LDO, reducing BOM cost in line-powered embedded designs.
When designing with this MCU, the on-chip op-amps have limited output swing and bandwidth - check the analog loop bandwidth against the switching frequency of the converter. Use the MSSP module for SPI/I2C peripheral expansion where additional memory or DACs are required.
This page synthesizes distributor pricing, drop-in pin-compatible alternatives (PIC16F785, PIC16HV785-I/SS, PIC16HV785-I/SO), and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC16HV785-E/SS — 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 PIC16HV785-E/SS (same form factor and footprint) — differing in Package, Core Architecture, Operating Temperature, Timers, I/O Pins.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16HV785-I/SS
✅ Drop-In✓ In Stock
$1.65 / Unit
View Datasheet →PIC16F785-E/SS
✅ Drop-In✓ In Stock
$1.25 / Unit
View Datasheet →PIC16HV785-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16HV785-E/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F785-I/SS
✅ Drop-In✓ In Stock
$1.59 / Unit
View Datasheet →PIC16HV785-E/SS Maximum Ratings & Electrical Characteristics
| Family | PIC16F/HV |
| CPU Core | 8-bit PIC16 |
| Program Memory | 3.5 KB (2K x 14) Flash |
| Data RAM | 128 bytes |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 20 MHz |
| Operating Voltage | 3.5 V to 15 V (HV shunt regulator) |
| Digital I/O Pins | 18 |
| On-chip Op-Amps | 2 |
| High-Speed Comparators | 2 |
| PWM Channels | 2 (two-phase asynchronous feedback) |
| ADC | 8-bit, 9 channels |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Package | 20-pin SSOP (5.3 mm) |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +125C (E = Enhanced) |
| Instruction Set | 35 single-word instructions |
| Programming | ICSP (In-Circuit Serial Programming) |
| RoHS Status | Compliant |
| MSL Level | 1 |
PIC16HV785-E/SS Pin Configuration
| Pin 1 | RA5/AN4/SS/HLVDIN — Digital I/O / Analog input / SPI slave select / High-Low Voltage Detect input |
| Pin 2 | RA4/AN3 — Digital I/O / Analog input channel 3 |
| Pin 3 | RA3/AN2/VREF- — Digital I/O / Analog input / ADC negative reference |
| Pin 4 | RA2/AN1/VREF+ — Digital I/O / Analog input / ADC positive reference |
| Pin 5 | RA1/AN0/OPA1IN+ — Digital I/O / Analog input / Op-Amp 1 non-inverting input |
| Pin 6 | RA0/AN0/OPA1IN- — Digital I/O / Analog input / Op-Amp 1 inverting input |
| Pin 7 | VDD — Positive supply voltage |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/RA7 — External oscillator input / Digital I/O |
| Pin 10 | OSC2/RA6 — External oscillator output / Digital I/O |
| Pin 11 | RC0/T1CKI/OPA1OUT — Digital I/O / Timer1 clock / Op-Amp 1 output |
| Pin 12 | RC1/CCP2/OPA2OUT — Digital I/O / PWM output / Op-Amp 2 output |
| Pin 13 | RC2/CCP1/P1A — Digital I/O / PWM1 output / PWM channel A |
| Pin 14 | RC3/P1B — Digital I/O / PWM channel B |
| Pin 15 | RC4/C2OUT — Digital I/O / Comparator 2 output |
| Pin 16 | RC5/C1OUT — Digital I/O / Comparator 1 output |
| Pin 17 | RC6/AN8/OPA2IN- — Digital I/O / Analog input / Op-Amp 2 inverting input |
| Pin 18 | RC7/AN9/OPA2IN+ — Digital I/O / Analog input / Op-Amp 2 non-inverting input |
| Pin 19 | RB7/ICSPDAT — Digital I/O / ICSP data line |
| Pin 20 | RB6/ICSPCLK — Digital I/O / ICSP clock line |
Typical Applications
PIC16HV785-E/SS is suitable for 6 applications: Switch-Mode Power Supply (SMPS) Controller, LED Lighting Driver, Battery Charger Controller, Solar Micro-Inverter / MPPT Controller, DC Motor Speed Controller, Intelligent Power Management / Smart Resettable Fuse.
Switch-Mode Power Supply (SMPS) Controller
The PIC16HV785-E/SS is purpose-built for SMPS primary-side control in isolated and non-isolated topologies. Its two-phase asynchronous feedback PWM module drives synchronous buck, boost, flyback, and SEPIC converters at switching frequencies up to 200 kHz. The on-chip dual op-amps provide current-sense amplification and error-voltage generation for current-mode control loops without external analog ICs. The integrated HV shunt regulator operates directly from 3.5V to 15V input rails, eliminating an external LDO. For 5V/12V adapter designs, the MCU generates the feedback reference, modulates PWM duty cycle, and provides overcurrent protection via the on-chip comparators - all in a single 20-SSOP device.
Recommended
LED Lighting Driver
The PIC16HV785-E/SS excels in constant-current LED driver designs where it integrates all control and analog functions. The on-chip dual op-amps measure the high-side or low-side shunt voltage for precise current regulation, while the dual comparators detect open-LED and short-LED faults within microseconds. The PWM module provides analog dimming via duty-cycle control, and software can implement thermal derating by reading the on-chip temperature indicator. The HV shunt regulator supports direct connection to 12V or 24V LED strip rails. Per Microchip AN1074, this MCU replaces discrete LED driver ICs in architectural lighting, MR16 bulbs, and signage applications where programmable dimming curves add value.
Recommended
Battery Charger Controller
The PIC16HV785-E/SS is well-suited for single-cell Li-ion, lead-acid, and NiMH battery charger designs. Its integrated ADC monitors battery voltage, charge current, and temperature, while the op-amps implement CC/CV (constant-current/constant-voltage) regulation loops. The HV shunt regulator accepts 12V-15V adapter inputs directly, and the on-chip comparators terminate charge when full-battery voltage is detected. Per Microchip application notes, the MCU can implement CC/CV profiles, safety timers, and temperature-qualified charging algorithms in firmware, replacing dedicated charger ICs. The 20-SSOP package fits compact charger form factors including USB-PD and AC adapters.
Recommended
Solar Micro-Inverter / MPPT Controller
The PIC16HV785-E/SS powers solar micro-inverter and MPPT (Maximum Power Point Tracking) controllers for sub-100W PV panels. Its dual op-amps implement the input current-sense and panel voltage-sense amplifiers required for perturb-and-observe or incremental-conductance MPPT algorithms. The two-phase PWM drives a high-frequency push-pull or full-bridge inverter stage at 50 kHz-200 kHz, while the comparators detect zero-cross for synchronous rectification. The HV regulator accepts 15V-30V panel open-circuit voltage through an external shunt resistor. Per Microchip AN1114, this MCU is the recommended controller for low-cost solar chargers and grid-tie micro-inverters.
Recommended
DC Motor Speed Controller
The PIC16HV785-E/SS implements closed-loop DC motor speed control in a single chip for industrial fans, pumps, and small robotics. The PWM module drives an H-bridge or half-bridge MOSFET driver with variable duty cycle for proportional speed control. The op-amps amplify the back-EMF or tachogenerator signal for feedback, and the comparators detect overcurrent stall conditions. The HV regulator accepts 12V-24V motor supply rails directly. The 8-bit ADC reads the speed setpoint (potentiometer or analog command) and adjusts duty cycle accordingly. With the Flash memory, engineers can implement soft-start, ramp profiles, and stall recovery in firmware.
Recommended
Intelligent Power Management / Smart Resettable Fuse
The PIC16HV785-E/SS replaces electromechanical circuit breakers and PTC resettable fuses with a programmable electronic fuse for industrial and automotive power distribution. The on-chip comparators detect overcurrent within 100 ns via a current-sense resistor; the MCU then disables the load via a MOSFET switch and logs the fault via Flash memory. The ADC monitors load voltage and temperature, while the PWM module drives the MOSFET gate with controlled dV/dt. Per Microchip application notes, this is the recommended topology for 12V/24V automotive and industrial power rails where resettable, loggable fault protection is required. The 20-SSOP package fits inline fuse-holder modules.
Recommended
Recommended Products Summary
Engineering reference data for PIC16HV785-E/SS — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16HV785-I/SS | PIC16F785-E/SS | PIC16HV785-I/SO | PIC16HV785-E/SO | PIC16F785-I/SS |
|---|---|---|---|---|---|---|
| Package | 20-SSOP | 20-SSOP (same) | 20-SSOP (same) | 20-SOIC | 20-SOIC | 20-SSOP (same) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Operating Voltage | 3.5 V to 15 V (HV shunt) | 3.5 V to 15 V (HV shunt) | 2.0 V to 5.5 V | 3.5 V to 15 V (HV shunt) | 3.5 V to 15 V (HV shunt) | 2.0 V to 5.5 V |
| Temperature Grade | Extended (-40C to +125C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Industrial (-40C to +85C) |
| Program Memory | 3.5 KB Flash | 3.5 KB Flash | 3.5 KB Flash | 3.5 KB Flash | 3.5 KB Flash | 3.5 KB Flash |
| CPU Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| On-chip Op-Amps | 2 | 2 | 2 | 2 | 2 | 2 |
| HV Shunt Regulator | Yes | Yes | No | Yes | Yes | No |
| Unit Price (qty 1) | USD 3.95 | USD 3.95 | USD 3.65 | USD 3.95 | USD 3.95 | USD 3.65 |
Key Differentiators
- Integrated HV shunt regulator eliminates external LDO (vs PIC16F785-E/SS)
- Extended -40C to +125C temperature range for industrial and automotive (vs PIC16HV785-I/SS)
- 20-SSOP package suits high-density analog designs (vs PIC16HV785-E/SO)
- Dual on-chip op-amps and comparators eliminate external analog ICs (vs Generic 8-bit MCU (e.g., PIC16F877A))
Design Notes
The PIC16HV785-E/SS integrates an HV shunt regulator that requires an external shunt resistor (Rs) between the HV input pin and VDD. Per the Microchip datasheet, Rs must dissipate (VIN - VDD) / IDD; for VIN=12V, VDD=5V, IDD=10mA, Rs sees 7V*10mA = 70mW. Choose Rs with at least 250mW rating and adequate creepage. If the application is always VIN=5V, the PIC16F785-E/SS without the HV regulator is cheaper and simpler.
Place the shunt resistor (Rs) and bulk VDD capacitor (>= 1uF X7R) within 5mm of the HV and VDD pins to minimize parasitic inductance and prevent regulator oscillation. The on-chip op-amps are sensitive to digital switching noise - route the analog signals (OPA1IN+, OPA2IN+) over a quiet ground island and keep the PWM traces (RC2/RC3) short and away from the analog inputs. SSOP thermal pad is not present on this package - thermal relief is via the standard SSOP leads.
Do not exceed the absolute maximum HV input of 15V; the on-chip shunt transistor will dissipate excessive power and may latch up. The op-amp output swing is rail-to-rail but does not reach exactly VDD or VSS - leave 100mV headroom when designing amplifier circuits. The ADC reference voltage defaults to VDD unless VREF+/VREF- pins are configured; select the internal 0.6V reference for low-voltage measurements to maximize ADC dynamic range.
The two-phase PWM outputs (P1A, P1B) can be configured for complementary or push-pull modes with programmable dead-band delay. For half-bridge motor or SMPS drive, insert 100ns-300ns dead-band to prevent shoot-through. Per Microchip AN1074, route the gate-drive signals as differential pairs with matched trace lengths and add 10k gate-source pull-down resistors on the high-side FET to prevent false turn-on during supply transitions.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified - for automotive applications requiring AEC-Q100, contact Microchip for the AEC-Q100 qualified PIC16 variant. Lead-free and halogen-free per Microchip material declaration.