PIC16C662-20E/PT - 8-Bit OTP MCU, 7KB, 20MHz, 44-TQFP | Microchip
MPN: PIC16C662-20E/PT β End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $12.5 | $12.50 |
| 10 | $11.25 | $112.50 |
| 100 | $10.1 | $1,010.00 |
| 500 | $9.05 | $4,525.00 |
| 1,000 | $8.2 | $8,200.00 |
PIC16C662-20E/PT Overview
An 8-bit OTP (One-Time Programmable) microcontroller is a single-chip computer built around an 8-bit data path, with non-volatile program memory that can be written only once during production programming. The PIC16C662 belongs to the PIC16Cxx family of microcontrollers -> 8-bit MCU -> microcontroller -> embedded computing IC. This category sits beneath 16-bit and 32-bit MCU families in the embedded hierarchy and remains favored in cost-sensitive, deterministic-control applications where bit-manipulation efficiency and predictable interrupt latency matter more than raw compute throughput.
Key features include 4K x 14 words of program memory (7KB), 176 bytes of data RAM, two analog comparators with programmable reference, three timer modules (Timer0, Timer1, Timer2), a watchdog timer with on-chip RC oscillator, and an operating temperature range of -40C to +125C (extended 'E' grade). The 14-bit wide instruction word allows single-cycle instructions for most arithmetic and logical operations, and the Harvard bus architecture separates program and data paths to improve throughput. The part supports in-circuit serial programming (ICSP) and operates across 4.0V to 6.0V input voltage.
The PIC16C662 uses a RISC architecture with a fixed instruction set of 35 single-word/14-bit instructions, each typically executing in one instruction cycle (4 clock periods). Internal oscillator options include an RC mode for low-cost designs and a crystal/ resonator mode for precision timing. The device's CMOS process and sleep mode reduce quiescent current to microampere levels, making it suitable for battery-backed instrumentation. Industrial temperature grading and ceramic-package-friendly thermal performance support deployment in factory automation, automotive subsystems, and process control.
Typical applications include industrial motor control loops, sensor signal conditioning with on-chip comparators, appliance control boards, automotive body electronics (pre-CAN era), security system panels, and general-purpose 5V embedded control where flash-based MCUs are unnecessary. The two analog comparators make it well-suited for threshold detection on thermistor bridges, photocells, or current-sense amplifiers without needing an external op-amp.
When designing with this device, note that OTP memory cannot be reprogrammed in the field; for in-system firmware updates, migrate to the PIC16F662 flash equivalent. Place a 0.1uF decoupling capacitor close to VDD and VSS, and reserve the MCLR pin configuration for the system's required reset topology (internal or external).
This page synthesizes distributor pricing, drop-in pin-compatible alternatives, and practical design notes that go beyond the manufacturer datasheet to accelerate your component selection.
Drop-in alternatives for PIC16C662-20E/PT β same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16C662-20E/PT (same form factor and footprint) β differing in RoHS Status, Package, Operating Temperature, Program Memory Type, Maximum Clock Frequency.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F662-I/PT
β Drop-Inπ Reference alternative (not in catalog)
PIC16C662-20/PT
β Drop-Inπ Reference alternative (not in catalog)
PIC16C662-20I/PT
β Drop-In β οΈ εζ°εΎ ιͺθ―β In Stock
$2.45 / Unit
View Datasheet βPIC16C662-10E/PT
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
PIC16C662-04E/PT
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
PIC16F914-I/PT
β Drop-Inπ Reference alternative (not in catalog)
PIC16F946-I/PT
β Drop-Inπ Reference alternative (not in catalog)
PIC16C662-20E/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit RISC (PIC) |
| Program Memory Type | OTP EPROM |
| Program Memory Size | 7 KB (4K x 14 words) |
| Data RAM | 176 bytes |
| Data EEPROM | Not present |
| Maximum CPU Frequency | 20 MHz |
| Instruction Set Width | 14-bit |
| Supply Voltage (Vdd) | 4.0 V to 6.0 V |
| I/O Pins | 33 |
| Analog Comparators | 2 |
| Timers | Timer0, Timer1, Timer2 |
| Watchdog Timer | Yes (on-chip RC oscillator) |
| Operating Temperature | -40 C to +125 C (Extended, 'E' suffix) |
| Package | 44-pin TQFP (PT), 10x10 mm |
| Mounting Type | Surface Mount |
| ICSP (In-Circuit Serial Programming) | Yes |
| Brown-out Detect | Yes |
| RoHS Status | Unknown (legacy part) |
PIC16C662-20E/PT Pin Configuration
| Pin 1 | RA0/AN0 β Port A bit 0 / analog comparator input 0 |
| Pin 2 | RA1/AN1 β Port A bit 1 / analog comparator input 1 |
| Pin 3 | RA2/AN2 β Port A bit 2 / analog comparator input 2 |
| Pin 4 | RA3/AN3 β Port A bit 3 / analog comparator input 3 |
| Pin 5 | RA4/T0CKI β Port A bit 4 / Timer0 clock input |
| Pin 6 | RA5/SS β Port A bit 5 / SPI slave select |
| Pin 7 | RE0/RD β Port E bit 0 / read control for parallel slave port |
| Pin 8 | RE1/WR β Port E bit 1 / write control for parallel slave port |
| Pin 9 | RE2/CS β Port E bit 2 / chip select for parallel slave port |
| Pin 10 | VDD β Positive supply voltage (4.0V to 6.0V) |
| Pin 11 | VSS β Ground reference |
| Pin 12 | OSC1/CLKIN β Crystal oscillator input / external clock input |
| Pin 13 | OSC2/CLKOUT β Crystal oscillator output / clock output |
| Pin 14 | RC0/T1OSO/T1CKI β Port C bit 0 / Timer1 oscillator output / Timer1 clock |
| Pin 15 | RC1/T1OSI/CCP2 β Port C bit 1 / Timer1 oscillator input / CCP2 |
| Pin 16 | RC2/CCP1 β Port C bit 2 / Capture/Compare/PWM 1 |
| Pin 17 | RC3/SCK/SCL β Port C bit 3 / SPI clock / I2C clock |
| Pin 18 | RD0 β Port D bit 0 |
| Pin 19 | RD1 β Port D bit 1 |
| Pin 20 | RD2 β Port D bit 2 |
| Pin 21 | RD3 β Port D bit 3 |
| Pin 22 | RC4/SDI/SDA β Port C bit 4 / SPI data in / I2C data |
| Pin 23 | RC5/SDO β Port C bit 5 / SPI data out |
| Pin 24 | RC6/TX/CK β Port C bit 6 / USART TX / clock |
| Pin 25 | RC7/RX/DT β Port C bit 7 / USART RX / data |
| Pin 26 | RD4 β Port D bit 4 |
| Pin 27 | RD5 β Port D bit 5 |
| Pin 28 | RD6 β Port D bit 6 |
| Pin 29 | RD7 β Port D bit 7 |
| Pin 30 | VSS β Ground reference |
| Pin 31 | VDD β Positive supply voltage |
| Pin 32 | RB0/INT β Port B bit 0 / external interrupt input |
| Pin 33 | RB1 β Port B bit 1 |
| Pin 34 | RB2 β Port B bit 2 |
| Pin 35 | RB3 β Port B bit 3 |
| Pin 36 | RB4 β Port B bit 4 |
| Pin 37 | RB5 β Port B bit 5 |
| Pin 38 | RB6/PGC β Port B bit 6 / ICSP clock |
| Pin 39 | RB7/PGD β Port B bit 7 / ICSP data |
| Pin 40 | RC0 β Port C bit 0 (alternate position note: see datasheet) |
| Pin 41 | RC1 β Port C bit 1 |
| Pin 42 | RC2 β Port C bit 2 |
| Pin 43 | RC3 β Port C bit 3 |
| Pin 44 | MCLR/VPP β Master clear reset / ICSP programming voltage |
Typical Applications
PIC16C662-20E/PT is suitable for 6 applications: Industrial Motor Control, Sensor Threshold Detection, Appliance Control Boards, Security and Alarm System Panels, Automotive Body Electronics, Process Control Instrumentation.
Industrial Motor Control
The PIC16C662-20E/PT fits industrial motor-control loops because its 20 MHz CPU executes deterministic control algorithms within tight PWM periods, and its two on-chip analog comparators can directly sense motor current via shunt resistors without an external op-amp. The extended -40C to +125C temperature grade supports factory-floor ambient extremes, and the 33 digital I/O pins drive direction relays, fault indicators, and encoder inputs. Brown-out detection prevents undefined behavior during line-voltage sags, while the watchdog timer recovers the controller from firmware lock-up in long-running installations.
Recommended
Sensor Threshold Detection
The PIC16C662-20E/PT is well-suited for sensor threshold-detection boards thanks to its two integrated analog comparators with programmable on-chip voltage reference. A thermistor bridge or photodiode amplifier feeds directly into the comparator inputs, freeing the CPU from continuous ADC polling. The 20 MHz clock ensures sub-microsecond comparator-to-IO response, while the 4V to 6V supply accepts common 5V industrial rails. The 7KB OTP program memory stores lookup tables and hysteresis state machines, and the extended temperature range allows outdoor sensor enclosure deployment.
Recommended
Appliance Control Boards
In washing-machine, dishwasher, and HVAC control boards, the PIC16C662-20E/PT provides the deterministic 8-bit processing needed for keypad scanning, LCD segment driving via external shift registers, and triac firing-angle control. The 33 I/O pins directly interface with seven-segment displays, button matrices, and zero-cross detectors. Its 7KB OTP memory holds appliance state-machine firmware, while the brown-out reset prevents EEPROM corruption during line-voltage transients. The 44-TQFP package offers a low-profile surface-mount footprint suitable for compact consumer enclosures.
Recommended
Security and Alarm System Panels
The PIC16C662-20E/PT serves as the central controller in legacy security panels, monitoring multiple zones of PIR sensors, door contacts, and glass-break detectors through its 33 digital I/O pins. The on-chip watchdog timer ensures the panel recovers from EMI-induced lock-ups common in alarm environments. The two analog comparators detect loop-resistance tamper conditions on normally-closed sensor loops, while the 7KB OTP memory stores zone-configuration tables and communication protocol stacks. The extended temperature grade allows installation in unheated garages and outdoor enclosures.
Recommended
Automotive Body Electronics
The PIC16C662-20E/PT was widely adopted in pre-CAN automotive body controllers for window lifts, mirror adjustment, seat-position memory, and interior lighting. Its 4V to 6V supply tolerates load-dump transients when paired with external TVS clamps, and the extended -40C to +125C grade covers under-dash and engine-bay-adjacent modules. The 20 MHz CPU multiplexes switch-matrix inputs and PWM outputs for seat motors, while the analog comparators detect end-of-travel current spikes. Note: for new automotive designs, migrate to PIC16F662 for flash-based firmware updates.
Recommended
Process Control Instrumentation
In 4-20 mA loop-powered transmitters and chart recorders, the PIC16C662-20E/PT handles sensor linearization, HART protocol bit-banging, and LCD segment driving. The two on-chip comparators support loop-current sensing without an extra ADC channel. The 7KB OTP memory stores calibration coefficients and HART command tables, while the 176 bytes RAM buffer incoming HART bursts. The brown-out detector and watchdog timer provide field-installable reliability, and the 44-TQFP package keeps the BOM small for compact DIN-rail enclosures.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C662-20E/PT β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F662-I/PT | PIC16C662-20/PT | PIC16C662-20I/PT | PIC16F914-I/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| 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 |
| Program Memory Type | OTP EPROM (7KB) | Flash (7KB) | OTP EPROM (7KB) | OTP EPROM (7KB) | Flash (14KB) |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Data RAM | 176 bytes | 176 bytes | 176 bytes | 176 bytes | 256 bytes |
| Analog Comparators | 2 | 2 | 2 | 2 | 2 |
| Operating Temperature | -40C to +125C (Extended) | -40C to +85C (Industrial) | 0C to +70C (Commercial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| Lifecycle Status | Obsolete | Active | Obsolete | Obsolete | Active |
Key Differentiators
- Extended -40C to +125C temperature grade in the same footprint (vs PIC16C662-20/PT)
- Reprogrammable flash memory upgrade path (vs PIC16C662-20/PT (commercial OTP))
- On-chip analog comparators eliminate external op-amps (vs PIC16C642 (no comparators))
Design Notes
Decouple the PIC16C662-20E/PT with a 0.1uF ceramic capacitor placed within 5 mm of the VDD pins (pin 10 and pin 31) and a 10uF bulk capacitor on the same rail. The two VSS pins (pin 11 and pin 30) must both connect to a low-impedance ground pour to suppress digital switching noise coupling into the analog comparator inputs. Brown-out detection should be enabled in the configuration word to guarantee defined reset behavior during 5V rail sag.
The 44-pin TQFP package has a junction-to-ambient thermal resistance (theta_JA) of approximately 50 C/W on a JEDEC 4-layer test board. At maximum 20 MHz operation with all 33 I/O pins switching, the die power dissipation stays well below 200 mW in typical 5V applications. Estimated: with 5V supply, 20 MHz clock, and 33 I/O toggling at 50% duty, power dissipation is approximately 75 mW (P = C x Vdd^2 x f); junction rise above ambient is then about 4C, no heatsink required.
Do not assume OTP memory allows re-programming during development - it cannot. Use a windowed CERDIP PIC16C662JW for prototype iteration. The MCLR pin (pin 44) must be pulled high through a 10 kohm resistor for normal operation; leaving it floating causes intermittent resets. When migrating to PIC16F662, the configuration-word bit positions shift slightly - recompile your firmware with the new header file rather than reusing the existing HEX.
Compliance Information
Legacy PIC16C OTP family predates widespread RoHS documentation. Microchip's product transition guides recommend the PIC16F662 as the modern RoHS-compliant equivalent for new designs. AEC-Q100 not applicable to this OTP legacy part; for automotive applications, use PIC16F662-I/PT or PIC16F662T-I/PT.