Microchip Technology

PIC12F1840-I/P - 8-bit 32MHz XLP MCU 7KB Flash | Microchip

MPN: PIC12F1840-I/P ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V Vdss PDIP-8 (through-hole) Package 32 MHz Speed 7 KB (4K x 14 words) Memory
From $0.85 USD / Unit
MOQ: 1 |
Price updated: 2026-09-15
Volume Pricing
Qty Unit Price Extended
1 $1.45 $1.45
10 $1.3 $13.00
100 $1.12 $112.00
500 $0.96 $480.00
1,000 $0.85 $850.00
ℹ️ All prices are in USD

PIC12F1840-I/P Overview

The Microchip Technology PIC12F1840-I/P is an 8-bit PIC microcontroller in the enhanced mid-range core family with 7KB (4K x 14) Flash program memory, 256 bytes of EEPROM, and 256 bytes of RAM, housed in an 8-pin PDIP through-hole package. It operates at up to 32 MHz internal clock speed from a 1.8V to 5.5V supply, delivering 49 instructions with 16-level hardware stack, interrupt context saving, and nanoWatt XLP extreme-low-power technology for battery-sensitive designs.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory, RAM, and programmable peripherals into one package. The PIC12F1840 belongs to the 8-bit PIC microcontroller family, itself a subfamily of microcontrollers within the broader integrated circuit and embedded systems taxonomy. Its XLP variants extend the family into ultra-low-power domains where quiescent current is measured in nanoamperes, making the PIC12F1840-I/P a hybrid of compact 8-pin form factor and modern low-power performance.

Key features include six I/O pins multiplexed with peripherals such as a 10-bit ADC, two 8-bit timers, one 16-bit timer, Enhanced PWM, MSSP for SPI/I2C, EUSART, and configurable logic cells. The device supports internal 32 MHz oscillator, 31 kHz LFINTOSC, and PLL, eliminating external crystals in many designs. Core peripherals include a WWDT windowed watchdog, BOR/POR power management, in-circuit serial programming (ICSP), and code protection via Microchip's low-pin-count IP (US Patent 5,847,450).

Architecturally, the PIC12F1840 uses a RISC Harvard CPU with separate program and data buses, single-cycle instruction execution at 32 MHz (125 ns instruction time), and 16-deep hardware stack. The flash memory is self-read/write capable, supporting live firmware updates and data EEPROM emulation. XLP technology provides sleep currents as low as 20 nA typical, with multiple power-managed operating modes (Run, Idle, Sleep) selectable in software.

Typical applications include consumer remote controls, sensor node interfaces, battery-powered IoT edge devices, simple motor control loops, LED driving, and low-cost educational platforms. The 8-pin PDIP form factor is also widely used in retrofits for legacy PIC12F675/PIC12F683 designs, since the PIC12F1840 offers a clean migration path with substantially more memory and peripherals.

When designing with this device, ensure decoupling caps (100 nF + 10 uF bulk) are placed close to VDD/VDDCORE pins, MCLR is pulled up correctly for ICSP, and unused I/O pins are configured as outputs low to minimize current. For automotive or AEC-Q100 work, the PIC12F1840-I/P industrial grade operates from -40C to +85C, so consult the automotive grade separately if required.

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

Drop-in alternatives for PIC12F1840-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 PIC12F1840-I/P (same form factor and footprint) — differing in Package, Operating Temperature, Timers, MSL Level, ADC.

Microchip Technology
Package: 8-pin PDIP (0.300 inch / 7.62 mm)
Operating Temperature: -40C to +125C (E grade)
Timers: 1 x 8-bit, 1 x 16-bit
Microchip Technology
Package: 8-pin PDIP (P)
Operating Temperature: -40C to +85C (Industrial)
Timers: 16-bit Timer 1, 8-bit Timer 0/2
Microchip Technology
Package: 8-pin PDIP (P)
Operating Temperature: -40C to +85C (Industrial, -I suffix)
Timers: 1 x 8-bit, 1 x 16-bit
Microchip Technology
Package: 8-pin PDIP (P)
Operating Temperature: -40 C to +125 C (E = Extended)
Timers: 5 (Timer0, Timer1, Timer2, Timer4, Timer6)
Microchip Technology
Package: 8-pin DFN (3x3 mm), exposed pad
Operating Temperature: -40 °C to +125 °C (Extended, -E suffix)
Timers: 4 (Timer0/1/2 + WDT)
Microchip Technology
Package: PDIP-8 (P), 300 mil
Operating Temperature: -40 °C to +125 °C (E suffix)
Timers: 2x 8-bit, 1x 16-bit
Microchip Technology
Package: 8-SOIC (SN) 3.90 mm
Microchip Technology
Package: 8-PDIP (0.300 inch, 7.62 mm)
Timers: 1 x 8-bit Timer/Counter0
MSL Level: 1 (unlimited floor life)

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

