Microchip Technology

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

부품 번호: PIC12F1840-I/SN ✓ 활성
재고 있음 영업일 기준 1~3일 내 발송
2.5 V to 5.5 V Vdss 8-pin SOIC (SN) Package 32 MHz (internal oscillator) Speed 7 KB (4K x 14 words) Memory
시작가 $0.82 USD / 개
MOQ: 1 |
가격 업데이트: 2026-09-15
볼륨 가격
수량 단가 합계
1 $1.85 $1.85
10 $1.65 $16.50
100 $1.42 $142.00
500 $1.18 $590.00
1,000 $0.99 $990.00
3,000 $0.82 $2,460.00
ℹ️ 모든 가격은 USD 기준입니다

PIC12F1840-I/SN 개요

The Microchip Technology PIC12F1840-I/SN is an 8-bit Flash microcontroller from the PIC XLP 12F family, offering a 32 MHz internal oscillator, 7 KB (4K x 14) Flash program memory, 256 bytes of EEPROM, and 256 bytes of SRAM in an 8-pin SOIC package. It runs from 2.5 V to 5.5 V with industry-leading nanoWatt XLP sleep currents below 20 nA in deep sleep.

A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, programmable I/O peripherals, and communication interfaces. The PIC12F1840 uses an Enhanced Mid-Range 8-bit core with 49 instructions and a 16-level hardware stack, sitting in the taxonomy chain microcontroller -> embedded controller -> semiconductor IC. It is designed for low-pin-count, battery-powered, and always-on applications.

Key features include an internal 32 MHz oscillator, four 10-bit ADC channels, a configurable mTouch capacitive sensing module, a Data Signal Modulator (DSM), an EUSART with auto-baud, an MI2C/SPI interface, a 25 mA source/sink I/O, and a comparator with selectable voltage reference. The integrated ECCP (Enhanced Capture/Compare/PWM) module supports half-bridge, full-bridge, and PWM steering topologies for lighting and motor control.

The 8-pin SOIC (SN) package makes the PIC12F1840-I/SN an ideal drop-in upgrade for legacy PIC12F675 designs that need more memory, more peripherals, and lower sleep current. PIC XLP nanoWatt technology combined with active clock tuning and ultra-low-power wake-up sources enables multi-year coin-cell operation in remote sensor nodes.

Typical applications include consumer appliances, IoT end nodes, LED lighting controllers, capacitive touch user interfaces, sensor conditioning, and remote controls. The wide operating range (industrial -40 °C to +85 °C) and rich peripheral set make it a strong fit for space-constrained mixed-signal designs.

When designing with the PIC12F1840, ensure decoupling capacitors of 0.1 µF are placed within 5 mm of VDD, and that unused I/O are configured as outputs to minimize sleep current. Programming is supported by the free MPLAB X IDE and Xpress, PICkit, or Curiosity programmers - a key advantage over cross-brand 8-bit alternatives that often lack a unified, free toolchain.

This page synthesizes drop-in alternatives, package-matched cross-references, and practical design notes that complement, but do not replace, the manufacturer datasheet.

드롭인 대체품: PIC12F1840-I/SN — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.

이 시리즈의 변형

다음과 드롭인 호환되는 동일 시리즈 모델: PIC12F1840-I/SN (동일 폼 팩터 및 풋프린트) — 차이점: ADC, Internal Oscillator, Package, I/O Pins, Maximum CPU Speed.

