PIC16F785-I/P - 8-Bit 20MHz Flash MCU w/ OpAmps | Microchip
부품 번호: PIC16F785-I/P ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $2.94 | $2.94 |
| 10 | $2.65 | $26.50 |
| 100 | $2.36 | $236.00 |
| 500 | $2.1 | $1,050.00 |
| 1,000 | $1.88 | $1,880.00 |
PIC16F785-I/P 개요
A microcontroller (MCU) is an integrated circuit that combines a CPU, program memory, RAM, and peripherals such as timers, ADC, and communication interfaces into a single chip intended to be embedded in a larger system. The PIC16F785 belongs to Microchip's mid-range x14 instruction set family, positioned between the baseline PIC10/12/16 devices and the enhanced PIC18 family in terms of instruction count and peripheral richness.
Key features include 20MHz operation with a 200ns instruction cycle, 3.5KB Flash program memory, 128 bytes of RAM, 256 bytes of EEPROM data memory, 12 ADC channels with 10-bit resolution, two on-chip op-amps, two comparators with programmable reference, two PWM modules, a 2-phase PWM controller, and nanoWatt power management for low-power applications. The integrated op-amps and comparators eliminate the need for external analog components in many sensor-interface and power-conversion designs.
The PIC16F785 utilizes Microchip's RISC-based Harvard architecture, separating program and data memory pathways to allow simultaneous instruction fetch and data access. The two-phase asynchronous feedback PWM block is purpose-built for digital control loops, enabling the device to act as both the controller and the analog front-end for offline and isolated power supply designs.
Typical applications include switch-mode power supply (SMPS) digital control, LED lighting drivers, battery chargers, motor control, sensor signal conditioning, and consumer appliance control. The combination of analog front-end, programmable gain op-amps, and PWM peripherals on a 5V-tolerant 8-bit core makes the PIC16F785 particularly attractive for power-conversion designs where a separate MCU plus analog IC would otherwise be required.
When designing with this device, ensure the analog and digital supply pins (VDD/VSS) are properly decoupled and that unused op-amp/comparator pins are not left floating if their outputs are enabled. The integrated 2-phase PWM requires careful configuration of the asynchronous feedback timing registers to avoid shoot-through in half-bridge topologies, and the on-chip op-amps have limited output swing that must be considered when biasing them for single-supply operation.
This page combines the verified Microchip datasheet parameters, current distributor pricing tiers, and a list of pin-compatible same-package drop-in alternatives so engineers can verify the part's fit and quickly plan second sources.
드롭인 대체품: PIC16F785-I/P — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC16F785-I/P (동일 폼 팩터 및 풋프린트) — 차이점: Package, Timers, ADC, I/O Pins, PWM Modules.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC16F785-I/SS
✅ 드롭인 ⚠️ 사양 미검증✓ 재고 있음
$1.18 / 개
데이터시트 보기 →PIC16F785-E/P
✅ 드롭인 ⚠️ 사양 미검증✓ 재고 있음
$1.22 / 개
데이터시트 보기 →PIC16F785T-I/SS
✅ 드롭인 ⚠️ 사양 미검증📋 참조 대체품 (카탈로그에 없음)
PIC16F767-I/SS
✅ 드롭인✓ 재고 있음
$2.18 / 개
데이터시트 보기 →PIC16F727-I/P
✅ 드롭인✓ 재고 있음
$2.78 / 개
데이터시트 보기 →PIC16F685-I/P
✅ 드롭인✓ 재고 있음
$1.32 / 개
데이터시트 보기 →PIC16F785-I/P 최대 정격 & 전기적 특성
| Core Architecture | PIC16 mid-range x14 (8-bit RISC Harvard) |
| Program Memory (Flash) | 3.5 KB (2K x 14 words) |
| RAM | 128 bytes |
| EEPROM Data Memory | 256 bytes |
| Maximum CPU Clock | 20 MHz |
| Instruction Cycle | 200 ns |
| Supply Voltage Range | 2.0 V to 5.5 V |
| I/O Pins | 17 (max) |
| ADC | 10-bit, up to 12 channels |
| On-Chip Operational Amplifiers | 2 |
| On-Chip Comparators | 2 (with programmable reference) |
| PWM Modules | 10-bit PWM + 2-phase asynchronous feedback PWM |
| Timers | Timer0, Timer1, Timer2 |
| Operating Temperature Range (industrial) | -40 C to +85 C |
| 패키지 | 20-pin PDIP (0.300 inch, 7.62mm) |
| 실장 유형 | Through-hole (PDIP) |
| Low-Power Mode | nanoWatt Technology |
PIC16F785-I/P 핀 구성
| 핀 1 | RA2/AN2/OPA1IN-/CVREF — GPIO RA2 / ADC input 2 / Op-Amp 1 inverting input / CVREF output |
| 핀 2 | RA3/AN3/OPA1IN+/C1OUT — GPIO RA3 / ADC input 3 / Op-Amp 1 non-inverting input / Comparator 1 output |
| 핀 3 | RA4/AN4/OPA1OUT/CCP4 — GPIO RA4 / ADC input 4 / Op-Amp 1 output / Capture-Compare 4 |
| 핀 4 | RA5/OPA2IN-/T1CKI/SS — GPIO RA5 / Op-Amp 2 inverting input / Timer1 clock / SPI SS |
| 핀 5 | VSS — Ground reference |
| 핀 6 | RA6/OPA2IN+/OSC2/CLKOUT — GPIO RA6 / Op-Amp 2 non-inverting input / Crystal OSC2 / CLKOUT |
| 핀 7 | RA7/OPA2OUT/OSC1/CLKIN — GPIO RA7 / Op-Amp 2 output / Crystal OSC1 / CLKIN |
| 핀 8 | VDD — Positive supply voltage (2.0V-5.5V) |
| 핀 9 | RB2/AN8/P2B — GPIO RB2 / ADC input 8 / PWM 2 Phase B |
| 핀 10 | RB3/AN9/P1D — GPIO RB3 / ADC input 9 / PWM 1 Phase D |
| 핀 11 | RB4/AN10/P1C — GPIO RB4 / ADC input 10 / PWM 1 Phase C |
| 핀 12 | RB5/AN11/P2A — GPIO RB5 / ADC input 11 / PWM 2 Phase A |
| 핀 13 | RB6/ICSPCLK — GPIO RB6 / ICD clock / serial programming clock |
| 핀 14 | RB7/ICSPDAT — GPIO RB7 / ICD data / serial programming data |
| 핀 15 | RC0/P2C — GPIO RC0 / PWM 2 Phase C |
| 핀 16 | RC1/P2D — GPIO RC1 / PWM 2 Phase D |
| 핀 17 | RC2/AN12/CCP2 — GPIO RC2 / ADC input 12 / Capture-Compare 2 |
| 핀 18 | RC3/AN13/C2OUT/P1B — GPIO RC3 / ADC input 13 / Comparator 2 output / PWM 1 Phase B |
| 핀 19 | RC4/P1A — GPIO RC4 / PWM 1 Phase A |
| 핀 20 | RC5 — GPIO RC5 (digital only) |
일반적인 애플리케이션
PIC16F785-I/P 적합 용도: 6 애플리케이션s: Switch-Mode Power Supply (SMPS) Digital Control, LED Lighting Drivers and Dimmers, Battery Chargers (Li-ion, Lead-Acid, NiMH), Sensor Signal Conditioning and Monitoring, Motor Control (BLDC, Stepper, Brushed DC), Consumer Appliance Control.
Switch-Mode Power Supply (SMPS) Digital Control
The PIC16F785-I/P is purpose-built for digital control of switch-mode power supplies because it integrates the analog front-end (dual op-amps and dual high-speed comparators) alongside the digital control loop (2-phase asynchronous feedback PWM). Current is sensed by Op-Amp 1 with programmable gain, voltage is sensed by Op-Amp 2, and the comparator generates cycle-by-cycle current-limit protection. The 2-phase PWM block drives a half-bridge with programmable dead-time, and the 20MHz CPU clock runs a discrete-time control loop at 100kHz+ switching frequencies.
추천
LED Lighting Drivers and Dimmers
LED drivers require precise current regulation and dimming control, both of which the PIC16F785-I/P handles internally. The 10-bit PWM module provides flicker-free dimming with 1024 brightness steps, while the 2-phase asynchronous feedback PWM can drive a totem-pole stage for offline LED bulb designs. The op-amps sense current through a high-side or low-side shunt, and the 10-bit ADC reads NTC temperature for thermal-foldback. Operating from 2.0V to 5.5V also supports battery-powered LED work lights.
추천
Battery Chargers (Li-ion, Lead-Acid, NiMH)
Battery charger designs benefit from the PIC16F785-I/P's integrated op-amps for current sensing, comparators for voltage thresholds, and PWM for switching-element control. The 256-byte EEPROM stores charging profiles and cycle-life counters without external storage, and the 2.0V minimum supply supports operation directly from a single Li-ion cell. The nanoWatt sleep modes reduce quiescent current to nanoamperes during the trickle-charge phase, extending battery life in portable chargers.
추천
Sensor Signal Conditioning and Monitoring
Industrial sensor designs typically need amplification, filtering, and ADC conversion, all of which the PIC16F785-I/P provides on-chip. The two op-amps buffer bridge-type sensors (load cells, strain gauges) with programmable gain, the 10-bit ADC digitizes the conditioned signal, and the comparators generate alarms when thresholds are exceeded. Industrial -40C to +85C operation handles factory-floor temperature ranges without additional components, saving BOM cost and PCB area.
추천
Motor Control (BLDC, Stepper, Brushed DC)
Small motor control designs use the PIC16F785-I/P's PWM modules for variable-speed drives and the comparators for back-EMF sensing. The op-amps amplify shunt-resistor current signals, and the 20MHz CPU handles trapezoidal or sinusoidal commutation algorithms in real time. EEPROM stores motor calibration constants and fault logs, while nanoWatt power modes reduce idle consumption in battery-powered tools. The 20-pin PDIP is friendly to hand-prototyped motor-control designs.
추천
Consumer Appliance Control
White-goods and small appliances use the PIC16F785-I/P for user-interface handling, sensor reading, and load control. The 2.0V to 5.5V supply range handles direct rectified mains operation with simple regulators, the EEPROM stores user preferences across power cycles, and the comparators provide zero-crossing detection for TRIAC-based heater dimming. The 20-pin PDIP package simplifies hand-soldered prototypes and field repairs — particularly relevant for low-volume appliance variants.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC16F785-I/P — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC16F785-I/SS | PIC16F785-E/P | PIC16F767-I/SS | PIC16F727-I/P | PIC16F685-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin PDIP | 20-pin SSOP | 20-pin PDIP - same | 20-pin SSOP | 20-pin PDIP - same | 20-pin PDIP - same |
| Flash Program Memory | 3.5 KB | 3.5 KB | 3.5 KB | 14 KB | 14 KB | 7 KB |
| RAM | 128 bytes | 128 bytes | 128 bytes | 368 bytes | 368 bytes | 256 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes |
| On-Chip Op-Amps | 2 | 2 | 2 | 0 | 0 | 0 |
| Comparators | 2 | 2 | 2 | 2 | 2 | 2 |
| ADC Channels | 12 | 12 | 12 | 14 | 14 | 12 |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C |
주요 차별점
- Only PIC16 family member with integrated dual op-amps AND 2-phase asynchronous feedback PWM (vs PIC16F767-I/SS)
- Designed specifically for switch-mode power supply control (vs PIC16F727-I/P)
- Compact 20-pin PDIP with on-chip analog (vs PIC16F685-I/P)
설계 노트
The PIC16F785-I/P operates from 2.0V to 5.5V; place a 100nF decoupling capacitor as close as possible to the VDD pin and a 10uF bulk capacitor on the same node. The on-chip analog peripherals (op-amps, comparators, ADC reference) share VDD and need low-noise regulation. For ADC accuracy at full 10-bit resolution, the supply ripple must remain below 50mV during conversion; in switching-power designs, RC-filter the analog supply pin from the digital supply pin.
When using the integrated 2-phase asynchronous feedback PWM, route the PWM output traces (P1A/P1B/P1C/P1D on PORTC4, RC3, RB4, RB3) with matched impedance and keep them short to minimize gate-loop inductance. The op-amp output traces (OPA1OUT/OPA2OUT on RA4/RA7) should be guarded by analog ground planes if they carry low-level sensor signals. Keep digital switching traces away from op-amp input pins to avoid coupling.
Do not leave the op-amp or comparator output pins floating when the analog blocks are enabled — this causes spurious current draw from internal bias networks. Always configure unused op-amps in unity-gain with the input tied to a known voltage (typically mid-rail). Also ensure the ICSP pins RB6/RB7 have a 10kOhm pull-up to VDD so the device does not enter programming mode in noisy environments.
규정 준수 정보
RoHS status not explicitly stated in verified web data; marked as unknown. Industrial temperature grade only — AEC-Q100 qualification is not applicable to the -I/P variant. For automotive applications, Microchip offers separately-qualified PIC16 derivatives.