Microchip Technology

PIC12F509-E/SN - 8-bit MCU, 1.5KB Flash, 4MHz, 8-SOIC | Microchip

MPN: PIC12F509-E/SN ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 8-SOIC (3.90 mm body width, 150 mil) Package 4 MHz Speed Flash Memory
From $0.55 USD / Unit
MOQ: 1 |
Price updated: 2026-09-15
Volume Pricing
Qty Unit Price Extended
1 $0.95 $0.95
10 $0.86 $8.60
100 $0.78 $78.00
500 $0.71 $355.00
1,000 $0.63 $630.00
3,000 $0.55 $1,650.00
ℹ️ All prices are in USD

PIC12F509-E/SN Overview

The Microchip Technology PIC12F509-E/SN is an 8-bit PIC microcontroller based on a 12-bit instruction word architecture, featuring 1.5KB (1K x 12) of Flash program memory, 41 bytes of RAM, and 6 I/O pins in an 8-pin SOIC package. It executes instructions at up to 4 MHz from an internal 4 MHz RC oscillator, providing an economical solution for simple control tasks. The integrated Flash memory supports in-circuit serial programming (ICSP) for field updates, and the wide 2.0V to 5.5V operating range lets the same part run from two AA cells, a 3.3V regulated rail, or a 5V logic supply.

What is an 8-bit microcontroller? An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory (ROM/Flash), volatile data memory (RAM), and peripherals (I/O, timers, ADC, communications) on one die. Within the broader taxonomy, the PIC12F509 belongs to the PIC10/12 baseline family of microcontrollers -> 8-bit MCU -> microcontroller -> embedded processor -> semiconductor. It targets cost-sensitive and pin-constrained designs where a full 28- or 40-pin MCU would be wasteful.

Key features of the PIC12F509-E/SN include six general-purpose digital I/O pins (each capable of independent direction control), one 8-bit timer/counter (TMR0) with a programmable prescaler, a watchdog timer with its own on-chip RC oscillator for reliable reset behavior, and an internal 4 MHz oscillator that eliminates the need for an external crystal. Power-on reset, brown-out detect, and code protection round out the integrated feature set, all in a 150-mil wide 8-SOIC footprint that reflow-solders with standard lead-free profiles.

The device uses a RISC-like architecture with only 33 single-word/12-bit instructions, so the MCU typically achieves a 2:1 code compression over comparable 8-bit CISC competitors. CMOS process technology provides low power consumption, with sleep currents in the microamp range and operating currents typically below 1 mA at 4 MHz/5V, making the part attractive for battery-powered applications.

Typical applications include consumer electronics remote controls, battery chargers, LED drivers, small appliance controllers, sensor signal conditioning, and hobby/educational projects. The PIC12F509-E/SN is also widely used as a low-cost "glue logic" replacement where a handful of discrete components can be replaced by programmable logic.

When designing with this MCU, allocate one or two I/O pins for ICSP (ICSPCLK/ICSPDAT) if you plan to re-program in-circuit. Use the configuration bits to select the oscillator mode, watchdog enable, and code protection; these fuses are programmed once and govern the device's behavior at every reset. The -E (extended) temperature grade supports -40C to +125C operation, broader than the -I (industrial) -40C to +85C grade.

This page synthesizes distributor pricing, drop-in package alternatives, and practical design notes that are not found in the standalone manufacturer datasheet.

Drop-in alternatives for PIC12F509-E/SN — 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 PIC12F509-E/SN (same form factor and footprint) — differing in Package, Data EEPROM, Internal Oscillator, RoHS Status, ADC.