Microchip Technology
ADC: 10-bit, up to 4 channels
Internal Oscillator: 32 MHz (plus or minus 1 percent)
I/O Pins: 6
Microchip Technology
ADC: 10-bit, 4 channels
Package: 8-SOIC (SN), 3.9 mm body, 1.27 mm pitch
Maximum CPU Speed: 32 MHz
Microchip Technology
ADC: 10-bit, up to 4 channels (8-pin device)
Internal Oscillator: 31 kHz to 32 MHz (selectable)
I/O Pins: 6 GPIO + 1 input-only
Microchip Technology
ADC: 10-bit, 4 channels
Package: 8-SOIC (SN) 3.90 mm
I/O Pins: 6
Microchip Technology
Package: 8-SOIC (SN) 3.90 mm
Microchip Technology
ADC: 4-channel, 10-bit
Internal Oscillator: 8 MHz (calibrated)
Package: 8-SOIC (SN) 3.90 mm
Microchip Technology
ADC: 10-bit, up to 4 channels
Internal Oscillator: 4 MHz / 8 MHz selectable
Package: 8-SOIC (SN) 3.90 mm, 0.209 mm lead pitch
Microchip Technology
ADC: 10-bit, 4 channels
Internal Oscillator: 4 MHz, software calibrated
Microchip Technology
ADC: 10-bit, 4 channels
Package: 8-SOIC (SN), 3.90 mm body
I/O Pins: 6
Microchip Technology
ADC: 10-bit, up to 4 channels with ADC2 (computation)
Internal Oscillator: 32 MHz HFINTOSC + 31 kHz LFINTOSC
Package: 8-pin SOIC (SN), 3.90 mm body width
Microchip Technology
ADC: 10-bit, up to 4 channels
I/O Pins: 6
Maximum CPU Speed: 32 MHz
Microchip Technology
ADC: 4-channel 10-bit with selectable voltage reference
Internal Oscillator: 32 MHz with active clock tuning
Package: 8-SOIC (SN) 3.90 mm

빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:

PIC12F1840T-I/SN

✅ 드롭인 ⚠️ 사양 미검증
📦 8-pin SOIC (SN)
same die, tape-and-reel packaging variant, identical -40C to +85C spec

📋 참조 대체품 (카탈로그에 없음)

PIC12F1840-E/SN

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC (SN)
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

✓ 재고 있음

$1.18 / 개

데이터시트 보기 →

PIC12F1822-I/SN

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC (SN)
PIC 8-bit enhanced mid-range · 3.5 KB (2K x 14 words) · 128 bytes · 256 bytes · 32 MHz · 31 kHz to 32 MHz (selectable) · 1.8 V to 5.5 V · 6 GPIO + 1 input-only

✓ 재고 있음

$0.85 / 개

데이터시트 보기 →

PIC12F1572-I/SN

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC (SN)
PIC enhanced mid-range 8-bit RISC · 3.5 KB (2K x 14) Flash · 256 bytes · 32 MHz · 200 ns (at 20 MHz); 125 ns (at 32 MHz) · 6 · 10-bit, 4 channels · 5-bit, 1 channel

✓ 재고 있음

$0.75 / 개

데이터시트 보기 →

PIC12F1571-I/SN

✅ 드롭인 ⚠️ 사양 미검증
Microchip Technology
📦 8-pin SOIC (SN)
8-bit PIC enhanced mid-range · 1.75 KB (1K x 14) · 128 bytes · 128 bytes · 32 MHz · 8 MIPS · 1.8 V to 5.5 V · 3 x 16-bit (independent timers)

✓ 재고 있음

$0.6549 / 개

데이터시트 보기 →

PIC12F1840-I/SN 최대 정격 & 전기적 특성

Core Architecture Enhanced Mid-Range 8-bit PIC (49 instructions)
Maximum CPU Speed 32 MHz (internal oscillator)
Program Memory (Flash) 7 KB (4K x 14 words)
Data EEPROM 256 bytes
SRAM 256 bytes
Hardware Stack 16 levels
Supply Voltage (VDD) 2.5 V to 5.5 V
I/O Pins 6 (with 25 mA source/sink)
ADC 4 channels, 10-bit
동작 온도 범위 -40 °C to +85 °C (Industrial)
패키지 8-pin SOIC (SN)
실장 유형 Surface Mount
Communication Interfaces MI2C, SPI, EUSART with auto-baud
Special Peripherals ECCP PWM, mTouch, DSM, Comparator with VREF
Low-Power Technology nanoWatt XLP
RoHS 상태 Compliant
MSL 레벨 1 (unlimited floor life)