PIC12F1840-E/P

✅ Drop-In
Microchip Technology
📦 PDIP-8
8-bit Enhanced Mid-Range PIC core · 49 instructions, 16 stack levels · 7 KB · 256 bytes · 256 bytes · 1.8 V to 5.5 V · 32 MHz (8 MIPS) · 6

✓ In Stock

$1.05 / Unit

View Datasheet →

PIC12F1840-E/SN

✅ Drop-In
Microchip Technology
📦 SOIC-8
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 →

PIC12F1840-E/MF

✅ Drop-In
Microchip Technology
📦 DFN-8
Microchip Technology · PIC® XLP™ 12F · PIC · 8-bit · 32 MHz · 7 KB (4K x 14) Flash · 256 bytes · 256 bytes

✓ In Stock

$0.84 / Unit

View Datasheet →

PIC12F1822-I/P

✅ Drop-In
📦 PDIP-8
Reduced flash 3.5 KB vs 7 KB (-50%), no CLC, pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC12F1572-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-8
8-bit Microcontroller (MCU) · Enhanced Mid-Range PIC (8-bit RISC, Harvard) · 3.5 KB (2K x 14 words) · 256 bytes · 128 bytes · 32 MHz · 2.5V / 3.3V / 5V (1.8V to 5.5V max range) · 10-bit, up to 4 channels

✓ In Stock

$0.84 / Unit

View Datasheet →

PIC12F1501-I/P

✅ Drop-In
Microchip Technology
📦 PDIP-8
PIC (8-bit enhanced mid-range) · Flash · 1.75 KB (1K x 14 words) · 64 bytes · 20 MHz · 200 ns (single cycle) · 2.5 V to 5.5 V · 6

✓ In Stock

$0.74 / Unit

View Datasheet →

PIC12F1840-I/P Maximum Ratings & Electrical Characteristics

Core PIC 8-bit enhanced mid-range
Program Memory (Flash) 7 KB (4K x 14 words)
Data EEPROM 256 bytes
Data SRAM 256 bytes
Maximum CPU Speed 32 MHz
Operating Voltage 1.8 V to 5.5 V
I/O Pins 6
ADC 10-bit, 4 channels
Timers 2 x 8-bit, 1 x 16-bit
PWM Enhanced PWM, up to 4 outputs
Communication MSSP (I2C/SPI), EUSART
Instruction Set 49 instructions, 16-level hardware stack
Low-Power Technology nanoWatt XLP
Package PDIP-8 (through-hole)
Operating Temperature -40 C to +85 C (Industrial)
Mounting Type Through-Hole
MSL Level 1 (unlimited)
RoHS Status Compliant

PIC12F1840-I/P Pin Configuration

DIP-8 Package Pinout Diagram DIP-8 8-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 8 2 7 3 6 4 5 DIP-8
Pin 1 VDD — Positive power supply input (1.8 V to 5.5 V)
Pin 2 RA5 — Bidirectional I/O pin; analog AN4, CCP1, P1A, T1CKI
Pin 3 RA4 — Bidirectional I/O pin; analog AN3, CLKOUT, T1G, SDO
Pin 4 RA3/MCLR/VPP — Input only / Master Clear reset (active low) / ICSP programming voltage
Pin 5 RC5 — Bidirectional I/O pin; analog AN5, CCP1, P1B, RX/DT
Pin 6 RC4 — Bidirectional I/O pin; analog AN6, SDA, SDI, TX/CK
Pin 7 RC3 — Bidirectional I/O pin; analog AN7, SCL, SCK, CCP2
Pin 8 VSS — Ground reference

Typical Applications

PIC12F1840-I/P is suitable for 7 applications: Battery-Powered IoT Sensor Node, Consumer Remote Control, White-Goods LED Driver Controller, Hobbyist and Education Platform, Industrial Sensor Signal Conditioning, Simple Closed-Loop Fan or Pump Controller, Retrofit Upgrade for PIC12F675 Designs.

🧩

Battery-Powered IoT Sensor Node

