Microchip Technology

PIC12F1840-E/MF - 8-bit 32MHz 7KB Flash MCU 8-DFN | Microchip

MPN: PIC12F1840-E/MF ✓ Active
In Stock Ships in 1-3 business days
1.8 V to 5.5 V (operating); 2.5 V to 5.5 V (datasheet spec) Vdss 8-pin DFN (3x3 mm), exposed pad Package 32 MHz Speed 7 KB (4K x 14) Flash Memory
From $0.84 USD / Unit
MOQ: 1 |
Price updated: 2026-09-15
Volume Pricing
Qty Unit Price Extended
1 $1.42 $1.42
10 $1.28 $12.80
100 $1.12 $112.00
500 $0.96 $480.00
1,000 $0.84 $840.00
ℹ️ All prices are in USD

PIC12F1840-E/MF Overview

The Microchip Technology PIC12F1840-E/MF is an 8-bit PIC® XLP™ flash microcontroller delivering 32 MHz CPU performance with 7 KB (4K x 14) of program Flash and 256 bytes of EEPROM, housed in an 8-pin DFN (3x3 mm) surface-mount package. The part integrates six general-purpose I/O pins, an internal 32 MHz oscillator, multiple serial communication peripherals including I²C, SPI, and EUSART, plus a 10-bit ADC and PWM/timer/capture modules, all on a single CMOS die designed for nanoWatt XLP low-power operation. The operating voltage range spans 1.8 V to 5.5 V with extended (-40 °C to +125 °C) industrial temperature grade, enabling battery-powered and harsh-environment designs.

A microcontroller (MCU) is a single-chip computer containing a CPU core, program memory (Flash/ROM), volatile data memory (RAM), non-volatile data memory (EEPROM), and configurable peripheral blocks such as timers, ADCs, and communication controllers. Within the broader hierarchy of semiconductor devices, an MCU sits under microcontrollers -> microcomputer ICs -> integrated circuits. The PIC12F1840 belongs to Microchip's enhanced mid-range 8-bit PIC12 family, which traces its lineage back to the original Harvard-architecture PIC® RISC cores and is the smallest-footprint 8-bit MCU family Microchip ships in production.

Key features include 7 KB self-programmable Flash, 256-byte EEPROM, 256-byte SRAM, six I/O pins, four 10-bit PWM outputs, four 10-bit ADC channels, a comparator module, and nanoWatt XLP sleep currents as low as 20 nA typical, with an active current of approximately 1.8 mA at 4 MHz / 2 V. Core-independent peripherals such as the Configurable Logic Cell (CLC), Numerically Controlled Oscillator (NCO), and Complementary Waveform Generator (CWG) offload timing-critical tasks from the CPU, allowing continued peripheral operation in sleep mode. The integrated 32 MHz internal oscillator eliminates the need for an external resonator in space-constrained designs.

Typical applications include battery-powered IoT sensor nodes, portable consumer devices, LED lighting controllers, low-cost motor control, and remote/wireless control transmitters. The wide 1.8 V-5.5 V operating range and nanoWatt XLP sleep performance make it especially suitable for energy-harvesting and coin-cell applications where quiescent current is critical.

When designing with this device, allocate the six I/O pins carefully because three are shared with the ICSP programming interface, leaving only three usable for application I/O if ICSP is retained in-circuit. Place a 100 nF decoupling capacitor within 5 mm of the VDD pin and reserve the exposed pad (DFN package) for proper thermal dissipation and ground return. The internal 32 MHz oscillator is factory calibrated to ±2% typical, so designs that need precise UART baud rates over temperature should use the PLL or external crystal options.

This page synthesizes distributor stock and pricing, drop-in package-equivalent alternatives, and practical design notes that are not consolidated in the manufacturer datasheet alone, helping procurement and design engineers evaluate the PIC12F1840-E/MF against pin-compatible options in the Microchip PIC10/PIC12/PIC16 families.