PIC12F1840-I/SN 핀 구성

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
핀 1 VDD — Positive supply voltage (2.5 V to 5.5 V)
핀 2 RA5 — I/O pin / T1CKI / CCP1 / AN4
핀 3 RA4 — I/O pin / AN3 / T1G / SDO / mTouch
핀 4 RA3 — I/O pin / MCLR / VPP (programming voltage input)
핀 5 RA2 — I/O pin / AN2 / T0CKI / INT / mTouch
핀 6 RA1 — I/O pin / AN1 / ICSPCLK / mTouch
핀 7 RA0 — I/O pin / AN0 / ICSPDAT / DACREF / mTouch
핀 8 VSS — Ground reference

일반적인 애플리케이션

PIC12F1840-I/SN 적합 용도: 6 애플리케이션s: IoT Sensor End Node, Capacitive Touch User Interface, LED Lighting Controller, Consumer Appliance Control, Remote Control Transmitter, Battery Management Companion MCU.

🧩

IoT Sensor End Node

The PIC12F1840-I/SN suits ultra-low-power IoT sensor nodes powered by a single CR2032 coin cell. Its 20 nA typical deep-sleep current from nanoWatt XLP technology, 4-channel 10-bit ADC, and integrated EUSART with auto-baud enable multi-year battery operation while still supporting periodic sensor reads over a UART-linked radio module. The 8-pin SOIC footprint keeps the BOM minimal for compact wireless sensor PCBs.

💡

Capacitive Touch User Interface

The PIC12F1840-I/SN's integrated mTouch capacitive sensing module supports up to 8 buttons or a slider using its 6 available I/O pins, enabling BOM-free touch interfaces. Combined with the Data Signal Modulator (DSM) and a hardware timer, it provides a robust front panel for appliances and consumer products, with the 32 MHz core delivering quick response times. The 7 KB Flash comfortably accommodates Microchip's mTouch library plus application code.

💡

LED Lighting Controller

For LED lighting drivers, the PIC12F1840-I/SN's ECCP module provides half-bridge, full-bridge, and PWM-steering topologies that drive MOSFETs or constant-current regulators directly. The 25 mA source/sink I/O eliminates external drivers for low-current LED strings, while the 32 MHz core supports smooth PWM dimming and color-mixing algorithms. The wide 2.5-5.5 V supply accepts single-cell Li-ion or regulated 5 V rails without additional regulation.

🏭

Consumer Appliance Control

The PIC12F1840-I/SN fits small kitchen and personal-care appliances that need a compact MCU for state-machine control, sensor readout, and user feedback. The hardware comparator with selectable voltage reference handles zero-crossing detection and over-current protection without external components, while the EUSART/SPI/I2C interfaces link to HMI displays or external EEPROM. Its -40 to +85 °C industrial range tolerates typical appliance thermal environments.

📱

Remote Control Transmitter

The PIC12F1840-I/SN is well suited to IR/RF remote control transmitters, where low average power, compact size, and reliable wakeup are key. Its nanoWatt XLP deep sleep draws around 20 nA, allowing a CR2032 to last the shelf life of the product, while the mTouch sensing module enables capacitive buttons without mechanical wear. The 32 MHz internal oscillator avoids external crystals, keeping the BOM to a few passive components.

⚡

Battery Management Companion MCU

The PIC12F1840-I/SN acts as a secondary MCU in battery packs, providing cell balancing control, fuel-gauge assistance, and fault logging through its ADC, comparator, and EUSART. Its low quiescent current minimizes pack self-discharge, while the 7 KB Flash supports sophisticated state-of-charge algorithms alongside safety monitoring. The 8-pin SOIC package fits inside small 18650 and 21700 battery protection boards.

What is the operating voltage of PIC12F1840-I/SN?
The PIC12F1840-I/SN operates from 2.5 V to 5.5 V across the industrial temperature range of -40 °C to +85 °C. According to the Microchip PIC12(L)F1840 datasheet, this wide supply range allows direct connection to a single Li-ion cell (3.7 V nominal) or to a regulated 5 V rail, simplifying power-tree design for both battery-powered and line-powered applications.
How much Flash and RAM does the PIC12F1840 have?
The PIC12F1840 integrates 7 KB (4K x 14 word) of self-read/write Flash program memory, 256 bytes of data EEPROM, and 256 bytes of SRAM. The flash endurance rating is 100,000 erase/write cycles per datasheet, sufficient for typical firmware-update workloads on a connected edge device.
What is the maximum clock speed of PIC12F1840?
The PIC12F1840 runs up to 32 MHz from its internal oscillator, which delivers 8 MIPS of throughput (one instruction per four oscillator cycles). No external crystal is required for full-speed operation, and a software-selectable PLL is available to derive the 32 MHz clock from the 16 MHz HFINTOSC.
Where can I download the PIC12F1840-I/SN datasheet PDF?
The official PIC12F1840-I/SN datasheet is available as PDF 41441B from Microchip at the canonical product page (microchip.com/en-us/product/PIC12F1840). The same document covers the PIC12(L)F1840 family in SOIC-8 (SN), PDIP-8 (P), and DFN-8 (MC) packages, including pinouts, electrical characteristics, and peripheral configuration.
What are drop-in replacements for PIC12F1840-I/SN in the same SOIC-8 package?
Drop-in SOIC-8 replacements include PIC12F1840-E/SN (extended temperature), PIC12F1840T-I/SN (tape-and-reel variant, same die), and PIC12F1822-I/SN (lower memory 3.5 KB Flash but same footprint). All three share the 8-pin SOIC (SN) footprint and pinout, making them direct PCB-compatible substitutes per the PIC12(L)F1840 datasheet pin map.
What is the difference between PIC12F1840 and PIC12F1822?
The PIC12F1840 has 7 KB Flash, 256 bytes RAM, and 256 bytes EEPROM, while the PIC12F1822 has 3.5 KB Flash, 128 bytes RAM, and 256 bytes EEPROM. Both share the same 8-pin SOIC (SN) package, the same Enhanced Mid-Range core, and the same peripheral set; PIC12F1822 is a cost-optimized alternative when half the program memory is acceptable.
How much sleep current does PIC12F1840 draw?
According to the Microchip datasheet, the PIC12F1840 nanoWatt XLP sleep current is approximately 20 nA typical in deep sleep with the WDT disabled, allowing multi-year battery life in IoT sensor nodes powered by a single CR2032 coin cell. Active current is around 50 µA/MIPS at 1.8 V and 4 MHz, enabling efficient always-on designs.
Is PIC12F1840 suitable for capacitive touch sensing?
Yes, the PIC12F1840 includes an integrated Capacitive mTouch sensing module that supports up to 8 buttons or a slider using the 6 available I/O pins. Combined with the Data Signal Modulator and a hardware timer, it provides a robust, BOM-free capacitive touch solution for user interfaces on appliances and consumer products.
Where to buy PIC12F1840-I/SN online and what is the lead time?
As of 2026-09-15, PIC12F1840-I/SN is in stock at 13 distributors tracked by Octopart, including DigiKey and Mouser, with the qty-1 unit price at $1.85. Lead time for production quantities is typically 6-10 weeks when ordering direct from Microchip, while distributor stock generally ships within 1-3 business days.
What is the price of PIC12F1840-I/SN in 100-piece quantities?
As of 2026-09-15, the 100-piece price for PIC12F1840-I/SN is approximately $1.42 per unit. Bulk pricing drops further to roughly $0.99 at 1,000 pieces and $0.82 at 3,000 pieces, according to Octopart distributor aggregates. Pricing reflects the SOIC-8 industrial-grade variant, not the automotive or extended-temperature grades.
PIC12F1840 vs PIC12F1572 - which is better for an LED lighting application?
For LED lighting, the PIC12F1840 is the better choice when you need PWM-steerable outputs (ECCP module) plus mTouch capacitive control in a compact 8-pin footprint. The PIC12F1572 adds a 16-bit PWM and a 10-bit DAC, but in a different package; choose PIC12F1840 when SOIC-8 and a single CCP PWM are sufficient per the datasheet's peripheral summary.
What is the best Atmel/Microchip equivalent for PIC12F1840 in SOIC-8?
Within Microchip's own portfolio, the best SOIC-8 drop-in equivalents are PIC12F1840T-I/SN (tape-and-reel, same die), PIC12F1840-E/SN (extended temperature), and PIC12F1822-I/SN (lower-memory cost option). Cross-brand 8-pin SOIC-8 MCUs (e.g. ATtiny series) do not match the PIC12F1840 pinout and require PCB rework, so Microchip-to-Microchip substitution is recommended.
What are the key specifications of PIC12F1840 that engineers should know?
According to the Microchip datasheet, the PIC12F1840 key specifications are: 8-bit Enhanced Mid-Range core at 32 MHz (8 MIPS), 7 KB Flash, 256 bytes RAM, 256 bytes EEPROM, 6 I/O pins with 25 mA source/sink, 4 channels of 10-bit ADC, 2.5-5.5 V VDD, -40 °C to +85 °C operation, and 20 nA deep-sleep current thanks to nanoWatt XLP technology.
When should I choose PIC12F1840 over PIC16F1xxx alternatives?
Choose the PIC12F1840 when your design is constrained to 6 or fewer I/O pins in an SOIC-8 footprint and you need mTouch capacitive sensing, an EUSART with auto-baud, and at least 7 KB of Flash. For designs requiring more I/O or more memory, step up to PIC16F1xxx devices; for ultra-low pin count in SOT-23, consider PIC10F-series alternatives.