Microchip Technology
Package: 8-pin SOIC (SN, 3.90 mm body)
Data EEPROM: 64 bytes
RoHS Status: Compliant (lead-free SOIC package)
Microchip Technology
Package: 8-SOIC (SN) 3.90 mm
RoHS Status: Compliant
ADC: 10-bit, 4 channels
Microchip Technology
Package: 8-SOIC (SN) 0.154 inch / 3.90 mm width
Data EEPROM: None
Internal Oscillator: 4 MHz RC (factory calibrated)
Microchip Technology
Package: 8-pin SOIC (SN, 3.90 mm body)
Data EEPROM: 41 bytes
Internal Oscillator: 4 MHz RC, factory calibrated
Microchip Technology
Package: 8-pin SOIC (SN), 3.90 mm body width
Internal Oscillator: 4 MHz (calibrated to +/-1%)
RoHS Status: Compliant

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC12F509-I/SN

✅ Drop-In
Microchip Technology
📦 8-SOIC (3.90 mm)
PIC 8-bit RISC · 1.5 KB Flash (1K x 12 words) · 41 bytes · 41 bytes · 4 MHz · 12-bit · 33 single-word/single-cycle · 2.0 V to 5.5 V

✓ In Stock

$0.71 / Unit

View Datasheet →

PIC12F509-E/P

✅ Drop-In
📦 8-SOIC (3.90 mm)
Same die, tape-and-reel vs tube packaging variant; extended -40C to +125C grade preserved; pin-to-pin compatible 8-SOIC

📋 Reference alternative (not in catalog)

PIC12F508-E/SN

✅ Drop-In
Microchip Technology
📦 8-SOIC (3.90 mm)
PIC 8-bit RISC · Harvard, 2-stage pipeline · 768 bytes (512 x 12) Flash · 25 bytes · None · 6 · 4 MHz · 33 instructions, 12-bit wide

✓ In Stock

$0.62 / Unit

View Datasheet →

PIC12F1501-E/SN

✅ Drop-In
Microchip Technology
📦 8-SOIC (3.90 mm)
PIC · 8-bit · 20 MHz · 200 ns · 1.75 KB (1K x 14 words) · 64 bytes · 64 bytes · 6

✓ In Stock

$0.58 / Unit

View Datasheet →

PIC12F1822-E/SN

✅ Drop-In
📦 8-SOIC (3.90 mm)
Enhanced mid-range core: 3.5 KB Flash, 128 B RAM, 10-bit ADC, PWM, UART/SPI/I2C, 32 MHz oscillator; same 8-SOIC pinout; firmware rewrite required for peripheral registers

📋 Reference alternative (not in catalog)

PIC12F1840-E/SN

✅ Drop-In
Microchip Technology
📦 8-SOIC (3.90 mm)
PIC · 8-Bit · 7KB (4K x 14 words) FLASH · 256 bytes · 256 bytes · 32 MHz (internal oscillator) · 2.5 V to 5.5 V · 6

✓ In Stock

$1.18 / Unit

View Datasheet →

PIC12F509-E/SN Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit (12-bit instruction word)
Program Memory Type Flash
Program Memory Size 1.5 KB (1K x 12 words)
RAM Size 41 bytes
Data EEPROM Not present
Maximum CPU Speed 4 MHz
Internal Oscillator 4 MHz RC
Supply Voltage Range 2.0 V to 5.5 V
Number of I/O Pins 6
Timers 1 x 8-bit (TMR0)
Watchdog Timer Yes (independent on-chip RC oscillator)
ADC None
Communication Interfaces ICSP only (no UART, SPI, I2C)
Operating Temperature Range -40C to +125C (Extended, -E grade)
Package 8-SOIC (3.90 mm body width, 150 mil)
Mounting Type Surface Mount
MSL Level 1 (unlimited floor life)
RoHS Status Compliant (lead-free)
ICSP Programming Yes (ICSPCLK / ICSPDAT pins)

PIC12F509-E/SN Pin Configuration

