Microchip Technology

PIC12LF1840-E/P - 7KB Flash 8-Bit MCU, 32MHz, XLP | Microchip

Артикул: PIC12LF1840-E/P ✓ Активен
В наличии Отправка в течение 1–3 рабочих дней
1.8 V to 3.6 V Vdss nanoWatt XLP technology (typical <1 uA) Id 8-pin PDIP (P) Package 32 MHz (200 ns instruction cycle) Speed 7 KB (4K x 14) Memory
От $1.07 USD / шт.
MOQ: 1 |
Цена обновлена: 2026-09-16
Оптовые цены
Кол-во Цена за ед. Итого
1 $1.62 $1,62
10 $1.46 $14,60
100 $1.31 $131,00
500 $1.18 $590,00
1.000 $1.07 $1.070,00
ℹ️ Все цены указаны в USD

PIC12LF1840-E/P Обзор

The Microchip Technology PIC12LF1840-E/P is an 8-bit PIC® XLP™ 12F microcontroller featuring 7KB (4K x 14) Flash program memory, 256 bytes of EEPROM, and 256 bytes of SRAM, packaged in an 8-pin PDIP through-hole format. It operates from 1.8V to 3.6V and integrates a 32MHz internal oscillator, delivering up to 32MHz CPU performance (200 ns instruction cycle) while consuming only nanoWatt XLP sleep currents. The part is qualified to the extended (-40C to +125C) temperature grade as denoted by the "-E" suffix.

An 8-bit microcontroller (MCU) is a small computer-on-a-chip integrating a CPU, RAM, non-volatile program memory, and peripherals on a single die. Within the broader taxonomy, the PIC12LF1840 belongs to: 8-bit PIC MCU -> enhanced mid-range (XLP) PIC12 family -> PIC PIC12F -> flash microcontroller -> microcontroller -> semiconductor. Its XLP (eXtreme Low Power) technology provides sub-microamp sleep currents, making the PIC12LF1840 a strong choice when battery life dominates the design trade-off.

Key differentiating features include four 10-bit ADC channels (with computation), two PWM modules, an EUSART, an MSSP (I2C/SPI) module, two comparators, and a data signal modulator. Peripherals are routed through Microchip's Peripheral Pin Select (PPS) for flexible I/O mapping. Internal oscillator accuracy is +/-2% across voltage and temperature, eliminating the need for an external crystal in most designs.

The PIC12LF1840 implements an enhanced mid-range 14-bit instruction set architecture (200 ns per instruction at 32 MHz) with a hardware multiplier and a vectored interrupt controller supporting context save/restore. The integrated Core Independent Peripherals (CIPs) - including the CWG, NCO, and DSM blocks - allow complex signal generation and modulation without CPU intervention, freeing the 8-bit core for application logic.

Typical applications include battery-powered sensor nodes, low-end remote controls, LED lighting controllers, IoT edge nodes, and consumer appliances where cost, footprint, and ultra-low sleep current dominate the BOM. The 8-pin PDIP package also makes it a popular choice for hobbyist, education, and breadboard-friendly prototypes using the MPLAB PICkit 5 in-circuit debugger.

When designing with this device, observe absolute maximum VDD of 4.0V (operate within 1.8-3.6V) and ensure I/O sink/source ratings (25 mA per pin, 90 mA per port) are respected. Decouple VDD with at least 0.1uF ceramic placed within 5 mm of the supply pin, and leave MCLR unbonded when not used as a reset input.

This page synthesizes verified distributor pricing, drop-in pin-compatible alternatives within the PIC12 family, and practical design notes not collected in the manufacturer datasheet.

Аналоги без доработки для PIC12LF1840-E/P — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.

Варианты в этой серии

Модели той же серии, совместимые без доработки с PIC12LF1840-E/P (тот же форм-фактор и посадочное место) — отличается по ADC, Maximum CPU Speed, Package, Program Memory (Flash), Timers.

