PIC12F683-E/P - 8-bit 20MHz 3.5KB Flash MCU | Microchip
MPN: PIC12F683-E/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.1 | $2.10 |
| 10 | $1.86 | $18.60 |
| 100 | $1.55 | $155.00 |
| 500 | $1.35 | $675.00 |
| 1,000 | $1.18 | $1,180.00 |
PIC12F683-E/P Overview
An 8-bit microcontroller (MCU) is a small single-chip computer that integrates a CPU, non-volatile program memory (Flash/ROM), volatile working memory (RAM), non-volatile data memory (EEPROM), and a set of programmable I/O pins on a single silicon die. 8-bit MCUs sit at the entry level of the embedded computing hierarchy (8-bit -> 16-bit -> 32-bit MCU -> microprocessor -> SoC) and remain dominant where cost, simplicity, and deterministic real-time response matter more than raw throughput. The PIC12F683 is the highest-spec member of Microchip's 8-pin PIC12F family and adds peripherals absent on smaller cousins such as the PIC12F508/509.
Key features include a 4-channel 10-bit Analog-to-Digital Converter (ADC), one Enhanced Capture/Compare/PWM (ECCP) module, one Capture/Compare/PWM (CCP) module, four 8-bit timers plus one 16-bit timer, an internal 8 MHz precision oscillator, a comparator module, and nanoWatt power-management modes for low-power battery applications. Six general-purpose I/O pins are available, all capable of interrupt-on-change wake-up. The -E temperature grade and PDIP-8 form factor make this part particularly well suited to prototyping, hobby projects, and through-hole industrial designs that must survive harsh thermal environments.
The PIC12F683 architecture is built on a 14-bit-wide instruction word with single-cycle execution on most instructions (except branches), giving 200 ns instruction time at 20 MHz. Internal peripherals are mapped into a unified data-memory SRAM area and configured through Special Function Registers (SFRs). The nanoWatt technology provides multiple idle and sleep modes that can reduce quiescent current to the sub-microamp range, enabling years of operation from a coin cell.
Typical applications include LED lighting control, battery chargers, sensor signal conditioning, low-power remote controls, smoke detectors, and small appliance motor control. The integrated ADC and PWM peripherals allow direct interface to analog sensors and MOSFET/IGBT gate drivers without external analog circuitry, reducing bill-of-materials cost and PCB area.
When designing with the PIC12F683, ensure that MCLR is pulled high through a 10 kohm resistor and that the ICSP programming header is accessible for field updates. Designers migrating from older PIC12F parts should review the ECCP initialization sequence, which differs from the CCP modules on legacy devices.
This page synthesizes verified distributor pricing, drop-in 8-pin PDIP alternatives from the PIC12F family, and practical design notes not consolidated on the manufacturer datasheet.
Drop-in alternatives for PIC12F683-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 PIC12F683-E/P (same form factor and footprint) — differing in Internal Oscillator, Timers, ADC, Package, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC12F683-I/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.22 / Unit
View Datasheet →PIC12F683-E/MD
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.32 / Unit
View Datasheet →PIC12F683T-I/P
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
PIC12F1822-E/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.05 / Unit
View Datasheet →PIC12F675-E/P
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.05 / Unit
View Datasheet →PIC12F683-E/P Maximum Ratings & Electrical Characteristics
| Product Type | 8-bit Flash Microcontroller (MCU) |
| Core Architecture | PIC mid-range (14-bit instruction word) |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| SRAM | 128 bytes |
| EEPROM Data Memory | 256 bytes |
| Maximum CPU Clock | 20 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V |
| Operating Temperature Range | -40C to +125C (extended grade, -E) |
| I/O Pins | 6 |
| ADC | 4-channel, 10-bit |
| PWM Modules | 1 ECCP + 1 CCP |
| Timers | 4 x 8-bit + 1 x 16-bit |
| Internal Oscillator | 8 MHz precision, software-selectable |
| Comparators | 1 (internal) |
| Package | 8-pin PDIP (P) |
| Mounting Type | Through-Hole |
| RoHS Status | Compliant |
PIC12F683-E/P Pin Configuration
| Pin 1 | VDD — Positive supply voltage (2.0 V to 5.5 V) |
| Pin 2 | GP5/T1CKI/OSC1/CLKIN — GPIO 5 / Timer1 clock input / crystal oscillator input / external clock input |
| Pin 3 | GP4/AN3/T1G/OSC2/CLKOUT — GPIO 4 / ADC channel 3 / Timer1 gate / crystal oscillator output / clock out |
| Pin 4 | GP3/MCLR/VPP — GPIO 3 (input only) / Master Clear reset (active low) / programming voltage |
| Pin 5 | GP2/AN2/T0CKI/INT/COUT/CCP1 — GPIO 2 / ADC channel 2 / Timer0 clock input / external interrupt / comparator output / CCP1 PWM output |
| Pin 6 | GP1/AN1/CIN-/VREF/ICSPCLK — GPIO 1 / ADC channel 1 / comparator inverting input / external voltage reference / ICSP clock |
| Pin 7 | GP0/AN0/CIN+/ICSPDAT/ULPWU — GPIO 0 / ADC channel 0 / comparator non-inverting input / ICSP data / ultra-low-power wake-up |
| Pin 8 | VSS — Ground reference (0 V) |
Typical Applications
PIC12F683-E/P is suitable for 6 applications: LED Lighting Controllers, Battery Chargers, Sensor Signal Conditioning, Remote Controls and Wireless Keyfobs, Small Appliance Motor Control, Smoke and Gas Detectors.
LED Lighting Controllers
The PIC12F683-E/P is well matched to LED lighting controllers because the integrated ECCP module provides hardware PWM with programmable dead-band control, eliminating the need for external LED driver ICs in dimmable bulb designs. Operating from 2.0 V to 5.5 V allows direct connection to 3.3 V or 5 V LED strings, while the 20 MHz CPU clock gives 200 ns instruction time for smooth color-mixing transitions on RGB fixtures. The 4-channel 10-bit ADC reads ambient light sensors and potentiometer dimmers without external analog components, and nanoWatt sleep modes drop quiescent current below 1 uA between user interactions. The extended -40C to +125C temperature grade supports outdoor and industrial luminaire housings.
Recommended
Battery Chargers
Linear and pulse battery chargers benefit from the PIC12F683-E/P's 10-bit ADC for monitoring cell voltage and charge current with 4 mV resolution at a 4.096 V reference. The internal 8 MHz oscillator calibrated to within +/-1% provides accurate timing for CC/CV state transitions, while the 256-byte EEPROM stores calibration constants and charging profiles across power cycles. Operating from 2.0 V to 5.5 V supports single-cell Li-ion and two-cell NiMH chemistries directly. The ECCP module can drive a P-channel MOSFET pass element with hardware current-mode PWM, and the comparator enables redundant over-voltage protection independent of firmware.
Recommended
Sensor Signal Conditioning
The PIC12F683-E/P integrates 4 ADC channels and an analog comparator, allowing direct interface to thermistor, photodiode, and strain-gauge sensor bridges without external op-amps. The 10-bit ADC with internal 0.6 V fixed voltage reference supports ratiometric measurements, while nanoWatt sleep modes enable multi-year battery life on periodic-sampling wireless sensor nodes. Extended -40C to +125C operation permits deployment in automotive under-hood and industrial process-control environments. The 6 GPIO pins can serve as interrupt-on-change wake sources from external sensors, and 128 bytes of SRAM hold moving-average filters or state-machine context.
Recommended
Remote Controls and Wireless Keyfobs
Coin-cell-powered remote controls leverage the PIC12F683-E/P's nanoWatt technology to achieve standby currents below 100 nA in Sleep mode with interrupt-on-change wake-up on GPIO. The 20 MHz CPU bursts awake in microseconds to encode and transmit commands, then returns to Sleep, enabling 5-10 year battery life from a single CR2032 cell. The integrated 8 MHz oscillator eliminates the need for an external resonator, shrinking PCB area to fit inside a keyfob enclosure. ECCP can drive an IR LED with 38 kHz carrier generation for consumer-electronics remote protocols without external timer ICs.
Recommended
Small Appliance Motor Control
Brushless DC and universal motor controllers in small appliances use the PIC12F683-E/P's ECCP module to generate complementary PWM outputs with programmable dead-band delay, eliminating shoot-through in half-bridge driver stages. The 4-channel ADC samples back-EMF, current sense, and potentiometer inputs simultaneously, while the integrated comparator provides hardware over-current protection independent of firmware. Operating from 2.0 V to 5.5 V supports direct connection to rectified 5 V or 3.3 V rails in white-goods designs. Extended -40C to +125C temperature operation handles the thermal environment inside mixer bases and vacuum-motor housings.
Recommended
Smoke and Gas Detectors
Photoelectric smoke detectors and residential CO sensor front-ends benefit from the PIC12F683-E/P's low-power Sleep modes with average quiescent current below 5 uA, enabling 10-year battery life on a 9 V cell. The 4-channel ADC digitizes both the photoelectric chamber signal and a thermistor reference for drift compensation, while the integrated comparator implements a hardware threshold detector that can wake the MCU even when the firmware is stalled. The 256-byte EEPROM retains calibration values across battery replacement cycles, and the extended -40C to +125C temperature grade supports garage and attic installations. All 6 GPIO pins are interrupt-capable for hush-button and interconnect functions.
Recommended
Recommended Products Summary
Engineering reference data for PIC12F683-E/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC12F683-I/P | PIC12F683T-I/P | PIC12F1822-E/P | PIC12F675-E/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | PDIP-8 | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same | PDIP-8 - same |
| Program Memory (Flash) | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 1.75 KB (-50%) |
| SRAM | 128 bytes | 128 bytes | 128 bytes | 256 bytes (+100%) | 64 bytes (-50%) |
| EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 128 bytes (-50%) |
| Maximum Clock | 20 MHz | 20 MHz | 20 MHz | 32 MHz (+60%) | 20 MHz |
| ADC Resolution | 10-bit, 4-channel | 10-bit, 4-channel | 10-bit, 4-channel | 10-bit, 4-channel + 5-bit DAC | 10-bit, 4-channel |
| ECCP Module | Yes | Yes | Yes | Yes (plus CWG, NCO) | No |
| Operating Temperature | -40C to +125C (-E grade) | -40C to +85C (-I grade) | -40C to +85C (-I grade) | -40C to +125C (-E grade) | -40C to +125C (-E grade) |
Key Differentiators
- Highest-spec member of the PIC12F 8-pin family (vs PIC12F675-E/P)
- Industrial-grade upgrade path within the same footprint (vs PIC12F683-I/P)
- Path to higher integration without PCB redesign (vs PIC12F1822-E/P)
Design Notes
The PIC12F683-E/P supports eight oscillator modes; for low-power battery designs, select the internal 8 MHz HFINTOSC (calibrated to within +/-1% typical) and use the LFINTOSC for Sleep-mode wake timing. Pulling GP3/MCLR high through a 10 kohm resistor enables the internal MCLR function; leaving MCLR floating allows normal Reset operation. Add a 100 nF decoupling capacitor as close as physically possible to the VDD pin to suppress switching noise.
The PDIP-8 package has a thermal resistance theta_JA of approximately 84 C/W, providing adequate dissipation for the part's <100 mW active power budget at 20 MHz and 5.5 V. In enclosed fixtures (LED bulbs, smoke detectors), ensure ambient temperature does not exceed +85C without additional derating. Estimated: with TA = +85C and a 50 mW dissipation, junction temperature rises approximately 4 C above ambient, leaving a comfortable margin below the +150C absolute maximum.
Place a 100 nF ceramic bypass capacitor within 5 mm of the VDD pin and a bulk capacitor (1-10 uF) near the IC for switching transients. If the ICSP programming header is used for field updates, route PGD (GP0) and PGC (GP1) as a short, parallel pair to the 6-pin header with no series resistors in-line (resistors prevent reliable programming). Keep analog traces (GP0/GP1/GP2/GP4 when used as ADC) away from PWM or clock outputs to minimize crosstalk.
A common mistake is configuring GP3 as a digital output - GP3 is INPUT-ONLY and forcing it to output mode is undefined and may damage the part over time. Another frequent error is leaving ANSEL (analog select) bits set while using a pin as digital GPIO, which disables the digital input buffer. Always explicitly clear ANSEL bits for digital-only pins. Finally, verify CONFIG register settings match your oscillator choice before locking the part - the default factory configuration may not match your design intent.
Compliance Information
RoHS and REACH compliance per Microchip product page. Not AEC-Q100 qualified - this is a commercial/industrial grade MCU. Lead-free (Pb-free) PDIP package per JEDEC J-STD-020 MSL1 classification. Refer to PIC12F683 material declaration sheet on Microchip.com for full substance disclosure.