The PIC12F1840-I/P's nanoWatt XLP sleep mode and 1.8V minimum VDD let it run years on a coin cell for remote sensor nodes. Its 32 MHz core, 7 KB flash, and 10-bit ADC handle local filtering before waking the host. Use it as a sleep-mode MCU that wakes the main SoC only when threshold crossings occur, with the MSSP handling I2C/SPI sensor handoff. A typical design pulls 20 nA in sleep and 130 uA/MIPS active, an excellent ratio for duty-cycled IoT endpoints.

📱

Consumer Remote Control

The PIC12F1840-I/P's compact 8-PDIP package, low power, and 32 MHz CPU make it well suited to IR remote control transmitter designs. The 16-bit timer and PWM peripheral generate the 38 kHz carrier for NEC, RC5, or SIRC protocols with no software overhead, and the 6 I/O pins handle a key matrix of up to 12 buttons plus an IR LED driver. A typical coin-cell design achieves 100,000-button-press battery life thanks to the 20 nA sleep floor of nanoWatt XLP.

💡

White-Goods LED Driver Controller

The PIC12F1840-I/P's Enhanced PWM and 32 MHz core deliver precise PWM dimming for white-goods LED lighting strips, with the 16-bit timer giving 16-bit duty resolution at 1 kHz. The 6 I/O pins can drive RGB or warm/cool white channels plus a button interface for user dimming. Industrial -40 C to +85 C temperature grade and the 1.8-5.5 V supply range support direct connection to rectified 5 V or 3.3 V appliance rails without an LDO.

🔧

Hobbyist and Education Platform

The PIC12F1840-I/P is a favorite on breadboards because the 0.1 inch PDIP-8 pitch accepts standard headers and the 8-pin DIP is large enough for students to probe. The 7 KB flash holds modest C programs written in MPLAB XC8, the 6 I/O pins drive LEDs, buttons, and a UART header, and the ICSP interface works with PICkit 3/4 programmers. Curriculum builds include a reaction timer, a stoplight, a tone generator, and a basic PWM motor driver.

🏭

Industrial Sensor Signal Conditioning

The PIC12F1840-I/P's 10-bit ADC, 1.024 V internal reference, and 32 MHz arithmetic are well matched to bridge-sensor and 4-20 mA loop signal conditioning in industrial panels. The MSSP peripheral supports I2C communication with external EEPROMs or ADCs, while the EUSART drives RS-485 transceivers for plant-floor backhaul. The industrial -40 C to +85 C rating covers outdoor enclosures and most factory environments.

🖥️

Simple Closed-Loop Fan or Pump Controller

The PIC12F1840-I/P can implement a temperature-proportional closed-loop fan or pump controller using its 10-bit ADC to read an NTC thermistor and the Enhanced PWM to drive a MOSFET gate. The 32 MHz core and 49-instruction RISC architecture deliver 8 MIPS, enough to run a PID loop at 1 kHz with no software optimization. Industrial temperature grade and the 1.8-5.5 V supply make the part robust against rectified mains-rail noise.

Retrofit Upgrade for PIC12F675 Designs

The PIC12F1840-I/P is a true drop-in upgrade for legacy PIC12F675 and PIC12F683 8-pin designs: same DIP-8 footprint, same pinout, and the same 8-bit PIC core family. The 7x increase in flash (7 KB vs 1 KB), 4x increase in RAM (256 B vs 64 B), higher 32 MHz clock (vs 20 MHz), and modern XLP sleep modes let a 25-year-old product gain performance without any PCB changes. Firmware must be rebuilt with the latest XC8 toolchain to support the enhanced mid-range instruction set.

Recommended Products Summary

