We detect you are using an unsupported browser. For the best experience, please visit the site using Chrome, Firefox, Safari, or Edge. X

Microcontrollers for Improved Sensor Interface Designs


The PIC18-Q41 family of microcontrollers (MCUs) integrates intelligent analog capabilities with powerful Core Independent Peripherals (CIPs) for small, high-performance data acquisition and sensor interfacing applications. These MCUs are uniquely equipped with an Operational Amplifier (OPA), a 12-bit Analog-to-Digital Converter with Computation (ADCC) and two 8-bit Digital-to-Analog Converters (DACs) to provide you with an ideal starting point for any design where signal amplification, filtering and conditioning is needed. Going beyond hardware with our expansive software tool library, you can easily configure peripherals and functions, generate application code and simulate analog circuits prior to hardware prototyping to reduce your development time and speed up your time to market. PIC18-Q41 MCUs are well suited for many applications including medical devices, Internet of Things (IoT) edge nodes, wearables, LED lighting, home automation systems, automotive and motor control applications, and industrial process control. If a cost-effective MCU with comparable performance is needed, PIC18-Q40 MCUs are a good option. 

Getting Started

Take your next idea to market with a development board that you can keep in your pocket. With full program and debug capabilities, the PIC18F16Q41 Curiosity Nano Evaluation Kit offers complete support for your next design.

The PIC18-Q41 family is designed to integrate with MPLAB® Code Configurator (MCC), a free software plug-in for our award-winning MPLAB X Integrated Development Environment (IDE), that provides a graphical interface to easily configure peripherals and functions specific to your application. Code examples and analog simulations are also available to help you immediately start your development.

Made for Medical

The PIC18-Q41 family’s unique combination of peripherals makes it an excellent choice for medical devices, especially for applications such as Internet of Medical Things (IoMT) edge nodes, telehealth devices, medical wearables, drug delivery devices and motor control applications. When you combine the capabilities of this family with our experience as an embedded solutions partner to thousands of medical device companies, you can rest assured that your medical product is prepared to go the extra mile.

PIC18-Q41 Key Benefits


Intelligent Sensing Capabilities
The PIC18-Q41 family integrates intelligent analog peripherals for amplification, filtering and signal conditioning used in sensing and measurement applications. They include an Operational Amplifier (OPA), a Zero Cross Detect (ZCD) module, comparators, two 8-bit Digital-to-Analog Converter (DACs) and a 12-bit Analog-to-Digital Converter with Computation (ADCC) that automates Capacitive Voltage Divider (CVD) techniques for implementing advanced touch sensing, averaging, filtering, oversampling and automatic threshold comparison. These features significantly reduce the component count in the analog signal chain.

Improved System Response
The configurable CIPs require almost no additional code and no additional components to enable this family of MCUs to handle and accomplish mission-critical and time-sensitive tasks smoothly entirely without CPU intervention. They save Flash memory and allow you to use the CPU’s resources to run complex systems as efficiently as possible. This combination of benefits simplifies your design while reducing power consumption and increasing system responsiveness.

Improved Interconnectivity
The PIC18-Q41 family features four Direct Memory Access (DMA) controllers that enable you to quickly transfer data between different memory locations without any CPU interaction. You can use DMA techniques, such as Configuration Context Switching, to reduce power consumption while increasing your system’s performance.

Customizable Hardware
The four on-board, user-customizable Configurable Logic Cells (CLCs) simplify the implementation of on-board signal and logic control. The CLC lets you integrate a combination of external and internal signals as inputs and connect on-board peripherals to reduce the number of external components needed for your design, which reduces your PCB footprint and overall system cost.

Design Flexibility
Delivering advanced capabilities beyond those found on standard PWM modules, the integrated, high-resolution 16-bit PWMs allow you to easily vary phase, duty cycle and offset event count with greater precision. They offer dual independent outputs on the same time base, which helps simplify drive control in a variety of applications. The flexible serial communications interface options include a UART with support for Asynchronous, DMX, DALI and LIN protocols, plus higher-speed, stand-alone I2C and SPI modules.