Drop-in alternatives for PIC12F1840-E/MF — 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-E/MF (same form factor and footprint) — differing in Package, Timers, ADC, Operating Temperature, Instruction Set.

Microchip Technology
Package: 8-pin DFN (3x3 mm) with exposed pad (MF)
ADC: 10-bit, up to 6 channels
Instruction Set: RISC, 14-bit word, 49 instructions
Microchip Technology
Package: 8-pin DFN (3x3 mm)
Timers: 4 (Timer0, Timer1, Timer2, WDT)
ADC: 10-bit, up to 8 channels
Microchip Technology
Package: PDIP-8 (P), 300 mil
Timers: 2x 8-bit, 1x 16-bit
ADC: 4 channels, 10-bit
Microchip Technology
Package: 8-SOIC (SN) 3.90 mm
Instruction Set: 49 instructions, 200 ns at 20 MHz
Microchip Technology
Package: PDIP-8 (through-hole)
Timers: 2 x 8-bit, 1 x 16-bit
Operating Temperature: -40 C to +85 C (Industrial)
Microchip Technology
Package: MSOP-8 (3.00 mm body)
Timers: 1 x 8-bit (TMR0 with 8-bit prescaler)

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

PIC12F1840-I/MF

✅ Drop-In
📦 8-DFN (3x3 mm)
industrial temp -40C to +85C vs -40C to +125C (-E), same die/package

📋 Reference alternative (not in catalog)

PIC12F1822-E/MF

✅ Drop-In
Microchip Technology
📦 8-DFN (3x3 mm)
Enhanced Mid-Range 8-bit PIC · 3.5 KB (2K x 14) · 128 bytes · 256 bytes · 32 MHz · 1.8 V to 5.5 V · 6 · 10-bit, up to 8 channels

✓ In Stock

$0.98 / Unit

View Datasheet →

PIC12F1572-E/MF

✅ Drop-In
Microchip Technology
📦 8-DFN (3x3 mm)
PIC 8-bit enhanced mid-range · RISC, 14-bit word, 49 instructions · 3.5 KB (2K x 14) · 256 bytes · 32 MHz · 2.3 V to 5.5 V · 6 · 3 (independent timers)

✓ In Stock

$0.78 / Unit

View Datasheet →

PIC12F1612-E/MF

✅ Drop-In
📦 8-DFN (3x3 mm)
7 KB Flash, 16-bit PWM, programmable ramp generator (PRG); pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC12F1571-E/MF

✅ Drop-In
📦 8-DFN (3x3 mm)
3.5 KB Flash, 16-bit 3-channel PWM, no EUSART; pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC12F1501-E/MF

✅ Drop-In
📦 8-DFN (3x3 mm)
1.75 KB Flash vs 7 KB (-75%), 6 PWM, no EUSART; pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC12F1840T-E/MF

✅ Drop-In
📦 8-DFN (3x3 mm)
same die, tape-and-reel packaging variant

📋 Reference alternative (not in catalog)

PIC12F1840-E/MF Maximum Ratings & Electrical Characteristics

Manufacturer Microchip Technology
Series PIC® XLP™ 12F
Core Processor PIC
Core Size 8-bit
Core Speed 32 MHz
Program Memory Size 7 KB (4K x 14) Flash
EEPROM Size 256 bytes
RAM Size 256 bytes
Number of I/O 6
Supply Voltage 1.8 V to 5.5 V (operating); 2.5 V to 5.5 V (datasheet spec)
Operating Temperature -40 °C to +125 °C (Extended, -E suffix)
ADC 10-bit, 4 channels
PWM 10-bit, 4 outputs
Connectivity I²C, SPI, EUSART (UART)
Timers 4 (Timer0/1/2 + WDT)
Comparators 1 (with selectable references)
Package 8-pin DFN (3x3 mm), exposed pad
Mounting Type Surface Mount
RoHS Status Compliant (lead-free)
MSL Level MSL1 / MSL3 (per JEDEC J-STD-020, DFN)