SOIC-8 Package Pinout Diagram SOIC-8 8-pin small outline IC, 3.9x4.9mm, P1.27mm, JEDEC MS-012. 1 8 2 7 3 6 4 5 SOIC-8
Pin 1 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 2 GP5/T1CKI/OSC1/CLKIN/ICSPCLK — General-purpose I/O / Timer1 clock input / external oscillator input / ICSP clock
Pin 3 GP4/T1G/OSC2/CLKOUT/ICSPDAT — General-purpose I/O / Timer1 gate / oscillator output / clock output / ICSP data
Pin 4 GP3/MCLR/VPP — General-purpose I/O (input only) / Master Clear reset (active low) / programming voltage
Pin 5 GP2/COUT/T0CKI/INT — General-purpose I/O / comparator output / Timer0 clock input / external interrupt
Pin 6 GP1/CIN-/ICSPCLK — General-purpose I/O / comparator inverting input / ICSP clock (alternate)
Pin 7 GP0/CIN+/ICSPDAT — General-purpose I/O / comparator non-inverting input / ICSP data
Pin 8 VSS — Ground reference

Typical Applications

PIC12F509-E/SN is suitable for 7 applications: Consumer Remote Controls, Battery Chargers (Single-Cell Li-Ion / NiMH), LED Drivers and Light Controllers, Small Appliance and White-Good Controllers, Sensor Signal Conditioning and Smart Sensors, Hobby and Educational Projects, Replacement of Discrete Logic (Glue-Logic Replacement).

📱

Consumer Remote Controls

The PIC12F509-E/SN's 4 MHz internal oscillator, 2.0V-5.5V supply, and only 6 required I/O pins map perfectly to low-cost infrared or RF remote controls. With 1.5 KB Flash the part easily holds keypad scanning, button-debounce state machines, and protocol bit-banging for SIRC/RC5/nec encoders, while the integrated watchdog timer resets the MCU on battery sag or accidental lockup. Sleep current in the microamp range lets a single CR2032 cell run a remote for years. Place a 100 nF decoupling cap directly on VDD (pin 1), connect the IR LED driver to any of GP0-GP2, and use GP3 as a wake-on-keypress interrupt.

Battery Chargers (Single-Cell Li-Ion / NiMH)

The PIC12F509-E/SN is widely used as the controller for single-cell NiMH and Li-Ion chargers where its low cost and small footprint dominate the BOM. Three pins implement CC/CV control loops via PWM on a power MOSFET, one pin monitors battery voltage through a divider to the comparator, one pin reads temperature via an NTC, and one drives the status LED. The 2.0V-5.5V supply lets the MCU run directly from a USB or wall-adapter-derived rail, while the extended -40C to +125C grade tolerates the warm environment of an enclosed charger. Its 8-bit TMR0 generates the PWM base frequency without burdening the main loop.

💡

LED Drivers and Light Controllers

Driving a single RGB LED or a chain of constant-current LEDs requires only timer-based PWM and a state machine - exactly what the PIC12F509-E/SN delivers in a minimal 8-SOIC. The 4 MHz instruction rate easily handles 8-bit PWM at refresh rates above 1 kHz without flicker, and the 6 I/O pins drive R/G/B channels plus a control button and optional status LED. Sleep mode drops quiescent current to microamps, enabling battery-powered decorative lights that wake on a button press. The integrated brown-out detector and watchdog timer keep the lighting controller safe through cold-crank events in automotive interior lighting.

🏭

Small Appliance and White-Good Controllers

Coffee makers, toasters, electric kettles, and small fans benefit from the PIC12F509-E/SN's low cost, integrated 4 MHz oscillator (no crystal needed), and extended temperature grade. The 1.5 KB Flash comfortably fits the appliance state machine (idle / heat-up / keep-warm / auto-shutoff), while TMR0 generates a one-second tick for timing. Six I/Os connect to a relay or TRIAC driver, a thermostat sensor, a buzzer, two push-buttons, and a status LED. The watchdog timer and brown-out reset keep the appliance in a safe state across brown-outs and ESD events.

🧩

Sensor Signal Conditioning and Smart Sensors

In simple sensor modules - humidity, temperature, thermistor, or contact-closure interfaces - the PIC12F509-E/SN replaces op-amp comparators and discrete logic with programmable intelligence. The integrated comparator (CIN+/CIN- on GP0/GP1) handles threshold detection without external ICs, while TMR0 measures pulse widths from sensors like HC-SR04 ultrasonic rangefinders. The 2.0V minimum supply lets the part run from a single 1.5V cell with a boost converter, opening wireless IoT end-node applications. Six I/Os are sufficient for a one-wire sensor, a status LED, and a UART bit-bang to a wireless module.

