Microchip logo
Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

PIC12F1840

Status: In Production

Features:

  • Enhanced Mid-range Core with 49 Instruction, 16 Stack Levels
  • Flash Program Memory with self read/write capability
  • Internal 32MHz oscillator
  • Integrated Capacitive mTouch Sensing Module
  • Data Signal Modulator Module
  • MI2C, SPI, EUSART w/auto baud
  • ECCP (Enhanced/Capture Compare PWM) Module
  • Comparator with selectable Voltage Reference
  • 4 Channel 10b ADC with Voltage Reference
  • 25mA Source/Sink current I/O
  • Two 8-bit Timers (TMR0/TMR2)
  • One 16-bit Timer (TMR1)
  • Extended Watchdog Timer (EWDT)
  • Enhanced Power-On/Off-Reset
  • Brown-Out Reset (BOR)
  • In Circuit Serial Programming (ICSP)
  • On Board In-Circuit Debug
  • Wide Operating Voltage (1.8V – 5.5V)
  • Low Power PIC12LF182x variants (1.8V – 3.6V)
  • Standby Current (PIC12LF1840): 20 nA @ 1.8V, typical
  • Active Current (PIC12LF1840): 50uA/MHz @ 1.8V, typical
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

Debug Support
• Integrated debug support on Device. No debug header is required
• Optional external debug headers, AC244043 (F) / AC244044 (LF), are also available
• Debug and programming support is available via PICkit™ 3, and MPLAB® ICD 3
• For Debug Header information, please refer to DS51292

Additional Features
    • Enhanced Mid-range Core with 49 Instruction, 16 Stack Levels
    • Flash Program Memory with self read/write capability
    • Internal 32MHz oscillator
    • Integrated Capacitive mTouch Sensing Module
    • Data Signal Modulator Module
    • MI2C, SPI, EUSART w/auto baud
    • ECCP (Enhanced/Capture Compare PWM) Module
    • Comparator with selectable Voltage Reference
    • 4 Channel 10b ADC with Voltage Reference
    • 25mA Source/Sink current I/O
    • Two 8-bit Timers (TMR0/TMR2)
    • One 16-bit Timer (TMR1)
    • Extended Watchdog Timer (EWDT)
    • Enhanced Power-On/Off-Reset
    • Brown-Out Reset (BOR)
    • In Circuit Serial Programming (ICSP)
    • On Board In-Circuit Debug
    • Wide Operating Voltage (1.8V – 5.5V)
    • Low Power PIC12LF182x variants (1.8V – 3.6V)
    • Standby Current (PIC12LF1840): 20 nA @ 1.8V, typical
    • Active Current (PIC12LF1840): 50uA/MHz @ 1.8V, typical
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
7
CPU Speed (MIPS/DMIPS)
8
SRAM Bytes
256
Data EEPROM/HEF (bytes)
256
Digital Communication Peripherals
1-UART, 1-SPI, 1-I2C1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals
1 ECCP,
Timers
2 x 8-bit, 1 x 16-bit
ADC Input
4 ch, 10-bit
Number of Comparators
1
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
8
Low Power
Yes

Documents

Jump to:

Programming Specification

Applications Source code

08/06/2014
10KB

Development Environment

  • Demo & Evaluation Boards
  • Emulators & Debuggers
  • Programmers
  • Application Examples
Demo & Evaluation Boards
Curiosity
Curiosity ( DM164137 )

Satisfy Your Curiosity
Your next embedded design idea has a new home. Curiosity is a cost-effective, fully integrated 8-bit development platform targeted at first-time users, Makers, and those seeking a feature-rich rapid prototyping board. Designed from the ground-up to take full advantage of Microchip's MPLAB X development environment, Curiosity includes an integrated programmer/debugger,...

Learn More
Add To Cart
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® ,  dsPIC®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit

...


Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...


Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is

...


Learn More
Add To Cart
Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® ,  dsPIC®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit

...

Learn More
Add To Cart
MPLAB PM3 Universal Device Programmer
MPLAB PM3 Universal Device Programmer ( DV007004 )

The MPLAB® PM3 Universal Device Programmer is easy to use and operates with a PC or as a stand-alone unit, and programs Microchip's entire line of PIC® devices as well as the latest dsPIC® DSC devices. When used standalone, data can be loaded and saved with the SD/MMC card (not included).

  • Socket: AC164301   PartNo: PIC12F1840 (8P)
  • Socket: AC164302   PartNo: PIC12F1840 (8SN)
  • Socket: AC164340   PartNo: PIC12F1840 (8MF)
Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is

...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
8
3.5
128
$0.73
 
8
7
256
$0.77
 
14
3.5
128
$0.77
Full-Bridge PWM Modes, Data Signal Modulator
14
7
256
$0.83
Full-/Half-Bridge PWM Modes, Data Signal Modulator
14
14
1,024
$0.91
Full-/Half-Bridge PWM Modes, Data Signal Modulator
18
7
384
$1.04
Full-/Half-Bridge PWM Modes, Data Signal Modulator
20
7
256
$0.98
Full-/Half-Bridge PWM Modes, Data Signal Modulator
20
14
1,024
$1.04
Full-/Half-Bridge PWM Modes, Data Signal Modulator
20
14
1,024
$1.27
LIN/J2602 Transceiver, Voltage Regulator
18
14
1,024
$1.09
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC12F1840-I/P
0.486700
0.900000
8
PDIP
.300in
Matte Tin
e3
PIC12F1840-E/P
0.486700
0.900000
8
PDIP
.300in
Matte Tin
e3
PIC12F1840T-E/SN
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-I/SN
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840-I/SN
0.078000
0.250000
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840-E/SN
0.078000
0.250000
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-I/SNVAO
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-E/SNVAO
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-I/SNV01
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-H/SNVAO
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840-I/SNVAO
0.078000
0.250000
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-H/SNV04
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840-H/SN
0.078000
0.250000
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-H/SN
0.078000
0.230303
8
SOIC
.150In(3.90mm)
Matte Tin
e3
PIC12F1840T-E/MF
0.023800
0.172727
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840-H/MF
0.023800
0.041667
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840-E/MFVAO
0.023800
0.041667
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840T-E/MFVAO
0.023800
0.172727
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840T-H/MF
0.023800
0.172727
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840T-H/MFVAO
0.023800
0.172727
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840T-I/MF
0.023800
0.172727
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840-I/MF
0.023800
0.041667
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840-E/MF
0.023800
0.041667
8
DFN
3x3x0.9mm
Matte Tin
e3
PIC12F1840T-I/RF
0.012200
0.136364
8
UDFN
3x3x0.5mm
Matte Tin
e3
PIC12F1840T-E/RF
0.012200
0.136364
8
UDFN
3x3x0.5mm
Matte Tin
e3
PIC12F1840-I/RF
0.012200
0.375000
8
UDFN
3x3x0.5mm
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy from the Microchip Store

Grid
View
Table
View
Filter:
Apply
Clear
Only show products with samples
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy