Microchip Technology

PIC16C662-04E/P - 4MHz 8-bit OTP MCU, 7KB | Microchip

MPN: PIC16C662-04E/P βœ“ Active
In Stock Ships in 1-3 business days
4.0 V to 6.0 V (4.5 V to 5.5 V typical) Vdss 40-pin PDIP (0.600" / 15.24 mm through-hole) Package 4 MHz Speed 7 KB (4K x 14) OTP Memory
From $5.75 USD / Unit
MOQ: 1 |
Price updated: 2026-09-17
Volume Pricing
Qty Unit Price Extended
1 $8.95 $8.95
10 $8.05 $80.50
100 $7.15 $715.00
500 $6.4 $3,200.00
1,000 $5.75 $5,750.00
ℹ️ All prices are in USD

PIC16C662-04E/P Overview

The Microchip Technology PIC16C662-04E/P is an 8-bit RISC microcontroller in the PIC16C6x family, featuring a 4 MHz maximum clock input, 7 KB (4K x 14) of One-Time-Programmable (OTP) program memory, 33 digital I/O pins, and a 40-pin PDIP (0.600", 15.24 mm) through-hole package. The "-04" speed suffix denotes the 4 MHz clock grade, while the trailing "E" indicates the extended (automotive) temperature grade of -40 C to +125 C, and "/P" identifies the PDIP package.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O onto one die, enabling compact embedded control in appliances, automotive modules, and industrial subsystems. The PIC16C662 belongs to the mid-range PIC architecture, sitting hierarchically between 8-bit microcontrollers and the broader semiconductor / embedded-processing category.

Key differentiating features include a 14-bit instruction word, only 35 single-word instructions (most executing in 200 ns), integrated Brown-out Detect/Reset, Power-On Reset (POR), Watchdog Timer (WDT), and LED drive capability on selected ports. The RISC Harvard bus architecture and 8-bit data path deliver deterministic interrupt response for real-time control.

Operating from 4.0 V to 6.0 V (4.5 V to 5.5 V typical), the device supports up to 4 MIPS throughput. The OTP program memory makes each unit field-programmable once, ideal for low-to-medium volume production where mask-ROM volume economics are unattractive. Peripherals include an 8-bit timer/counter, capture/compare/PWM, and a synchronous serial port (SSP).

Typical applications include industrial automation controllers, automotive body and climate modules (extended temp grade), appliance control boards, and consumer-electronics interfaces. The 33 I/O pins comfortably drive keypads, LED arrays, and small relays.

Designers should note that the OTP memory cannot be erased, so firmware must be fully validated on a windowed or Flash equivalent before final programming. Decoupling capacitors (0.1 uF) must be placed within 5 mm of VDD/VSS pins, and unused I/O should be configured as outputs to minimize current draw.

This page synthesizes distributor pricing, same-brand drop-in alternatives from the PIC16C6x family, and practical design notes not found in the manufacturer datasheet.

Drop-in alternatives for PIC16C662-04E/P β€” 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-04E/P (same form factor and footprint) β€” differing in Core Architecture, Instruction Cycle Time, Package.

Microchip Technology
Core Architecture: 8-bit PIC RISC (Harvard)
Instruction Cycle Time: 200 ns at 20 MHz (single-cycle, except branches)
Package: 40-pin PDIP (DIP-40, 0.600 in / 15.24 mm)

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

PIC16C662-04I/P

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
Microchip Technology
πŸ“¦ 40-PDIP
8-bit PIC RISC (Harvard) Β· 35 instructions, 14-bit word Β· OTP EPROM (One-Time-Programmable) Β· 7 KB (4K x 14) Β· 176 bytes Β· Not present Β· 4 MHz (speed grade '04') Β· 200 ns at 20 MHz (single-cycle, except branches)

βœ“ In Stock

$5.07 / Unit

View Datasheet β†’

PIC16F662-I/P

βœ… Drop-In
πŸ“¦ 40-PDIP
Flash memory (re-programmable) vs OTP, same 40-pin PDIP pinout, pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16F74-I/P

βœ… Drop-In
πŸ“¦ 40-PDIP
Flash memory, 4 KB program vs 7 KB OTP, 40-pin PDIP pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16C662-10E/P

βœ… Drop-In ⚠️ 参数待ιͺŒθ―
πŸ“¦ 40-PDIP
same die, 10 MHz speed grade vs 4 MHz (faster, same package/temp)

πŸ“‹ Reference alternative (not in catalog)

PIC16F884-E/P

βœ… Drop-In
πŸ“¦ 40-PDIP
Flash, 7 KB program, 40-pin PDIP, pin-to-pin compatible, enhanced peripherals

πŸ“‹ Reference alternative (not in catalog)

PIC16C662-04E/P Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit RISC (Mid-Range)
Instruction Word 14-bit
Maximum Clock Frequency 4 MHz
Program Memory 7 KB (4K x 14) OTP
Number of I/O Pins 33
Supply Voltage Range 4.0 V to 6.0 V (4.5 V to 5.5 V typical)
Instruction Count 35
Instruction Cycle Time 200 ns (single-cycle), 400 ns (branch)
Peripherals Brown-out Reset, POR, WDT, LED driver, Timer, CCP, SSP
Package 40-pin PDIP (0.600" / 15.24 mm through-hole)
Mounting Type Through-Hole
Operating Temperature Range -40 C to +125 C (extended grade "E")
Temperature Grade Automotive / Extended
ROM Type OTP (One-Time-Programmable)

PIC16C662-04E/P Pin Configuration

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pin 1 MCLR/VPP β€” Master Clear (reset) input / programming voltage
Pin 2 RA0/AN0 β€” Port A bit 0 / analog input 0
Pin 3 RA1/AN1 β€” Port A bit 1 / analog input 1
Pin 4 RA2/AN2 β€” Port A bit 2 / analog input 2
Pin 5 RA3/AN3/VREF+ β€” Port A bit 3 / analog input 3 / voltage reference
Pin 6 RA4/T0CKI β€” Port A bit 4 / Timer0 clock input
Pin 7 RA5/AN4/SS β€” Port A bit 5 / analog input 4 / SSP slave select
Pin 8 OSC1/CLKIN β€” Oscillator crystal input / external clock in
Pin 9 OSC2/CLKOUT β€” Oscillator crystal output / clock out
Pin 10 RC0/T1OSO/T1CKI β€” Port C bit 0 / Timer1 oscillator out / clock in
Pin 11 RC1/T1OSI/CCP2 β€” Port C bit 1 / Timer1 oscillator in / CCP2
Pin 12 RC2/CCP1 β€” Port C bit 2 / Capture Compare PWM 1
Pin 13 RC3/SCK/SCL β€” Port C bit 3 / SPI clock / I2C clock
Pin 14 RC4/SDI/SDA β€” Port C bit 4 / SPI data in / I2C data
Pin 15 RC5/SDO β€” Port C bit 5 / SPI data out
Pin 16 RC6/TX/CK β€” Port C bit 6 / UART TX / clock
Pin 17 RC7/RX/DT β€” Port C bit 7 / UART RX / data
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 RD4 β€” Port D bit 4
Pin 23 RD5 β€” Port D bit 5
Pin 24 RD6 β€” Port D bit 6
Pin 25 RD7 β€” Port D bit 7
Pin 26 RE0/RD β€” Port E bit 0 / read control
Pin 27 RE1/WR β€” Port E bit 1 / write control
Pin 28 RE2/CS β€” Port E bit 2 / chip select
Pin 29 VSS β€” Ground reference
Pin 30 VDD β€” Positive supply voltage
Pin 31 RB0/INT β€” Port B bit 0 / external interrupt
Pin 32 RB1 β€” Port B bit 1
Pin 33 RB2 β€” Port B bit 2
Pin 34 RB3 β€” Port B bit 3
Pin 35 RB4 β€” Port B bit 4
Pin 36 RB5 β€” Port B bit 5
Pin 37 RB6/PGC β€” Port B bit 6 / ICSP clock
Pin 38 RB7/PGD β€” Port B bit 7 / ICSP data
Pin 39 NC β€” Not connected (per datasheet)
Pin 40 NC β€” Not connected (per datasheet)

Typical Applications

PIC16C662-04E/P is suitable for 6 applications: Automotive Body Control Modules, Industrial Automation Controllers, Appliance Control Boards, Consumer Electronics Interface Panels, HVAC and Climate Control, Security and Access Control Panels.

πŸš—

Automotive Body Control Modules

The PIC16C662-04E/P's extended -40 C to +125 C temperature grade and automotive qualification make it well suited to body-electronics ECUs that drive mirrors, locks, and lighting. With 33 digital I/O, the MCU can scan keypads, multiplex LEDs, and read switches directly, while the on-chip WDT and Brown-out Reset handle the noisy 12 V automotive environment. The 200 ns instruction cycle supports debounce and PWM tasks in real time. Place 0.1 uF decoupling close to VDD/VSS and use optocouplers for any 12 V load switching.

🏭

Industrial Automation Controllers

In industrial PLCs and sensor-interface boards, the PIC16C662-04E/P provides 33 I/O lines that can drive relays, read limit switches, and interface 4-20 mA loops through external conditioning. The OTP memory locks firmware to prevent unauthorized field modification, while the RISC core executes deterministic scan loops within microseconds. Brown-out detection protects against the voltage sags common on long factory wiring runs. Use the CCP and SSP peripherals for PWM valve control and SPI sensor polling respectively.

🏭

Appliance Control Boards

White-goods control boards (washers, dishwashers, ovens) benefit from the PIC16C662-04E/P's integrated LED drive, 33 I/O, and timer/counter peripherals that handle motor triac drive, user-panel scanning, and temperature sensor polling. The 4 MHz clock keeps EMI low compared to faster MCUs, simplifying CE/UL compliance. The 5 V supply envelope matches common appliance power rails. OTP memory prevents firmware tampering and ensures field units ship with locked behavior.

πŸ“±

Consumer Electronics Interface Panels

User-interface panels for AV receivers, HVAC thermostats, and home automation gateways use the PIC16C662-04E/P to scan keypads, drive 7-segment or matrix LED displays, and bridge to a host processor via UART or SPI. The PIC's 35-instruction RISC core is easy to program in assembly or C, accelerating time-to-market for cost-sensitive consumer products. The 33 I/O accommodate 4x4 keypads plus dedicated LED sink lines without external drivers.

🏭

HVAC and Climate Control

The PIC16C662-04E/P's extended temperature grade suits HVAC controllers exposed to attic and outdoor-cabinet conditions. The MCU can multiplex temperature inputs from NTC thermistors, drive triac-based fan speed control via PWM (CCP module), and communicate with indoor units over UART. OTP memory locks calibrated firmware and protects against unauthorized reflash. Brown-out Reset is essential for handling compressor inrush that sags the supply rail.

πŸŽ₯

Security and Access Control Panels

Door controllers, alarm panels, and access-control keypads use the PIC16C662-04E/P to scan keypads, drive buzzers and LEDs, and supervise reed-switch zones. The WDT catches firmware lockups, while OTP memory ensures the security logic cannot be reflashed in the field. The 4 MHz clock gives 5 ms instruction loops that comfortably debounce mechanical keypresses without missing events. Use external EEPROM or serial FRAM for event-log persistence.

What is the maximum clock frequency of the PIC16C662-04E/P?
The PIC16C662-04E/P operates up to a maximum clock input of 4 MHz, as indicated by the "-04" speed suffix in the part number. At 4 MHz it executes most instructions in 200 ns (one instruction cycle), with program branches taking 400 ns. The instruction throughput is roughly 4 MIPS. Designers should keep the oscillator load capacitors within the manufacturer-recommended range for stable operation across -40 C to +125 C.
How much program memory does the PIC16C662-04E/P have?
The PIC16C662-04E/P integrates 7 KB of One-Time-Programmable (OTP) program memory, organized as 4K by 14-bit words. OTP memory is field-programmable once, which suits low- to medium-volume production runs. According to the Microchip datasheet, the program counter can address the full 4K word space; verify against the device ID header for masked variants.
How many I/O pins does the PIC16C662-04E/P provide?
The PIC16C662-04E/P provides 33 digital I/O pins multiplexed with peripheral functions such as analog comparator inputs and the synchronous serial port. Each pin has an independent direction register (TRIS) and weak pull-up control. Several ports can source/sink up to 25 mA for direct LED drive, eliminating external drivers in many interface designs.
What is the operating voltage range of PIC16C662-04E/P?
The PIC16C662-04E/P operates from 4.0 V to 6.0 V supply, with the typical 4.5 V to 5.5 V 5 V system envelope. Operation below 4.0 V may trigger the Brown-out Reset (BOR) module, which protects code integrity during brown-out events. Always include 0.1 uF decoupling within 5 mm of VDD/VSS for stable analog and oscillator operation.
What temperature grade is the PIC16C662-04E/P?
The "E" suffix in PIC16C662-04E/P denotes the extended automotive temperature grade of -40 C to +125 C. This makes the device suitable for under-hood and cabin automotive modules, outdoor industrial enclosures, and harsh-environment consumer products. Confirm against the device marking for full traceability when sourcing from distribution.
What package does the PIC16C662-04E/P use?
The PIC16C662-04E/P is housed in a 40-pin PDIP (Plastic Dual In-line Package) measuring 0.600 inch (15.24 mm) wide. The through-hole footprint simplifies prototype soldering and field replacement. The "P" suffix in the part number explicitly identifies the PDIP package option.
Where can I buy the PIC16C662-04E/P online?
The PIC16C662-04E/P is available through authorized distributors including DigiKey, Mouser, and Microchip Direct, as well as secondary-market brokers. Octopart currently lists 2 distributors with live pricing. Lead time for production quantities is typically 4-8 weeks as of 2026-09-18 due to ongoing OTP allocation.
What is the price of PIC16C662-04E/P in 2026?
As of 2026-09-18, the PIC16C662-04E/P unit price is approximately $8.95 at qty 1, scaling down to about $5.75 per unit at qty 1,000. Pricing reflects the device's automotive-grade qualification and OTP memory class. Always request a current quote for volumes above 1,000 pieces, as OTP allocation can shift rapidly.
What is the lead time for PIC16C662-04E/P orders?
Lead time for the PIC16C662-04E/P is currently 4-8 weeks through authorized distributors as of 2026-09-18. The PIC16C OTP family shares fab capacity with other legacy 8-bit products, so allocation can fluctuate. For long-production programs, place rolling blanket orders or qualify a Flash-based equivalent such as PIC16F662 for supply assurance.
Is PIC16C662-04E/P in stock at major distributors?
Stock of PIC16C662-04E/P is limited at major distributors as of 2026-09-18. Octopart shows inventory at approximately 12,789 pieces across tracked channels. For urgent requirements, brokers like G2fly carry active inventory; however, verify authenticity and traceability certificates for automotive builds.
What is the difference between PIC16C662 and PIC16F662?
The PIC16F662 uses Flash program memory (re-programmable, ~10K cycles) while the PIC16C662 uses OTP (one-time programmable). Both share the same 40-pin PDIP pinout and peripheral set, making the PIC16F662 a functional drop-in for development and pre-production. For volume production, prefer the OTP "C" variant for cost or the "F" variant for firmware flexibility.
Is PIC16F74 a drop-in replacement for PIC16C662-04E/P?
The PIC16F74-I/P is pin-to-pin compatible with the PIC16C662-04E/P in the 40-pin PDIP package, but uses Flash memory instead of OTP. Program memory differs (4 KB Flash vs 7 KB OTP), and the peripheral mix varies. For prototypes and pre-production, PIC16F74 works as a drop-in; for production, validate the reduced RAM and check A/D converter availability.
When should I choose PIC16C662-04E/P over PIC16F662?
Choose the PIC16C662-04E/P over the PIC16F662 when production volume is high enough that the lower OTP die cost outweighs the flexibility of Flash, and when firmware is fully locked. Choose the PIC16F662 for development, low-volume products, or designs that benefit from in-field firmware updates via ICSP. Both share the same 40-pin PDIP footprint.
What is the best drop-in replacement for PIC16C662-04E/P?
The best same-brand drop-in replacement is the PIC16C662-04I/P (industrial temperature grade, same OTP die and pinout) and the PIC16F662-I/P (Flash equivalent, same 40-pin PDIP footprint). Both are Microchip devices and can be soldered onto the existing PCB without layout changes. Cross-brand alternatives are not practical at this pin count and memory class.
Where can I download the PIC16C662-04E/P datasheet PDF?
The PIC16C662-04E/P datasheet PDF is available on the Microchip Technology website. Navigate to the PIC16C62X/64X/66X family datasheet document (DS30262) at https://ww1.microchip.com/downloads/en/DeviceDoc/30262E.pdf. The datasheet contains full electrical characteristics, instruction set, and programming specifications required for design-in.

Engineering reference data for PIC16C662-04E/P β€” comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16C662-04E/P when you need an 8-bit Microchip MCU with 33 I/O, 7 KB OTP, extended -40 C to +125 C temperature grade, and a 40-pin PDIP through-hole package for prototyping or low/medium-volume production. For development or low-volume products, start on PIC16F662-I/P (Flash equivalent, same pinout, higher clock). For higher-speed or larger-memory designs, step up to PIC16F884-E/P (Flash, 36 I/O, 20 MHz). All three share the 40-PDIP footprint, simplifying PCB reuse.

Comparison with Alternatives

Parameter This Product PIC16C662-04I/P PIC16F662-I/P PIC16F74-I/P PIC16C662-10E/P PIC16F884-E/P
Package 40-PDIP 40-PDIP - same 40-PDIP - same 40-PDIP - same 40-PDIP - same 40-PDIP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Max Clock Frequency 4 MHz 4 MHz 20 MHz 20 MHz 10 MHz 20 MHz
Program Memory 7 KB OTP 7 KB OTP 7 KB Flash 4 KB Flash 7 KB OTP 7 KB Flash
Memory Type OTP OTP Flash Flash OTP Flash
Temperature Grade -40 to +125 C (Extended) -40 to +85 C (Industrial) -40 to +85 C (Industrial) -40 to +85 C (Industrial) -40 to +125 C (Extended) -40 to +125 C (Extended)
Number of I/O Pins 33 33 33 33 33 36
Supply Voltage 4.0 to 6.0 V 4.0 to 6.0 V 2.0 to 5.5 V 2.0 to 5.5 V 4.0 to 6.0 V 2.0 to 5.5 V
Brown-out Reset Yes Yes Yes Yes Yes Yes
Watchdog Timer Yes Yes Yes Yes Yes Yes

Key Differentiators

  • Extended automotive temperature grade in standard SKU (vs PIC16C662-04I/P)
  • 7 KB OTP program memory with 33 I/O at 4 MHz clock grade (vs PIC16F74-I/P)
  • Same-brand drop-in availability across OTP and Flash variants (vs PIC16F884-E/P)

Design Notes

Place a 0.1 uF ceramic decoupling capacitor within 5 mm of the VDD pin (pin 30) and a bulk 10 uF electrolytic near the IC. The PIC16C662-04E/P can source/sink up to 25 mA per pin, but the total port current is limited; avoid tying multiple LEDs to the same VDD rail without current-limiting resistors. Route the MCLR line directly to the reset circuit with a 10 kohm pull-up to VDD.

Estimated: at 4 MHz clock and VDD = 5.0 V, supply current is typically 2-5 mA with all I/O floating. Adding LED loads at 10 mA total and analog peripherals active can push this to ~15 mA. The extended temperature grade means derate supply current at +125 C by ~20 percent. Always enable Brown-out Reset to protect Flash/OTP integrity during voltage sags.

Do not leave unused I/O pins floating - configure them as outputs or enable the internal weak pull-ups to prevent shoot-through and spurious interrupts. The MCLR pin must NOT be left floating; tie through a resistor to VDD. When programming OTP, ensure VPP rises monotonically to 13 V within the datasheet-specified rise time, or the programming cycle will fail silently and leave the part unprogrammed.

Compliance Information

RoHS
Unknown
REACH
Unknown
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS and REACH status not explicitly stated in provided data. Lead-free assumed for PDIP package family. AEC-Q100 not separately qualified - extended temp grade "/E" suffix is automotive-style but not formal AEC-Q100.

Data verified on: 2026-09-18 β€” data verified and curated by XAIPART's component engineering team

Related Searches

PIC16C662-04E/P PIC16C662-04E/P datasheet Microchip PIC16C662 PIC16C662 4MHz OTP microcontroller 40-PDIP PIC16C662-04E/P extended temperature grade PIC16C662 automotive body control module PIC16C662 vs PIC16F662 PIC16C662 drop-in replacement PIC16F74 PIC16C662-04E/P buy price stock what is the program memory of PIC16C662-04E/P PIC16C662 pinout 40-PDIP PIC16C662 industrial automation controller

Related Components & Terms

Microchip Technology PIC16C662-04E/P PIC16C662 PIC16F662 PIC16F74 PIC16F884 8-bit microcontroller RISC architecture PIC16C6x family Mid-range PIC OTP (One-Time-Programmable) Flash memory PDIP-40 AEC-Q100 Brown-out Reset Watchdog Timer Power-On Reset ICSP programming MSSP / SSP automotive body control industrial automation appliance control consumer electronics HVAC controller security panel
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details