PIC18-Q41 Key Attributes


  • 64 MHz internal oscillator
  • Up to 64 KB Flash program memory
  • Up to 4 KB data SRAM
  • 512B data EEPROM
  • OPA
  • Two 8-bit buffered DACs
  • 12-bit ADCC with up to 17 channels
  • Four DMA channels
  • Three 16-bit dual PWMs
  • Four CLCs
  • Three CWGs
  • Two analog comparators
  • ZCD
  • 32-bit CRC
  • WWDT
  • PPS
  • Three UART, SPI and I2C interfaces
  • Available in 14- and 20-pin packages

Building Blocks for Function Enablement


Operational Amplifier (OPA)

The on-chip Operational Amplifier (OPA) provides a higher level of analog integration for signal conditioning and reduces component count.

Analog-to-Digital Converter with Computation (ADCC)

The Analog to Digital Converter with Computation (ADCC) helps accelerate common math tasks normally done in software by providing post-processing functions like averaging, low-pass filter, oversampling and threshold comparison.

Digital-to-Analog Converter (DAC)

The 8-bit buffered Digital-to-Analog Converter (DAC) provides an accurate reference to an on-board comparator module in closed-loop control applications.

Zero Cross Detect (ZCD)

The Zero Cross Detect (ZCD) module can monitor AC line voltage and indicate zero crossing activity.  This information is made directly available to on-board waveform generation peripherals for use in TRIAC control applications, greatly reducing both CPU demand and BOM cost.

Configurable Logic Cell (CLC)

The Configurable Logic Cell (CLC) offers hardware-based combinational and sequential logic functions to simplify and accelerate many common tasks. The CLC can also be used as glue logic between peripherals, eliminating the need for CPU intervention during steady-state activity in complex control loops.

16-bit Pulse-Width Modulator (PWM)

The 16-bit Pulse-Width Modulator (PWM) provides high-resolution performance with an independent time base for flexible use in a variety of applications.

Complementary Waveform Generator (CWG)

The Complementary Waveform Generator (CWG) provides a complementary waveform with rising and falling edge dead band control, enabling high-efficiency synchronous switching with no processor overhead. The CWG also incorporates auto shutdown and auto restart and can interface directly with other peripherals/external inputs. 

Capture Compare PWM (CCP)

The Capture Compare PWM provides 16-bit signal capture and compare, as well as 10-bit PWM output functionality.

Data Signal Modulator (DSM)

The Data Signal Modulator (DSM) offers smooth signal switching. When paired with a 16-bit PWM, LED dimming engine functionality is created.

Hardware Limit Timer (HLT)

8-bit and 16-bit timers are available on the MCU. The 8-bit timers are equipped with a Hardware Limit Timer (HLT) to detect faults in motors, power supplies and other external devices. The HLT can automatically notify the system to make provisions to shut down and/or safely restart.

CRC/SCAN Module and Windowed Watchdog Timer (WWDT)

The CRC/SCAN module and the Windowed Watchdog Timer (WWDT) work in tandem to provide the necessary tools to incorporate functional safety into your application. By ensuring the integrity of the program Flash contents, the devices support the implementation of safety standards such as Class B and UL 1998.

Peripheral Pin Select (PPS)

Peripheral Pin Select (PPS) provides ultimate flexibility when routing digital signals to device pins. With PPS, any digital peripheral can be connected to any I/O pin on the fly for a customized layout. This allows you to maintain layout compatibility with older PIC® MCUs, even as new features are implemented. 

Direct Memory Access (DMA)

Direct Memory Access (DMA) is used to move data among Flash, EEPROM, RAM and peripherals without intervention from the CPU.

Advanced Memory Features

Memory Access Partition (MAP) supports data protection and bootloader applications. Device Information Area (DIA) is a dedicated memory space for factory-programmed device ID and peripheral calibration values.

Power-Conserving Functionality

IDLE and DOZE low-power modes allow you to optimize your application for device performance and power consumption. The Peripheral Module Disable (PMD) allows unused peripherals to be turned off individually, further reducing power consumption. 

PIC18-Q41 Product Family