Microchip Technology
ADC: 4 channels, 10-bit
Maximum CPU Speed: 32 MHz (8 MIPS)
Package: PDIP-8 (P), 300 mil
Microchip Technology
ADC: 10-bit, 4 channels
Maximum CPU Speed: 32 MHz
Package: PDIP-8 (through-hole)

Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:

PIC12LF1840-I/P

✅ Прямая замена
📦 8-pin PDIP
same die and pinout, industrial -40 to +85 C temp grade (vs -40 to +125 C E grade)

📋 Справочный аналог (нет в каталоге)

PIC12F1840-E/P

✅ Прямая замена
Microchip Technology
📦 8-pin PDIP
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

✓ В наличии

$1.05 / шт.

Открыть даташит →

PIC12F1840-I/P

✅ Прямая замена
Microchip Technology
📦 8-pin PDIP
PIC 8-bit enhanced mid-range · 7 KB (4K x 14 words) · 256 bytes · 256 bytes · 32 MHz · 1.8 V to 5.5 V · 6 · 10-bit, 4 channels

✓ В наличии

$0.85 / шт.

Открыть даташит →
ℹ️ 2 компонент(ы) в другом корпусе скрыт(ы) — другой корпус требует переработки PCB и не является полноценной заменой без доработки. Свяжитесь с нами если вам нужны предложения по другим корпусам.

PIC12LF1840-E/P Максимальные параметры и электрические характеристики

Core Architecture PIC enhanced mid-range 8-bit (14-bit instruction word)
Program Memory (Flash) 7 KB (4K x 14)
EEPROM 256 bytes
SRAM 256 bytes
Maximum CPU Speed 32 MHz (200 ns instruction cycle)
Operating Voltage (VDD) 1.8 V to 3.6 V
Диапазон рабочих температур -40 C to +125 C (Extended "-E" grade)
I/O Pins 6 (with PPS Peripheral Pin Select)
ADC 10-bit, up to 4 channels, with computation mode
PWM Modules 2 (10-bit)
Comparators 2
EUSART Yes (1 module)
MSSP (I2C/SPI) Yes
Internal Oscillator 31 kHz / 32 MHz selectable (+/-2%)
Timers 1 x 8-bit, 2 x 16-bit
Корпус 8-pin PDIP (P)
XLP Sleep Current nanoWatt XLP technology (typical <1 uA)
Lead-Free / RoHS Yes - Compliant
Programming/Debug MPLAB PICkit 5 (ICSP via PGD/PGC pins)

Конфигурация выводов PIC12LF1840-E/P

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
Контакт 1 VDD — Positive supply voltage (1.8 V to 3.6 V)
Контакт 2 RA5 — Bidirectional I/O / analog input / ICSPDAT
Контакт 3 RA4 — Bidirectional I/O / analog input / Timer0 gate
Контакт 4 RA3/MCLR/VPP — Bidirectional I/O / Master Clear reset (active-low) / programming voltage
Контакт 5 RC5 — Bidirectional I/O / analog input / PWM output
Контакт 6 RC4 — Bidirectional I/O / analog input / SDA
Контакт 7 RC3 — Bidirectional I/O / analog input / SCL
Контакт 8 VSS — Ground reference (0 V)

Типичное применение

PIC12LF1840-E/P подходит для 7 применениеs: Battery-Powered Wireless Sensor Node, Consumer Remote Control, LED Lighting Controller, Industrial Control and Sensor Conditioning, IoT Edge Node with Core Independent Peripherals, Hobbyist / Education Prototyping, Automotive Interior Lighting and Switch Module.

🧩

Battery-Powered Wireless Sensor Node

The PIC12LF1840-E/P fits battery-powered wireless sensor nodes because its nanoWatt XLP sleep current of typically <1 uA and 1.8 V minimum VDD let a coin cell run for years between replacements. The integrated 32 MHz oscillator eliminates the external crystal, and the 10-bit ADC with computation mode handles periodic sensor reads without waking the CPU. Place it as the local MCU between a low-power sensor (e.g., temperature or PIR) and a sub-GHz or BLE radio; its 256-byte SRAM is sufficient for packet buffering, and its EUSART/MSSP interfaces connect to most radios. Trade-off: only 6 usable I/O pins constrain simultaneous sensors plus radio control.

