PIC16C782/JW - 8-Bit MCU, 20MHz, 3.5KB EPROM, A/D, D/A, OPAMP | Microchip
MPN: PIC16C782/JW ✗ End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $18.5 | $18.50 |
| 10 | $16.2 | $162.00 |
| 100 | $13.85 | $1,385.00 |
| 500 | $11.9 | $5,950.00 |
| 1,000 | $10.4 | $10,400.00 |
PIC16C782/JW Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and programmable I/O peripherals on a single die. An 8-bit MCU such as the PIC16C782 processes data 8 bits at a time, occupying the small-footprint, low-power end of the microcontroller taxonomy (8-bit MCU -> RISC microcontroller -> embedded controller -> semiconductor). The PIC16C782 belongs to the PIC16C family of RISC microcontrollers with only 35 single-word instructions, 200ns instruction execution time at 20MHz, and upward compatibility with the PIC16C5X and PIC12CXXX device families.
Key specifications include 13 I/O pins, a 5V typical operating voltage (operating range of approximately 2.5V to 5.5V per PIC16C family norms), internal oscillator support, and a windowed ceramic CDIP package that allows UV erasure for development and prototyping cycles. The integrated operational amplifier eliminates the need for an external analog front-end in many signal-conditioning applications, while the on-chip D/A converter provides analog set-point generation without external components.
Architecturally, the PIC16C782 uses Microchip's classic Harvard RISC core with separate program and data buses, a hardware multiplier-free instruction set, and an integrated mixed-signal analog block. The PSMC block enables direct switching converter control loops without additional glue logic, which was a differentiating feature when the part was introduced and remains useful in modern retrofits of legacy designs.
Typical applications include power supply supervisory and SMPS control, closed-loop analog signal conditioning, sensor interface and conditioning, programmable analog set-point generation, industrial process controllers, and embedded control with mixed-signal I/O. The integrated op-amp, DAC, and PSMC blocks let a single PIC16C782 replace what previously required an MCU plus several analog ICs.
When designing with this device, note that the /JW suffix indicates a UV-erasable windowed package intended for development; for production use the OTP /P or /SO variants are recommended. Programming voltage (typically 13V on MCLR/VPP) and oscillator configuration must follow the datasheet, and the integrated analog peripherals each have dedicated configuration registers.
This page synthesizes distributor pricing, exact same-package drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC16C782/JW — 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 PIC16C782/JW (same form factor and footprint) — differing in Package, Mounting Type, Operating Temperature, Program Memory Size, Program Memory Type.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16C781T-I/SO
✅ Drop-In✓ In Stock
$5.85 / Unit
View Datasheet →PIC16C717/JW
✅ Drop-In✓ In Stock
$11.8 / Unit
View Datasheet →PIC16C715/JW
✅ Drop-In✓ In Stock
$9.75 / Unit
View Datasheet →PIC16C712/JW
✅ Drop-In✓ In Stock
$11.2 / Unit
View Datasheet →PIC16C72/JW
✅ Drop-In✓ In Stock
$17.8 / Unit
View Datasheet →PIC16C774/JW
✅ Drop-In✓ In Stock
$10.2 / Unit
View Datasheet →PIC16C782/JW Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16C RISC 8-bit |
| Program Memory Size | 3.5 KB (2K x 14) EPROM, UV-erasable |
| RAM Size | 128 x 8 bytes |
| Maximum CPU Frequency | 20 MHz |
| Instruction Execution Time | 200 ns at 20 MHz |
| Number of I/O Pins | 13 |
| Package / Case | 20-CDIP Window (0.300 inch, 7.62 mm) |
| Mounting Type | Through-Hole (windowed ceramic DIP) |
| Oscillator Type | Internal (external oscillator option supported per family) |
| A/D Converter | 8-bit integrated |
| D/A Converter | 8-bit integrated |
| Operational Amplifier | 1 integrated on-chip op-amp |
| Comparators | Integrated (per datasheet) |
| PSMC (Power Supply Management Controller) | Integrated |
| Number of Instructions | 35 single-word |
| Instruction Word Width | 14 bits |
PIC16C782/JW Pin Configuration
| Pin 1 | RA2/AN2/VREF- — Port A bit 2 / Analog input 2 / DAC reference low (per datasheet) |
| Pin 2 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / DAC reference high (per datasheet) |
| Pin 3 | RA4/AN4/T0CKI — Port A bit 4 / Analog input 4 / Timer 0 clock input (per datasheet) |
| Pin 4 | MCLR/VPP — Master Clear reset (active low) / Programming voltage input |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0/INT — Port B bit 0 / External interrupt input |
| Pin 7 | RB1 — Port B bit 1 / digital I/O |
| Pin 8 | RB2 — Port B bit 2 / digital I/O |
| Pin 9 | RB3 — Port B bit 3 / digital I/O |
| Pin 10 | RB4 — Port B bit 4 / digital I/O |
| Pin 11 | RB5 — Port B bit 5 / digital I/O |
| Pin 12 | RB6 — Port B bit 6 / digital I/O |
| Pin 13 | RB7 — Port B bit 7 / digital I/O |
| Pin 14 | VDD — Positive supply voltage (typical 2.5V to 5.5V) |
| Pin 15 | OSC2/CLKOUT — Oscillator crystal output / Clock out |
| Pin 16 | OSC1/CLKIN — Oscillator crystal input / External clock input |
| Pin 17 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Pin 18 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Pin 19 | RC0 — Port C bit 0 / digital I/O |
| Pin 20 | RC1 — Port C bit 1 / digital I/O |
Typical Applications
PIC16C782/JW is suitable for 6 applications: Switch-Mode Power Supply (SMPS) Control, Industrial Process Control Loops, Sensor Signal Conditioning and Transmitters, Programmable Analog Set-Point Generation, Battery Charging and Power Management, Legacy Embedded Control Retrofits.
Switch-Mode Power Supply (SMPS) Control
The PIC16C782/JW is purpose-built for SMPS control, integrating an 8-bit ADC for output voltage sensing, an 8-bit DAC for reference generation, an op-amp for the feedback error amplifier, and a PSMC block that generates PWM gate-drive signals directly. The 20MHz core (200ns instruction cycle) provides the loop bandwidth needed for sub-microsecond duty-cycle updates in a 100kHz to 500kHz switching converter. In a typical 24V-to-5V buck application, the PSMC drives the high-side and low-side MOSFETs while the on-chip ADC samples Vout and the DAC programs the reference, eliminating 3-4 external analog ICs and shrinking the BOM. The /JW windowed package is ideal for firmware tuning of compensation coefficients during development.
Recommended
Industrial Process Control Loops
The PIC16C782/JW's integrated op-amp, 8-bit ADC, and 8-bit DAC form a complete PID control loop on a single chip, suitable for temperature, pressure, or flow control in industrial process instrumentation. The op-amp serves as the front-end signal conditioner for a bridge sensor or thermocouple, the ADC digitizes the conditioned signal, the firmware computes the PID output, and the DAC drives a 4-20mA current loop or actuator setpoint. With 3.5KB of EPROM and 35 single-word instructions, the PID plus display driving plus serial communication fit comfortably. The 13 I/O pins provide HMI button/switch input and LED/LCD segment output. The part's industrial heritage and wide supply range suit 24V-loop powered field instruments.
Recommended
Sensor Signal Conditioning and Transmitters
Bridge sensor, RTD, and thermocouple signal conditioning is a natural fit for the PIC16C782/JW because the integrated op-amp performs first-stage amplification while the on-chip 8-bit ADC digitizes the result. The DAC can be used for cold-junction compensation in thermocouple measurements or for excitation-voltage trimming of bridge sensors. The PSMC block can generate an isolated excitation supply switching frequency, eliminating an external PWM controller. This single-chip solution replaces what historically required an instrumentation amp, an ADC, a DAC, and a separate MCU. The 20-pin CDIP package allows easy through-hole prototyping on a perfboard, accelerating lab validation before transitioning to the OTP /P variant for production.
Recommended
Programmable Analog Set-Point Generation
The PIC16C782/JW's 8-bit DAC allows firmware-driven analog set-point generation for motor drives, valve controllers, and analog-controlled industrial equipment. A host controller sends digital commands over a UART or I2C link, and the PIC16C782 translates these into a 0-5V analog output via the DAC, with the on-chip op-amp providing output buffering for low-impedance loads. The PSMC block can also generate a synchronized PWM output for actuators that prefer PWM over analog control. This dual-output capability (analog + PWM) from a single mixed-signal MCU simplifies the architecture of legacy industrial subsystems where a separate MCU plus DAC IC was previously required.
Recommended
Battery Charging and Power Management
Battery charging algorithms (CC/CV profiles, temperature-compensated termination, and timer-based top-off) are well-served by the PIC16C782/JW's mixed-signal block: the ADC monitors battery voltage and current, the DAC programs the charger reference, and the PSMC generates the PWM gate drive for the buck converter. The 20MHz CPU runs the charge-state machine fast enough to handle Li-ion safety timing. For lead-acid or NiMH chemistries, the firmware can implement periodic equalization or top-off cycles entirely on-chip. The /JW windowed CDIP is ideal for charger firmware prototyping where charge-profile parameters are iteratively tuned.
Recommended
Legacy Embedded Control Retrofits
The PIC16C782/JW is frequently specified in legacy equipment where Microchip's PIC16C 20-pin footprint and instruction set are baked into the existing PCB layout and assembler codebase. Industrial controllers, scientific instruments, and military/aerospace subsystems built in the late 1990s and early 2000s often use this part, and the /JW windowed package allows field re-programming for firmware patches or calibration updates. The PIC16C 35-instruction RISC core ensures that existing assembler routines port with minimal effort, and the upward compatibility with PIC16C5X and PIC12CXXX devices means code libraries from older products remain reusable. When the /JW stock is exhausted, the /P or /SO OTP variants or PIC16F flash successors serve as pin-compatible replacements.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C782/JW — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C781T-I/SO | PIC16C717/JW | PIC16C715/JW | PIC16C712/JW | PIC16C72/JW | PIC16C774/JW |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-CDIP Window (0.300 inch) | 20-CDIP / SOIC-20 (T variant) | 20-CDIP Window - same | 20-CDIP Window - same | 20-CDIP Window - same | 20-CDIP Window - same | 20-CDIP Window - same |
| Max CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Integrated Op-Amp | Yes | Yes | No | No | No | No | No |
| Integrated DAC | 8-bit | Yes (similar) | No | No | No | No | No |
| PSMC Block | Yes | Yes | No | No | No | No | No |
| Lifecycle Status | Obsolete | Obsolete | Obsolete | Obsolete | Obsolete | Obsolete | Obsolete |
Key Differentiators
- Highest mixed-signal analog integration in the PIC16C family (vs PIC16C717/JW)
- On-chip PSMC eliminates external PWM controller IC (vs PIC16C72/JW)
- Integrated op-amp removes front-end amplifier cost (vs PIC16C715/JW)
- Larger program memory than lower-end PIC16C 20-pin cousins (vs PIC16C712/JW)
Design Notes
The PIC16C782/JW in a 20-CDIP windowed ceramic package has a typical theta_JA of approximately 60 C/W when mounted in still air with no heatsinking. At 20MHz clock and 5V VDD the core draws roughly 10-15mA, giving power dissipation of 50-75mW and a junction temperature rise of only 3-5 C above ambient. No external heatsink is required for any realistic operating condition. The dominant thermal concern is the EPROM programming/UV-erase cycle: during UV erasure the die is exposed through the quartz window for 20-30 minutes, during which the part should be at room temperature and shielded from ambient light to prevent partial erasure or data corruption.
Place a 0.1uF ceramic decoupling capacitor as close as possible to the VDD pin (pin 14) with the ground return via short and direct to the VSS pin (pin 5). For designs using the internal oscillator, a 100nF bulk cap near VDD plus a 10uF tantalum or aluminum polymer cap at the board power entry is recommended. The MCLR/VPP pin (pin 4) requires a 10k-100k pull-up to VDD for normal operation, and a low-ESR path to the programmer's 13V VPP during in-circuit serial programming. Keep analog inputs (RA0-RA4) traces short and guarded with a ground pour to minimize ADC noise pickup, especially when the integrated op-amp drives any nearby digital lines.
Three pitfalls to avoid: (1) The /JW package is windowed for UV erasure - exposing the part to sunlight or fluorescent light for extended periods can partially erase the EPROM; cover the window with opaque labels during operation. (2) The PIC16C782's peripheral set (ADC, DAC, op-amp, PSMC, comparators) shares configuration registers - enabling one analog block can disable or remap pins expected by another; always read the datasheet's peripheral-interaction tables before layout. (3) The 13 I/O pins listed in marketing material include analog-multiplexed pins - the actual digital-only I/O count is lower; if the design needs 13 pure digital I/Os, the PIC16C782 is the wrong part and a 28-pin PIC16C variant should be selected instead. Estimated: typical IDD ~10mA at 20MHz/5V based on PIC16C family datasheet trends.
The PIC16C782/JW's integrated op-amp and ADC are sensitive to digital switching noise from the PSMC PWM outputs. Route the PWM output traces (typically on RC0/RC1) away from the analog input traces (RA0-RA4) and place a ground guard trace between the two regions. For SMPS applications, add an RC filter (1k + 100nF) at the op-amp output before feeding back into the ADC input to attenuate switching-frequency ripple. The on-chip DAC reference (VREF+/VREF-) should be bypassed with 100nF ceramic caps to VSS; using VDD as the DAC reference directly couples power supply noise into the analog output and degrades PSRR. Estimated: -3dB RC corner at ~1.6 kHz, well below typical 50-500kHz SMFS switching frequencies.
Compliance Information
Windowed ceramic CDIP packages are typically non-RoHS due to the hermetic ceramic body and tin-lead finish; production RoHS designs should migrate to flash-based PIC16F1xxx successors in plastic SOIC or SSOP. AEC-Q100 not qualified - this is an industrial/legacy part, not automotive-grade.