PIC12CE674-04E/P - 8-Bit 4MHz OTP MCU 3.5KB Flash | Microchip
MPN: PIC12CE674-04E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.05 | $30.50 |
| 100 | $2.71 | $271.00 |
| 500 | $2.39 | $1,195.00 |
| 1,000 | $2.1 | $2,100.00 |
PIC12CE674-04E/P Overview
A PIC microcontroller (Programmable Intelligent Computer, or Peripheral Interface Controller) is a class of 8/16/32-bit RISC microcontrollers built on a Harvard architecture - separate program and data buses - that became the de-facto standard for low-pin-count embedded control. The PIC12 family sits at the entry level of Microchip's PIC line (PIC10/12/16/18 hierarchy, scaling up to PIC24/dsPIC and PIC32), prioritizing small package count, low cost, and deterministic interrupt response over raw compute. Within the PIC12 family, the "CE" sub-family specifically adds EEPROM data memory on-chip for parameter storage in user-reprogrammable applications.
Key features of this part include: 6 general-purpose I/O pins multiplexed with ADC inputs and the MCLR/reset function, an 8-bit timer/counter (TMR0) with an 8-bit prescaler, a watchdog timer with its own on-chip RC oscillator for reliable resets, an internal 4 MHz RC oscillator (plus an optional external oscillator), and in-circuit serial programming (ICSP) capability via two pins. The four ADC channels share the I/O pins and offer 8-bit resolution.
Architecturally, the device uses a 14-bit instruction word and an 8-bit data path with a two-stage pipeline, allowing most instructions to complete in one oscillator cycle. The OTP program memory is one-time programmable but supports field updates via ICSP for prototypes and small production runs. Power management features include a power-on reset, brown-out detection, and a SLEEP mode that drops current to sub-microamp levels.
Typical applications include low-cost sensor interfaces, appliance controls, LED lighting controllers, automotive body electronics (under-the-hood sensors), battery chargers, and replacement of discrete logic in 8-pin designs. The integrated ADC and EEPROM make it especially well suited to small-signal analog acquisition with non-volatile calibration storage.
When designing with this MCU, the "E" suffix denotes the extended (-40C to +125C) industrial operating temperature range, which is essential for automotive and outdoor deployments. The OTP program memory requires in-system programming via ICSP - code cannot be erased and rewritten like Flash - so provision a programming header and pre-test all firmware on a Flash-equivalent development device before committing code to OTP production units.
This page synthesizes distributor pricing, drop-in pin-compatible alternatives, and practical design notes not found in the manufacturer datasheet, optimized for engineers evaluating the PIC12CE674-04E/P for new designs and legacy support.
Drop-in alternatives for PIC12CE674-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 PIC12CE674-04E/P (same form factor and footprint) — differing in Package, RoHS Status, Operating Temperature, Timers, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12CE674-04/P
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC12CE673-10E/P
✅ Drop-In✓ In Stock
$2.95 / Unit
View Datasheet →PIC12CE673-04/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.6 / Unit
View Datasheet →PIC12C672-04E/P
✅ Drop-In✓ In Stock
$2.3 / Unit
View Datasheet →PIC12C672-10/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.99 / Unit
View Datasheet →PIC12CE519-04E/P
✅ Drop-In✓ In Stock
$1.02 / Unit
View Datasheet →PIC12CE674-04E/P Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (Harvard) |
| Instruction Set | 35 single-word instructions, 14-bit wide |
| Program Memory (ROM) | 3.5 KB (2K x 14) OTP |
| Data SRAM | 128 bytes |
| Data EEPROM | 16 bytes |
| Maximum CPU Speed | 4 MHz (10 MHz max for -10 grade) |
| Instruction Cycle Time | 400 ns (single-cycle instructions) |
| Operating Voltage (Vdd) | 2.5 V to 5.5 V |
| I/O Pins | 6 (general purpose) |
| ADC | 4-channel, 8-bit |
| Timers | 1 x 8-bit (TMR0 with 8-bit prescaler) |
| Watchdog Timer | Yes, with dedicated on-chip RC oscillator |
| Oscillator | Internal 4 MHz RC + external oscillator option |
| In-Circuit Programming | ICSP (In-Circuit Serial Programming) |
| Operating Temperature | -40 C to +125 C (Extended, "E" suffix) |
| Package | 8-pin PDIP (PDIP-8, through-hole) |
| Pin Count | 8 |
| RoHS Status | Compliant (lead-free) |
PIC12CE674-04E/P Pin Configuration
| Pin 1 | Vdd — Positive supply voltage (2.5V to 5.5V) |
| Pin 2 | GP5/T1CKI/OSC1/CLKIN — GPIO/Timer1 clock input/oscillator input/external clock input |
| Pin 3 | GP4/AN3/T1G/OSC2/CLKOUT — GPIO/ADC channel 3/Timer1 gate/oscillator output/clock output |
| Pin 4 | GP3/MCLR/Vpp — GPIO input only/Master Clear reset/ICSP programming voltage |
| Pin 5 | GP2/AN2/TOCKI/INT/COUT — GPIO/ADC channel 2/Timer0 clock input/external interrupt/comparator output |
| Pin 6 | GP1/AN1/CIN-/ICSPCLK — GPIO/ADC channel 1/comparator inverting input/ICSP clock |
| Pin 7 | GP0/AN0/CIN+/ICSPDAT — GPIO/ADC channel 0/comparator non-inverting input/ICSP data |
| Pin 8 | Vss — Ground reference |
Typical Applications
PIC12CE674-04E/P is suitable for 6 applications: Automotive Sensor Interface, Battery-Powered Sensor Tag, LED Lighting Controller, Appliance Control Board, Smart Home Edge Node, Replacement of Discrete Logic.
Automotive Sensor Interface
The PIC12CE674-04E/P's extended -40C to +125C temperature range (E suffix), on-chip 4-channel 8-bit ADC, and 16-byte EEPROM data memory for non-volatile calibration storage make it ideal for low-cost automotive sensor nodes. Typical circuits read thermistor or Hall-sensor voltages on the AN0-AN3 channels, apply linearization in firmware, store trim constants in the internal EEPROM, and transmit the result over a single-wire LIN or PWM interface. The 4 MHz core and 400 ns instruction cycle easily handle 10 Hz sample rates with <10% CPU utilization, while the 16B EEPROM retains calibration through power cycles - critical for ABS, MAP, and oxygen-sensor modules that must not lose trim across battery disconnect events.
Recommended
Battery-Powered Sensor Tag
The PIC12CE674-04E/P's sub-microamp SLEEP current (<1 uA with WDT disabled) and 2.5 V minimum supply voltage allow direct connection to two AA alkaline cells for multi-year battery life in remote sensor tags. The on-chip ADC reads moisture, temperature, or contact-closure sensors on a periodic wake-up interval; the 16-byte EEPROM stores the device address and last-known state across reset events. Compared with a discrete 555-timer-plus-ADC solution, the integrated MCU provides more accurate timing, digital filtering, and configurable thresholds via firmware rather than external resistor tweaks.
Recommended
LED Lighting Controller
The PIC12CE674-04E/P drives multi-channel LED strings in architectural and accent lighting fixtures, using the 8-bit timer TMR0 to generate PWM dimming waveforms in firmware. The on-chip ADC monitors photodiode current for ambient-light feedback, while the 16-byte EEPROM stores the user's last brightness setting and color mix across power cycles. With 5 MIPS throughput, the MCU handles both the PWM generation (typically 200 Hz, 8-bit resolution on 2-3 channels) and the DMX-512 or DALI protocol parsing in a single-chip implementation, replacing what would otherwise require a dedicated LED driver plus logic controller.
Recommended
Appliance Control Board
White-goods appliances - washing machines, dishwashers, microwave ovens - frequently use 8-bit PIC microcontrollers like the PIC12CE674-04E/P to drive relays, read user-panel buttons, and sense temperature or water level. The 6 general-purpose I/O pins suffice for simple user-interface boards (4 LEDs, 2 buttons or a 2x2 keypad matrix), while the on-chip ADC handles thermistor-based temperature sensing. The 16-byte EEPROM stores the user's preferred cycle, language, and last fault code, surviving brown-outs and power-line glitches that are common in residential AC environments.
Recommended
Smart Home Edge Node
IoT edge devices for smart-home automation - door/window contact sensors, leak detectors, occupancy sensors - leverage the PIC12CE674-04E/P's small footprint, ADC, and EEPROM to implement compact battery-powered nodes that communicate over sub-GHz radios or one-wire buses. The MCU sleeps at sub-microamp current most of the time, wakes on an external interrupt from a sensor or push-button, transmits the event, and returns to sleep. The 16-byte EEPROM holds the device UUID, network channel, and last-synced state, allowing nodes to rejoin a network after a long power-down without re-provisioning.
Recommended
Replacement of Discrete Logic
The PIC12CE674-04E/P is a cost-effective replacement for legacy 74HC-series glue logic and small gate arrays in industrial equipment, replacing 2-4 logic ICs with a single 8-pin MCU programmed as a state machine. With 6 I/O pins, 3.5KB of program memory, and 5 MIPS throughput, the device can implement custom timing, sequencing, and signal-conditioning functions that would require a dozen discrete gates. Designers benefit from firmware-level reconfigurability - the same PCB can ship with different logic configurations by simply changing the OTP code, eliminating hard-to-source TTL part numbers.
Recommended
Recommended Products Summary
Engineering reference data for PIC12CE674-04E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12CE674-04/P | PIC12CE673-10E/P | PIC12C672-04E/P | PIC12CE519-04E/P |
|---|---|---|---|---|---|
| Package | PDIP-8 | PDIP-8 (same) | PDIP-8 (same) | PDIP-8 (same) | PDIP-8 (same) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 3.5 KB OTP | 3.5 KB OTP (same) | 1 KB OTP (-71%) | 3.5 KB OTP (same) | 1 KB OTP (-71%) |
| Data SRAM | 128 bytes | 128 bytes (same) | 128 bytes (same) | 128 bytes (same) | 41 bytes (-68%) |
| Data EEPROM | 16 bytes | 16 bytes (same) | 16 bytes (same) | None (0 bytes) | 16 bytes (same) |
| ADC | 4-channel 8-bit | 4-channel 8-bit (same) | 4-channel 8-bit (same) | 4-channel 8-bit (same) | None |
| Maximum Clock Speed | 4 MHz | 4 MHz (same) | 10 MHz (+150%) | 4 MHz (same) | 4 MHz (same) |
| Operating Temperature | -40C to +125C (E suffix) | 0C to +70C (commercial) | -40C to +125C (E suffix) | -40C to +125C (E suffix) | -40C to +125C (E suffix) |
| I/O Pins | 6 | 6 (same) | 6 (same) | 6 (same) | 6 (same) |
| Voltage Range | 2.5V to 5.5V | 2.5V to 5.5V (same) | 2.5V to 5.5V (same) | 2.5V to 5.5V (same) | 2.5V to 5.5V (same) |
Key Differentiators
- 16-byte on-chip EEPROM for parameter storage (vs PIC12C672-04E/P)
- Extended -40C to +125C temperature range (vs PIC12CE674-04/P)
- 3.5 KB program memory for richer firmware (vs PIC12CE519-04E/P)
Design Notes
The PIC12CE674-04E/P supports a 2.5 V to 5.5 V supply range, allowing direct operation from 2x AA alkaline cells (3.0 V nominal, dropping to 2.0 V end-of-life) or a regulated 3.3 V/5 V rail. Place a 100 nF decoupling capacitor within 5 mm of the Vdd pin (pin 1) and a 10 uF bulk capacitor on the supply rail to suppress voltage transients during SLEEP-wake transitions. The MCLR pin (pin 4) requires a 10 kohm pull-up to Vdd; if ICSP is used, add a diode to isolate the application reset circuit from the 13 V programming voltage.
The PIC12CE674-04E/P uses OTP (One-Time Programmable) memory, not Flash - code cannot be erased and rewritten like Flash-based PIC12F or PIC16 parts. According to Microchip programming specifications, blank/erased OTP cells read as 0x3FFF (14-bit all-ones), so any firmware must first verify the chip is blank before programming. For development, use a Flash-based PIC12F675 or PIC12F683 dev board first, then commit final firmware to OTP production units - this avoids burning dozens of OTP chips during firmware iteration.
The 8-pin PDIP footprint accepts through-hole assembly with 2.54 mm (0.100 inch) pin pitch. Keep the ICSP header within 50 mm of pins 6 and 7 (ICSPCLK and ICSPDAT) to avoid signal-integrity issues during in-circuit programming. For noisy environments (automotive, industrial), add 10 kohm series resistors on GP0/GP1 (ICSPDAT/ICSPCLK) to dampen ringing; pin 4 (MCLR/Vpp) must have a clamp diode to Vdd to limit programming-voltage transients below 14 V absolute maximum.
Estimated: At maximum 4 MHz clock, 5.5 V supply, and full GPIO switching, the PIC12CE674-04E/P draws about 2.0 mA typical active current and less than 1 uA in SLEEP. Power dissipation at peak operation is roughly 11 mW (5.5 V x 2.0 mA), well below any thermal concern for the PDIP-8 package. However, in automotive under-hood environments at +125 C ambient, derate clock speed and I/O switching frequency by 20% to maintain junction temperature within Microchip's reliability guidelines.
Compliance Information
RoHS compliant per Microchip product page. The extended -40C to +125C temperature range supports automotive environments but the part is NOT AEC-Q100 qualified; for AEC-Q100 designs, use the PIC12F683-E/P or PIC16F family with explicit Q100 qualification.