📱

Consumer Remote Control

The PIC12LF1840-E/P fits consumer IR remote controls because its 32 MHz core runs the IR carrier timer precisely while the EUSART handles the protocol encoding and the integrated comparators detect battery-low events. Its 8-pin PDIP through-hole package is easy to hand-solder for low-volume SKUs, and the 7 KB Flash accommodates multi-protocol learning remotes. Operate it from 2x AA cells (3.0 V nominal) with VDD held inside the 1.8-3.6 V window. The XLP sleep current extends shelf life to multi-year levels with no standby switch required.

💡

LED Lighting Controller

The PIC12LF1840-E/P fits LED lighting controllers because its two 10-bit PWM modules can drive two independent LED channels (warm-white + cool-white) or one RGB channel at 8-bit effective resolution after dithering. The MSSP module drives WS2812-style addressable LED strips via bit-banged SPI, while the CWG (Complementary Waveform Generator) handles high-side FET timing. Use it for low-cost, non-dimmable mains-isolated DC LED drivers that derive 3.3 V locally. Note that only 6 I/O pins are exposed - PWM and FET drive take most of them, leaving limited room for buttons or status LEDs.

🏭

Industrial Control and Sensor Conditioning

The PIC12LF1840-E/P fits industrial 4-20 mA loop and sensor-conditioning front ends because its 10-bit ADC with computation mode provides oversampling and averaging for low-frequency signals, and its two comparators handle threshold detection for alarms. The -E extended temperature grade (-40 to +125 C) covers most factory-floor environments including outdoor enclosures. Drive the MCU from a 3.3 V LDO fed by the loop or a 24 V industrial rail; the EUSART handles Modbus RTU over RS-485 transceivers. The 256-byte EEPROM stores calibration constants across power cycles without external storage.

🌐

IoT Edge Node with Core Independent Peripherals

The PIC12LF1840-E/P fits IoT edge nodes that need to respond to external events without waking the CPU because its Core Independent Peripherals (CIPs) - NCO, CWG, DSM - generate, modulate, and capture signals autonomously. Combined with PPS, this lets the part implement quadrature decoding, PWM dimming, or DCC signal generation in hardware, freeing the CPU to sleep. Use it for low-cost edge gateways bridging legacy industrial protocols to modern wireless transports. The trade-off vs larger PIC16/PIC18 parts is RAM (256 bytes) - only small packet buffers fit.

🔧

Hobbyist / Education Prototyping

The PIC12LF1840-E/P fits hobbyist and education prototyping because its 8-pin PDIP package fits a standard 0.300 inch DIP socket, breadboard, or through-hole perfboard - no fine-pitch soldering required. The MPLAB PICkit 5 ICSP connects to PGD (pin 1) and PGC (pin 8 area, via ICSPDAT/ICSPCLK) for in-circuit programming. With 7 KB Flash, students can build real applications (LED chaser, servo driver, UART echo) while learning the enhanced mid-range PIC instruction set. The 1.8-3.6 V VDD range teaches low-power design by allowing direct coin-cell operation.

🚗

Automotive Interior Lighting and Switch Module

The PIC12LF1840-E/P fits automotive interior lighting and switch modules because its -40 to +125 C extended temperature grade handles cabin environments, and the EUSART connects to body-control LIN or CAN slaves. PWM modules drive RGB ambient lighting while MSSP drives addressable LEDs. Operate it from a 3.3 V LDO fed by the 12 V battery through load-dump protection. Use PPS to route PWM and UART to any of the 6 I/O pins, simplifying PCB layout. Note that AEC-Q100 qualification is not held by this part - for safety-critical automotive designs, choose PIC12F1840-E/P Q-graded variants.

