PIC12F629-E/P - 8-bit Flash MCU, 1.75KB, 6 I/O, PDIP-8 | Microchip
MPN: PIC12F629-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.18 | $2.18 |
| 10 | $1.95 | $19.50 |
| 100 | $1.62 | $162.00 |
| 500 | $1.38 | $690.00 |
| 1,000 | $1.2 | $1,200.00 |
PIC12F629-E/P Overview
An 8-bit microcontroller (MCU) is a small, self-contained computing device that integrates a CPU, non-volatile program memory, working RAM, and programmable I/O on a single CMOS die. The PIC12F629-E/P belongs to the PIC12 mid-range family, which sits in the PIC® microcontroller hierarchy above base 8-bit PIC10 devices but below enhanced 16-bit families. It is typically used as a low-cost glue logic replacement, a state-machine controller, or a sensor-interface brain in industrial, automotive, and consumer subsystems.
Key features include 6 bidirectional digital I/O pins (GPIO), one analog comparator, a watchdog timer with dedicated oscillator, power-on reset, brown-out reset, and in-circuit serial programming (ICSP) through the standard PIC two-wire interface. The device executes 35 single-word instructions in 200 ns at 20 MHz and supports interrupt-driven operation with a small, deterministic instruction set.
The PIC12F629-E/P uses a Harvard-architecture RISC core with a 14-bit instruction word and a separate 8-bit data path, allowing instruction fetch and data access in a single clock cycle. Internal RC oscillator options (4 MHz, 8 MHz, 31 kHz LF, and 32.768 kHz HF) allow the part to operate without an external crystal, reducing BOM cost in timing-tolerant applications.
Typical applications include remote control transmitters, LED lighting controllers, sensor signal conditioning, low-end motor control, simple logic replacement, and battery-powered IoT edge nodes. The wide 2.0V to 5.5V operating voltage range and low-power sleep modes make it suitable for energy-constrained designs.
When designing with this device, ensure the ICSP pins (GP0/GP1) are accessible on the PCB for production programming. Decoupling capacitors of 100 nF placed within 5 mm of VDD are recommended, and unused GPIO should be configured as outputs or tied to VSS through a defined state to minimize supply current.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, with all sources cited for verification.
Drop-in alternatives for PIC12F629-E/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 PIC12F629-E/P (same form factor and footprint) — differing in Operating Temperature, Package, Communication, Comparators, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12F629-I/P
✅ Drop-In✓ In Stock
$1.04 / Unit
View Datasheet →PIC12F675-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F675-E/P
✅ Drop-In✓ In Stock
$1.05 / Unit
View Datasheet →PIC12F683-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F615-I/P
✅ Drop-In✓ In Stock
$0.78 / Unit
View Datasheet →ATtiny13A-PU
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F629-E/P Maximum Ratings & Electrical Characteristics
| Core | PIC 8-bit RISC |
| Program Memory Type | Flash |
| Program Memory Size | 1.75 KB (1K x 14 words) |
| RAM Size | 64 bytes |
| EEPROM Size | 128 bytes |
| CPU Speed | 20 MHz |
| Instruction Execution Time | 200 ns |
| Number of I/O Pins | 6 |
| Number of Comparators | 1 |
| Number of Timers | 1 x 8/16-bit |
| Operating Supply Voltage | 2.0 V to 5.5 V |
| Operating Temperature | -40C to +125C (Extended) |
| Package | PDIP-8 (through-hole) |
| Mounting Type | Through-Hole |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC12F629-E/P Pin Configuration
| Pin 1 | VDD — Positive supply voltage (2.0V to 5.5V) |
| Pin 2 | GP5/T1CKI/OSC1/CLKIN — GPIO5 / Timer1 clock input / Oscillator input / external clock input |
| Pin 3 | GP4/AN3/T1G/OSC2/CLKOUT — GPIO4 / Timer1 gate / Oscillator output / clock output |
| Pin 4 | GP3/MCLR/VPP — GPIO3 / Master Clear (reset) / programming voltage input |
| Pin 5 | GP2/AN2/T0CKI/INT/COUT — GPIO2 / Timer0 clock input / external interrupt / comparator output |
| Pin 6 | GP1/AN1/CIN-/ICSPCLK — GPIO1 / Comparator inverting input / ICSP clock |
| Pin 7 | GP0/AN0/CIN+/ICSPDAT — GPIO0 / Comparator non-inverting input / ICSP data |
| Pin 8 | VSS — Ground reference |
Typical Applications
PIC12F629-E/P is suitable for 6 applications: Remote Control Transmitter, LED Lighting Controller, Sensor Signal Conditioning, Low-Cost Logic Replacement, Battery-Powered IoT Edge Node, Automotive Accessory Controller.
Remote Control Transmitter
The PIC12F629-E/P is well suited for low-cost infrared remote control transmitters where the 6 GPIO pins can drive IR LEDs, sense keypad buttons, and modulate carrier frequencies via the CCP module. Its 20 MHz instruction rate and 200 ns cycle time easily encode standard 38 kHz / 40 kHz / 56 kHz carrier protocols. With 1.75 KB of flash, the device holds complete RC5, NEC, or Sony SIRC encoding tables plus timing-critical interrupt service routines. The 64-byte RAM is sufficient for button debounce state machines and protocol buffers, while the 128-byte EEPROM stores device pairing codes and learned-button mappings across power cycles.
Recommended
LED Lighting Controller
The PIC12F629-E/P serves as a compact LED driver controller for decorative and architectural lighting, where its 6 GPIO pins can PWM-dim multiple LED strings via external MOSFETs. The PIC's enhanced CCP module generates accurate PWM signals to set dimming ratios and color-mixing levels. The 1.75 KB flash accommodates pre-programmed chase patterns, fade tables, and DMX-style addressing logic. Operating from 2.0V to 5.5V, the device can run directly from a regulated 3.3V rail, simplifying power design. EEPROM storage preserves last brightness and color settings across power cycles.
Recommended
Sensor Signal Conditioning
The PIC12F629-E/P integrates well as a low-cost front-end for sensor signal conditioning, using its analog comparator to threshold-detect sensor outputs while its GPIO drives status LEDs and digital interfaces. The internal 8-bit core runs calibration algorithms on temperature, humidity, or optical sensors with deterministic timing. With 1.75 KB flash, the device handles linearization tables and digital filtering for sensors like NTC thermistors, photodiodes, or simple switch contacts. The wide 2.0V to 5.5V supply range supports battery-powered sensor nodes from a single Li-ion or 2xAA cell.
Recommended
Low-Cost Logic Replacement
The PIC12F629-E/P excels as a software-replacement for discrete 74-series logic, where complex gating, sequencing, or state-machine behavior is needed in a single chip. Six GPIO pins can implement multi-input NAND/OR gates, latches, monostables, or counters without external ICs. With 35 single-cycle RISC instructions, the PIC12F629-E/P delivers sub-microsecond response time suitable for timing-critical control loops. The 128-byte EEPROM retains configuration state across power cycles, while ICSP allows field firmware updates.
Recommended
Battery-Powered IoT Edge Node
The PIC12F629-E/P is ideal for ultra-low-power IoT edge nodes where sleep-mode current dominates the energy budget. Its deep-sleep mode draws microamp-level standby current, while the watchdog timer wakes the device periodically for sensor sampling. The 1.75 KB flash holds compact wireless protocols like BLE beacons or LoRaWAN device drivers. With 6 GPIO, the MCU interfaces to simple sensors and a low-power RF transmitter. The 2.0V minimum operating voltage allows direct connection to single-cell lithium or 2xAA batteries without boost converters.
Recommended
Automotive Accessory Controller
The PIC12F629-E/P with its -40C to +125C extended temperature grade serves automotive accessory controllers for interior lighting, mirror adjusters, or seat-position sensors. The 6 GPIO pins drive relays and sense switch positions, while the analog comparator monitors sensor thresholds for safety logic. The 1.75 KB flash fits CAN-LIN gateway logic or simple body-control algorithms. While not AEC-Q100 qualified, the extended temperature grade handles under-dash and cabin environments. EEPROM retains user preferences like seat position and mirror tilt.
Recommended
Recommended Products Summary
Engineering reference data for PIC12F629-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12F629-I/P | PIC12F675-I/P | PIC12F675-E/P | PIC12F683-I/P | PIC12F615-I/P | ATtiny13A-PU |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology (AVR) |
| Package | PDIP-8 | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same |
| Program Memory (Flash) | 1.75 KB (1K x 14) | 1.75 KB | 1.75 KB | 1.75 KB | 2 KB | 2 KB | 1 KB |
| RAM | 64 bytes | 64 bytes | 64 bytes | 64 bytes | 128 bytes | 128 bytes | 64 bytes |
| EEPROM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 256 bytes | 128 bytes | 64 bytes |
| ADC | None | None | 10-bit, 4-ch | 10-bit, 4-ch | 10-bit, 4-ch | 10-bit, 8-ch | 10-bit, 4-ch |
| Operating Temperature | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +85C |
| Core Architecture | PIC 8-bit RISC (35 instructions) | PIC 8-bit RISC | PIC 8-bit RISC | PIC 8-bit RISC | PIC 8-bit RISC (enhanced) | PIC 8-bit RISC (enhanced) | AVR 8-bit RISC |
Key Differentiators
- Extended -40C to +125C operating temperature grade (vs PIC12F629-I/P)
- Comparator-only architecture (no ADC) (vs PIC12F675-I/P)
- Through-hole PDIP-8 packaging (vs PIC12F629-E/SN)
- Lowest-cost 8-pin flash PIC in extended temp (vs PIC12F683-I/P)
Design Notes
Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 1) and connect its ground directly to the VSS pin (pin 8) using a short, wide trace. For designs switching high-current loads, add a 10 uF bulk capacitor near the IC. The ICSP pins GP0 (pin 7) and GP1 (pin 6) require access for production programming; avoid tying them directly to VDD or VSS through low-impedance paths, as this prevents in-circuit programming.
The MCLR pin (GP3, pin 4) is normally used as a reset input. If left unconnected, internal weak pull-up keeps the device out of reset, but for production designs, add an external 10 kohm pull-up to VDD to improve noise immunity. When MCLR is disabled via configuration bits, GP3 becomes a digital-only input with no analog function. Always set the CONFIG word's MCLRE bit correctly for your application to avoid hard-to-debug reset behavior.
Estimated: At VDD=5V, 20 MHz operation, the PIC12F629-E/P draws approximately 4-6 mA active current. In sleep mode, current drops to sub-1 uA. For battery-powered designs, wake the MCU via watchdog timer (typically 18 ms-2.3 s intervals) to maximize battery life. Brown-out reset should be enabled in CONFIG to prevent code execution at low VDD, which can cause EEPROM corruption.
Route the ICSP clock (GP1) and ICSP data (GP0) traces away from high-frequency switching nodes to prevent programming errors. Use a ground guard ring around the analog comparator input pins (GP0/GP1) when sensing low-level signals. Keep clock traces short and avoid running them parallel to high-current switching traces for more than 5 mm to minimize crosstalk.
Compliance Information
RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified - extended temperature grade only, not automotive qualified.