🔧

Hobby and Educational Projects

The PIC12F509-E/SN is one of the most popular 8-pin devices for hobbyists and educators because it packs a real RISC core, Flash memory, and in-circuit programming into a hand-solderable 8-SOIC. Students learn assembly language programming on the baseline 12-bit instruction set with only 33 opcodes, then port their projects to enhanced PIC16 or PIC18 cores. A simple PICkit 3/4/5 programmer plus MPLAB X IDE provides a free development chain on Windows, macOS, and Linux. Common student projects include blinker LEDs, programmable timers, dice simulators, servo testers, and standalone model-railway controllers.

🔧

Replacement of Discrete Logic (Glue-Logic Replacement)

The PIC12F509-E/SN often replaces a 555 timer, a CD4017 Johnson counter, or a handful of 74HC00 gates when design requirements evolve beyond what discrete logic can deliver. A typical conversion takes a board originally stuffed with three 8-pin ICs, retargets it with one PIC12F509-E/SN, and recovers PCB area for added features. The integrated 4 MHz oscillator removes the RC timing components, and Flash lets the same hardware support multiple product variants via configuration bit selection. The result is a smaller, lower-cost BOM with end-of-line reprogrammability for late design changes.

Recommended Products Summary

TSAL6100 Infrared emitter LED driven by GPIO Used in: Consumer Remote Controls PIC12F509-I/SN Microchip Technology Used in: Consumer Remote Controls MCP73831T-2ACI/OT Companion single-cell Li-Ion charge controller for simpler designs Used in: Battery Chargers (Single-Cell Li-Ion / NiMH) PIC12F1501-E/SN Microchip Technology Used in: Battery Chargers (Single-Cell Li-Ion / NiMH) WS2812B Addressable RGB LED with single-wire protocol Used in: LED Drivers and Light Controllers TPS54331DR Texas Instruments Used in: LED Drivers and Light Controllers BTA16-600BW TRIAC for AC load switching Used in: Small Appliance and White-Good Controllers MOC3041M Optoisolated TRIAC driver for safe MCU-to-AC interface Used in: Small Appliance and White-Good Controllers DHT22 Digital humidity/temperature sensor Used in: Sensor Signal Conditioning and Smart Sensors nRF24L01P-T 2.4 GHz wireless transceiver for sensor data uplink Used in: Sensor Signal Conditioning and Smart Sensors PICkit 4 MPLAB programmer/debugger for development Used in: Hobby and Educational Projects PIC12F509-E/P PDIP variant for breadboard prototyping Used in: Hobby and Educational Projects LMC555CMM Common 555 timer being replaced Used in: Replacement of Discrete Logic (Glue-Logic Replacement) CD4017BE Johnson counter commonly replaced by MCU Used in: Replacement of Discrete Logic (Glue-Logic Replacement)
What is the program memory size of the PIC12F509-E/SN?
The PIC12F509-E/SN contains 1.5 KB of Flash program memory, organized as 1024 x 12-bit instruction words. According to Microchip datasheet DS40001218, the Flash supports 100,000 erase/write cycles typical and is in-circuit serial programmable (ICSP), enabling field firmware updates without removing the part from the board.
Does the PIC12F509-E/SN have an internal oscillator?
Yes. The PIC12F509 integrates a factory-calibrated 4 MHz internal RC oscillator accurate to within +/- 1 percent across the 2.0V-5.5V supply and full -40C to +125C temperature range. This eliminates the need for an external crystal or resonator, freeing both I/O pins (GP4 and GP5) for general-purpose use and reducing BOM cost and PCB area.
What is the operating voltage range of PIC12F509-E/SN?
The PIC12F509-E/SN operates from 2.0 V to 5.5 V across the entire -40C to +125C extended temperature range. According to the Microchip datasheet, this allows direct connection to two alkaline AA cells (nominally 3.0 V), a 3.3 V regulated rail, or a 5 V logic supply without level translation, simplifying battery-powered and mains-derived designs.
What is the difference between PIC12F509 and PIC12F508?
The PIC12F509 has 1.5 KB of Flash program memory (1K x 12 words), while the PIC12F508 has only 0.75 KB (512 x 12 words). Both share the same 41-byte RAM, 6 I/O pins, 8-bit TMR0, and 8-SOIC package pinout, so the PIC12F508 is a drop-in replacement when the firmware fits in 512 words and the PIC12F509 is a drop-in upgrade path when more code is needed.
Where can I buy PIC12F509-E/SN at the lowest price?
As of 2026-09-15, the PIC12F509-E/SN is in stock at 12 distributors per Octopart, with unit prices starting at approximately $0.95 at qty 1 and dropping to $0.55-$0.63 at 1000-piece quantities. LCSC lists the part at $1.5584 per unit (qty 1). For prototype quantities, DigiKey and Mouser carry stock with same-day shipping; for production volumes, Heisener and LCSC typically offer the best breaks.
What is the lead time and stock status for PIC12F509-E/SN?
As of 2026-09-15, the PIC12F509-E/SN is widely in stock at major distributors. DigiKey lists the part as 'ships today,' Mouser shows factory stock, and Heisener reports 6,320 pieces available with can-ship-immediately lead time and estimated delivery between Nov 27 and Dec 2. No allocation or extended lead time is indicated.
Is there an automotive (AEC-Q100) qualified version of PIC12F509?
No. Microchip does not offer an AEC-Q100 qualified version of the PIC12F509 baseline family. According to Microchip's product page, this device is targeted at consumer and industrial applications. For automotive designs requiring functional safety or AEC-Q100 compliance, Microchip recommends the PIC16F15313 (noted as a newer recommended device) or the PIC16F1xxx enhanced family, all of which require firmware re-development.
PIC12F509-E/SN vs PIC12F1501-E/SN - which should I choose for a new design?
The PIC12F1501-E/SN is the recommended newer alternative for new designs, offering 1.75 KB Flash, 64 bytes RAM, a 10-bit ADC, PWM, and a 32 MHz internal oscillator in the same 8-SOIC package. The PIC12F509-E/SN remains valid for cost-sensitive designs where its 4 MHz speed, no ADC, and 1.5 KB Flash are sufficient. Both share the 8-SOIC pinout, so a PCB redesign is not required when migrating.
What is the best drop-in replacement for PIC12F509-E/SN?
The best drop-in replacements for PIC12F509-E/SN are PIC12F509-I/SN (industrial -40C to +85C grade, same die and package), PIC12F509T-E/SN (tape-and-reel packaging variant), PIC12F509-E/P (PDIP package variant for through-hole designs), and PIC12F508-E/SN (1.5 KB -> 0.75 KB Flash, same pinout, useful when firmware fits). All share the 8-SOIC footprint and pin-compatible pinout.
What is the best cross-brand equivalent for PIC12F509-E/SN?
There is no widely available third-party 8-bit MCU in the same 8-SOIC package with identical pinout and feature set, so a true cross-brand drop-in is not readily documented. For cost-driven designs, designers typically migrate to Microchip's own PIC10F200/202 (6-pin SOT-23, smaller footprint, same baseline core) or PIC12F1501 (same 8-SOIC pinout, enhanced peripherals). Cross-brand equivalents like Atmel/Microchip ATtiny10 require new firmware and a different toolchain.
Where can I download the PIC12F509-E/SN datasheet PDF?
The official PIC12F509 datasheet, document DS40001218 (latest revision G), is available as a free PDF download from Microchip at https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ProductDocuments/DataSheets/PIC12F509-Data-Sheet-DS40001218G.pdf. The datasheet includes electrical characteristics, pinout, instruction set summary, timing diagrams, and programming specifications for the entire PIC12F508/PIC12F509 family.
Where can I find the PIC12F509-E/SN pinout?
The PIC12F509-E/SN pinout for the 8-SOIC package is: Pin 1 = VDD (positive supply), Pin 2 = GP5/T1CKI/OSC1/CLKIN/ICSPCLK, Pin 3 = GP4/T1G/OSC2/CLKOUT/ICSPDAT, Pin 4 = GP3/MCLR/VPP (master clear / programming voltage), Pin 5 = GP2/COUT/T0CKI/INT (interrupt-on-change), Pin 6 = GP1/CIN-/ICSPCLK, Pin 7 = GP0/CIN+/ICSPDAT, Pin 8 = VSS (ground). The same diagram appears in the datasheet pinout table.
How do I program the PIC12F509-E/SN in-circuit?
The PIC12F509-E/SN supports in-circuit serial programming (ICSP) using a two-wire interface: ICSPCLK on pin 6 (GP1) and ICSPDAT on pin 7 (GP0), with the programming voltage applied to pin 4 (MCLR/VPP). According to the Microchip Programming Specification, any Microchip PICkit (3/4/5), MPLAB SNAP, ICD, or compatible third-party programmer can program the Flash and configuration bits in-circuit without removing the chip from the board.
What are the key specifications of PIC12F509-E/SN that engineers should know?
The PIC12F509-E/SN delivers 1.5 KB Flash, 41 B RAM, 6 I/O, 4 MHz internal RC oscillator, 2.0-5.5 V supply, and -40C to +125C extended temperature in an 8-SOIC package. According to Microchip datasheet DS40001218, the device features a RISC 33-instruction set, single-cycle instruction execution except branches, 8-bit TMR0, watchdog timer with dedicated RC oscillator, and ICSP programming. Typical active current is below 1 mA at 4 MHz/5V with sleep currents in the microamp range.
What developer tools support the PIC12F509-E/SN?
The PIC12F509-E/SN is fully supported by Microchip's free MPLAB X IDE (Windows/macOS/Linux) with the XC8 C compiler and the legacy MPASM assembler. Programming/debugging hardware includes PICkit 3, PICkit 4, PICkit 5, MPLAB ICD 3/4, and MPLAB SNAP. Hobbyist boards such as the PICkit Starter Kit and various Low Pin Count Demo Boards use this MCU. The device is also programmable with open-source tools like picprobe and SDCC via third-party tools.