What is the program memory size and core of the PIC12LF1840-E/P?
The PIC12LF1840-E/P integrates 7 KB (4K x 14 words) of Flash program memory, 256 bytes of SRAM, and 256 bytes of EEPROM on an 8-bit enhanced mid-range PIC core. According to the Microchip PIC12(L)F1840 datasheet (document 40001441F), the part runs up to 32 MHz with a 200 ns instruction cycle and supports peripheral pin select (PPS) for flexible I/O mapping in the 8-pin PDIP package.
What is the operating voltage range of PIC12LF1840-E/P?
The PIC12LF1840-E/P operates from 1.8 V to 3.6 V on VDD, with an absolute maximum of 4.0 V. Per the Microchip datasheet 40001441F, this wide low-voltage range combined with nanoWatt XLP technology (typical sleep currents under 1 uA) makes the part suitable for 2x AA, coin-cell, and Li-ion powered designs where extended battery life is essential.
What temperature range does the PIC12LF1840-E/P support?
The PIC12LF1840-E/P is qualified to the extended temperature grade of -40 C to +125 C, as denoted by the "-E" suffix. The "-I" (industrial) variants cover -40 C to +85 C. Choose the "-E" grade for under-hood, outdoor, and industrial-control applications; "-I" parts are sufficient for consumer and indoor environments.
Where can I buy PIC12LF1840-E/P online and at what price?
As of 2026-09-16, the PIC12LF1840-E/P is in stock at DigiKey and Mouser at approximately USD 1.62 for qty 1 and USD 1.07 at qty 1000. Distributors in the Verified Web Data report same-day shipping from U.S. warehouses. For volume quotes, contact Microchip direct or franchised distributors; lead time for production quantities is typically 6-10 weeks ex-fab.
What is the lead time for PIC12LF1840-E/P?
As of 2026-09-16, the PIC12LF1840-E/P is factory stock at major distributors (DigiKey, Mouser) with same-day shipment. Microchip factory lead time for production orders is typically 6-10 weeks. Allocation risk is currently low; the part is part of Microchip's long-running PIC12 production line that has shipped since 2011.
Is PIC12LF1840-E/P in stock and available for immediate shipping?
Yes. As of 2026-09-16, the PIC12LF1840-E/P is shown as in-stock at DigiKey (qty 1 ships today) and Mouser. Octopart confirms availability across at least 10 distributors. The 8-pin PDIP package is a mature through-hole format that is widely stocked globally - supply is stable.
What is the difference between PIC12LF1840-E/P and PIC12F1840-E/P?
The PIC12LF1840-E/P is the low-voltage variant operating from 1.8 V to 3.6 V (F suffix), while the PIC12F1840-E/P operates from 1.8 V to 5.5 V. Both share the identical 7 KB Flash, 256-byte SRAM, 32 MHz core, and 8-pin PDIP pinout. Choose PIC12LF1840 for battery-powered designs limited to 3.6 V; choose PIC12F1840 when the design needs 5 V tolerance or higher VDD operation.
What is the difference between PIC12LF1840-E/P and PIC12LF1840-I/P?
The PIC12LF1840-E/P operates from -40 C to +125 C (extended temperature grade), while the PIC12LF1840-I/P operates from -40 C to +85 C (industrial grade). Both share identical 8-pin PDIP pinout and electrical specifications; per the Microchip datasheet 40001441F the parts are drop-in interchangeable on the same PCB. Use "-E" for harsh environments and "-I" for indoor consumer applications.
When should I choose PIC12LF1840-E/P over PIC12LF1572-I/P?
Choose the PIC12LF1840-E/P when you need 7 KB Flash, EUSART, MSSP, and ADC compute mode with PPS flexibility in an 8-pin PDIP. Choose PIC12LF1572-I/P when your design only needs 3.5 KB Flash with 16-bit PWM and you prefer a smaller 8-pin footprint at slightly lower cost. Both share the same PDIP-8 footprint and pinout, so the decision is purely feature-and-cost driven.
Can PIC12F1840-E/P replace PIC12LF1840-E/P directly on the PCB?
Yes, the PIC12F1840-E/P can drop into the PIC12LF1840-E/P PCB footprint because both share the same 8-pin PDIP pinout. The PIC12F1840 (F suffix) operates from 1.8 V to 5.5 V, so it works in any system already using PIC12LF1840. Note the PIC12LF1840 cannot safely replace PIC12F1840 in 5 V systems because its VDDMAX is 4.0 V - confirm VDD before substituting.
What is the best drop-in replacement for PIC12LF1840-E/P?
The best drop-in replacement for the PIC12LF1840-E/P in the same 8-pin PDIP is the PIC12LF1840-I/P - same die, same pinout, only the temperature grade differs (-40 to +85 C vs -40 to +125 C). For cross-brand equivalents with the same footprint, consult the Microchip cross-reference tool, as 8-pin PIC12 parts from other vendors do not share the PIC instruction set and are not drop-in programmable.
Where can I download the PIC12LF1840-E/P datasheet PDF?
The PIC12LF1840-E/P datasheet can be downloaded as PDF document 40001441F from the Microchip website at https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/40001441F.pdf. It covers both the PIC12F1840 and PIC12LF1840 variants. For errata and application notes, visit https://www.microchip.com/en-us/product/PIC12LF1840 and search the doc number.
Where can I find the PIC12LF1840-E/P pinout diagram?
The 8-pin PDIP pinout for the PIC12LF1840-E/P is shown in Table 1-2 of the datasheet 40001441F. Pin 1 is VDD, pin 2 is RA5, pin 3 is RA4, pin 4 is RA3/MCLR, pin 5 is RC5, pin 6 is RC4, pin 7 is RC3, and pin 8 is VSS. The same pinout applies to all PIC12F1840 / PIC12LF1840 package variants.
What are the key specifications of PIC12LF1840-E/P that engineers should know?
The PIC12LF1840-E/P is a 32 MHz 8-bit PIC12 enhanced mid-range MCU with 7 KB Flash, 256 bytes SRAM, 256 bytes EEPROM, ADC with compute mode, EUSART, MSSP, dual comparators, PPS, and nanoWatt XLP sleep current under 1 uA, in an 8-pin PDIP at 1.8-3.6 V VDD and -40 to +125 C. The part is the lowest-pin-count PIC12 with full EUSART and PPS support, ideal for ultra-compact battery-powered designs where board space is at a premium.

