PIC12F683-I/P - 8-Bit 20MHz MCU 3.5KB Flash | Microchip
MPN: PIC12F683-I/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.92 | $1.92 |
| 10 | $1.73 | $17.30 |
| 100 | $1.54 | $154.00 |
| 500 | $1.38 | $690.00 |
| 1,000 | $1.22 | $1,220.00 |
PIC12F683-I/P Overview
An 8-bit microcontroller (MCU) is a small computer-on-a-chip that integrates a CPU, memory, and peripherals into a single IC. The PIC12F683 belongs to Microchip's mid-range x14 architecture family, positioned in the broader hierarchy of microcontroller -> embedded controller -> semiconductor device. It is widely used as a compact glue-logic replacement, sensor-interface controller, and low-power autonomous subsystem in cost-sensitive designs.
Key features include a 4-channel 10-bit ADC with internal voltage reference, one 8-bit and one 16-bit timer, enhanced PWM/capture/compare module, a comparator with programmable on-chip reference, and nanoWatt Technology power management for ultra-low sleep currents below 1 µA typical. The device supports In-Circuit Serial Programming (ICSP) via two pins, allowing firmware updates after PCB assembly.
The PIC12F683-I/P operates from 2.0V to 5.5V and offers six general-purpose I/O pins with individual direction control and weak pull-ups. Its mid-range instruction set provides 35 single-word instructions, all single-cycle except branches. This combination of integrated peripherals, small footprint, and proven toolchain support (MPLAB X IDE, XC8 compiler) makes the part popular for hobbyist and industrial applications.
Typical applications include LED drivers, sensor signal conditioning, battery chargers, simple motor control, and consumer appliance user-interface modules. Its internal 8MHz oscillator and on-chip peripherals minimize external component count, enabling two-layer through-hole designs.
When designing with the PIC12F683-I/P, plan for ICSP header access even on prototypes - the ICSP pins (GP0/GP1) are multiplexed with the serial interface. Decouple VDD with a 100nF ceramic capacitor placed within 5mm of the package, and reserve an area for an optional 32.768kHz crystal on GP4/GP5 if low-power RTCC operation is needed.
This page synthesizes distributor pricing, drop-in alternative cross-references, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC12F683-I/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 PIC12F683-I/P (same form factor and footprint) — differing in Package, ADC, Timers, Operating Temperature, Internal Oscillator.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12F683-I/SN
✅ Drop-In✓ In Stock
$0.9 / Unit
View Datasheet →PIC12F683-E/P
✅ Drop-In✓ In Stock
$1.18 / Unit
View Datasheet →PIC12F683-E/MD
✅ Drop-In✓ In Stock
$1.32 / Unit
View Datasheet →PIC12F675-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC12F629-I/SN
✅ Drop-In✓ In Stock
$0.82 / Unit
View Datasheet →PIC12F683-I/P Maximum Ratings & Electrical Characteristics
| Architecture | PIC mid-range 8-bit (x14) |
| CPU Core | PIC12 |
| Clock Speed (max) | 20 MHz |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| SRAM | 128 bytes |
| EEPROM | 256 bytes |
| I/O Pins | 6 |
| ADC | 4 channels x 10-bit |
| Timers | 1x 8-bit, 1x 16-bit |
| PWM | Enhanced CCP, 10-bit |
| Comparators | 1 with programmable reference |
| Operating Voltage | 2.0 V to 5.5 V |
| Package | 8-pin PDIP (300 mil) |
| Mounting Type | Through-Hole |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Internal Oscillator | 8 MHz (calibrated) |
| ICSP | Yes (2-wire In-Circuit Serial Programming) |
| nanoWatt Technology | Yes |
| RoHS Status | Compliant |
PIC12F683-I/P Pin Configuration
| Pin 1 | VDD — Positive power supply (2.0 V to 5.5 V) |
| Pin 2 | GP5/T1CKI/OSC1/CLKIN — GPIO GP5 / Timer1 clock input / Crystal oscillator input / External clock input |
| Pin 3 | GP4/AN3/T1G/OSC2/CLKOUT — GPIO GP4 / ADC channel 3 / Timer1 gate / Crystal oscillator output / Fosc/4 clock output |
| Pin 4 | GP3/MCLR/VPP — GPIO GP3 (input only) / Master Clear reset (active low) / ICSP programming voltage input |
| Pin 5 | GP2/AN2/T0CKI/INT/COUT/CCP1 — GPIO GP2 / ADC channel 2 / Timer0 clock input / External interrupt / Comparator output / Enhanced CCP1 PWM output |
| Pin 6 | GP1/AN1/CIN-/VREF/ICSPCLK — GPIO GP1 / ADC channel 1 / Comparator inverting input / External ADC voltage reference / ICSP clock |
| Pin 7 | GP0/AN0/CIN+/ICSPDAT — GPIO GP0 / ADC channel 0 / Comparator non-inverting input / ICSP data |
| Pin 8 | VSS — Ground reference (0 V) |
Typical Applications
PIC12F683-I/P is suitable for 7 applications: Battery-Powered Sensor Node, LED Lighting Driver, Hobbyist Educational Projects, Small Appliance Control, Automotive Accessory Controller (Non-Safety), Industrial Sensor Interface Module, Replacement for Discrete Logic (Glue Logic Replacement).
Battery-Powered Sensor Node
The PIC12F683-I/P fits battery-powered sensor nodes because its 2.0V-5.5V VDD range supports direct connection to 2xAA alkaline or single-cell Li-ion chemistries without a boost converter. Its 10-bit ADC reads thermistor, photocell, or PIR outputs at 4 channels, and nanoWatt Technology Sleep currents below 1 µA extend coin-cell life to multi-year durations. The internal 8MHz oscillator eliminates external crystal cost in cost-sensitive wireless sensor designs.
Recommended
LED Lighting Driver
The PIC12F683-I/P drives RGB or single-color LED strings via its enhanced CCP module, which generates 10-bit PWM at up to 20 kHz without CPU overhead. The internal comparator with programmable voltage reference enables closed-loop current regulation without a separate op-amp, while the 4-channel ADC monitors LED temperature or supply voltage for foldback protection. Small 8-pin PDIP simplifies hand-soldered prototypes for hobbyist lighting kits.
Recommended
Hobbyist Educational Projects
The PIC12F683-I/P is widely used in hobbyist tutorials because it pairs the classic PIC instruction set with modern peripherals (ADC, PWM, EEPROM) in a breadboard-friendly PDIP-8 footprint. The 256-byte EEPROM allows data logging or user-configurable parameters without external memory, and the ICSP programming interface supports on-board reflashing via PICkit 3/4 or MPLAB SNAP tools. Wide compiler and tutorial ecosystem makes this MCU ideal for teaching embedded C and assembly.
Recommended
Small Appliance Control
The PIC12F683-I/P controls small home appliances such as fans, coffee makers, and humidifiers where 6 I/O pins suffice for switch sensing, button input, relay drive, and status LEDs. Its 35 single-cycle instructions execute deterministic control loops, and the 20MHz clock provides ample headroom for debouncing and timing logic. On-chip EEPROM stores user settings and last-state memory across power cycles without backup battery.
Recommended
Automotive Accessory Controller (Non-Safety)
The PIC12F683-I/P operates in non-safety automotive accessories such as interior LED mood lighting, USB charger ports, and auxiliary gauge controllers where Industrial -40 C to +85 C temperature range meets cabin requirements. Its 4-channel ADC reads sensor inputs, and the comparator enables fault detection on power rails. Designers targeting under-hood or engine-bay applications should migrate to the PIC12F683-E/P Extended-temperature variant instead.
Recommended
Industrial Sensor Interface Module
The PIC12F683-I/P interfaces 4-20mA loop sensors or potentiometric position sensors to digital hosts via its 10-bit ADC and UART-compatible bit-banged serial. Industrial -40 C to +85 C operation suits cabinet-mounted equipment, and the 8-pin PDIP simplifies field-replacement maintenance by technicians. The internal programmable reference voltage drives ratiometric sensor measurements directly, eliminating external precision references.
Recommended
Replacement for Discrete Logic (Glue Logic Replacement)
The PIC12F683-I/P replaces 74HC-series glue logic, timers, and counters in legacy designs where a $1 MCU delivers higher integration than a $0.30 discrete logic chip with lower BOM count. The 6 I/O pins, two timers, comparator, and 20MHz clock perform encoder decoding, pulse-width measurement, and frequency multiplication in software. Through-hole PDIP-8 simplifies hand-soldered retrofits of older PCB designs.
Recommended
Recommended Products Summary
Engineering reference data for PIC12F683-I/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12F683-I/SN | PIC12F683-E/P | PIC12F683-E/MD | PIC12F675-I/P | PIC12F629-I/SN |
|---|---|---|---|---|---|---|
| Package | 8-pin PDIP (P) | 8-pin SOIC (SN) | 8-pin PDIP (P) - same | 8-pin DFN (MD) | 8-pin PDIP (P) - same | 8-pin SOIC (SN) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 1.0 KB | 1.75 KB |
| SRAM | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 64 bytes | 64 bytes |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 0 bytes | 0 bytes |
| ADC | 4-ch x 10-bit | 4-ch x 10-bit | 4-ch x 10-bit | 4-ch x 10-bit | 0 (no ADC) | 0 (no ADC) |
| PWM | Enhanced CCP 10-bit | Enhanced CCP 10-bit | Enhanced CCP 10-bit | Enhanced CCP 10-bit | None | None |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C | -40 C to +125 C (Extended) | -40 C to +125 C (Extended) | -40 C to +85 C | -40 C to +85 C |
| Unit Price (qty 1, as of 2026-09-15) | $1.92 | $1.92 | $2.10 | $2.05 | $1.55 | $1.40 |
Key Differentiators
- Highest Flash in PIC12F 8-pin family (3.5 KB vs 1.0-1.75 KB on siblings) (vs PIC12F675-I/P)
- Industrial temperature variant (-I/P) is the lowest-cost 8-pin PIC12F MCU with full peripheral set (vs PIC12F683-E/P)
- Through-hole PDIP-8 footprint simplifies prototyping and hand-soldered repair (vs PIC12F683-I/SN)
Design Notes
Place a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin (pin 1) and a 10 µF bulk capacitor at the board power-entry point. The PIC12F683-I/P can operate directly from 2xAA cells down to 2.0 V VDD; below 2.0 V the brown-out reset (BOR) may trip depending on configuration. For battery designs, enable nanoWatt Technology Sleep mode and wake the core periodically via WDT to achieve sleep currents below 1 µA typical.
Reserve board space for an ICSP header footprint even on production designs. The 5-pin ICSP layout (VDD, VSS, MCLR/GP3, GP1/ICSPCLK, GP0/ICSPDAT) lets field technicians reprogram firmware without removing the MCU. Pin 4 (GP3/MCLR/VPP) requires a 10 kΩ pull-up to VDD for normal operation; the MCLR function is enabled by the configuration bit and can be disabled only via ICSP.
GP3 is input-only; attempting to configure it as output via TRISIO will not work and may cause confusing firmware behavior. The ADC acquisition time must be set to at least 1.6 µs minimum for 10-bit accuracy (per datasheet AC characteristics table) - using the default minimum acquisition can yield noisy or off-by-1-LSB readings on high-impedance sensor inputs. When migrating from PIC12F629/675 firmware, recompile with the PIC12F683 header because SFR addresses differ for ADC, ECCP, and Timer1 modules.
Long ICSPCLK/ICSPDAT traces pick up noise and cause programming failures. Keep ICSP traces under 50 mm and away from switching-power or relay drive traces. For analog sensor inputs (AN0-AN3), route traces away from digital switching lines, add a 100 Ω series resistor at the MCU pin to dampen ringing, and use a 100 nF cap to VSS at the pin if the source impedance exceeds 5 kΩ - the ADC sample capacitor is only ~10 pF and benefits from external hold capacitance.
Compliance Information
RoHS and REACH compliance per Microchip product page. The PIC12F683 family is not AEC-Q100 qualified - for automotive safety applications, choose PIC16F or dsPIC33 families with AEC-Q100 grade.