PIC12CE674-04/P - 8-Bit 4MHz OTP MCU, 3.5KB | Microchip
MPN: PIC12CE674-04/P ✗ End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.2 | $3.20 |
| 10 | $2.88 | $28.80 |
| 100 | $2.46 | $246.00 |
| 500 | $2.1 | $1,050.00 |
| 1,000 | $1.85 | $1,850.00 |
PIC12CE674-04/P Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, program memory (ROM/Flash/OTP), data memory (RAM), peripherals, and I/O on one die; the PIC12C/CE67x family specifically belongs to Microchip's 8-bit PIC RISC architecture hierarchy (PIC10/12/16/18 -> 8-bit PIC -> PIC microcontroller -> embedded computing). This part is a member of the low-pin-count, low-cost OTP MCU category targeting high-volume cost-sensitive embedded designs that do not require in-system reprogrammability.
Key features include a 35-instruction RISC instruction set with single-cycle execution (400 ns at 4 MHz) for deterministic throughput, an integrated 8-bit ADC with four input channels, 16 bytes of EEPROM for non-volatile parameter storage across power cycles, an internal 4 MHz RC oscillator eliminating external clock components, and a wide 2.5 V to 5.5 V supply range supporting both 3.3 V and 5 V system rails. Watchdog timer, power-on reset, and brown-out detection enhance field reliability.
The PIC12CE674 utilizes the enhanced mid-range 14-bit instruction word architecture with a 33 to 35 instruction set, an 8-level hardware stack, and direct/indirect addressing modes. The OTP program memory is one-time programmable, making the part well suited for mature firmware in mass-production runs where code stability is established. The device's CMOS static design allows clock speeds down to DC for ultra-low-power sleep states.
Typical applications include low-cost consumer appliance controls, sensor signal conditioning front-ends, simple LED lighting controllers, battery-powered handheld instruments, and replacement of discrete logic in space-constrained designs. The small 8-pin footprint and integrated ADC suit applications that need basic intelligence without a large pin count or DSP horsepower.
A key design consideration: because this is an OTP device, firmware must be fully validated on a windowed or Flash equivalent (e.g., PIC12F675) before committing to the PIC12CE674 for production. The 5 I/O pins must be carefully allocated between ADC inputs, digital I/O, and the MCLR/reset function. This page synthesizes verified distributor pricing, drop-in same-package alternatives, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC12CE674-04/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 PIC12CE674-04/P (same form factor and footprint) — differing in I/O Pins, Package, RoHS Status, ADC, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12CE673-04/P
✅ Drop-In✓ In Stock
$1.6 / Unit
View Datasheet →PIC12CE674-10/P
✅ Drop-In✓ In Stock
$2.4 / Unit
View Datasheet →PIC12CE674-04E/P
✅ Drop-In✓ In Stock
$2.1 / Unit
View Datasheet →PIC12C672-04/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12C671-04/P
✅ Drop-In✓ In Stock
$1.5 / Unit
View Datasheet →PIC12CE674-04/P Maximum Ratings & Electrical Characteristics
| Core | PIC12 8-bit RISC |
| Instruction Set Architecture | Enhanced mid-range 14-bit |
| Number of Instructions | 35 single-word |
| Program Memory Type | OTP (One-Time Programmable) |
| Program Memory Size | 3.5 KB (2K x 14 words) |
| RAM Size | 128 bytes |
| EEPROM Size | 16 bytes |
| Maximum Clock Frequency | 4 MHz |
| Instruction Cycle Time | 400 ns |
| Supply Voltage Range | 2.5 V to 5.5 V (typical 3.3 V / 5 V) |
| I/O Pins | 5 GPIO + 1 input-only |
| ADC | 8-bit, 4 channels |
| Timers | 1 x 8-bit timer/counter with prescaler |
| Package | 8-pin PDIP (through-hole) |
| Operating Temperature Range | 0C to +70C (commercial, -04) |
| Internal Oscillator | 4 MHz RC (calibrated) |
| Watchdog Timer | Yes (with independent on-chip RC oscillator) |
| Power-on Reset / Brown-out | Yes |
| RoHS Status | Non-compliant (SnPb lead finish, /P suffix) |
| MSL Level | 1 (unlimited floor life) |
PIC12CE674-04/P Pin Configuration
| Pin 1 | VDD — Positive supply voltage (2.5 V to 5.5 V) |
| Pin 2 | GP5/OSC1/CLKIN — GPIO GP5 / external oscillator input / clock input |
| Pin 3 | GP4/OSC2/CLKOUT — GPIO GP4 / oscillator output / clock output (4 MHz Fosc/4) |
| Pin 4 | GP3/MCLR/VPP — GPIO GP3 (input only) / Master Clear reset / programming voltage |
| Pin 5 | GP2/AN2/T0CKI/INT — GPIO GP2 / ADC channel 2 / Timer0 clock input / external interrupt |
| Pin 6 | GP1/AN1/CIN-/VREF — GPIO GP1 / ADC channel 1 / comparator inverting input / voltage reference |
| Pin 7 | GP0/AN0/CIN+ — GPIO GP0 / ADC channel 0 / comparator non-inverting input |
| Pin 8 | VSS — Ground reference |
Typical Applications
PIC12CE674-04/P is suitable for 7 applications: Low-Cost Consumer Appliance Control, Battery-Powered Sensor Front-End, LED Lighting Effect Controllers, Replacement of Discrete Logic, Remote Control and IR Encoder, Automotive Body Electronics (Legacy), Educational and Hobbyist Projects.
Low-Cost Consumer Appliance Control
The PIC12CE674-04/P fits white-goods and small-appliance control boards where 8 I/O pins, 3.5 KB OTP code, and a 4-channel 8-bit ADC are sufficient for user-interface scanning and sensor readout. Its 400 ns instruction cycle easily handles 10 ms button-debounce loops and PWM-style buzzer or LED driving without external logic. The internal 4 MHz oscillator eliminates a two-pin crystal network, cutting BOM cost on high-volume SKUs. EEPROM (16 bytes) stores user-setpoints such as clock time, fan speed, or temperature calibration that survive power cycles. Compared with discrete 555-timer or logic-gate designs, the MCU consolidates timing, sensing, and user I/O into one 8-pin device, shrinking PCB area and improving testability through software-controlled diagnostics.
Recommended
Battery-Powered Sensor Front-End
Battery-powered sensor nodes leverage the PIC12CE674-04/P's 2.5 V minimum supply for single-cell lithium or 2xAA operation, CMOS static core that idles in microamp-level sleep, and integrated 8-bit ADC that digitizes thermistor, photodiode, or potentiometer signals without an external converter. The 35-instruction RISC core executes ADC sampling and threshold-detection loops in well under 1 ms, allowing the CPU to spend most of its time in sleep mode and stretch coin-cell life into multi-year ranges. The 16-byte EEPROM retains calibration constants across battery swaps, critical for accurate absolute readings after factory programming. Compared with using a separate op-amp-plus-ADC-plus-MCU design, this part consolidates signal acquisition and processing into a single 8-pin PDIP, ideal for disposable or sealed environmental loggers.
Recommended
LED Lighting Effect Controllers
Decorative and architectural LED controllers use the PIC12CE674-04/P for chase, fade, and color-mixing patterns driven by software PWM on its GPIO pins, with the 8-bit ADC reading ambient-light sensors for automatic brightness adjustment. The 400 ns instruction cycle supports high-frequency PWM (>20 kHz) above the audible band, eliminating driver-stage whine. Five GPIO pins multiplex to multiple LED channels via external shift registers or driver MOSFETs, while the 3.5 KB OTP holds complex chase tables for holiday or retail display products. The internal 4 MHz oscillator removes external timing components, reducing both BOM cost and EMI susceptibility. Compared with discrete NE555 oscillator chains, the MCU delivers reprogrammable patterns through the same hardware platform across product families.
Recommended
Replacement of Discrete Logic
The PIC12CE674-04/P replaces 74HC-series glue logic in space-constrained boards by consolidating combinational/sequential functions, timing, and resets into a single 8-pin device. A few hundred lines of C or assembly implement state machines, monostables, and shift-register emulations that would otherwise require multiple SSI/MSI packages, freeing PCB real-estate for other functions. The 35-instruction RISC core is well documented and easy to learn, accelerating time-to-market versus discrete-logic redesigns. EEPROM (16 bytes) stores mode-select or configuration bits in place of DIP-switch banks, improving manufacturability and field configurability. Compared with discrete-logic equivalents, the MCU-based design typically reduces part count by 60-80% and improves test coverage through software-driven diagnostics.
Recommended
Remote Control and IR Encoder
Consumer remote controls and IR encoder modules use the PIC12CE674-04/P to generate 38 kHz carrier waveforms for RC5, NEC, or proprietary protocols, with timing precision guaranteed by the deterministic 400 ns instruction cycle. Five GPIO pins drive LED, button matrix, mode-select, and status-LED outputs, while the 4-channel ADC can read potentiometer-based volume sliders or rotary encoders. The 3.5 KB OTP holds multiple protocol libraries and button-debounce logic, supporting universal-remote designs with one firmware image. EEPROM retains paired-device IDs and user preferences through battery swaps. Compared with dedicated IR-encoder ICs, this part allows protocol customization through firmware without requiring mask-set changes for each customer variant.
Recommended
Automotive Body Electronics (Legacy)
Legacy automotive aftermarket accessories and non-safety body-electronics modules still specify the PIC12CE674-04/P for relay driving, switch debouncing, and analog sensor reading. The integrated ADC monitors voltage dividers for fluid-level or position sensing, while GPIO outputs drive low-side MOSFETs for lamp or solenoid control. The 0 to 70C commercial temperature range suits cabin-interior applications; for under-hood or harsh-environment use, Microchip recommends the PIC12CE674-04E/P (extended -40 to +125C) variant. The 8-pin PDIP through-hole package simplifies prototyping and field-service replacement versus surface-mount alternatives. Compared with automotive-grade ASICs, this part offers a cost-effective solution for low-volume accessory markets.
Recommended
Educational and Hobbyist Projects
Universities, technical colleges, and hobbyists use the PIC12CE674-04/P to teach embedded programming because the PIC12 architecture is well documented in Microchip application notes and supported by MPLAB X IDE plus the free XC8 compiler. The 8-pin PDIP package fits standard breadboards and through-hole prototyping boards, while the internal oscillator eliminates the crystal-and-capacitor learning curve for first-time users. The 35-instruction RISC instruction set is small enough to learn in a single semester, yet powerful enough to implement real projects like digital thermometers, light controllers, or motor speed regulators. Compared with modern 32-bit ARM Cortex boards, this part remains popular for teaching fundamentals of bit-manipulation, register-level programming, and assembly-language concepts.
Recommended
Recommended Products Summary
Engineering reference data for PIC12CE674-04/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12CE673-04/P | PIC12CE674-10/P | PIC12CE674-04E/P | PIC12C672-04/P | PIC12C671-04/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 8-pin PDIP | 8-pin PDIP - same | 8-pin PDIP - same | 8-pin PDIP - same | 8-pin PDIP - same | 8-pin PDIP - same |
| Program Memory | 3.5 KB OTP (2K x 14) | 1.75 KB OTP (1K x 14) | 3.5 KB OTP (2K x 14) | 3.5 KB OTP (2K x 14) | 3.5 KB OTP (2K x 14) | 3.5 KB OTP (2K x 14) |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 10 MHz | 4 MHz | 4 MHz | 4 MHz |
| EEPROM | 16 bytes | 16 bytes | 16 bytes | 16 bytes | 0 bytes (none) | 0 bytes (none) |
| ADC | 8-bit, 4 channels | 8-bit, 4 channels | 8-bit, 4 channels | 8-bit, 4 channels | 8-bit, 4 channels | None |
| RAM Size | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes |
| Operating Temperature | 0C to +70C (commercial) | 0C to +70C | 0C to +70C | -40C to +125C (extended) | 0C to +70C | 0C to +70C |
Key Differentiators
- Integrated 16-byte EEPROM data memory (vs PIC12C672-04/P)
- Highest code density in PIC12 8-pin OTP family (vs PIC12CE673-04/P)
- Extended-industrial temperature grade variant available (vs PIC12CE674-04/P (commercial 0C to +70C))
- Integrated 8-bit 4-channel ADC versus no-ADC siblings (vs PIC12C671-04/P)
Design Notes
The PIC12CE674-04/P uses One-Time-Programmable (OTP) memory, so any firmware bug discovered after programming requires scrapping the part. Always develop and fully validate firmware on a Flash-based equivalent such as PIC12F675-I/P (same 8-pin PDIP footprint, same register set, ICSP-capable) before committing to PIC12CE674 production programming. MPLAB X IDE with the XC8 compiler supports cross-target builds between these two parts, so a single source tree can target either MCU. Budget additional engineering time for OTP programming fixture setup and verification, and order 10-15% extra units to absorb programming yield loss.
The PIC12CE674-04/P operates from 2.5 V to 5.5 V, but brown-out detect (BOD) and ADC accuracy depend on a clean supply. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin and a 10 uF bulk capacitor near the IC. The internal 4 MHz RC oscillator is factory-calibrated to within +/- 2% at 5 V and 25C but drifts with temperature and voltage. For UART or timing-critical protocols, validate timing over the full -40C to +85C range. The ADC requires the VDD reference by default; if using an external VREF, route pin 6 (GP1/AN1/VREF) to a low-impedance reference source.
Pin 4 (GP3/MCLR/VPP) is a multi-function pin used as input-only GPIO, Master Clear reset, and high-voltage programming entry. Place a 10 kohm pull-up to VDD on this pin and a 100 nF cap to ground for EMI immunity, with a diode clamp to VDD if the board experiences fast transients. The ICSP programming connector should bring VPP, ICSPCLK, ICSPDAT, VDD, and VSS out to a 5-pin header. For DIP-8 hand-soldering, use sockets during development; for production, wave-solder at 260C peak with 10 s max dwell to avoid damaging the plastic package.
Keep the analog inputs (GP0/AN0, GP1/AN1, GP2/AN2) away from digital switching signals on the PCB. Route ADC traces over a continuous ground plane and surround them with ground pour to reduce coupled noise. The internal 4 MHz oscillator is sensitive to nearby high-frequency signals, so isolate the VDD trace near pins 1 and 8 from switching regulator or motor driver circuits. If the design drives inductive loads (relays, solenoids), add flyback diodes within 10 mm of the load and isolate the MCU ground from the power ground using a single-point star topology.
Compliance Information
Per Microchip product page and DigiKey listing, the /P suffix denotes SnPb (leaded) through-hole PDIP finish and is therefore NOT RoHS compliant. The lead-free /PL suffix variant PIC12CE674-04/P is the commercial PDIP, but this exact MPN ships in standard SnPb finish. Not AEC-Q100 qualified - use PIC12F675-E/P for AEC-Q100 automotive applications.