PIC16C662-20I/PT - 8-bit MCU, 7KB OTP, 33 I/O, 20MHz | Microchip
N.º da peça: PIC16C662-20I/PT ✗ Fim de vida| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $3.65 | $3,65 |
| 10 | $3.4 | $34,00 |
| 100 | $3.1 | $310,00 |
| 500 | $2.78 | $1.390,00 |
| 1.000 | $2.45 | $2.450,00 |
PIC16C662-20I/PT Visão geral
The PIC16C662 belongs to the PIC16C6x mid-range MCU family, a class of 8-bit microcontrollers that combine a RISC instruction set with on-chip peripherals such as timers, capture/compare/PWM modules, and a synchronous serial port. The PIC architecture is a Harvard design with separate program and data buses, and the 'C' suffix indicates the OTP program-memory variant, suitable for low- to mid-volume production where mask-ROM economics do not apply. The 20 MHz maximum clock frequency gives roughly 5 MIPS of sustained instruction throughput, sufficient for control loops, simple communication stacks, and human-machine-interface tasks.
Key features include 8-bit data path, 14-bit instruction word, four 8-bit I/O ports, three timers, a USART, and a watchdog timer. Power consumption is a design strength of the PIC16C family, with typical active current below 10 mA at 5V/20 MHz and standby currents in the microamp range through the Sleep mode.
Typical applications include appliance control, industrial sensor interfaces, automotive body electronics (non-safety), consumer devices with keypad/LCD interfaces, and embedded control subsystems that need deterministic instruction timing. The wide I/O count (33) simplifies direct connection to keypads, LED/LCD panels, and parallel peripherals without external glue logic.
When designing with this part, use Microchip's MPLAB X IDE and a PIC programmer such as MPLAB PM3 or PICkit 3/4 for development. The '20I' suffix specifies 20 MHz operation and industrial temperature grade, distinguishing it from the '04' (4 MHz) and 'E' (extended temperature) siblings.
Alternativas drop-in para PIC16C662-20I/PT — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC16C662-20I/PT (mesmo formato e footprint) — diferindo em Package, Program Memory Type, Watchdog Timer, Timers, Program Memory Size.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC16C662-20E/PT
✅ Drop-In✓ Em estoque
$8.2 / unidade
Ver ficha técnica →PIC16C662-20E/L
✅ Drop-In✓ Em estoque
$10.75 / unidade
Ver ficha técnica →PIC16C662-20/PQ
✅ Drop-In✓ Em estoque
$9.75 / unidade
Ver ficha técnica →PIC16C662-04I/PT
✅ Drop-In📋 Alternativa de referência (fora do catálogo)
PIC16C662-10E/L
✅ Drop-In✓ Em estoque
$9.85 / unidade
Ver ficha técnica →PIC16C662-10/P
✅ Drop-In✓ Em estoque
$5.3 / unidade
Ver ficha técnica →PIC16C662-20I/PT Classificações máximas e características elétricas
| Core Architecture | PIC16C6x (8-bit RISC, Harvard) |
| Program Memory Type | OTP (One-Time-Programmable EPROM) |
| Program Memory Size | 7 KB |
| RAM Size | 176 bytes |
| Frequência máxima de clock | 20 MHz |
| Instruction Throughput | Approx. 5 MIPS at 20 MHz |
| I/O Pins | 33 |
| Supply Voltage (Vdd) | 4.0 V to 6.0 V (5 V typical) |
| Temperatura de operação | -40C to +85C (industrial) |
| Encapsulamento | 44-pin TQFP (PT) |
| Tipo de montagem | Surface Mount |
| Number of Timers | 3 (TMR0, TMR1, TMR2) |
| Communication Peripherals | USART (SCI/SPI modes), PSP |
| ADC | None (digital I/O only) |
| Watchdog Timer | Yes |
Configuração de pinos do PIC16C662-20I/PT
| Pino 1 | NC — Not connected on this package variant |
| Pino 2 | RA0/AN0 — Port A bit 0 / analog comparator input |
| Pino 3 | RA1/AN1 — Port A bit 1 / analog comparator input |
| Pino 4 | RA2/AN2 — Port A bit 2 / analog comparator input |
| Pino 5 | RA3/AN3/VREF — Port A bit 3 / analog comparator input / voltage reference |
| Pino 6 | RA4/T0CKI — Port A bit 4 / Timer0 clock input |
| Pino 7 | RA5/SS/AN4 — Port A bit 5 / SPI slave select / analog input |
| Pino 8 | Vss — Ground reference |
| Pino 9 | OSC1/CLKIN — Crystal oscillator input / external clock input |
| Pino 10 | OSC2/CLKOUT — Crystal oscillator output / clock output |
| Pino 11 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer1 oscillator output / Timer1 clock input |
| Pino 12 | RC1/T1OSI/CCP2 — Port C bit 1 / Timer1 oscillator input / Capture-Compare-PWM 2 |
| Pino 13 | RC2/CCP1 — Port C bit 2 / Capture-Compare-PWM 1 |
| Pino 14 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Pino 15 | RD0/PSP0 — Port D bit 0 / Parallel Slave Port bit 0 |
| Pino 16 | RD1/PSP1 — Port D bit 1 / Parallel Slave Port bit 1 |
| Pino 17 | RD2/PSP2 — Port D bit 2 / Parallel Slave Port bit 2 |
| Pino 18 | RD3/PSP3 — Port D bit 3 / Parallel Slave Port bit 3 |
| Pino 19 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Pino 20 | RC5/SDO — Port C bit 5 / SPI data out |
| Pino 21 | RC6/TX/CK — Port C bit 6 / USART TX / USART clock |
| Pino 22 | RC7/RX/DT — Port C bit 7 / USART RX / USART data |
| Pino 23 | RD4/PSP4 — Port D bit 4 / Parallel Slave Port bit 4 |
| Pino 24 | RD5/PSP5 — Port D bit 5 / Parallel Slave Port bit 5 |
| Pino 25 | RD6/PSP6 — Port D bit 6 / Parallel Slave Port bit 6 |
| Pino 26 | RD7/PSP7 — Port D bit 7 / Parallel Slave Port bit 7 |
| Pino 27 | Vss — Ground reference |
| Pino 28 | Vdd — Positive supply (5 V typical) |
| Pino 29 | RB0/INT — Port B bit 0 / external interrupt |
| Pino 30 | RB1 — Port B bit 1 |
| Pino 31 | RB2 — Port B bit 2 |
| Pino 32 | RB3 — Port B bit 3 |
| Pino 33 | RB4 — Port B bit 4 |
| Pino 34 | RB5 — Port B bit 5 |
| Pino 35 | RB6/PGC — Port B bit 6 / ICSP clock |
| Pino 36 | RB7/PGD — Port B bit 7 / ICSP data |
| Pino 37 | RE0/RD/AN5 — Port E bit 0 / read control / analog input |
| Pino 38 | RE1/WR/AN6 — Port E bit 1 / write control / analog input |
| Pino 39 | RE2/CS/AN7 — Port E bit 2 / chip select / analog input |
| Pino 40 | Vdd — Positive supply (5 V typical) |
| Pino 41 | Vss — Ground reference |
| Pino 42 | NC — Not connected on this package variant |
| Pino 43 | NC — Not connected on this package variant |
| Pino 44 | MCLR/Vpp — Master clear reset / programming voltage input |
Aplicações típicas
PIC16C662-20I/PT é adequado para 7 aplicaçãos: Appliance Control Boards, Industrial Sensor Interface, Consumer Electronics Keypad Controller, Automotive Body Electronics (Non-Safety), Security and Access Control Panels, Embedded Control Subsystems (Fan/Compressor/Pump), Educational and Hobby Embedded Projects.
Appliance Control Boards
The PIC16C662-20I/PT is well-suited to appliance control boards such as washing machines, dishwashers, and microwave ovens, where its 33 digital I/O pins can directly drive keypads, LED indicators, relay drivers, and seven-segment displays without external expanders. The 20 MHz clock provides the throughput needed for finite state machines governing wash cycles, sensor polling, and user-interface debouncing. Its industrial temperature grade (-40C to +85C) handles kitchen and laundry environments. The Harvard RISC architecture gives deterministic instruction timing critical for UL/IEC safety-state machines in appliance firmware.
Recomendado
Industrial Sensor Interface
In industrial sensor hubs, the PIC16C662-20I/PT acts as a digital pre-processor that aggregates inputs from limit switches, encoders, and discrete sensors, then relays processed data to a host controller over its USART. With 33 I/O available, multiple digital sensors can be polled in parallel and time-stamped at 200 ns instruction-cycle granularity. The on-chip timers (TMR0/1/2) provide capture and PWM generation for speed and position sensing. Industrial temperature range supports factory-floor deployment, and the OTP program memory protects firmware IP in field-deployed units.
Recomendado
Consumer Electronics Keypad Controller
The PIC16C662-20I/PT serves as a low-cost keypad and front-panel controller in consumer electronics such as audio amplifiers, set-top boxes, and remote-base stations. Its 33 I/O drive scan matrices for 4x4 or 5x5 keypads plus LCD or VFD displays without external logic. The PIC16C6x instruction set supports efficient BCD math for timer-clock displays and channel numbering. Low Sleep current (sub-microamp typical) suits battery-backed remote controls, and the OTP program memory prevents casual firmware cloning by competitors.
Recomendado
Automotive Body Electronics (Non-Safety)
Non-safety automotive subsystems such as interior lighting controllers, seat-position memory, and mirror-adjust modules can leverage the PIC16C662-20I/PT. Its industrial temperature grade covers cabin environments, and the wide I/O count simplifies driving multiple LEDs, Hall-effect sensors, and brushed DC motor bridges. The deterministic interrupt latency of the PIC16C6x core is suitable for motor-control loops when paired with PWM firmware. For safety-critical functions, designers should select an AEC-Q100 qualified MCU instead.
Recomendado
Security and Access Control Panels
Security alarm panels and access-control readers benefit from the PIC16C662-20I/PT's 33 I/O for keypad scanning, reed-switch inputs, buzzer output, and relay control of magnetic locks. The PIC16C6x core's small instruction footprint allows efficient implementation of PIN verification routines, anti-tamper debounce logic, and event-logging to external EEPROM via I2C bit-banging. OTP memory secures the firmware against unauthorized duplication. Industrial temperature tolerance supports garage-door and outdoor-mount installations.
Recomendado
Embedded Control Subsystems (Fan/Compressor/Pump)
The PIC16C662-20I/PT can orchestrate fixed-speed fan, compressor, or pump subsystems where PID loops run at modest rates. Capture inputs read tachometer pulses from fans or flow sensors, and PWM outputs drive FET gates for variable-speed operation. The three on-chip timers (TMR0/1/2) and the USART support both the control loop and the supervisory link to a host BMS. Low Sleep current extends battery backup time for power-failure telemetry in HVAC and refrigeration equipment.
Recomendado
Educational and Hobby Embedded Projects
Hobbyists, makers, and university embedded-systems courses use the PIC16C662-20I/PT as a teaching platform for assembly and C programming on the PIC16C6x architecture. Its 33 I/O, USART, and timer resources give students exposure to interrupts, peripheral configuration, and real-time scheduling. The OTP limitation reinforces lessons about code-quality discipline (no field re-programming). Compatible development tools include MPLAB X IDE, XC8 compiler, and PICkit 3/4 debuggers, plus low-cost breakout boards that expose all 44 pins on 0.1-inch headers.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC16C662-20I/PT — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC16C662-20E/PT | PIC16C662-04I/PT | PIC16C662-20/PQ | PIC16F747-I/PT |
|---|---|---|---|---|---|
| Package | 44-pin TQFP (PT) | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same |
| Program Memory | 7 KB OTP | 7 KB OTP - same | 7 KB OTP - same | 7 KB OTP - same | 7 KB Flash (reprogrammable) |
| Max Clock Frequency | 20 MHz | 20 MHz - same | 4 MHz | 20 MHz - same | 20 MHz - same |
| RAM Size | 176 bytes | 176 bytes - same | 176 bytes - same | 176 bytes - same | 192 bytes |
| I/O Pins | 33 | 33 - same | 33 - same | 33 - same | 36 (3 additional on PORTE) |
| Operating Temperature | -40C to +85C (industrial) | -40C to +125C (extended) | -40C to +85C (industrial) - same | 0C to +70C (commercial) | -40C to +85C (industrial) - same |
| ADC | None (analog comparator only) | None - same | None - same | None - same | 10-bit, 14-channel |
| Programmability | One-Time Programmable (OTP) | OTP - same | OTP - same | OTP - same | Flash (in-circuit reprogrammable) |
| Unit Price (qty-1, as of 2026-09-18) | $3.65 | Higher (extended temp grade premium) | Lower (4 MHz speed grade) | Lower (commercial temp grade) | Higher (flash + ADC integration) |
Principais diferenciais
- Highest speed grade in the PIC16C662-20x family at 20 MHz (vs PIC16C662-04I/PT)
- Industrial temperature grade (-40C to +85C) coverage (vs PIC16C662-20/PQ)
- Lower unit cost than flash-based PIC16F alternatives (vs PIC16F747-I/PT)
- Wide 33-pin I/O count in a 44-pin TQFP (vs PIC16C66-20I/SP)
Notas de projeto
The PIC16C662-20I/PT operates from a single 5 V supply (4.0V to 6.0V range). Decouple Vdd/Vss pairs with a 100 nF ceramic capacitor placed within 5 mm of each Vdd pin, plus a 10 uF bulk capacitor near the IC. Multiple Vdd/Vss pins exist on the 44-pin TQFP; connect each to the supply plane to ensure adequate current delivery and reduce digital switching noise coupling into the analog comparator inputs. A bulk reservoir of 47 uF at the board input is recommended when the IC shares its rail with relays or other inductive loads.
Because the PIC16C662-20I/PT uses one-time-programmable (OTP) EPROM, code must be fully verified before programming - there is no second chance. Use MPLAB simulator and PICkit 3/4 in-circuit debug emulation with a flash-equipped PIC16F sibling (such as PIC16F747-I/PT) to validate firmware on the same PCB, then commit the final hex to the OTP device on production boards. The MCLR pin must see a valid rising edge at power-up; tie MCLR to Vdd through a 10 kohm pull-up and place a 100 nF capacitor to Vdd for brown-out reset compliance.
Place the 20 MHz crystal or resonator within 10 mm of the OSC1/OSC2 pins and guard the traces with a ground pour to minimize radiated EMI. Keep the high-speed digital I/O (port C USART, port D PSP) traces short and route them away from analog comparator inputs on port A. The 44-pin TQFP exposed thermal pad (if present) should be soldered to a copper pour on the PCB for mechanical stability, even though the PIC16C662 dissipates well under 100 mW in typical applications.
The PIC16C662-20I/PT's USART supports both asynchronous SCI and synchronous SPI modes; verify baud-rate register values against the Fosc tolerance. At 20 MHz Fosc the USART BRGH=1 mode can achieve up to 2.5 Mbaud with less than 1% error using commonly available crystal values. For RS-485 networking, add external fail-safe biasing resistors (typically 4.7 kohm to Vdd and 4.7 kohm to Vss on the RX line) because the on-chip USART does not include internal biasing.
Informações de conformidade
Compliance status not present in the verified distributor data captured on 2026-09-18. The 44-pin TQFP (PT) finish may be supplied as lead-free or SnPb depending on reel stock; request a compliance certificate from the franchised distributor before placing volume orders. AEC-Q100 qualification not documented for this OTP industrial part - choose an automotive-qualified MCU for safety-critical automotive applications.