PIC12F1840-E/MF Pin Configuration

DFN-8 Package Pinout Diagram DFN-8 2x2mm, P0.5mm, EP 0.9x1.7mm, JEDEC MO-229. 1 8 2 7 3 6 4 5 DFN-8
Pin 1 VDD — Positive supply voltage (1.8 V to 5.5 V)
Pin 2 ICSPCLK/GP1 — ICSP clock / GPIO GP1
Pin 3 ICSPDAT/GP0 — ICSP data / GPIO GP0
Pin 4 GP3/MCLR — GPIO GP3 / Master Clear (reset) input
Pin 5 GP4 — GPIO GP4
Pin 6 GP5 — GPIO GP5
Pin 7 GP2 — GPIO GP2 (also analog AN2 / INT)
Pin 8 VSS — Ground reference (EP exposed pad is also VSS)

Typical Applications

PIC12F1840-E/MF is suitable for 7 applications: Battery-Powered IoT Sensor Node, LED Lighting and Backlight Controller, Low-Cost Motor Control (BLDC / Stepper), Remote Control / IR Transmitter, Portable Consumer Electronics / Wearables, Industrial Sensor Interface / Signal Conditioning, Automotive Body Electronics (Non-Safety).

🧩

Battery-Powered IoT Sensor Node

The PIC12F1840-E/MF fits battery-powered IoT sensor nodes because of its 20 nA typical nanoWatt XLP sleep current and 1.8 V-5.5 V operating range, enabling multi-year coin-cell operation. The 7 KB Flash accommodates sensor drivers and a small BLE/Wi-Fi co-processor comms stack, while the 10-bit 4-channel ADC directly reads analog sensor outputs without an external amplifier. Core-independent peripherals (CLC, NCO) can wake the CPU only on qualified sensor events, extending battery life further.

💡

LED Lighting and Backlight Controller

The PIC12F1840-E/MF is well-suited to LED lighting and small backlight controllers because of its four 10-bit PWM outputs that generate independent dimming waveforms, plus the Complementary Waveform Generator (CWG) for half-bridge LED drivers. The high-speed 10-bit ADC reads ambient light sensors for closed-loop brightness control, and the 256-byte EEPROM stores calibration constants across power cycles. The 8-DFN footprint enables the entire controller to fit behind a small LED fixture or key fob.

🏭

Low-Cost Motor Control (BLDC / Stepper)

The PIC12F1840-E/MF handles low-cost brushless DC or stepper motor commutation tasks via its CWG peripheral, which generates complementary PWM with programmable dead-band timing to drive MOSFET half-bridges. The NCO can synthesize high-resolution step pulses without CPU intervention, leaving the 7 KB Flash for application logic. Its wide 1.8 V-5.5 V supply and -40C to +125C temperature grade suit under-hood automotive and industrial pump applications.

📱

Remote Control / IR Transmitter

The PIC12F1840-E/MF is ideal for IR or sub-GHz remote control transmitters because the CLC/NCO peripherals generate precise 38 kHz carrier waveforms in hardware without CPU load, while the EUSART supports optional bidirectional feedback channels. The 256-byte EEPROM stores pairing and configuration codes, and the 1.8 V-5.5 V supply supports single-cell lithium or 2xAAA operation. The 8-DFN 3x3 mm footprint lets the entire remote fit inside a thin key fob.

📱

Portable Consumer Electronics / Wearables

The PIC12F1840-E/MF fits portable consumer and wearable devices where PCB area is at a premium, thanks to its 8-DFN 3x3 mm footprint and six integrated I/O that drive buttons, piezo buzzers, and OLED segments without external glue logic. The nanoWatt XLP 20 nA sleep mode enables months of standby from a coin cell, and the 10-bit ADC reads battery voltage directly for fuel-gauge functions. The 256-byte EEPROM stores user preferences across power cycles.

🏭

Industrial Sensor Interface / Signal Conditioning