엔지니어링 참조 데이터: PIC12F1840-I/SN — 비교, 설계 지침 및 규정 준수 정보.

선택 가이드

Choose PIC12F1840-I/SN when your design needs 7 KB of Flash in an 8-pin SOIC-8 footprint, requires the mTouch capacitive sensing module plus the Data Signal Modulator for sensor signal conditioning, and must operate from a single Li-ion or coin-cell battery at sub-100 nA sleep current. Pick PIC12F1840T-I/SN for high-volume SMT production lines that need tape-and-reel packaging instead of tubes. Choose PIC12F1840-E/SN for outdoor or industrial nodes rated to +125 °C. Use PIC12F1822-I/SN as a cost-optimized alternative when 3.5 KB Flash is sufficient, or PIC12F1572-I/SN when 16-bit PWM and a 10-bit DAC are needed for fine-grained LED lighting. All five parts share the same 8-pin SOIC footprint, so layout can be reused while peripheral trade-offs drive final selection.

대체품과의 비교

파라미터 이 제품 PIC12F1840T-I/SN PIC12F1840-E/SN PIC12F1822-I/SN PIC12F1572-I/SN PIC12F1571-I/SN
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 8-pin SOIC (SN) 8-pin SOIC (SN) - same 8-pin SOIC (SN) - same 8-pin SOIC (SN) - same 8-pin SOIC (SN) - same 8-pin SOIC (SN) - same
Flash Memory 7 KB (4K x 14) 7 KB - same 7 KB - same 3.5 KB (-50%) 3.5 KB (-50%) 3.5 KB (-50%)
SRAM 256 bytes 256 bytes - same 256 bytes - same 128 bytes (-50%) 256 bytes - same 256 bytes - same
Maximum Clock 32 MHz 32 MHz - same 32 MHz - same 32 MHz - same 32 MHz - same 32 MHz - same
Operating Temperature -40 C to +85 C -40 C to +85 C - same -40 C to +125 C (extended) -40 C to +85 C - same -40 C to +85 C - same -40 C to +85 C - same
ADC Channels / Resolution 4 x 10-bit 4 x 10-bit - same 4 x 10-bit - same 4 x 10-bit - same 4 x 10-bit - same 4 x 10-bit - same
Special Peripherals ECCP, mTouch, DSM, Comparator+VREF Same - identical die Same - identical die ECCP, mTouch, DSM, Comparator 16-bit PWM, 10-bit DAC, no DSM 16-bit PWM, no DSM, no DAC