Справочные инженерные данные для PIC12LF1840-E/P — сравнение, рекомендации по проектированию и информация о соответствии.

Руководство по выбору

Choose the PIC12LF1840-E/P when you need a low-pin-count 8-bit PIC MCU with 7 KB Flash, EUSART, MSSP, ADC with computation mode, and PPS in an 8-pin PDIP, operating from -40 to +125 C and 1.8-3.6 V. It is the right pick for battery-powered sensor nodes, IR remote controls, and LED controllers where ultra-low sleep current matters. Switch to PIC12LF1840-I/P if you do not need extended temperature (lower cost). Switch to PIC12F1840-E/P if you need 5 V VDD operation. Move to PIC16F1825 or PIC16F18324 if you outgrow the 6-I/O pin count or 7 KB Flash budget. All four PIC12LF/F1840 variants share the same datasheet, instruction set, and PPS configuration, so firmware ports unchanged.

Сравнение с аналогами

Параметр Этот товар PIC12LF1840-I/P PIC12F1840-E/P PIC12F1840-I/P
Package 8-pin PDIP (P) 8-pin PDIP (P) 8-pin PDIP (P) 8-pin PDIP (P)
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Flash Memory 7 KB 7 KB 7 KB 7 KB
SRAM 256 bytes 256 bytes 256 bytes 256 bytes
EEPROM 256 bytes 256 bytes 256 bytes 256 bytes
Operating Voltage 1.8 V to 3.6 V 1.8 V to 3.6 V 1.8 V to 5.5 V 1.8 V to 5.5 V
Operating Temperature -40 C to +125 C (E grade) -40 C to +85 C (I grade) -40 C to +125 C (E grade) -40 C to +85 C (I grade)
Maximum CPU Speed 32 MHz 32 MHz 32 MHz 32 MHz
I/O Pins 6 (PPS) 6 (PPS) 6 (PPS) 6 (PPS)

