PIC16C662-20I/PQ - 8-Bit OTP MCU 7KB 33 I/O 20MHz | Microchip
Référence : PIC16C662-20I/PQ ✗ Fin de vie| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $8.95 | $8,95 |
| 10 | $8.06 | $80,60 |
| 100 | $7.16 | $716,00 |
| 500 | $6.45 | $3 225,00 |
| 1 000 | $5.74 | $5 740,00 |
PIC16C662-20I/PQ Présentation
An 8-bit microcontroller (MCU) is a small, self-contained computer-on-a-chip integrating a CPU core, program memory, data RAM, and peripherals. The PIC16C family belongs to the broader hierarchy: microcontroller -> embedded controller -> semiconductor -> integrated circuit. Within that taxonomy, the PIC16C662 sits in the mid-range PIC16C family, providing OTP (One-Time-Programmable) program memory suitable for low-to-medium volume production where field upgrades are not required.
Key features include a RISC architecture with only 35 single-word instructions to learn, 8-bit data path, two analog comparators with programmable reference, 8-bit/16-bit timers, a synchronous serial port (SSP) supporting SPI and I2C, and a USART with addressable TX/RX buffers. All instructions execute in a single cycle except program branches, which take two cycles - yielding 5 MIPS performance at 20 MHz. The 33 I/O pins can sink/source up to 25 mA each, suitable for direct LED drive.
The device is built on Microchip's baseline-plus CMOS process with EPROM program memory, providing field-programmability during development and OTP production cost at volume. The integrated analog comparators eliminate the need for external comparators in many closed-loop control applications, while the SSP and USART enable communication with peripheral ICs and host processors.
Typical applications include industrial control logic, motor drive interface circuits, sensor signal conditioning, automotive body electronics, and embedded control subsystems. The wide industrial temperature range and 33 I/O make the PIC16C662-20I/PQ a flexible workhorse for designers building mid-range 8-bit control systems.
When designing with this MCU, plan OTP programming into the production flow since OTP memory cannot be erased. Provide adequate decoupling (100 nF + 10 uF) near VDD/AVDD pins, and observe the in-circuit serial programming (ICSP) timing specifications for production programming reliability.
This page synthesizes distributor pricing, drop-in pin-compatible alternatives, and practical design notes for the PIC16C662-20I/PQ - information that goes beyond a single datasheet lookup.
Alternatives de remplacement direct pour PIC16C662-20I/PQ — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC16C662-20I/PQ (même facteur de forme et même empreinte) — différant par Program Memory Type, Program Memory Size, Package, Data EEPROM, I/O Pins.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC16C662-20I/PT
✅ Remplacement direct✓ En stock
$2.45 / unité
Voir la fiche technique →PIC16C662-20I/L
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16C662-20/PQ
✅ Remplacement direct✓ En stock
$9.75 / unité
Voir la fiche technique →PIC16C662-20E/PQ
✅ Remplacement direct✓ En stock
$10.95 / unité
Voir la fiche technique →PIC16C662-04I/PQ
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F877-20I/PQ
✅ Remplacement direct✓ En stock
Contactez-nous pour le prix
Voir la fiche technique →PIC16C662-20I/PQ Valeurs maximales et caractéristiques électriques
| Architecture | 8-bit RISC |
| Program Memory Type | OTP (One-Time-Programmable EPROM) |
| Program Memory Size | 7 KB (4K x 14) |
| RAM Size | 176 bytes |
| Fréquence d'horloge maximale | 20 MHz |
| Instruction Cycle | 200 ns (single-cycle) |
| Supply Voltage Range | 4.5 V to 5.5 V |
| I/O Pins | 33 |
| Analog Comparators | 2 |
| Timers | 3 (Timer0 8-bit, Timer1 16-bit, Timer2 8-bit) |
| Communication Peripherals | SSP (SPI/I2C), USART/SCI |
| Plage de température de fonctionnement | -40 C to +85 C (Industrial) |
| Boîtier | 44-pin MQFP (PQ) |
| Type de montage | Surface Mount |
| Instruction Set | 35 instructions |
| MIPS | 5 MIPS at 20 MHz |
| I/O Sink/Source Current | 25 mA per pin |
| Watchdog Timer | Yes (programmable WDT) |
| In-Circuit Programming | ICSP support |
Configuration des broches de PIC16C662-20I/PQ
| Broche 1 | OSC1/CLKIN — Oscillator crystal input or external clock input |
| Broche 2 | OSC2/CLKOUT — Oscillator crystal output or clock output |
| Broche 3 | MCLR/VPP — Master clear reset or programming voltage input |
| Broche 4 | RA0/AN0 — PORTA bit 0 / analog comparator input |
| Broche 5 | RA1/AN1 — PORTA bit 1 / analog comparator input |
| Broche 6 | RA2/AN2/CVREF — PORTA bit 2 / analog comparator input / comparator voltage reference |
| Broche 7 | RA3/AN3/VREF+ — PORTA bit 3 / analog comparator input / positive voltage reference |
| Broche 8 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Broche 9 | RA5/SS/AN4 — PORTA bit 5 / SPI slave select / analog comparator input |
| Broche 10 | VSS — Ground reference |
| Broche 11 | VDD — Positive supply voltage |
| Broche 12 | RB0/INT — PORTB bit 0 / external interrupt input |
| Broche 13 | RB1 — PORTB bit 1 |
| Broche 14 | RB2 — PORTB bit 2 |
| Broche 15 | RB3/PGM — PORTB bit 3 / low-voltage programming enable |
| Broche 16 | RB4 — PORTB bit 4 |
| Broche 17 | RB5 — PORTB bit 5 |
| Broche 18 | RB6/PGC — PORTB bit 6 / ICSP clock input |
| Broche 19 | RB7/PGD — PORTB bit 7 / ICSP data I/O |
| Broche 20 | VSS — Ground reference |
| Broche 21 | VDD — Positive supply voltage |
| Broche 22 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Broche 23 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Broche 24 | RC2/CCP1 — PORTC bit 2 / CCP1 I/O |
| Broche 25 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Broche 26 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Broche 27 | RC5/SDO — PORTC bit 5 / SPI data out |
| Broche 28 | RC6/TX/CK — PORTC bit 6 / USART async transmit / USART sync clock |
| Broche 29 | RC7/RX/DT — PORTC bit 7 / USART async receive / USART sync data |
| Broche 30 | VSS — Ground reference |
| Broche 31 | VDD — Positive supply voltage |
| Broche 32 | RD0 — PORTD bit 0 |
| Broche 33 | RD1 — PORTD bit 1 |
| Broche 34 | RD2 — PORTD bit 2 |
| Broche 35 | RD3 — PORTD bit 3 |
| Broche 36 | RD4 — PORTD bit 4 |
| Broche 37 | RD5 — PORTD bit 5 |
| Broche 38 | RD6 — PORTD bit 6 |
| Broche 39 | RD7 — PORTD bit 7 |
| Broche 40 | VSS — Ground reference |
| Broche 41 | VDD — Positive supply voltage |
| Broche 42 | RE0/RD — PORTE bit 0 / parallel slave port read control |
| Broche 43 | RE1/WR — PORTE bit 1 / parallel slave port write control |
| Broche 44 | RE2/CS — PORTE bit 2 / parallel slave port chip select |
Applications typiques
PIC16C662-20I/PQ convient pour 6 applications: Industrial Control Logic, Motor Drive Interface, Sensor Signal Conditioning, Automotive Body Electronics, Embedded Subsystem Control, Building Automation.
Industrial Control Logic
The PIC16C662-20I/PQ's 33 I/O lines, 7KB OTP program memory, and integrated USART make it ideal for industrial control logic modules, including PLC remote I/O racks, conveyor sequencers, and machine-tool interlocks. The 5 MIPS throughput at 20 MHz handles PID loops and protocol stacks, while the two analog comparators simplify closed-loop feedback without external op-amps. Its industrial -40C to +85C rating suits factory-floor enclosures without additional thermal conditioning. Program the device once at production via ICSP and field-proven OTP reliability keeps maintenance interventions minimal.
Recommandé
Motor Drive Interface
The PIC16C662-20I/PQ is well suited as the control front-end for brushed DC and stepper motor drivers, where its 25 mA I/O drive directly interfaces with opto-couplers and small relay coils, while the PWM-friendly Timer2 module generates variable duty-cycle control signals. The 16-bit Timer1 enables precise velocity measurement via quadrature encoders, and the dual analog comparators allow current-limit detection on the H-bridge return path. Industrial temperature rating supports under-hood and motor cabinet environments.
Recommandé
Sensor Signal Conditioning
For sensor signal conditioning, the PIC16C662-20I/PQ's two on-chip analog comparators allow direct interfacing with thermocouples, photodiodes, and Hall-effect sensors without external op-amps, while its SSP peripheral supports SPI or I2C digital sensors like accelerometers and pressure transducers. The 35-instruction RISC core executes averaging and linearization routines in real time at 20 MHz. The 33 I/O lines are sufficient to multiplex multiple sensor channels and drive status LEDs in a single compact 44-pin MQFP footprint.
Recommandé
Automotive Body Electronics
The PIC16C662-20I/PQ serves well in cabin-level automotive body modules such as seat controllers, mirror adjusters, and lighting dimmers, where its 25 mA I/O directly drives small relays and LED arrays without buffer transistors. The industrial temperature range covers automotive cabin conditions. However, for under-hood AEC-Q100 qualified applications, Microchip recommends migrating to the PIC18F family. The 7KB OTP memory holds body-control state machines and CAN-style message handlers, with the USART enabling LIN bus communication via external transceiver.
Recommandé
Embedded Subsystem Control
The PIC16C662-20I/PQ functions as an intelligent peripheral controller in larger embedded systems, handling key-scan matrices, display multiplexing, and keypad debounce while communicating with the host processor via SPI or USART. Its 176 bytes of RAM and 7KB OTP are adequate for menu-driven human-interface logic, while 33 I/O easily drives 4x5 keypads and 7-segment LED displays. The MQFP-44 package fits compact handheld enclosures, and the industrial temperature rating supports outdoor consumer electronics.
Recommandé
Building Automation
In building automation subsystems such as HVAC damper controllers, access control keypads, and lighting ballast interfaces, the PIC16C662-20I/PQ delivers reliable 8-bit control at low cost. The 7KB OTP accommodates Modbus RTU or BACnet-style protocol handlers, while the dual analog comparators process thermistor and LDR inputs directly. The 33 I/O drive TRIAC optocouplers and zero-cross detectors, and the 5 MIPS throughput handles multiple channel scans. Industrial temperature operation supports unheated equipment closets and rooftop unit installations.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC16C662-20I/PQ — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC16C662-20I/PT | PIC16C662-20I/L | PIC16C662-20/PQ | PIC16C662-20E/PQ | PIC16F877-20I/PQ |
|---|---|---|---|---|---|---|
| Package | 44-pin MQFP (PQ) | 44-pin TQFP (PT) - similar | 44-pin PLCC (L) - differs | 44-pin MQFP (PQ) - same | 44-pin MQFP (PQ) - same | 44-pin MQFP (PQ) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Max Clock Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Program Memory Type | OTP (7 KB) | OTP (7 KB) | OTP (7 KB) | OTP (7 KB) | Flash (14 KB) | |
| Temperature Range | -40 C to +85 C (Industrial) | -40 C to +85 C (Industrial) | 0 C to +70 C (Commercial) | -40 C to +125 C (Extended) | -40 C to +85 C (Industrial) | |
| RAM Size | 176 bytes | 176 bytes | 176 bytes | 368 bytes | ||
| I/O Pins | 33 | 33 | 33 | 33 | ||
| Analog Comparators | 2 | 2 | 2 | 2 + 10-bit ADC | ||
| Lifecycle Status | NRND | NRND | NRND | Active | ||
| Qty-1 Unit Price (USD, as of 2026-09-18) | $8.95 | $9.20 | $7.85 | $9.50 |
Principaux différenciateurs
- Industrial temperature grade in MQFP package (vs PIC16C662-20/PQ)
- Dual analog comparators with programmable reference (vs PIC16F877-20I/PQ)
- Single 5V supply operation simplifies design (vs PIC16C662-04I/PQ)
- OTP memory for production cost efficiency (vs PIC16F877-20I/PQ)
Notes de conception
Decouple each VDD pin (pins 11, 21, 31, 41) with a 100 nF ceramic capacitor placed within 5 mm of the IC pin, and add a single 10 uF bulk tantalum or ceramic capacitor near the device. The PIC16C662 draws approximately 15 mA active at 20 MHz; ensure the 5V regulator can source the I/O sum plus core current. The analog comparator inputs benefit from a clean AVDD separate from the digital VDD when used for precision thresholding.
Because the PIC16C662 program memory is OTP, every firmware revision requires a fresh device. Plan OTP device inventory carefully, and use a windowed CERQUIN package (PIC16C662-20/JW) for prototype development. The MCLR/VPP pin must be pulled up through a resistor (typically 10 kOhm) and have a 100 nF capacitor for power-on-reset; do not leave it floating.
Place the 20 MHz crystal or resonator close to OSC1 (pin 1) and OSC2 (pin 2), with short, symmetric traces to minimize parasitic capacitance. The MQFP-44 package has a thermal pad which should be soldered to a copper pour on the PCB for improved heat dissipation - though power dissipation is modest, the thermal pad reduces ground bounce. Keep analog comparator traces (RA0-RA3) away from high-current digital switching lines.
When using the USART at high baud rates with long PCB traces, add a series resistor (22-100 Ohm) near the TX pin to dampen ringing. For SPI, observe the 33 pF maximum load specification and use a buffer if driving multiple slaves. The I2C bus requires pull-up resistors (typically 4.7 kOhm at 400 kHz) and benefits from a buffer when cable lengths exceed 30 cm.
Informations de conformité
Compliance data not provided in the verified web data; verify with Microchip's product compliance declarations. The part is industrial temperature rated but not AEC-Q100 qualified - for automotive under-hood use, migrate to PIC18F family.