Engineering reference data for PIC12F509-E/SN — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC12F509-E/SN when designing a cost-sensitive application that needs a programmable controller, integrated 4 MHz oscillator (no crystal), 6 I/O pins, and operation up to +125C. It is the right part when the firmware fits in 1.5 KB Flash and no ADC, UART, SPI, or I2C is needed. Choose PIC12F509-I/SN if the design only needs -40C to +85C operation and a slightly lower unit cost. Choose PIC12F508-E/SN when the firmware fits in 0.75 KB to save money. For new designs, consider the PIC12F1501-E/SN (same 8-SOIC pinout, 10-bit ADC, 32 MHz) as a future-proof upgrade path requiring firmware rewrite. The PIC12F509 family is not AEC-Q100 qualified, so automotive safety-critical designs should use PIC16F1xxx enhanced parts instead.

Comparison with Alternatives

Parameter This Product PIC12F509-I/SN PIC12F509-E/P PIC12F508-E/SN PIC12F1501-E/SN PIC12F1822-E/SN
Package 8-SOIC (3.90 mm) 8-SOIC (3.90 mm) - same 8-SOIC (3.90 mm) - same 8-SOIC (3.90 mm) - same 8-SOIC (3.90 mm) - same 8-SOIC (3.90 mm) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory 1.5 KB Flash 1.5 KB Flash 1.5 KB Flash 0.75 KB Flash 1.75 KB Flash 3.5 KB Flash
RAM 41 bytes 41 bytes 41 bytes 25 bytes 64 bytes 128 bytes
Max CPU Speed 4 MHz 4 MHz 4 MHz 4 MHz 32 MHz 32 MHz
I/O Pins 6 6 6 6 6 6
ADC None None None None 10-bit 10-bit
Supply Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V
Temperature Grade -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +125C (Extended) -40C to +125C (Extended) -40C to +125C (Extended) -40C to +125C (Extended)