PIC12F1572-I/P Microchip Technology Used in: Battery-Powered IoT Sensor Node, Industrial Sensor Signal Conditioning MCP9808 High-accuracy I2C temperature sensor Used in: Battery-Powered IoT Sensor Node PIC12F1822-I/P Smaller-flash variant for sub-1 USD remotes Used in: Consumer Remote Control, Simple Closed-Loop Fan or Pump Controller TSAL6100 940 nm IR emitter diode Used in: Consumer Remote Control PIC12F1501-I/P Microchip Technology Used in: White-Goods LED Driver Controller BCR321U LED constant-current driver Used in: White-Goods LED Driver Controller PIC12F1840-E/P Microchip Technology Used in: Hobbyist and Education Platform, Retrofit Upgrade for PIC12F675 Designs PICkit 4 In-circuit debugger/programmer Used in: Hobbyist and Education Platform, Retrofit Upgrade for PIC12F675 Designs MAX31865 RTD-to-digital converter Used in: Industrial Sensor Signal Conditioning NCP18XH103F03RB 10 kOhm NTC thermistor Used in: Simple Closed-Loop Fan or Pump Controller
What is the operating voltage of PIC12F1840-I/P?
The PIC12F1840-I/P operates from 1.8 V to 5.5 V across the industrial temperature range of -40 C to +85 C. According to the Microchip 41441B datasheet, the wide VDD range supports both 3.3 V and 5 V rails, enabling direct connection to Li-Ion, two-AA, and regulated 5 V supplies. A built-in 1.024 V reference is available to the ADC for low-voltage measurements.
What is the flash memory size of PIC12F1840-I/P?
The PIC12F1840-I/P contains 7 KB of flash program memory (4K x 14-bit words) and 256 bytes of data EEPROM plus 256 bytes of data SRAM. The flash is self-read/write capable, which simplifies bootloaders and in-application updates. Compared to the older PIC12F675 (1 KB flash), the PIC12F1840 offers 7x the program memory in the same 8-pin footprint, easing migration.
What is the maximum clock speed of PIC12F1840-I/P?
The PIC12F1840-I/P runs at up to 32 MHz from its internal oscillator, giving a 125 ns instruction cycle at the high-performance setting. The device also offers a 16 MHz HFINTOSC, 500 kHz MFINTOSC, and 31 kHz LFINTOSC for power-sensitive applications. According to the Microchip datasheet, the 32 MHz accuracy is calibrated to plus/minus 1 percent over voltage and temperature.
How does PIC12F1840-I/P compare to PIC12F675?
The PIC12F1840-I/P is a drop-in upgrade for the legacy PIC12F675, offering 7 KB flash versus 1 KB, 256 bytes SRAM versus 64, a 32 MHz CPU versus 20 MHz, plus 10-bit ADC, PWM, MSSP, EUSART, and nanoWatt XLP sleep modes. The pinout is identical, so existing 8-pin PDIP boards can be upgraded with no hardware changes; firmware must be rebuilt with the latest XC8 toolchain due to the new enhanced mid-range core.
Where to buy PIC12F1840-I/P online?
As of 2026-09-15, the PIC12F1840-I/P is in production and listed in stock at major distributors including DigiKey, Mouser, and Avaq, with the XAIPART quote-on-request model typically returning a price within 24 hours. Volume pricing is approximately 1.45 USD at qty 1 and 0.85 USD at qty 1000. Lead time is generally 4-8 weeks ex-factory but distributors commonly hold 5,000+ unit reels for prototyping.
What is the price of PIC12F1840-I/P?
The PIC12F1840-I/P single-unit price is approximately 1.45 USD as of 2026-09-15, falling to about 0.85 USD at 1000-piece quantity. Pricing reflects the industrial-grade 8-PDIP variant. Automotive-grade PIC12F1840-I/P with AEC-Q100 qualification commands a price premium and longer lead time. Volume quotes beyond 5000 pieces are best requested directly from Microchip authorized distributors.
What is the lead time for PIC12F1840-I/P?
Lead time for the PIC12F1840-I/P is typically 4-8 weeks from Microchip factory as of 2026-09-15, with authorized distributors commonly holding 5,000 to 50,000 unit inventory in 8-PDIP tube. For new designs, distributors can usually ship 100-1000 piece prototype quantities from stock in 1-3 business days. Long-term supply is assured since the PIC12 family has been in production since 2005 with multiple die shrinks planned.
Is PIC12F1840-I/P in stock?
Yes, as of 2026-09-15 the PIC12F1840-I/P is shown as in stock at DigiKey (DigiKey part 2651357) and Mouser, with thousands of units available. Microchip's PIC12F1840 is in active production at the OSAT partner, and the lifecycle status is listed as ACTIVE on Microchip's product page. For high-volume orders, the recommended path is direct Microchip franchised distributor booking 12+ weeks ahead.
Where to download PIC12F1840-I/P datasheet PDF?
The official PIC12F1840-I/P datasheet (document 41441B) is available as a free PDF from Microchip at the URL https://ww1.microchip.com/downloads/en/DeviceDoc/41441B.pdf. The datasheet covers the full PIC12/LF1840 family, including the 8-PDIP, 8-SOIC, 8-DFN, and 8-MSOP packages. A redacted preliminary version may appear on datasheet aggregator sites, but the canonical copy is the one hosted on the ww1.microchip.com domain.
Where to find PIC12F1840-I/P pinout?
The PIC12F1840-I/P uses the 8-pin PDIP pinout: pin 1 VDD, pin 2 RA5, pin 3 RA4, pin 4 RA3/MCLR, pin 5 RC5, pin 6 RC4, pin 7 RC3, pin 8 VSS. The complete pin function table and per-pin alternate function assignments (ADC, PWM, MSSP) are given in section 2 of the 41441B datasheet. The XAIPART product page renders a labeled pinout diagram derived directly from the datasheet's TABLE 1-1: PIC12F1840 8-Pin Allocation Table.
What is the best drop-in replacement for PIC12F1840-I/P?
The best drop-in replacement for the PIC12F1840-I/P is the PIC12F1840-E/P, which shares the exact same 8-PDIP pinout, 7 KB flash, 32 MHz CPU, and XLP low-power features. The -E suffix denotes the extended (-40 C to +125 C) temperature grade; the -I/P is the industrial (-40 C to +85 C) grade. For pin-compatible migration with the same peripheral set, the PIC12F1822-I/P and PIC12F1572-I/P are also viable drop-in alternatives in the same 8-PDIP package.
Can PIC12F1840-E/P replace PIC12F1840-I/P directly?
Yes, the PIC12F1840-E/P is pin-to-pin drop-in compatible with the PIC12F1840-I/P in the 8-PDIP package, sharing identical flash (7 KB), EEPROM (256 B), SRAM (256 B), 32 MHz core, and 6 I/O pinout. The only difference is the operating temperature: -E is -40 C to +125 C, -I is -40 C to +85 C. For designs that stay within the industrial range, both parts are electrically and mechanically interchangeable without firmware changes.
PIC12F1840-I/P vs PIC12F1572-I/P - which is better for battery-powered IoT?
For battery-powered IoT sensor nodes, the PIC12F1840-I/P is the better choice because it offers 7 KB flash versus 3.5 KB on the PIC12F1572-I/P, more SRAM (256 vs 128 bytes), and a deeper 16-level hardware stack for richer state machines. Both parts share the 8-PDIP footprint and 32 MHz core, so the board layout is identical. The PIC12F1840 also adds CLC configurable logic cells and angular timer, useful for sensor-fusion pre-processing without waking the CPU.
When should I choose PIC12F1840-I/P over PIC12F1822-I/P?
Choose the PIC12F1840-I/P when you need CLC configurable logic cells, the angular timer, or more program memory than the 3.5 KB provided by the PIC12F1822-I/P. Both share the 8-PDIP package and 32 MHz core, but the PIC12F1840 is the superset part with 7 KB flash and 256 bytes SRAM versus 3.5 KB and 128 bytes on the PIC12F1822. The PIC12F1822 remains the right pick when the BOM cost per unit is the dominant design driver for a simple timing or PWM application.
Is the PIC12F1840-I/P suitable for automotive AEC-Q100 designs?
The PIC12F1840-I/P is industrial grade (-40 C to +85 C) and is NOT AEC-Q100 qualified. For AEC-Q100 designs, you must use the automotive-grade PIC12F1840 variant with a -I automotive suffix. Industrial parts can be used in non-safety automotive subsystems (body control, comfort) only when the OEM approves the deviation, but never in safety-critical ECUs such as airbag, ABS, or EPS controllers. Always validate the exact part number suffix with Microchip's automotive part selector.

