PIC16C781-I/SO - 8-bit MCU 1.75KB OTP 20MHz 20-SOIC | Microchip
MPN: PIC16C781-I/SO ⚠ Lần mua cuốiPIC16C781-I/SO Tóm tắt
An OTP microcontroller is a microcontroller whose program memory is written once (by the user or factory) and is non-erasable. OTP devices sit between the development-friendly Flash MCUs and the higher-cost, factory-masked ROM MCUs in Microchip's product hierarchy, making them attractive for low-to-medium volume production where the cost-per-unit advantage over Flash is significant but full ROM mask NRE is not justified. The PIC16C781 is a member of Microchip's PIC16 mid-range 8-bit core family and uses a 14-bit instruction word.
Key on-chip features include 1.75 KB OTP program memory, 128 bytes of data RAM, 16 digital I/O pins with individual direction control, an 8-channel 8-bit A/D converter, an 8-bit D/A output, a single on-chip op-amp, two analog comparators, a PSMC (Programmable Switch-Mode Controller) module for direct power-supply regulation, an 8-bit timer/counter (TMR0), a 16-bit timer/counter (TMR1), and a Watchdog Timer with its own on-chip RC oscillator for maximum reliability. The PSMC makes the PIC16C781 particularly distinctive: it allows the MCU to directly implement closed-loop control of switching power supplies without an external PWM controller IC.
Typical applications include SMPS (switch-mode power supply) primary-side control, battery chargers, LED drivers, fan/motor speed controllers, and any 5V system that needs on-board analog signal conditioning plus 8-bit digital control. The integrated op-amp and comparators let the designer build current-sense amplifiers and feedback loops around the core without external analog ICs.
When designing with this part, note that OTP memory cannot be reprogrammed in-circuit; firmware must be programmed before or during board assembly using a Microchip device programmer. The PSMC peripheral requires careful PWM dead-time and frequency programming to avoid shoot-through in the external FET bridge. Industrial-temperature range is denoted by the "I" suffix.
Bộ thay thế dễ dàng lắp đặt cho PIC16C781-I/SO — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16C781-I/SO (cùng hình factor và footprint) — khác nhau ở Operating Temperature, Package, ADC, I/O Pins, Timers.
PIC16C781T-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F785-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16C782-I/SO
✅ Drop-In ⚠️ Thông số chưa được xác minh📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F882-I/SO
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16C711-20I/SO
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC16C716-I/SO
✅ Drop-In ⚠️ Thông số chưa được xác minh📋 Tham chiếu thay thế (không có trong danh mục)
PIC16C781-I/SO Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16 mid-range 8-bit RISC |
| Program Memory Type | OTP (One-Time-Programmable) |
| Program Memory Size | 1.75 KB (1K x 14) |
| Data RAM | 128 bytes |
| Tần số xung maksimum | 20 MHz |
| Điện áp cung cấp | 2.0 V to 5.5 V (5.5 V max per spec) |
| Digital I/O Pins | 16 |
| A/D Converter | 8-bit, 8 channels |
| D/A Converter | 8-bit, 1 channel |
| On-Chip Operational Amplifier | 1 |
| Analog Comparators | 2 |
| PSMC Peripheral | Yes (Programmable Switch-Mode Controller) |
| Timers | TMR0 (8-bit), TMR1 (16-bit), WDT |
| Nhiệt độ hoạt động | -40C to +85C (Industrial, "I" suffix) |
| Hộp | 20-SOIC (0.295 inch / 7.50 mm body) |
| Instruction Set | 14-bit, 35 single-word instructions |
| Kiểu lắp đặt | Surface Mount |
Cấu hình chân PIC16C781-I/SO
| Chân 1 | MCLR/VPP — Master Clear (reset) input / programming voltage input |
| Chân 2 | RA0/AN0 — PORTA bit 0 / analog input channel 0 |
| Chân 3 | RA1/AN1 — PORTA bit 1 / analog input channel 1 |
| Chân 4 | RA2/AN2/CVREF — PORTA bit 2 / analog input channel 2 / comparator voltage reference output |
| Chân 5 | RA3/AN3 — PORTA bit 3 / analog input channel 3 |
| Chân 6 | RA4/AN4 — PORTA bit 4 / analog input channel 4 |
| Chân 7 | RA5/AN5 — PORTA bit 5 / analog input channel 5 |
| Chân 8 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| Chân 9 | OSC2/CLKOUT — Oscillator crystal output / clock output |
| Chân 10 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Chân 11 | RC1 — PORTC bit 1 |
| Chân 12 | RC2/CCP1 — PORTC bit 2 / Capture-Compare-PWM1 |
| Chân 13 | RC3 — PORTC bit 3 |
| Chân 14 | RC4 — PORTC bit 4 |
| Chân 15 | RC5 — PORTC bit 5 |
| Chân 16 | RC6 — PORTC bit 6 |
| Chân 17 | RC7 — PORTC bit 7 |
| Chân 18 | VSS — Ground reference |
| Chân 19 | VDD — Positive supply voltage |
| Chân 20 | RB0/INT — PORTB bit 0 / external interrupt input |
Ứng dụng tiêu biểu
PIC16C781-I/SO phù hợp cho 6 Áp dụngs: Switch-Mode Power Supply (SMPS) Primary-Side Control, Battery Charger Controller, LED Driver and Lighting Control, Fan and DC Motor Speed Controller, Industrial Sensor Signal Conditioning, Appliance Control Boards.
Switch-Mode Power Supply (SMPS) Primary-Side Control
The PIC16C781-I/SO's integrated PSMC peripheral generates programmable PWM outputs with dead-time control, allowing direct closed-loop control of a primary-side switching FET bridge without an external PWM controller IC. The 8-channel 8-bit A/D reads output voltage and current, the on-chip op-amp conditions the current-sense signal, and the two comparators provide fast fault-input paths for over-current protection. The 20 MHz instruction rate keeps the control loop well under 10 us, sufficing for 50-200 kHz SMPS designs in 5V-48V systems.
Được đề xuất
Battery Charger Controller
The PIC16C781-I/SO fits single-cell and multi-cell battery charger designs because the PSMC drives the charging-FET PWM, the on-chip op-amp amplifies the current-sense shunt signal, and the 8-bit A/D digitizes battery voltage and pack temperature for the charge-state algorithm. Two analog comparators implement fast over-voltage and over-current cutoff paths independent of firmware timing. Industrial temperature range (-40C to +85C) supports outdoor and automotive-cabin charger applications where the MCU sits near the battery thermal mass.
Được đề xuất
LED Driver and Lighting Control
Constant-current LED drivers benefit from the PIC16C781-I/SO's PSMC PWM output, op-amp current-sense amplifier, and 8-bit D/A converter (which can serve as an analog reference for a high-side current-sense loop). The 16 digital I/O pins allow direct drive of status LEDs, button inputs, and DMX-style dimming interfaces. The 5V supply rail is convenient for driving logic-level power FETs in buck and boost LED topologies, and the 20 MHz clock supports 16-bit PWM resolution at 200 kHz switching frequency.
Được đề xuất
Fan and DC Motor Speed Controller
Closed-loop BLDC and brushed-DC motor control up to a few hundred Hz electrical frequency fits the PIC16C781-I/SO: the PSMC provides the complementary PWM outputs for the H-bridge, the op-amp amplifies the shunt current-sense, the 8-bit A/D reads back EMF or tachometer feedback, and the two comparators handle over-current and over-temperature hardware trips. At 20 MHz, the firmware has ~200 ns per instruction to run a commutation table - sufficient for sensorless trapezoidal commutation of small fan motors.
Được đề xuất
Industrial Sensor Signal Conditioning
The PIC16C781-I/SO's on-chip op-amp and dual comparators let it serve as a sensor front-end: amplify a thermocouple or strain-gauge signal, digitize it with the 8-bit A/D, and apply linearization or alarm thresholds. The 16 digital I/O handle switch debouncing, relay drivers, and indicator LEDs. Industrial temperature grade and 5V supply tolerance make this part appropriate for factory-floor panels, HVAC controllers, and process-instrumentation sub-assemblies.
Được đề xuất
Appliance Control Boards
Cost-sensitive appliance control boards (coffee machines, washing machines, small kitchen appliances) benefit from the PIC16C781-I/SO's integrated analog peripherals that replace 2-3 external ICs. The PSMC drives a TRIAC or relay for heater/pump control, the op-amp reads NTC thermistor temperature, the comparators detect zero-cross for line-voltage TRIAC firing, and the 8-bit A/D monitors supply voltage and user-knob position. Industrial temp grade and 20-SOIC surface-mount package suit through-hole-replacement SMT conversions of legacy appliance boards.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16C781-I/SO — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16C781T-I/SO | PIC16F785-I/SO | PIC16C782-I/SO | PIC16C711-20I/SO | PIC16C716-I/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-SOIC (0.295 inch) | 20-SOIC - same | 20-SOIC - same | 20-SOIC - same | 20-SOIC - same | 20-SOIC - same |
| Program Memory | 1.75 KB OTP | 1.75 KB OTP | 3.5 KB Flash | 1.75 KB OTP | 1.75 KB OTP | 3.5 KB OTP |
| RAM | 128 B | 128 B | 128 B | 128 B | 68 B | 128 B |
| Max Clock | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| PSMC Peripheral | Yes | Yes | Yes | Yes | No | No |
| On-Chip Op-Amp | 1 | 1 | 1 | 1 | 0 | 0 |
| Memory Type | OTP | OTP | Flash (reprogrammable) | OTP | OTP | OTP |
| Operating Temperature | -40C to +85C (I suffix) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
Bảo phân biệt quan trọng
- On-chip PSMC peripheral for SMPS control without external PWM IC (vsPIC16C711-20I/SO)
- Higher RAM and richer analog peripheral set vs legacy PIC16C711 (vsPIC16C711-20I/SO)
- Flash reprogrammability with same SOIC-20 footprint and PSMC peripheral (vsPIC16F785-I/SO)
Ghi chú thiết kế
OTP memory cannot be reprogrammed in-circuit; firmware must be programmed using a Microchip device programmer (e.g., PICSTART Plus or MPLAB PM3) before or during board assembly. Any firmware bug discovered after programming requires replacing the silicon. For prototypes and field-updateable products, choose the Flash-based PIC16F785-I/SO instead. Per the Microchip PIC16C781 datasheet, programming is performed via the ICSP interface on pins RB6/RB7 plus MCLR/VPP.
PSMC PWM outputs driving an external FET bridge need careful PCB layout: keep the PSMC output traces short and away from analog input traces (A/D, op-amp, comparator inputs) to prevent switching-noise coupling into the analog signal path. Place the PSMC output bypass capacitor and gate-drive resistor within 5 mm of the FET gate. According to the Microchip PIC16C781 datasheet, the PSMC PWM outputs are on dedicated pins that must be configured correctly before enabling the peripheral.
Decouple VDD with a 100 nF ceramic capacitor as close to pins 19-20 as possible, plus a bulk 10 uF tantalum or aluminum on the board power entry. The PIC16C781-I/SO has multiple analog peripherals (A/D, D/A, op-amp, comparators) that benefit from a quiet analog supply - consider a small ferrite bead between VDD and AVDD if the board shares noisy digital supply with analog signal conditioning. Decoupling is critical when the PSMC is switching high-current loads.
Thông tin tuân thủ
RoHS/REACH/lead-free status not stated in the verified web data for this OTP part. Mark [DATA_NEEDED] in specs. Microchip publishes material-composition data on its product page; engineers should consult https://www.microchip.com/en-us/product/PIC16C781 for the latest environmental certification. Conflict-minerals compliance statement available via Microchip's corporate sustainability page.