main
Ray
Publish 0.1.0
1eb4bf2
PIC12F508-E
Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-8
PIC12F508-E from Microchip Tech, in a SOIC-8. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | VDD | power_in | Positive supply for logic and I/O pins; operating range 2.0V to 5.5V. |
| 2 | GP5/OSC1/CLKIN | bidirectional | Bidirectional I/O pin GP5, also the oscillator crystal input (OSC1) or external clock source input (CLKIN). |
| 3 | GP4/OSC2 | bidirectional | Bidirectional I/O pin GP4, also the oscillator crystal output (OSC2) in XT and LP modes only, GPIO in other modes. |
| 4 | GP3/MCLR/VPP | input | Input-only pin GP3 with optional weak pull-up and wake-up on pin change, or active-low Master Clear (MCLR) Reset, or programming voltage input (VPP); voltage on MCLR/VPP must not exceed VDD during normal operation or the device will enter Programming mode. |
| 5 | GP2/T0CKI | bidirectional | Bidirectional I/O pin GP2, also the clock input to TMR0 (T0CKI). |
| 6 | GP1/ICSPCLK | bidirectional | Bidirectional I/O pin GP1 with software-programmable weak pull-up and wake-up from Sleep on pin change, also the In-Circuit Serial Programming clock pin. |
| 7 | GP0/ICSPDAT | bidirectional | Bidirectional I/O pin GP0 with software-programmable weak pull-up and wake-up from Sleep on pin change, also the In-Circuit Serial Programming data pin. |
| 8 | VSS | power_in | Ground reference for logic and I/O pins. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-8 |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 8 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Ambient temperature under bias | -40 | 125 | °C | 69 | |||
| Storage temperature | -65 | 150 | °C | 69 | |||
| Voltage on VDD with respect to VSS | VDD | 0 | 6.5 | V | 69 | ||
| Voltage on MCLR with respect to VSS | MCLR | 0 | 13.5 | V | 69 | ||
| Voltage on all other pins with respect to VSS (minimum) | -0.3 | V | Maximum printed as VDD + 0.3V | 69 | |||
| Max. current out of VSS pin | 200 | mA | 69 | ||||
| Max. current into VDD pin | 150 | mA | 69 | ||||
| Input clamp current | IIK | -20 | 20 | mA | VI < 0 or VI > VDD | 69 | |
| Output clamp current | IOK | -20 | 20 | mA | VO < 0 or VO > VDD | 69 | |
| Max. output current sunk by any I/O pin | 25 | mA | 69 | ||||
| Max. output current sourced by any I/O pin | 25 | mA | 69 | ||||
| Supply Voltage | VDD | 2 | 5.5 | V | See Figure 10-1; -40°C ≤ TA ≤ +125°C (extended) | 72 | |
| RAM Data Retention Voltage | VDR | 1.5 | V | Device in Sleep mode | 72 | ||
| VDD Rise Rate to ensure Power-on Reset | SVDD | 0.05 | V/ms | See Section 7.4 "Power-on Reset (POR)" for details | 72 | ||
| Supply Current | IDD | 175 | 275 | μA | FOSC = 4 MHz, VDD = 2.0V | 72 | |
| Supply Current | IDD | 0.625 | 1.1 | mA | FOSC = 4 MHz, VDD = 5.0V | 72 | |
| Supply Current | IDD | 11 | 26 | μA | FOSC = 32 kHz, VDD = 2.0V | 72 | |
| Supply Current | IDD | 38 | 110 | μA | FOSC = 32 kHz, VDD = 5.0V | 72 | |
| Power-down Current | IPD | 0.1 | 9 | μA | VDD = 2.0V | 72 | |
| Power-down Current | IPD | 0.35 | 15 | μA | VDD = 5.0V | 72 | |
| WDT Current | IWDT | 1 | 18 | μA | VDD = 2.0V | 72 | |
| WDT Current | IWDT | 7 | 22 | μA | VDD = 5.0V | 72 | |
| Input Low Voltage, I/O ports with TTL buffer | VIL | 0.8 | V | For all 4.5 ≤ VDD ≤ 5.5V | 73 | ||
| Input Low Voltage, OSC1 (in XT and LP) | VIL | 0.3 | V | (Note1) | 73 | ||
| Input High Voltage, I/O ports with TTL buffer | VIH | 2 | V | 4.5 ≤ VDD ≤ 5.5V | 73 | ||
| Input High Voltage, OSC1 (in XT and LP) | VIH | 1.6 | V | 73 | |||
| GPIO/PORTB weak pull-up current | IPUR | 50 | 250 | 400 | μA | VDD = 5V, VPIN = VSS | 73 |
| Input Leakage Current, I/O ports | IIL | -1 | 1 | μA | Vss ≤ VPIN ≤ VDD, Pin at high-impedance | 73 | |
| Input Leakage Current, GP3/RB3/MCLR | IIL | -5 | 0.7 | 5 | μA | Vss ≤ VPIN ≤ VDD | 73 |
| Input Leakage Current, OSC1 | IIL | -5 | 5 | μA | Vss ≤ VPIN ≤ VDD, XT, HS and LP oscillator configuration | 73 | |
| Output Low Voltage, I/O ports/CLKOUT | VOL | 0.6 | V | IOL = 8.5 mA, VDD = 4.5V, -40°C to +85°C | 73 | ||
| Output Low Voltage, OSC2 | VOL | 0.6 | V | IOL = 1.6 mA, VDD = 4.5V, -40°C to +85°C | 73 | ||
| Capacitive Loading, OSC2 pin | 15 | pF | In XT, HS and LP modes when external clock is used to drive OSC1. | 73 | |||
| Capacitive Loading, all I/O pins and OSC2 | 50 | pF | 73 | ||||
| Internal Calibrated INTOSC Frequency (±1%) | FOSC | 3.96 | 4 | 4.04 | MHz | VDD = 3.5V, TA = 25°C | 77 |
| Internal Calibrated INTOSC Frequency (±2%) | FOSC | 3.92 | 4 | 4.08 | MHz | 2.5V ≤ VDD ≤ 5.5V, 0°C ≤ TA ≤ +85°C | 77 |
| Internal Calibrated INTOSC Frequency (±5%) | FOSC | 3.8 | 4 | 4.2 | MHz | 2.0V ≤ VDD ≤ 5.5V, -40°C ≤ TA ≤ +85°C (Ind.), -40°C ≤ TA ≤ +125°C (Ext.) | 77 |
| External CLKIN Frequency | FOSC | 4 | MHz | XT Oscillator mode | 76 | ||
| External CLKIN Frequency | FOSC | 200 | kHz | LP Oscillator mode | 76 | ||
| External CLKIN Period | TOSC | 250 | ns | XT Oscillator mode | 76 | ||
| Instruction Cycle Time | TCY | 200 | ns | 76 | |||
| Clock in (OSC1) Low or High Time | TosL, TosH | 50 | ns | XT Oscillator | 76 | ||
| Clock in (OSC1) Low or High Time | TosL, TosH | 2 | μs | LP Oscillator | 76 | ||
| Clock in (OSC1) Rise or Fall Time | TosR, TosF | 25 | ns | XT Oscillator | 76 | ||
| Clock in (OSC1) Rise or Fall Time | TosR, TosF | 50 | ns | LP Oscillator | 76 | ||
| OSC1↑ (Q1 cycle) to Port Out Valid | TOSH2IOV | 100 | ns | 78 | |||
| OSC1↑ (Q2 cycle) to Port Input Invalid (I/O in hold time) | TOSH2IOI | 50 | ns | 78 | |||
| Port Input Valid to OSC1↑ (I/O in setup time) | TIOV2OSH | 20 | ns | 78 | |||
| Port Output Rise Time | TIOR | 10 | 25 | ns | 78 | ||
| Port Output Fall Time | TIOF | 10 | 25 | ns | 78 | ||
| MCLR Pulse Width (low) | TMCL | 2000 | ns | VDD = 5.0V | 79 | ||
| Watchdog Timer Time-out Period (no prescaler) | TWDT | 9 | 18 | 40 | ms | VDD = 5.0V (Extended) | 79 |
| Device Reset Timer Period | TDRT | 9 | 18 | 40 | ms | VDD = 5.0V (Extended) | 79 |
| I/O High-impedance from MCLR low | TIOZ | 2000 | ns | 79 |
CAD (KiCad official)
- Symbol:
PIC12F508-E - Footprint:
Package_SO:SOIC-8_3.9x4.9mm_P1.27mm - 3D model: SOIC-8 (KiCad packages3D, STEP)
- 3D model files:
pic12f508-e-etched.step/pic12f508-e-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);pic12f508-e.step/pic12f508-e.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (110 pp, sha256
2ece69f7f4c3ca3d, retrieved 2026-10-31, tier: manufacturer) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-sonnet-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).
# PIC12F508-E
**Microchip Tech** · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-8
PIC12F508-E from Microchip Tech, in a SOIC-8. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
## Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | VDD | power_in | Positive supply for logic and I/O pins; operating range 2.0V to 5.5V. |
| 2 | GP5/OSC1/CLKIN | bidirectional | Bidirectional I/O pin GP5, also the oscillator crystal input (OSC1) or external clock source input (CLKIN). |
| 3 | GP4/OSC2 | bidirectional | Bidirectional I/O pin GP4, also the oscillator crystal output (OSC2) in XT and LP modes only, GPIO in other modes. |
| 4 | GP3/MCLR/VPP | input | Input-only pin GP3 with optional weak pull-up and wake-up on pin change, or active-low Master Clear (MCLR) Reset, or programming voltage input (VPP); voltage on MCLR/VPP must not exceed VDD during normal operation or the device will enter Programming mode. |
| 5 | GP2/T0CKI | bidirectional | Bidirectional I/O pin GP2, also the clock input to TMR0 (T0CKI). |
| 6 | GP1/ICSPCLK | bidirectional | Bidirectional I/O pin GP1 with software-programmable weak pull-up and wake-up from Sleep on pin change, also the In-Circuit Serial Programming clock pin. |
| 7 | GP0/ICSPDAT | bidirectional | Bidirectional I/O pin GP0 with software-programmable weak pull-up and wake-up from Sleep on pin change, also the In-Circuit Serial Programming data pin. |
| 8 | VSS | power_in | Ground reference for logic and I/O pins. |
## Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-8 |
| Category | Single Chip Microcomputer/Microcontroller |
| Pins | 8 |
## Electrical characteristics
Limits as printed in the datasheet (page.json `metadata.characteristics` carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Ambient temperature under bias | | -40 | | 125 | °C | | 69 |
| Storage temperature | | -65 | | 150 | °C | | 69 |
| Voltage on VDD with respect to VSS | VDD | 0 | | 6.5 | V | | 69 |
| Voltage on MCLR with respect to VSS | MCLR | 0 | | 13.5 | V | | 69 |
| Voltage on all other pins with respect to VSS (minimum) | | -0.3 | | | V | Maximum printed as VDD + 0.3V | 69 |
| Max. current out of VSS pin | | | | 200 | mA | | 69 |
| Max. current into VDD pin | | | | 150 | mA | | 69 |
| Input clamp current | IIK | -20 | | 20 | mA | VI < 0 or VI > VDD | 69 |
| Output clamp current | IOK | -20 | | 20 | mA | VO < 0 or VO > VDD | 69 |
| Max. output current sunk by any I/O pin | | | | 25 | mA | | 69 |
| Max. output current sourced by any I/O pin | | | | 25 | mA | | 69 |
| Supply Voltage | VDD | 2 | | 5.5 | V | See Figure 10-1; -40°C ≤ TA ≤ +125°C (extended) | 72 |
| RAM Data Retention Voltage | VDR | | 1.5 | | V | Device in Sleep mode | 72 |
| VDD Rise Rate to ensure Power-on Reset | SVDD | 0.05 | | | V/ms | See Section 7.4 "Power-on Reset (POR)" for details | 72 |
| Supply Current | IDD | | 175 | 275 | μA | FOSC = 4 MHz, VDD = 2.0V | 72 |
| Supply Current | IDD | | 0.625 | 1.1 | mA | FOSC = 4 MHz, VDD = 5.0V | 72 |
| Supply Current | IDD | | 11 | 26 | μA | FOSC = 32 kHz, VDD = 2.0V | 72 |
| Supply Current | IDD | | 38 | 110 | μA | FOSC = 32 kHz, VDD = 5.0V | 72 |
| Power-down Current | IPD | | 0.1 | 9 | μA | VDD = 2.0V | 72 |
| Power-down Current | IPD | | 0.35 | 15 | μA | VDD = 5.0V | 72 |
| WDT Current | IWDT | | 1 | 18 | μA | VDD = 2.0V | 72 |
| WDT Current | IWDT | | 7 | 22 | μA | VDD = 5.0V | 72 |
| Input Low Voltage, I/O ports with TTL buffer | VIL | | | 0.8 | V | For all 4.5 ≤ VDD ≤ 5.5V | 73 |
| Input Low Voltage, OSC1 (in XT and LP) | VIL | | | 0.3 | V | (Note1) | 73 |
| Input High Voltage, I/O ports with TTL buffer | VIH | 2 | | | V | 4.5 ≤ VDD ≤ 5.5V | 73 |
| Input High Voltage, OSC1 (in XT and LP) | VIH | 1.6 | | | V | | 73 |
| GPIO/PORTB weak pull-up current | IPUR | 50 | 250 | 400 | μA | VDD = 5V, VPIN = VSS | 73 |
| Input Leakage Current, I/O ports | IIL | -1 | | 1 | μA | Vss ≤ VPIN ≤ VDD, Pin at high-impedance | 73 |
| Input Leakage Current, GP3/RB3/MCLR | IIL | -5 | 0.7 | 5 | μA | Vss ≤ VPIN ≤ VDD | 73 |
| Input Leakage Current, OSC1 | IIL | -5 | | 5 | μA | Vss ≤ VPIN ≤ VDD, XT, HS and LP oscillator configuration | 73 |
| Output Low Voltage, I/O ports/CLKOUT | VOL | | | 0.6 | V | IOL = 8.5 mA, VDD = 4.5V, -40°C to +85°C | 73 |
| Output Low Voltage, OSC2 | VOL | | | 0.6 | V | IOL = 1.6 mA, VDD = 4.5V, -40°C to +85°C | 73 |
| Capacitive Loading, OSC2 pin | | | | 15 | pF | In XT, HS and LP modes when external clock is used to drive OSC1. | 73 |
| Capacitive Loading, all I/O pins and OSC2 | | | | 50 | pF | | 73 |
| Internal Calibrated INTOSC Frequency (±1%) | FOSC | 3.96 | 4 | 4.04 | MHz | VDD = 3.5V, TA = 25°C | 77 |
| Internal Calibrated INTOSC Frequency (±2%) | FOSC | 3.92 | 4 | 4.08 | MHz | 2.5V ≤ VDD ≤ 5.5V, 0°C ≤ TA ≤ +85°C | 77 |
| Internal Calibrated INTOSC Frequency (±5%) | FOSC | 3.8 | 4 | 4.2 | MHz | 2.0V ≤ VDD ≤ 5.5V, -40°C ≤ TA ≤ +85°C (Ind.), -40°C ≤ TA ≤ +125°C (Ext.) | 77 |
| External CLKIN Frequency | FOSC | | | 4 | MHz | XT Oscillator mode | 76 |
| External CLKIN Frequency | FOSC | | | 200 | kHz | LP Oscillator mode | 76 |
| External CLKIN Period | TOSC | 250 | | | ns | XT Oscillator mode | 76 |
| Instruction Cycle Time | TCY | 200 | | | ns | | 76 |
| Clock in (OSC1) Low or High Time | TosL, TosH | 50 | | | ns | XT Oscillator | 76 |
| Clock in (OSC1) Low or High Time | TosL, TosH | 2 | | | μs | LP Oscillator | 76 |
| Clock in (OSC1) Rise or Fall Time | TosR, TosF | | | 25 | ns | XT Oscillator | 76 |
| Clock in (OSC1) Rise or Fall Time | TosR, TosF | | | 50 | ns | LP Oscillator | 76 |
| OSC1↑ (Q1 cycle) to Port Out Valid | TOSH2IOV | | | 100 | ns | | 78 |
| OSC1↑ (Q2 cycle) to Port Input Invalid (I/O in hold time) | TOSH2IOI | 50 | | | ns | | 78 |
| Port Input Valid to OSC1↑ (I/O in setup time) | TIOV2OSH | 20 | | | ns | | 78 |
| Port Output Rise Time | TIOR | | 10 | 25 | ns | | 78 |
| Port Output Fall Time | TIOF | | 10 | 25 | ns | | 78 |
| MCLR Pulse Width (low) | TMCL | 2000 | | | ns | VDD = 5.0V | 79 |
| Watchdog Timer Time-out Period (no prescaler) | TWDT | 9 | 18 | 40 | ms | VDD = 5.0V (Extended) | 79 |
| Device Reset Timer Period | TDRT | 9 | 18 | 40 | ms | VDD = 5.0V (Extended) | 79 |
| I/O High-impedance from MCLR low | TIOZ | | | 2000 | ns | | 79 |
## CAD (KiCad official)
- Symbol: `PIC12F508-E`
- Footprint: `Package_SO:SOIC-8_3.9x4.9mm_P1.27mm`
- 3D model: SOIC-8 (KiCad packages3D, STEP)
- 3D model files: `pic12f508-e-etched.step` / `pic12f508-e-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `pic12f508-e.step` / `pic12f508-e.glb` are the bare package body.
## Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- **Datasheet:** [Microchip Tech datasheet](docs/pic12f508-e-datasheet.pdf) (110 pp, sha256 `2ece69f7f4c3ca3d`, retrieved 2026-10-31, tier: manufacturer)
- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-sonnet-5-5` (text), consensus `claude-sonnet-5-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
- **CAD:** KiCad official libraries (CC-BY-SA 4.0).
[Datasheet PDF](docs/pic12f508-e-datasheet.pdf)