Ключевые отличия

  • Extended -40 to +125 C temperature grade in the same 8-pin PDIP footprint (против PIC12LF1840-I/P)
  • 1.8 V minimum VDD for true coin-cell operation (против PIC12F1840-E/P)
  • NanoWatt XLP sleep current under 1 uA (против PIC12F615-I/P)

Заметки по проектированию

Estimated: with VDD = 3.0 V, 32 MHz active current is approximately 3 mA and XLP sleep current is <1 uA per the datasheet 40001441F. Decouple VDD with at least one 0.1 uF X7R ceramic placed within 5 mm of pin 1. For battery life estimation, average current = (I_active * t_active + I_sleep * t_sleep) / (t_active + t_sleep); a 220 mAh CR2032 with 0.1% active duty cycle yields roughly 8 years of life.

Do not apply voltage above 4.0 V to VDD on the PIC12LF1840 - this is the absolute maximum and the LF suffix does NOT extend to 5 V operation. If 5 V is required, use the PIC12F1840 (F-suffix) variant. Leave MCLR (pin 4) connected to VDD through a 10 kohm pull-up if external reset is not used, and add a 100 nF cap to VSS for noise immunity on the reset line.

Place the 0.1 uF VDD decoupling capacitor within 5 mm of pin 1 with a direct ground via to the VSS plane. Keep the ICSP PGD/PGC traces short (under 50 mm) and away from switching signals to ensure reliable in-circuit programming with the PICkit 5. When using the internal oscillator, leave the clock input pins available for PPS-peripheral remapping rather than dedicating them to fixed functions.

Информация о соответствии

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Без свинца
Yes
Без галогенов
Yes
Конфликтные минералы
Compliant

RoHS compliant per Microchip product page. NOT AEC-Q100 qualified - for automotive safety-critical designs use a Q-graded PIC12F1840 variant. Lead-free and halogen-free per Microchip environmental certification.

Данные проверены: 2026-09-16 — данные проверены и курируются командой компонентной инженерии XAIPART

Похожие запросы

PIC12LF1840-E/P PIC12LF1840 datasheet Microchip PIC12LF1840 8-pin PDIP PIC12LF1840 XLP nanoWatt 32MHz 7KB 8-pin PDIP PIC microcontroller low power PIC12LF1840 battery sensor node application PIC12LF1840 vs PIC12F1840 difference PIC12LF1840-E/P drop-in replacement buy PIC12LF1840-E/P online price PIC12LF1840 pinout 8-pin PDIP PIC12LF1840 IR remote control LED driver what is the operating voltage of PIC12LF1840 PIC12LF1840 MPLAB PICkit 5 ICSP PIC12LF1840 vs PIC12LF1572 PIC12LF1840-E/P extended temperature grade

Связанные компоненты & термины

Microchip Technology PIC12LF1840-E/P PIC12LF1840-I/P PIC12F1840-E/P PIC12F1840-I/P PIC microcontroller 8-bit MCU enhanced mid-range PIC12 PIC12F XLP nanoWatt technology Peripheral Pin Select (PPS) EUSART MSSP 10-bit ADC with computation Complementary Waveform Generator (CWG) Numerically Controlled Oscillator (NCO) Data Signal Modulator (DSM) Flash memory EEPROM SRAM PDIP-8 package 8-pin PDIP ICSP MPLAB PICkit 5 RoHS AEC-Q100 lead-free halogen-free industrial sensor node IR remote control LED driver battery-powered design coin cell
Быстрый запрос цены (RFQ)
Заполните все данные — наша команда продаж ответит в течение 24 часов
Артикул Производитель Корпус QTY Целевая цена Итого
Итого: $0.00 USD
✓
Запрос цены отправлен!

Мы ответим на ваш email в течение 24 часов

1
RFQ отправлен
2
Предложение получено
3
Заказ оформлен
4
Оплата
5
Отправлено
6
Доставлено
Просмотреть детали RFQ