Key Differentiators

  • Lowest cost 8-bit PIC MCU with Flash and integrated 4 MHz oscillator (vs PIC12F508-E/SN)
  • Extended -40C to +125C temperature grade at no extra cost (vs PIC12F509-I/SN)
  • Stable upgrade path to enhanced mid-range core in same 8-SOIC package (vs PIC12F1501-E/SN)

Design Notes

Decouple VDD (pin 1) directly to VSS (pin 8) with a 100 nF X7R ceramic capacitor placed within 3 mm of the package. For designs that drive heavy loads through the I/O pins, add a bulk 10 uF tantalum or aluminum-polymer capacitor in parallel. The PIC12F509-E/SN has no internal POR delay beyond a fixed RC interval; if the application requires slower supply ramp times, add an external RC on MCLR (pin 4) to guarantee a clean reset on power-up.

Never drive GP3 (pin 4) as a digital output - it is input-only because that pin also functions as MCLR and VPP. Connect MCLR directly to VDD through a 10 kohm pull-up resistor (do not leave it floating) or directly to VDD if the internal MCLR feature is disabled via the configuration bit. Avoid long traces on ICSPCLK and ICSPDAT to keep ICSP programming reliable; the Microchip programming specification requires these pins to be free of large capacitances during programming.

Keep the ICSP connector (typically a 6-pin 0.1-inch header with PICkit-standard pinout) on the same PCB side as the MCU and within 50 mm of pins 6 and 7 for reliable in-circuit programming. Provide a keepout area around the MCU antenna pins if you plan to use the internal oscillator at 4 MHz - although not RF-sensitive, long parallel traces between adjacent signal pins can introduce crosstalk into the comparator inputs on GP0/GP1. Place the decoupling capacitor on the VDD side of the package rather than under the part to ease inspection and rework.

