PIC12LCE674-04/P - 8-bit CMOS MCU with EEPROM, 4MHz, DIP-8 | Microchip
MPN: PIC12LCE674-04/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.94 | $1.94 |
| 10 | $1.74 | $17.40 |
| 100 | $1.55 | $155.00 |
| 500 | $1.36 | $680.00 |
| 1,000 | $1.22 | $1,220.00 |
PIC12LCE674-04/P Overview
An 8-bit PIC microcontroller (MCU) is a low-power, deterministic Harvard-architecture processor that executes a reduced instruction set (RISC) optimized for embedded control. It belongs to the broader category hierarchy of microcontroller -> microprocessor -> integrated circuit -> semiconductor. The "L" prefix indicates a low-voltage variant capable of operating down to 2.5 V, while the "C" suffix denotes CMOS EPROM/EEPROM-based program memory. Low-power, 8-pin PIC MCUs are widely used in cost- and footprint-constrained applications where deterministic interrupt response and ultra-low sleep current are required.
Key features of the PIC12LCE674-04/P include 3.5KB OTP EPROM program memory, 128 bytes of RAM, on-chip 64-byte EEPROM data memory (separate from program memory), a 10-bit successive-approximation analog-to-digital converter with up to 4 input channels, a capture/compare/PWM (CCP) module, an 8-bit real-time clock/counter (TMR0) with programmable prescaler, and a Watchdog Timer with dedicated on-chip RC oscillator. The device operates from 2.5 V to 5.5 V across the commercial temperature range of 0 C to +70 C and provides Power-On Reset, Brown-Out Reset, Device Reset Timer, and in-circuit serial programming (ICSP) via two pins.
Technically, the PIC12LCE674-04/P uses a 14-bit instruction word with a 33-instruction RISC set, where every instruction executes in a single cycle (1 microsecond at 4 MHz) except program branches, which take two cycles. The Harvard bus architecture separates program and data paths to allow simultaneous instruction fetch and operand read. The 10-bit ADC uses successive approximation with a maximum sampling rate of approximately 30 ksps at 5 V and provides four analog input multiplexed channels shared with digital I/O, simplifying external signal-conditioning circuitry. On-chip EEPROM supports 1 million erase/write cycles typical and is byte-accessible through dedicated SFRs, eliminating external serial EEPROM in many designs.
Typical applications include battery-powered sensor signal conditioning, small appliance controllers, LED lighting drivers with dimming, automotive body electronics (interior lighting, door modules), remote controls, smart thermostats, and low-cost data loggers. The integrated EEPROM and ADC allow standalone analog-sensing nodes with non-volatile calibration storage. The CCP module adds hardware PWM capability useful for motor speed control and LED dimming.
When designing with this part, note that the OTP program memory cannot be field-updated; for production flexibility use the flash-based PIC12F675 or PIC12F683 equivalents instead. Because the ADC input pins are shared with digital I/O, configure unused channels as digital outputs to minimize crosstalk and supply current. A 0.1 uF decoupling capacitor placed within 5 mm of VDD is essential for ADC noise immunity.
Drop-in alternatives for PIC12LCE674-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 PIC12LCE674-04/P (same form factor and footprint) — differing in Package, Timers, I/O Pins, RoHS Status, Program Memory Size.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12CE674-04/P
✅ Drop-In✓ In Stock
$1.85 / Unit
View Datasheet →PIC12CE674-10I/P
✅ Drop-In✓ In Stock
$3.15 / Unit
View Datasheet →PIC12CE674-04E/P
✅ Drop-In✓ In Stock
$2.1 / Unit
View Datasheet →PIC12LC672-04/P
✅ Drop-In✓ In Stock
$0.92 / Unit
View Datasheet →PIC12CE673-04/P
✅ Drop-In✓ In Stock
$1.6 / Unit
View Datasheet →PIC12F675-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12LCE674-04/P Maximum Ratings & Electrical Characteristics
| Family | PIC12 |
| Core | 8-bit RISC PIC (Harvard) |
| Program Memory | 3.5 KB OTP EPROM |
| RAM | 128 bytes |
| EEPROM | 64 bytes on-chip |
| I/O Pins | 6 |
| ADC | 10-bit, 4 channels |
| Clock Speed | 4 MHz (1 us instruction cycle) |
| Supply Voltage | 2.5 V to 5.5 V |
| Instruction Set | 33 single-word instructions (14-bit) |
| Timers | TMR0 (8-bit, programmable prescaler) + WDT |
| Capture/Compare/PWM | 1 CCP module |
| Package | PDIP-8 (through-hole, 0.300 inch) |
| Mounting Type | Through-Hole |
| Operating Temperature | 0 C to +70 C (commercial) |
| Program Memory Type | OTP EPROM (one-time programmable) |
| ICSP | Yes (2-pin in-circuit serial programming) |
| Reset Features | POR, BOR, DRT |
| RoHS Status | Compliant |
| Tube Quantity | 60 per tube |
PIC12LCE674-04/P Pin Configuration
| Pin 1 | VDD — Positive supply voltage (2.5 V to 5.5 V) |
| Pin 2 | OSC1/CLKIN/RA5 — Oscillator crystal input or external clock input; also digital I/O RA5 |
| Pin 3 | OSC2/CLKOUT/RA4 — Oscillator crystal output or clock output; also digital I/O RA4 |
| Pin 4 | MCLR/VPP/RA3 — Master Clear reset input (active low) / programming voltage input; also digital I/O RA3 |
| Pin 5 | AN2/RA2 — Analog input channel 2 / digital I/O RA2 |
| Pin 6 | AN1/RA1 — Analog input channel 1 / digital I/O RA1 |
| Pin 7 | AN0/RA0 — Analog input channel 0 / digital I/O RA0 |
| Pin 8 | VSS — Ground reference |
Typical Applications
PIC12LCE674-04/P is suitable for 7 applications: Battery-Powered Sensor Signal Conditioning, Small Appliance Control (Coffee Makers, Fans, Toasters), LED Lighting Drivers with Dimming, Remote Control Transmitters, Automotive Body Electronics (Interior Lighting, Door Modules), Smart Thermostats and HVAC Controllers, Low-Cost Data Loggers.
Battery-Powered Sensor Signal Conditioning
The PIC12LCE674-04/P is an excellent fit for battery-powered sensor nodes because its 2.5 V minimum VDD enables direct 2x AA alkaline operation down to about 2.4 V under load. The integrated 10-bit ADC with 4 input channels handles direct resistive-bridge or thermistor readout, while the on-chip 64-byte EEPROM stores calibration constants without an external serial part, reducing BOM cost and standby drain. Typical use includes wireless temperature loggers and HVAC transmitters.
Recommended
Small Appliance Control (Coffee Makers, Fans, Toasters)
In small domestic appliances the PIC12LCE674-04/P provides all required peripherals on a single chip: 10-bit ADC for temperature or current sensing, one CCP module for PWM-driven heater or motor control, and 64-byte EEPROM for storing user-set points. The 8-pin PDIP package is easy to hand-solder or wave-solder for low-volume SKUs. The 4 MHz instruction cycle gives 1 us deterministic loop time, more than adequate for thermistor-based PID loops running at 1 Hz.
Recommended
LED Lighting Drivers with Dimming
The PIC12LCE674-04/P's CCP module produces hardware PWM for LED dimming, freeing the CPU from software bit-banging and producing flicker-free output at typical 1 kHz PWM frequencies. The 10-bit ADC reads ambient light sensors or potentiometer dimming inputs, while EEPROM remembers the last user-selected brightness across power cycles. Operating from 2.5 V to 5.5 V, the part is well-suited for both 3 V battery-powered fixtures and 5 V USB-powered desk lamps.
Recommended
Remote Control Transmitters
For IR or RF remote controls the PIC12LCE674-04/P provides the right balance of capability and cost. The 6 I/O pins drive 4x4 matrix keypads or rotary encoders, the 10-bit ADC reads potentiometer inputs, and the 33 single-cycle instructions execute button-press handling with deterministic interrupt response. The on-chip EEPROM stores learned-pairing codes or remote ID, eliminating an external serial EEPROM. Sleep current in the microampere range preserves battery life over years of standby.
Recommended
Automotive Body Electronics (Interior Lighting, Door Modules)
Although the PIC12LCE674-04/P is commercial grade (0 C to +70 C), the closely-related PIC12CE674-10I/P industrial variant operates from -40 C to +85 C and is qualified for non-safety automotive body applications such as interior lighting and door modules. The MCU's 10-bit ADC reads cabin temperature sensors and the CCP module drives LED strings or small motors for window lift control. EEPROM stores module calibration and learned end-stop positions for power windows.
Recommended
Smart Thermostats and HVAC Controllers
The PIC12LCE674-04/P's combination of 10-bit ADC for thermistor sensing, on-chip EEPROM for set-point retention, and CCP for HVAC damper/valve actuator PWM makes it a strong choice for non-connected smart thermostats. The Harvard architecture gives 1 us instruction cycle - fast enough to implement a basic PID loop without external math coprocessor. The 2.5 V minimum VDD also supports 24 VAC wall-power rectification down to common-rail operation.
Recommended
Low-Cost Data Loggers
With 3.5 KB of program memory and 64 bytes of on-chip EEPROM, the PIC12LCE674-04/P is well-suited for compact single-channel data loggers - particularly environmental monitoring tags that log temperature readings every few minutes. The 10-bit ADC gives 0.5 C resolution with a properly characterized thermistor front-end, and the brown-out reset protects in-progress EEPROM writes during battery brown-out events. The DIP-8 package fits in standard 8-pin battery-holder PCB layouts.
Recommended
Recommended Products Summary
Engineering reference data for PIC12LCE674-04/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12CE674-04/P | PIC12CE674-10I/P | PIC12CE674-04E/P | PIC12LC672-04/P | PIC12CE673-04/P | PIC12F675-I/P |
|---|---|---|---|---|---|---|---|
| Package | PDIP-8 | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 3.5 KB OTP EPROM | 3.5 KB OTP EPROM | 3.5 KB OTP EPROM | 3.5 KB OTP EPROM | 3.5 KB OTP EPROM | 1 KB OTP EPROM | 1 KB Flash |
| RAM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 64 bytes |
| EEPROM | 64 bytes | 64 bytes | 64 bytes | 64 bytes | None | 64 bytes | 128 bytes |
| ADC | 10-bit, 4 channels | 10-bit, 4 channels | 10-bit, 4 channels | 10-bit, 4 channels | None | 10-bit, 4 channels | 10-bit, 4 channels |
| Supply Voltage | 2.5 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 2.5 V to 5.5 V | 3.0 V to 5.5 V | 2.0 V to 5.5 V |
| Operating Temperature | 0 C to +70 C (commercial) | 0 C to +70 C (commercial) | -40 C to +85 C (industrial) | -40 C to +125 C (extended) | 0 C to +70 C (commercial) | 0 C to +70 C (commercial) | -40 C to +85 C (industrial) |
| Memory Type | OTP EPROM | OTP EPROM | OTP EPROM | OTP EPROM | OTP EPROM | OTP EPROM | Flash |
Key Differentiators
- On-chip 64-byte EEPROM data memory (vs PIC12LC672-04/P)
- Integrated 10-bit ADC with 4 channels (vs PIC12CE673-04/P)
- Lower minimum VDD than PIC12CE674 family (vs PIC12CE674-04/P)
- OTP EPROM allows cost-optimized production (vs PIC12F675-I/P)
Design Notes
Place a 0.1 uF ceramic decoupling capacitor within 5 mm of the VDD pin and a 10 uF bulk capacitor near the VDD/VSS pair. PIC12LCE674-04/P ADC measurements are very sensitive to VDD noise; use a ferrite bead or pi-filter when the analog supply is shared with switching regulators or PWM-driven loads. Brown-out reset should always be enabled (BOREN bit set) to prevent EEPROM corruption during low-battery events.
Route the MCLR/VPP pin with a 10 kohm pull-up to VDD and a 100 nF capacitor to ground for proper in-circuit serial programming. For DIP-8 designs place the ICSP header at the edge of the PCB to allow programming without removing the part. The crystal oscillator pins OSC1/OSC2 should be guarded by a ground ring if high-noise traces pass nearby, and unused analog pins should be configured as digital outputs to minimize quiescent current.
Because the PIC12LCE674-04/P uses OTP program memory, verify code in a flash-based PIC12F675 or PIC12F683 prototype before committing to OTP production programming - any firmware bug becomes unfixable after programming. Do not exceed 4 MHz clock input at 2.5 V VDD; at lower voltages the oscillator margin shrinks and the part may fail to start reliably. ADC sampling at high source impedance (> 10 kohm) requires an external buffer op-amp - the internal sample-and-hold has only ~ 10 uA drive.
When using the ADC with high-impedance sensors, add a 100 nF ceramic capacitor directly at the analog input pin to filter RF and high-frequency noise. The PIC12LCE674 ADC sample-and-hold settling time requires the source impedance to be less than approximately 10 kohm for full 10-bit accuracy. Switching the analog channel via ADCON0 mid-conversion will introduce cross-talk; always allow at least one acquisition period before starting a conversion on a freshly selected channel.
Compliance Information
RoHS compliant per Microchip product page. Commercial temperature grade (0 C to +70 C) - not AEC-Q100 qualified for automotive safety applications. For industrial -40 C to +85 C applications use PIC12CE674-10I/P variant.