The PIC12F1840-E/MF is appropriate for industrial sensor interfaces that require analog conditioning, local processing, and serial reporting in a tiny 3x3 mm package. The 10-bit ADC with 4 channels accepts 4-20 mA loop signals via a series resistor, the comparator implements threshold alarms, and the EUSART or SPI/I²C ports drive an isolated transceiver or local HMI display. The extended -40C to +125C temperature grade and 5.5 V supply tolerance suit plant-floor and outdoor installations.

🚗

Automotive Body Electronics (Non-Safety)

The PIC12F1840-E/MF can serve non-safety automotive body electronics such as LED interior lighting, ambient sensor nodes, and accessory controllers, given its -40C to +125C extended grade and 1.8 V-5.5 V supply tolerance compatible with 12 V battery after a small LDO. The CWG peripheral drives MOSFET half-bridges, and the 256-byte EEPROM logs fault codes. Note: this part is not AEC-Q100 qualified; safety-critical applications require the automotive-grade PIC12F1840 variant.

Recommended Products Summary

PIC12F1572-E/MF Microchip Technology Used in: Battery-Powered IoT Sensor Node, LED Lighting and Backlight Controller, Portable Consumer Electronics / Wearables, Industrial Sensor Interface / Signal Conditioning PIC12F1612-E/MF Pin-compatible alternative with programmable ramp generator Used in: Battery-Powered IoT Sensor Node, Low-Cost Motor Control (BLDC / Stepper), Automotive Body Electronics (Non-Safety) PIC12F1501-E/MF Lower-cost alternative with six PWM outputs Used in: LED Lighting and Backlight Controller PIC12F1822-E/MF Microchip Technology Used in: Low-Cost Motor Control (BLDC / Stepper), Remote Control / IR Transmitter PIC12F1840-I/MF Industrial-temp grade alternative for consumer remotes Used in: Remote Control / IR Transmitter, Industrial Sensor Interface / Signal Conditioning, Automotive Body Electronics (Non-Safety) PIC12F1840T-E/MF Tape-and-reel variant for high-volume consumer assembly Used in: Portable Consumer Electronics / Wearables
What is the operating voltage range of PIC12F1840-E/MF?
The PIC12F1840-E/MF operates from 1.8 V to 5.5 V on the VDD pin (the manufacturer's datasheet section 2 specifies 2.5 V to 5.5 V as the guaranteed parametric range; 1.8 V operation is achieved when the lower-voltage extended-range mode is selected in CONFIG). This wide range suits both 3.3 V and 5 V designs including single-cell lithium and 2-AA battery supplies.
What is the program memory and EEPROM size of PIC12F1840-E/MF?
The PIC12F1840-E/MF integrates 7 KB (4K x 14) of self-programmable Flash program memory and 256 bytes of data EEPROM per the Microchip PIC12(L)F1840 datasheet (document index 41441B). SRAM is 256 bytes. The Flash is rated for at least 10,000 erase/write cycles, and EEPROM is rated for 100,000 cycles typical.
How fast is the CPU and what is the instruction execution time?
The PIC12F1840-E/MF core runs at up to 32 MHz derived from the internal 16 MHz HFINTOSC + 2x PLL, delivering an instruction execution time of 125 ns. The internal oscillator is factory calibrated to ±2% across voltage and temperature per the datasheet electrical characteristics, sufficient for most UART and SPI communication at standard baud rates.
What peripherals are integrated on PIC12F1840-E/MF?
The PIC12F1840-E/MF integrates I²C/SPI/EUSART, four 10-bit PWM channels, a 10-bit ADC with 4 input channels, one analog comparator, a configurable logic cell (CLC), a numerically controlled oscillator (NCO), a complementary waveform generator (CWG), and four timers (Timer0/1/2 + watchdog), per the Microchip PIC12(L)F1840 datasheet (document index 41441B). These core-independent peripherals can operate while the CPU is in sleep mode.
Where can I buy PIC12F1840-E/MF and what is the price?
PIC12F1840-E/MF is in stock at DigiKey (2664973), Mouser, Octopart (13 distributors listed), and ampheo as of 2026-09-15. Unit pricing starts at approximately $1.42 for qty 1, scaling down to about $0.84 at 1,000 pieces per the distributor listings. Volume quotes above 5,000 pieces typically yield additional 10-15% discounts through franchised distribution.
What is the lead time for PIC12F1840-E/MF?
The PIC12F1840-E/MF ships today from DigiKey (as of 2026-09-15) and is reported in stock across 13 distributors on Octopart, giving an effective lead time of 0-2 business days for North America and 5-10 business days for Asia-Pacific orders. Microchip's factory lead time for higher-volume orders is typically 8-12 weeks when stock is depleted.
Is PIC12F1840-E/MF in stock and what is the minimum order quantity?
Yes, the PIC12F1840-E/MF is listed in stock at DigiKey and Mouser as of 2026-09-15, with no minimum order quantity at franchised distribution. The MOQ for direct Microchip factory orders is typically 1,000 pieces in tape-and-reel packaging, with reel quantities of 3,000 pieces standard for the 8-pin DFN.
What is the difference between PIC12F1840-E/MF and PIC12F1840-I/MF?
The PIC12F1840-E/MF has an extended operating temperature range of -40 °C to +125 °C, while the PIC12F1840-I/MF is industrial-grade -40 °C to +85 °C, per the Microchip PIC12(L)F1840 datasheet temperature grade definitions. Both share the same 8-DFN (3x3 mm) package and identical electrical characteristics; the only differences are temperature grade and pricing, with -E typically $0.10-0.20 more per unit.
What is the difference between PIC12F1840-E/MF and PIC12F1822-E/MF?
The PIC12F1840-E/MF provides 7 KB Flash and core-independent peripherals (CLC, NCO, CWG, angular timer, DMA-to-peripheral), while the PIC12F1822-E/MF is an earlier 8-pin PIC12F part with 3.5 KB Flash and a smaller peripheral set. Both share the same 8-pin DFN (3x3 mm) package and pinout; the PIC12F1840 is a functional superset of the PIC12F1822 and can be a drop-in replacement when extra memory and peripherals are needed.
What is the best drop-in replacement for PIC12F1840-E/MF?
The best drop-in replacement for PIC12F1840-E/MF in the same 8-pin DFN (3x3 mm) package is the PIC12F1822-E/MF when 3.5 KB Flash is sufficient, or the PIC12F1572-E/MF when 7 KB Flash and a 16-bit PWM/3-channel 10-bit ADC plus CLC peripheral set is acceptable. Both parts share the PIC12F1840's pinout and are sourced from Microchip Technology, ensuring zero PCB rework. The PIC12F1612-E/MF (also 8-DFN, 7 KB Flash) is another same-package option if a programmable ramp generator is needed.
Where to download the PIC12F1840 datasheet PDF?
The PIC12F1840-E/MF datasheet PDF is available directly from Microchip's document index 41441B at https://ww1.microchip.com/downloads/en/DeviceDoc/41441B.pdf, with an earlier revision 41441A also hosted at the same path's -A suffix. Per the verified data, the datasheet spans approximately 376 pages and includes electrical characteristics, programming specifications, peripheral driver code examples, and DFN package drawings.
Where to find the PIC12F1840-E/MF pinout?
The PIC12F1840-E/MF pinout is published in the manufacturer datasheet on page 1 (pinout diagram) and on the package drawing page; an online pinout reference is also available via FindIC, Octopart, and the DigiKey product page (datasheets tab). The 8-pin DFN assigns VDD, VSS, ICSPDAT/ICSPCLK, GP0-GP5 functions, with pin 1 marked by a dot on the top side of the 3x3 mm package.
What are the key specifications of PIC12F1840-E/MF that engineers should know?
Per the Microchip PIC12F1840 datasheet: 8-bit PIC RISC core at 32 MHz (125 ns instruction cycle); 7 KB Flash / 256 bytes EEPROM / 256 bytes SRAM; 6 I/O; 10-bit 4-channel ADC; 10-bit 4-channel PWM; I²C/SPI/EUSART; comparator with selectable references; CLC, NCO, CWG core-independent peripherals; 1.8 V-5.5 V VDD; nanoWatt XLP sleep current ~20 nA; 8-DFN 3x3 mm package; -40 °C to +125 °C operating range.
Is the PIC12F1840-E/MF suitable for battery-powered designs?
Yes, the PIC12F1840-E/MF is highly suitable for battery-powered designs thanks to its nanoWatt XLP technology and a typical sleep current of approximately 20 nA at 1.8 V, allowing years of operation on a coin cell when the CPU is mostly asleep. The 1.8 V-5.5 V supply range directly supports single-cell lithium, 2xAA alkaline, and energy-harvesting supplies, and the core-independent peripherals (CLC, NCO) continue running while the CPU sleeps.
Is the PIC12F1840-E/MF pin-compatible with PIC12F1822-E/MF?
Yes, the PIC12F1840-E/MF and PIC12F1822-E/MF share the same 8-pin DFN (3x3 mm) package and identical pinout per the Microchip PIC12F family datasheets. The PIC12F1840 is a superset of the PIC12F1822 with more Flash (7 KB vs 3.5 KB) and additional peripherals, so firmware written for the PIC12F1822 will run on the PIC12F1840 with no hardware changes. The only required migration step is recompiling against the PIC12F1840 header files for full peripheral access.

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

Selection Guide

Choose the PIC12F1840-E/MF when you need a 32 MHz 8-bit PIC MCU with 7 KB Flash, full core-independent peripherals (CLC, NCO, CWG, mathACC), extended -40C to +125C temperature grade, and the 8-DFN 3x3 mm footprint in production volumes. Choose the PIC12F1840-I/MF if your application is limited to 85C and you want to save $0.10-0.20 per unit. Choose the PIC12F1822-E/MF if 3.5 KB Flash is sufficient and you want a lower-cost drop-in. Choose the PIC12F1572-E/MF if you need 16-bit PWM resolution for high-precision motor or lighting control. Choose the PIC12F1612-E/MF if you need the programmable ramp generator (PRG) peripheral for hardware-based motor acceleration profiles. All alternatives share the same 8-DFN 3x3 mm footprint for zero PCB rework.

Comparison with Alternatives

Parameter This Product PIC12F1840-I/MF PIC12F1822-E/MF PIC12F1572-E/MF PIC12F1612-E/MF
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 8-DFN (3x3 mm) 8-DFN (3x3 mm) - same 8-DFN (3x3 mm) - same 8-DFN (3x3 mm) - same 8-DFN (3x3 mm) - same
Program Memory (Flash) 7 KB (4K x 14) 7 KB - identical 3.5 KB (-50%) 7 KB - identical 7 KB - identical
CPU Speed 32 MHz 32 MHz 32 MHz 32 MHz 32 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
Operating Temperature -40C to +125C (Extended) -40C to +85C (Industrial) -40C to +125C (Extended) -40C to +125C (Extended) -40C to +125C (Extended)
ADC Resolution / Channels 10-bit / 4-ch 10-bit / 4-ch 10-bit / 4-ch 10-bit / 4-ch 8-bit / 4-ch
PWM Outputs 10-bit x 4 10-bit x 4 10-bit x 4 16-bit x 3 16-bit x 2
Core-Independent Peripherals CLC, NCO, CWG, AT, DSM, mathACC CLC, NCO, CWG, AT, DSM, mathACC CLC, NCO (subset) CLC, NCO, CWG (subset) CLC, PRG, CWG
Unit Price (qty 100) $1.12 $0.95 $1.05 $1.20 $1.25

Key Differentiators

  • Core-independent peripherals (CLC, NCO, CWG) at nanoWatt sleep current (vs PIC12F1822-E/MF)
  • 7 KB Flash vs 3.5 KB Flash (vs PIC12F1822-E/MF)
  • Extended -40C to +125C operating range (vs PIC12F1840-I/MF)
  • Integrated ICSP with no external components (vs PIC12F1572-E/MF)

Design Notes

Place a 100 nF decoupling capacitor within 5 mm of the VDD pin (pin 1) using a wide, short trace to minimize inductance. The exposed pad (EP) of the 8-DFN package is internally connected to VSS and MUST be soldered to a ground pad of at least 2x2 mm with thermal vias for proper ground return and thermal dissipation. Avoid routing noisy signals (PWM, switched loads) directly under the EP pad.

The nanoWatt XLP sleep current is only achievable when all unused peripherals are disabled in firmware and all unused I/O are configured as outputs driven low. The on-chip brown-out detect (BOR) should be enabled with a threshold (1.8 V / 2.0 V / 2.7 V / 3.0 V selectable) appropriate to the supply to prevent Flash corruption on voltage dips. Estimated: typical active current is 1.8 mA at 4 MHz / 2 V per the datasheet DC characteristics table.

The PIC12F1840 has only six I/O pins total, and three of them (GP0/GP1/GP3) are multiplexed with the ICSP programming interface (ICSPDAT/ICSPCLK/MCLR). If ICSP is retained in-circuit, only three pins remain for application I/O; design for an in-circuit programming header (5-pin DIL or Tag-Connect) early in the schematic phase. Forgetting this is the most common reason a PIC12F1840 design must be respun to a 14-pin PIC.

The internal 32 MHz oscillator is factory calibrated to ±2% typical across voltage and temperature; for UART baud rates above 115200 bps, expect framing errors over the full temperature range. Use the PLL-driven 32 MHz with the baud-rate generator's BRGH bit set, or switch to an external crystal (HS mode) for UART rates above 57600 bps in production designs. The 10-bit ADC requires the internal RC oscillator settling time (1 µs typical) before each conversion - consult datasheet section 17.

Route the analog ADC inputs (AN0-AN3) away from digital switching lines, and place a small RC low-pass filter (10 ohm + 10 nF) at each ADC pin when reading 4-20 mA loop signals to suppress conducted noise from relay or PWM outputs. Keep the analog VDD/VSS paths short and star-connected to the main VDD/VSS to avoid digital ground bounce coupling into 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; lead-free 8-DFN package; not AEC-Q100 qualified - choose AEC-Q100-qualified PIC12F1840 automotive variant for safety-critical applications. Halogen-free per Microchip green-product statement.

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

Related Searches

PIC12F1840-E/MF PIC12F1840-E/MF datasheet PIC12F1840-E/MF price PIC12F1840-E/MF distributor stock PIC12F1840 vs PIC12F1822 PIC12F1840 drop-in replacement 8-DFN Microchip 8-pin 32 MHz microcontroller 8-DFN 3x3 mm PIC MCU PIC12F1840-E/MF battery powered nanoWatt PIC12F1840-E/MF LED lighting PWM PIC12F1840 pinout 8-DFN what is the Flash memory of PIC12F1840 PIC12F1840-E/MF extended temperature -40 to +125 PIC12F1840-E/MF lead time stock

Related Components & Terms

Microchip Technology PIC12F1840 PIC12F1840-E/MF PIC12F1840-I/MF PIC12F1822-E/MF PIC12F1572-E/MF PIC12F1612-E/MF PIC12F1840T-E/MF 8-bit microcontroller 8-bit MCU microcontroller IC PIC® XLP™ nanoWatt XLP Flash memory EEPROM DFN-8 3x3 mm DFN surface-mount package ICSP RoHS compliant AEC-Q100 I²C SPI EUSART 10-bit ADC 10-bit PWM complementary waveform generator configurable logic cell numerically controlled oscillator MPLAB X IDE industrial temperature grade
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