View All Parametrics
Product Program Memory Size (KB) SRAM (Bytes) Emulated EEPROM in Flash Pin count Operational Amplifier ADC Input Status 5K Pricing CPU Type Architecture Family Program Memory Size (KWords) Bootload capable Max I/O Pins Max CPU Speed (MHz) Peripheral Pin Select / Pin Muxing Vbat/Vddbu battery backup Brown-Out Reset Low Voltage Detection Power On Reset Internal Oscillator Hardware RTCC/RTC Watch Dog Timer Number of Comparators Number of ADCs Max ADC Resolution (Bits) Max ADC Sampling Rate (ksps) ADC with Computation Number of DACs DAC Outputs Max DAC Resolution (Bits) Internal Voltage Reference (Bandgap) Zero Cross detect Slope Compensation / Programmable Ramp Generator Data Signal Modulator CTMU Max 8-Bit Digital Timers Max 16-Bit Digital Timers Signal Measurement Timer Hardware Limit Timer Stand alone PWMs Capture / Compare/PWM (CCP) Enhanced Capture/Compare/PWM (ECCP) Max PWM outputs (including complementary) Number of PWM Time Bases PWM Max Resolution (Bits) Quadrature Encoder Interface Angular Timer Math Accelerator UART SPI I2C Number of USB Modules USB Interface USB Active Clock Tuning Number of CAN Modules CAN Transmit Buffers CAN Receive Buffers Ethernet LIN IrDA Parallel Port Class B Support CRC Configurable Logic Cell (CLC/CCL) Complementary Waveform Generator / Complementary Output Generator Numerically Controlled Oscillator Programmable Switched Mode Controller Hardware Touch Peripheral Hardware Direct Touch Channel Buttons Hardware Touch Matrix Nodes Touch Library Support Hardware Cap Voltage Divider Segmented LCD Keeloq Hardware Crypto Engine JTAG Temp Range Min Temp Range Max Operation Voltage Min (V) Operation Voltage Max (V) High Voltage Capable Packages
PIC18F04Q40 16 1024 512 14 0 11 In Production $0.63 8-bit PIC MCU 8 8-bit MCU 8 No 12 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 3 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No No Yes 4 3 3 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 14/SOIC, 14/TSSOP
PIC18F04Q41 16 1024 512 14 1 11 In Production $0.69 8-bit PIC MCU 8 8-bit MCU 8 No 12 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 3 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No No Yes 4 3 3 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 14/SOIC, 14/TSSOP
PIC18F14Q40 16 1024 512 20 0 17 In Production $0.70 8-bit PIC MCU 8 8-bit MCU 8 No 18 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 3 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No No Yes 4 3 3 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN
PIC18F14Q41 16 1024 512 20 1 17 In Production $0.76 8-bit PIC MCU 8 8-bit MCU 8 No 18 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 3 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No No Yes 4 3 3 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN
PIC18F05Q40 32 2048 512 14 0 11 In Production $0.69 8-bit PIC MCU 8 8-bit MCU 16 No 12 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 14/SOIC, 14/TSSOP
PIC18F05Q41 32 2048 512 14 1 11 In Production $0.74 8-bit PIC MCU 8 8-bit MCU 16 No 12 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 14/SOIC, 14/TSSOP
PIC18F06Q40 64 4096 512 14 0 11 In Production $0.77 8-bit PIC MCU 8 8-bit MCU 32 No 12 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 14/SOIC, 14/TSSOP
PIC18F06Q41 64 4096 512 14 1 11 In Production $0.83 8-bit PIC MCU 8 8-bit MCU 32 No 12 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 14/SOIC, 14/TSSOP
PIC18F15Q40 32 2048 512 20 0 17 In Production $0.76 8-bit PIC MCU 8 8-bit MCU 64 No 18 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN
PIC18F15Q41 32 2048 512 20 1 17 In Production $0.81 8-bit PIC MCU 8 8-bit MCU 16 No 18 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN
PIC18F16Q40 64 4096 512 20 0 17 In Production $0.84 8-bit PIC MCU 8 8-bit MCU 32 No 18 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN
PIC18F16Q41 64 4096 512 20 1 17 In Production $0.90 8-bit PIC MCU 8 8-bit MCU 32 No 18 64 Yes No BOR None Yes 64MHZ No No 2 1 12 0 Yes 2 1 8 Yes Yes 0 1 No 2 3 1 2 3 3 0 6 3 16 0 No No 3 2 1 0 None No 0 0 0 None Yes No No Yes Yes 4 3 1 0 ADC2 with HCVD 0 0 Yes 0 No No None -40 125 1.8 5.5 No 20/PDIP, 20/SOIC, 20/SSOP, 20/VQFN

PIC18-Q41 Product Family Overview

This video provides an overview of the PIC18-Q41 family of microcontrollers.