Engineering reference data for PIC12F1840-I/P — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC12F1840-I/P when you need a feature-rich 8-pin through-hole MCU for industrial-grade (85 C) designs: battery-powered IoT sensors, IR remote controls, LED dimmers, hobbyist kits, and 4-20 mA industrial conditioning. The 7 KB flash, 256 B RAM, 32 MHz CPU, and nanoWatt XLP sleep currents below 50 nA make it the most capable PIC12 in the 8-PDIP package. Switch to PIC12F1840-E/P for extended 125 C temperature or PIC12F1840-E/SN for surface-mount SOIC-8; both share the same die. Downgrade to PIC12F1822-I/P (3.5 KB) when cost dominates and you do not need CLCs or angular timers. Choose PIC12F1572-I/P if you specifically need 16-bit PWM for proportional valve/lighting control. The PIC12F1501-I/P is the cost-optimized pick for fixed-function appliances that fit in 1.75 KB.

Comparison with Alternatives

Parameter This Product PIC12F1840-E/P PIC12F1840-E/SN PIC12F1840-E/MF PIC12F1822-I/P PIC12F1572-I/P PIC12F1501-I/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package PDIP-8 PDIP-8 - same SOIC-8 DFN-8 PDIP-8 - same PDIP-8 - same PDIP-8 - same
Flash Memory 7 KB 7 KB 7 KB 7 KB 3.5 KB (-50%) 3.5 KB (-50%) 1.75 KB (-75%)
Data SRAM 256 B 256 B 256 B 256 B 128 B (-50%) 128 B (-50%) 64 B (-75%)
Maximum CPU Speed 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz 32 MHz 20 MHz
Operating Voltage 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V 1.8 V to 5.5 V
I/O Pins 6 6 6 6 6 6 6
ADC 10-bit, 4 ch 10-bit, 4 ch 10-bit, 4 ch 10-bit, 4 ch 8-bit, 4 ch 10-bit, 4 ch 10-bit, 4 ch
Low-Power Technology nanoWatt XLP nanoWatt XLP nanoWatt XLP nanoWatt XLP nanoWatt XLP nanoWatt XLP nanoWatt XLP
Operating Temperature -40 C to +85 C -40 C to +125 C -40 C to +125 C -40 C to +125 C -40 C to +85 C -40 C to +85 C -40 C to +85 C
1k Piece Price (USD, as of 2026-09-15) 0.85 0.95 0.95 0.95 0.78 0.82 0.70

