PIC16F785-I/SS - 8-bit MCU, 20MHz, 3.5KB Flash, 20-SSOP | Microchip
Артикул: PIC16F785-I/SS ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $2.1 | $2,10 |
| 10 | $1.92 | $19,20 |
| 100 | $1.65 | $165,00 |
| 500 | $1.42 | $710,00 |
| 1.000 | $1.18 | $1.180,00 |
PIC16F785-I/SS Обзор
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory, working RAM, and a rich set of peripheral blocks such as ADCs, timers, communication ports and comparators. MCUs sit at the lowest tier of the embedded-system hierarchy: sensor/actuator -> MCU -> microprocessor/SoC -> computer. The PIC16F785 belongs to the broader category of 8-bit microcontrollers (8-bit MCU -> microcontroller -> embedded processor -> semiconductor), optimized for low cost, deterministic real-time response and ultra-low sleep current (nanoWatt Technology) in battery-powered designs.
Key specifications include 35 single-word instructions, 200 ns instruction execution at 20 MHz, an operating voltage of 2.0 V to 5.5 V (industrial -40C to +85C, I-temp), 12 I/O pins with independent direction control, an enhanced Universal Synchronous/Asynchronous Receiver/Transmitter (EUSART) and a Master Synchronous Serial Port (MSSP) for SPI/I2C. The dual on-chip op-amps and dual comparators, combined with the two-phase PWM, allow a single-chip implementation of peak-current-mode and bridge-type power converters without external analog components.
The device is built on Microchip's mature mid-range 14-bit instruction architecture, providing 8-level deep hardware stack, two 8-bit timer/counters (Timer0/Timer2) and one 16-bit timer/counter (Timer1), plus a watchdog timer with its own on-chip RC oscillator. The on-chip debug and In-Circuit Serial Programming (ICSP) interfaces via only two pins, enabling field upgrades and reducing development-tooling cost.
Typical applications include switch-mode power supplies (SMPS) using dead-cap below 100 mV ripple, LED drivers with analog dimming using the on-chip op-amps, battery chargers, motor-control reference designs (BLDC, half-bridge and full-bridge topologies), battery monitors and industrial sensor signal conditioning, smart-metering endpoints and low-cost consumer white goods. The AEC-Q100 automotive temperature option makes the part suitable for under-hood and cabin electronics.
When designing with the PIC16F785-I/SS, allocate the two op-amp inputs/outputs and two comparator outputs carefully to your analog front-end, and remember that sharing analog pins with digital I/O requires TRIS and ANSEL configuration to avoid contention. Place a 100 nF decoupling capacitor as close as possible to VDD/SSOP pin 1 and pin 20, and provide adequate bulk capacitance if the analog rail is shared with a switching converter.
This page synthesizes distributor pricing from 11 sources, parametric drop-in alternatives from the same PIC16 family, application recommendations from Microchip reference designs and practical design notes not found in the manufacturer datasheet alone.
Аналоги без доработки для PIC16F785-I/SS — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC16F785-I/SS (тот же форм-фактор и посадочное место) — отличается по Package, ADC, Core Architecture, Program Memory (Flash), I/O Pins.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC16F785-I/SO
✅ Прямая замена✓ В наличии
$1.45 / шт.
Открыть даташит →PIC16F785-I/P
✅ Прямая замена✓ В наличии
$1.88 / шт.
Открыть даташит →PIC16F785T-I/SS
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC16F1709-I/SS
✅ Прямая замена✓ В наличии
$1.1 / шт.
Открыть даташит →PIC16F88-I/SS
✅ Прямая замена✓ В наличии
$3.08 / шт.
Открыть даташит →PIC16F785-I/ML
✅ Прямая замена✓ В наличии
$1.62 / шт.
Открыть даташит →PIC16F785-I/SS Максимальные параметры и электрические характеристики
| Core | PIC16 mid-range 8-bit (x14 RISC) |
| Program Flash | 3.5 KB (2K x 14 words) |
| EEPROM Data Memory | 128 bytes |
| SRAM | 128 bytes |
| Maximum CPU Frequency | 20 MHz |
| Instruction Execution Time | 200 ns at 20 MHz |
| Operating Voltage Range | 2.0 V to 5.5 V |
| Operating Temperature Range (I-temp) | -40C to +85C |
| I/O Pins | 12 |
| ADC | 10-bit, up to 14 channels |
| Operational Amplifiers | 2 (on-chip) |
| Comparators | 2 high-speed |
| PWM Modules | CCP + Two-Phase Asynchronous Feedback PWM |
| Timers | Timer0 (8-bit), Timer1 (16-bit), Timer2 (8-bit) |
| Communication | EUSART + MSSP (SPI/I2C) |
| Watchdog Timer | Yes, with dedicated on-chip RC oscillator |
| Programming/Debug | ICSP (2-wire) + In-Circuit Debug |
| Power-Saving Technology | nanoWatt Technology |
| Корпус | 20-pin SSOP (5.30 mm body) |
| Тип монтажа | Surface Mount |
| AEC-Q100 Automotive Grade | Yes (qualified variant) |
Конфигурация выводов PIC16F785-I/SS
| Контакт 1 | RA0/AN0/ULPWU — Bidirectional I/O, ADC channel 0, ultra-low-power wake-up |
| Контакт 2 | RA1/AN1 — Bidirectional I/O, ADC channel 1 |
| Контакт 3 | RA2/AN2 — Bidirectional I/O, ADC channel 2 |
| Контакт 4 | RA3/AN3 — Bidirectional I/O, ADC channel 3 |
| Контакт 5 | RA4/AN4/T1G — Bidirectional I/O, ADC channel 4, Timer1 gate |
| Контакт 6 | RA5/AN5 — Bidirectional I/O, ADC channel 5 |
| Контакт 7 | RA6/OSC2/CLKOUT — Bidirectional I/O, oscillator output, CLKOUT |
| Контакт 8 | RA7/OSC1/CLKIN — Bidirectional I/O, oscillator input, CLKIN |
| Контакт 9 | RC0 — Bidirectional I/O |
| Контакт 10 | RC1 — Bidirectional I/O |
| Контакт 11 | RC2 — Bidirectional I/O |
| Контакт 12 | RC3 — Bidirectional I/O |
| Контакт 13 | RC4 — Bidirectional I/O |
| Контакт 14 | RC5 — Bidirectional I/O |
| Контакт 15 | RC6 — Bidirectional I/O |
| Контакт 16 | RC7 — Bidirectional I/O |
| Контакт 17 | VDD — Positive supply voltage |
| Контакт 18 | VSS — Ground reference |
| Контакт 19 | RB6/PGC — Bidirectional I/O, ICSP clock |
| Контакт 20 | RB7/PGD — Bidirectional I/O, ICSP data |
Типичное применение
PIC16F785-I/SS подходит для 7 применениеs: Switch-Mode Power Supply (SMPS) Controller, LED Driver with Analog Dimming, Battery Charger (Lead-Acid / Li-Ion), BLDC and Brushed Motor Control, Industrial Sensor Signal Conditioning, Smart Metering and Energy Monitoring, Low-Cost Consumer White Goods.
Switch-Mode Power Supply (SMPS) Controller
The PIC16F785-I/SS is uniquely well suited as a primary-side SMPS controller because its integrated two on-chip op-amps, two high-speed comparators and Two-Phase Asynchronous Feedback PWM allow peak-current-mode control of buck, boost and flyback topologies without any external analog ICs. The 20 MHz CPU closes the voltage loop in well under 1 us, achieving sub-100 mV output ripple in 5 V/1 A designs. The 10-bit ADC samples the output voltage and current sense resistors for digital-mode voltage-mode fallback if required, while nanoWatt sleep currents below 1 uA minimize standby loss for Energy Star and DoE Level VI adapters.
Рекомендуется
LED Driver with Analog Dimming
The PIC16F785-I/SS drives constant-current LED strings using one of its on-chip op-amps as a transconductance error amplifier and the second as a dimming interface. Its Two-Phase Asynchronous Feedback PWM delivers 16-bit PWM resolution for flicker-free dimming down to 0.1% duty cycle, while the 14-channel 10-bit ADC reads thermistor feedback for thermal foldback. Compared with a discrete solution, the integrated comparator and PWM reduce BOM cost and PCB area in architectural and automotive interior-lighting designs where AEC-Q100 variants are required.
Рекомендуется
Battery Charger (Lead-Acid / Li-Ion)
Battery chargers benefit from the PIC16F785-I/SS's two high-speed comparators for end-of-charge detection, dual op-amps for current and voltage regulation loops, and the on-chip 10-bit ADC for temperature-compensated charging profiles. The 2.0-5.5 V operating range accommodates 1-cell Li-ion packs through 4-cell NiMH stacks without additional regulation. nanoWatt Technology sleep brings quiescent draw below typical self-discharge rates, making the device attractive for solar MPPT chargers and uninterruptible power supplies where standby efficiency is critical.
Рекомендуется
BLDC and Brushed Motor Control
Motor-control reference designs leverage the PIC16F785-I/SS for sensorless BLDC commutation via its high-speed comparators (BEMF zero-crossing) and the Two-Phase PWM for synchronous rectification. At 20 MHz the device generates 20 kHz PWM with 200 ns dead-time control for half-bridge and full-bridge drives. The two on-chip op-amps condition current-sense shunt signals, eliminating external instrumentation amplifiers. Industrial automation and small-appliance motor applications benefit from the deterministic PIC16 instruction timing and 8-level hardware stack.
Рекомендуется
Industrial Sensor Signal Conditioning
Industrial sensor modules use the PIC16F785-I/SS to digitize thermocouple, RTD, strain-gauge and 4-20 mA loops through its 10-bit ADC and two on-chip op-amps acting as low-offset instrumentation front-ends. The EUSART delivers RS-232/485 connectivity to PLCs and SCADA systems, while the MSSP connects to SPI-based ADCs and I2C sensors. The industrial -40C to +85C temperature range and nanoWatt sleep modes enable remote, battery-powered sensor nodes in process plants and smart-metering endpoints.
Рекомендуется
Smart Metering and Energy Monitoring
Smart-meter end points benefit from the PIC16F785-I/SS's integrated analog front-end for current-sense (CT) and voltage-divider measurements feeding the 10-bit ADC. The Two-Phase PWM supports zero-crossing detection for phase-angle metering, while EUSART and MSSP interface to wireless M-Bus, LoRa or PLC modems. AEC-Q100-qualified temperature grades suit outdoor cabinet deployment. With 128 bytes EEPROM, the MCU stores tariff tables, calibration constants and rolling consumption logs without external memory.
Рекомендуется
Low-Cost Consumer White Goods
Washing machines, dishwashers, coffee makers and microwave ovens use the PIC16F785-I/SS for user-interface scanning, motor drivers and temperature regulation through its 12 I/O pins, two comparators (for line-voltage zero-crossing) and dual op-amps. The 200 ns instruction time handles user-input debouncing and triac phase-angle control without RTOS. nanoWatt standby modes meet the EU standby regulation of less than 0.5 W, while the flash-based ICSP interface supports last-minute firmware updates through the same two pins used for production programming.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC16F785-I/SS — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC16F785-I/SO | PIC16F785-I/P | PIC16F785T-I/SS | PIC16F1709-I/SS | PIC16F88-I/SS | PIC16F785-I/ML |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin SSOP (5.30 mm) | 20-pin SOIC (7.50 mm) - same footprint family | 20-pin PDIP (through-hole) - same footprint family | 20-pin SSOP - identical | 20-pin SSOP - identical | 20-pin SSOP - identical | 20-pin QFN (4x4 mm) |
| CPU Core | PIC16 mid-range 8-bit (x14) | PIC16 mid-range 8-bit (x14) | PIC16 mid-range 8-bit (x14) | PIC16 mid-range 8-bit (x14) | PIC16 enhanced mid-range 8-bit (x14) | PIC16 mid-range 8-bit (x14) | PIC16 mid-range 8-bit (x14) |
| Max CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 32 MHz (Faster) | 20 MHz | 20 MHz |
| Flash Program Memory | 3.5 KB (2K x 14) | 3.5 KB | 3.5 KB | 3.5 KB | 14 KB | 7 KB | 3.5 KB |
| On-chip Op-Amps | 2 | 2 | 2 | 2 | 0 | 0 | 2 |
| Comparators | 2 high-speed | 2 high-speed | 2 high-speed | 2 high-speed | 2 (CMP) | 2 | 2 high-speed |
| ADC | 10-bit, 14 channels | 10-bit, 14 channels | 10-bit, 14 channels | 10-bit, 14 channels | 10-bit, 12 channels | 10-bit, 7 channels | 10-bit, 14 channels |
| PWM Modules | CCP + Two-Phase Async Feedback PWM | CCP + Two-Phase Async Feedback PWM | CCP + Two-Phase Async Feedback PWM | CCP + Two-Phase Async Feedback PWM | Multiple 16-bit PWM + 5-bit DAC | 1x CCP/PWM | CCP + Two-Phase Async Feedback PWM |
| Operating Voltage | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 1.8 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
Ключевые отличия
- Integrated dual op-amps and dual high-speed comparators on a PIC16 mid-range core (против PIC16F88-I/SS)
- True single-chip SMPS controller without external op-amp/comparator ICs (против PIC16F1709-I/SS)
- AEC-Q100 automotive temperature option in same package family (против PIC16F785-I/P (PDIP))
- Multiple package variants enable PCB layout flexibility (против PIC16F785-I/ML (QFN))
Заметки по проектированию
Estimated: VDD current at 20 MHz active mode is approximately 3-5 mA depending on peripheral usage; in Sleep with WDT off it drops below 1 uA. Place a 100 nF ceramic decoupling capacitor within 5 mm of pin 17 (VDD) and pin 18 (VSS) to suppress the 20 MHz CPU clock harmonics. For SMPS designs sharing the 5 V analog rail with the digital core, add a ferrite bead plus 10 uF bulk to isolate the analog supply domain. The nanoWatt Technology idle and Sleep modes are essential for battery-powered sensor designs - configure the appropriate IOC/INT wake sources before issuing the SLEEP opcode.
Estimated: at 5 V, 20 MHz and full peripheral activity the PIC16F785-I/SSO dissipates roughly 0.1 W internally - well within the SSOP-20 150 C/W thermal resistance budget at 85 C ambient. For SMPS designs the chip itself stays cool, but the PCB copper pour under the exposed SSOP leads becomes a heatsink for adjacent power MOSFETs. Maintain at least 1 oz copper over a 1 square inch area connected to the VSS pin to spread heat. The I-temp grade is rated -40C to +85C; derate clock frequency linearly above 70 C if analog accuracy is critical.
Route the analog op-amp inputs (OA1IN+/OA1IN-) and the comparator reference voltages as differential pairs with ground shielding to avoid digital switching noise pickup from the PWM outputs. Keep the 20 MHz crystal traces (or external clock) shorter than 25 mm and guard them with a ground ring. For ICSP, dedicate RB6/PGC and RB7/PGD pins with 4.7 kohm pull-ups to VDD and provide an ICSP header footprint even on production boards for field firmware updates. Use 50 ohm controlled impedance for EUSART traces if cable lengths exceed 30 cm.
Common pitfalls: (1) Configuring a pin as analog output but leaving the corresponding TRIS bit set - this disables the analog driver and yields no output. (2) Sharing analog and digital functions without configuring ANSEL - the digital input buffer then distorts the analog reading. (3) Forgetting to disable the comparators on shared I/O - comparator outputs back-drive the digital logic. Always clear the CMCON register and set ANSEL appropriately during initialization. The PIC16F785 datasheet Section 12 covers I/O port multiplexing in detail.
Estimated: When the Two-Phase PWM switches at 100 kHz, expect approximately 30 ns rise/fall edges on the gate-drive outputs. Use a 33 ohm series damping resistor within 5 mm of the PIC pin to slow edges below 50 ns and reduce ringing on the MOSFET gate without materially increasing switching loss. For long PWM traces (>50 mm) use a series damping resistor and avoid parallel routing of analog op-amp inputs. The PWM-to-comparator path is the most noise-sensitive analog route; keep it short and isolated by ground pours.
Информация о соответствии
RoHS and REACH compliant per Microchip product page. AEC-Q100 automotive temperature grade is qualified for automotive variants in the same family. Lead-free and halogen-free per Microchip material composition disclosure. Conflict-minerals compliant per Microchip CMRT filing.