주요 차별점

  • Highest Flash density in the PIC12F SOIC-8 family (vs PIC12F1822-I/SN)
  • Full mTouch + DSM peripheral set in a single SOIC-8 device (vs PIC12F1571-I/SN)
  • Lower deep-sleep current than legacy PIC12F675 designs (vs PIC12F675)

설계 노트

Place a 0.1 µF decoupling capacitor within 5 mm of the VDD pin (pin 1), and add a 10 µF bulk capacitor at the supply entry. For battery-powered designs, configure the device to enter deep sleep between transactions; the typical deep-sleep current is 20 nA with WDT disabled, allowing multi-year operation from a CR2032 coin cell. Use the LFINTOSC during sleep and switch to HFINTOSC+PLL only for active transactions.

Keep traces to RA3/MCLR short and avoid routing noisy signals near the programming pin. The 8-pin SOIC (SN) package has a thermal resistance of approximately 100 °C/W; for designs that dissipate more than 50 mA, route a copper pour under the exposed leads of the SOIC pads. Use a continuous ground plane on the bottom layer to reduce EMI from the internal 32 MHz oscillator.

Do not leave unused I/O pins floating; configure them as outputs driving low to avoid shoot-through current. Ensure RA3/MCLR is pulled high through a 10 kΩ resistor if not used in ICSP programming mode. When migrating from PIC12F675, note that the RA3 pin function has changed and that ICD debugging now uses dedicated ICSP pins (RA0/RA1) instead of the legacy two-pin layout.

For mTouch capacitive sensing, route the sensor electrode traces with a ground guard ring and avoid crossing them with high-speed digital signals. The Data Signal Modulator (DSM) can mix inputs from comparators, ADCs, and PWM modules for advanced signal conditioning; enable its slew-rate limiting when driving long PCB traces to reduce ringing. Allow a 2 µs settling time after clock switch before reading ADC samples.

규정 준수 정보

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
무연
Yes
무할로겐
Yes
분쟁 광물
Compliant

RoHS compliant and lead-free per Microchip product page. The -I/SN industrial grade variant is not AEC-Q100 qualified; for automotive applications consider the PIC16F1xxx AEC-Q100 family instead.

데이터 검증일: 2026-09-15 — XAIPART 부품 엔지니어링 팀이 검증하고 관리한 데이터

관련 검색

PIC12F1840-I/SN PIC12F1840 datasheet Microchip PIC12F1840 SOIC-8 PIC12F1840 vs PIC12F1822 8-pin SOIC 8-bit MCU 7KB Flash PIC12F1840 mTouch capacitive sensing PIC12F1840 buy online PIC12F1840-I/SN price 100 pcs PIC12F1840 drop-in replacement SOIC-8 PIC12F1840 pinout SOIC-8 what is the deep sleep current of PIC12F1840 PIC12F1840 LED lighting driver

관련 부품 & 용어

Microchip Technology PIC12F1840 PIC12F1840-I/SN PIC12F1840T-I/SN PIC12F1840-E/SN PIC12F1822 PIC12F1572 PIC12F1571 8-bit microcontroller Enhanced Mid-Range core nanoWatt XLP mTouch capacitive sensing Data Signal Modulator (DSM) ECCP PWM 8-pin SOIC SOIC-8 Flash memory 10-bit ADC EUSART RoHS AEC-Q100 ICSP programming PICkit MPLAB X IDE Curiosity development board
빠른 견적 RFQ
상세 정보를 모두 입력하십시오 — 영업팀이 24시간 이내에 답변드립니다
부품 번호 제조사 패키지 QTY 목표 가격 합계
합계: $0.00 USD
✓
견적이 제출되었습니다!

24시간 이내에 이메일로 답변드리겠습니다

1
RFQ 제출됨
2
견적 접수됨
3
주문 완료
4
결제
5
배송됨
6
배송 완료
RFQ 상세 보기