Key Differentiators

  • Largest flash memory in 8-pin PIC12 family (vs PIC12F1822-I/P)
  • Highest 8-bit CPU speed in industrial grade (vs PIC12F1501-I/P)
  • Drop-in upgrade from legacy PIC12F675/PIC12F683 (vs PIC12F675-I/P)

Design Notes

Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 1) and a 10 uF bulk capacitor on the same node to suppress switching transients when the internal charge pump or PWM driver switches. The PIC12F1840-I/P draws only 20 nA typical in Sleep mode but jumps to several mA when active; the bulk cap prevents the supply rail from sagging during fast wake-and-sleep cycles. For battery designs, place a 1 MOhm pull-up on MCLR to limit quiescent draw to the absolute minimum.

Route the ICSP signals (ICSPDAT on RC4/RC5, ICSPCLK on RC3) away from high-frequency switching nodes to prevent programming failures in-circuit. The 8-PDIP package allows standard 0.1 inch prototyping headers, but production layouts should still use wide ground traces around VSS (pin 8) and provide a solid ground pour. Estimated: with a 2-layer 1 oz copper board, the ground-pour thermal resistance is approximately 80 C/W, more than enough for the 100 mW maximum dissipation of this part.

Do not leave the MCLR/RA3 pin (pin 4) floating - it is the only input-only pin and is sampled during reset. A 10 kOhm pull-up to VDD is required for normal operation; for ICSP programming, the programmer drives this pin high. A second common pitfall is configuring the ADC channel on a digital output pin - the PIC12F1840's analog pins must be explicitly set to analog mode via the ANSEL register, or the digital input buffer will load the signal and skew ADC readings.

Compliance Information

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

RoHS compliant per Microchip product page. Not AEC-Q100 qualified - industrial grade only; for AEC-Q100 work use the automotive-suffixed PIC12F1840 variant. Code protection covered by Microchip Low Pin Count Patent US 5,847,450.

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

Related Searches

PIC12F1840-I/P PIC12F1840 datasheet Microchip PIC12F1840 8 pin PIC microcontroller 32MHz PDIP-8 MCU with XLP nanoWatt PIC12F1840 battery powered sensor PIC12F1840 vs PIC12F1822 PIC12F1840 drop-in replacement PIC12F1840-I/P buy price 1000 what is the flash size of PIC12F1840 PIC12F1840 pinout PDIP-8 low power 8-bit MCU 20nA sleep

Related Components & Terms

Microchip Technology PIC12F1840 PIC12F1840-I/P PIC12F1840-E/P PIC12F1840-E/SN PIC12F1822 PIC12F1572 PIC12F1501 PIC12F675 microcontroller MCU 8-bit PIC RISC architecture enhanced mid-range core nanoWatt XLP PDIP-8 SOIC-8 DFN-8 Flash memory EEPROM SRAM 10-bit ADC EUSART MSSP I2C SPI PWM ICSP RoHS AEC-Q100 PICkit MPLAB XC8
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