The PIC12F509-E/SN's on-chip comparator (CIN+ on GP0, CIN- on GP1) has a typical input offset of +/- 5 mV and a response time of 200-400 ns; for sub-millivolt thresholds add external hysteresis with a 1 Mohm feedback resistor from COUT (GP2) to CIN+. For TMR0-based frequency or pulse-width measurement, gate the input signal through a Schmitt-trigger buffer (e.g. 74LVC1G17) if the source has slow edges below 10 V/us - the TMR0 input is not Schmitt-triggered.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Unknown
Conflict Minerals
Compliant

RoHS compliant and lead-free per Microchip product page. Not AEC-Q100 qualified; for AEC-Q100 designs Microchip recommends PIC16F15313 or PIC16F1xxx family. Halogen-free status not explicitly stated in the verified data; conflict-minerals compliance declared by Microchip.

Data verified on: 2026-09-15 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC12F509-E/SN PIC12F509-E/SN datasheet Microchip PIC12F509 PIC12F509 8-bit MCU 1.5KB flash 8-SOIC PIC microcontroller 4MHz PIC12F509-E/SN price buy online PIC12F509 vs PIC12F508 PIC12F509 vs PIC12F1501 PIC12F509-E/SN lead time stock PIC12F509-E/SN pinout 8-SOIC what is the flash size of PIC12F509 PIC12F509-E/SN battery powered remote control PIC12F509 drop-in replacement same package PIC12F509 LED driver small appliance how to program PIC12F509 with PICkit

Related Components & Terms

Microchip Technology PIC12F509 PIC12F509-E/SN PIC12F509-I/SN PIC12F508 PIC12F1501 PIC12F1822 PIC12F1840 PIC10F200 8-bit microcontroller PIC10/12 baseline core 12-bit instruction word Flash memory ICSP MPLAB X IDE XC8 compiler PICkit 8-SOIC RoHS watchdog timer brown-out reset internal RC oscillator comparator TMR0 consumer remote control battery charger LED driver small appliance controller
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details