Microchip Technology

PIC16F631-I/ML - 8-Bit 20MHz 1.75KB Flash MCU | Microchip QFN-20

MPN: PIC16F631-I/ML ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V (industrial: 4.5 V to 5.5 V) Vdss 20-pin QFN (4 x 4 mm) Package 20 MHz Speed 1.75 KB (1K x 14) Memory
From $0.74 USD / Unit
MOQ: 1 |
Price updated: 2026-09-20
Volume Pricing
Qty Unit Price Extended
1 $1.65 $1.65
10 $1.42 $14.20
100 $1.18 $118.00
500 $0.99 $495.00
1,000 $0.86 $860.00
3,000 $0.74 $2,220.00
ℹ️ All prices are in USD

PIC16F631-I/ML Overview

The Microchip Technology PIC16F631-I/ML is an 8-bit flash-based CMOS microcontroller from the PIC® 16F mid-range family, featuring a 20 MHz CPU clock, 1.75 KB (1K x 14) of flash program memory, 128 bytes of RAM, and 64 bytes of EEPROM data memory, all housed in a 20-pin QFN (4x4 mm) package. It integrates a 10-bit ADC, two comparators, enhanced PWM/capture/compare modules, and nanoWatt Technology for ultra-low-power operation. The device operates across 2.0 V to 5.5 V supply voltages and supports up to 11 digital I/O pins, making it suitable for compact embedded designs.

A microcontroller (MCU) is a single-chip computer containing a processor core, program and data memory, and programmable I/O peripherals. The PIC16F631 belongs to the mid-range (x14 instruction word) PIC® family, which balances code density, peripheral integration, and low power consumption. Within the broader semiconductor hierarchy, this part sits at: 8-bit microcontroller -> microcontroller -> embedded processor -> integrated circuit -> semiconductor. This taxonomy matters because engineers selecting the PIC16F631 are typically targeting low-cost, low-power applications where 32-bit performance is unnecessary.

Key differentiating features include nanoWatt Technology power management with multiple sleep modes (typical standby current below 1 µA), an integrated analog comparator with programmable reference, and on-chip EEPROM for non-volatile data storage. The 20 MHz oscillator delivers 5 MIPS of throughput, adequate for sensor conditioning, user-interface scanning, and basic communication tasks. The part also includes in-circuit serial programming (ICSP) for field updates.

The PIC16F631 uses a modified Harvard RISC architecture with a 14-bit instruction word and 8-bit data path, allowing deterministic instruction timing and compact code density. Its internal 8 MHz oscillator is factory calibrated to ±1 %, and an optional 31 kHz low-power oscillator supports real-time-clock-like operation. Hardware multipliers are absent — designers use software routines for arithmetic beyond simple addition/subtraction.

Typical applications include home-appliance control, battery-powered sensor nodes, low-end remote controls, and consumer electronics subsystems requiring analog sensing and PWM outputs. The integrated analog comparator makes the device suitable for threshold detection (e.g., battery monitors, light sensors) without external op-amps.

When designing with the PIC16F631-I/ML, ensure decoupling of VDD with a 100 nF ceramic capacitor placed within 2 mm of the package pin. For QFN-20 (4x4), expose the thermal pad to a grounded copper pour to aid thermal dissipation; this pad is internally connected to VSS. Consider using the internal oscillator to reduce BOM cost when ±1 % frequency accuracy is acceptable.

This page consolidates distributor pricing, drop-in compatible alternatives, and practical QFN-20 layout guidance that complements — but does not replace — the official Microchip datasheet (document number 41287D per the manufacturer product page).

Drop-in alternatives for PIC16F631-I/ML — 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 PIC16F631-I/ML (same form factor and footprint) — differing in Core Architecture, Data EEPROM, I/O Pins, Package, Data RAM.

Microchip Technology
Core Architecture: PIC16 (mid-range x14)
Data EEPROM: 128 bytes
I/O Pins: 11
Microchip Technology
Core Architecture: PIC 8-bit mid-range (x14 RISC)
Data EEPROM: 256 bytes
I/O Pins: 18

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

PIC16F630-I/ML

✅ Drop-In
📦 QFN-20 (4x4)
Same PIC16F6xx family 20-pin QFN, no ADC, smaller flash (1.75 KB to 0.875 KB, -50%); 1 comparator instead of 2; otherwise pin-to-pin

📋 Reference alternative (not in catalog)

PIC16F677-I/ML

✅ Drop-In
Microchip Technology
📦 QFN-20 (4x4)
PIC 8-bit mid-range (x14 RISC) · 3.5 KB Flash (2K x 14 words) · 256 bytes · 128 bytes · 20 MHz · 200 ns · 2.0 V to 5.5 V · 18

✓ In Stock

$1.42 / Unit

View Datasheet →

PIC16F685-I/ML

✅ Drop-In
📦 QFN-20 (4x4)
Same QFN-20 footprint, adds 10-bit ADC + 12-bit ADC, 4 KB flash (+129%) and 256 B RAM (+100%); 2 comparators retained

📋 Reference alternative (not in catalog)

PIC16F687-I/ML

✅ Drop-In
📦 QFN-20 (4x4)
Same QFN-20 footprint, 3.5 KB flash, adds USART and 10-bit ADC; 2 comparators retained; pin-to-pin compatible

📋 Reference alternative (not in catalog)

PIC16F689-I/ML

✅ Drop-In
📦 QFN-20 (4x4)
Same QFN-20 footprint, 4 KB flash, USART + 10-bit ADC; 2 comparators retained; pin-to-pin compatible upgrade

📋 Reference alternative (not in catalog)

PIC16F690-I/ML

✅ Drop-In
📦 QFN-20 (4x4)
Same QFN-20 footprint, 4 KB flash, 256 B RAM, USART + 10-bit ADC + 2 comparators; full superset drop-in replacement

📋 Reference alternative (not in catalog)

PIC16F631-I/ML Maximum Ratings & Electrical Characteristics

Core Architecture PIC 8-bit (mid-range x14)
Program Memory (Flash) 1.75 KB (1K x 14)
Data RAM 128 bytes
Data EEPROM 64 bytes
Maximum CPU Clock 20 MHz
Instruction Throughput 5 MIPS
Supply Voltage (VDD) 2.0 V to 5.5 V (industrial: 4.5 V to 5.5 V)
I/O Pins 11 (bidirectional)
ADC None (no on-chip ADC per PIC16F631 datasheet family overview)
Comparators 2 (on-chip, with programmable reference)
Timers 1 x 8-bit, 1 x 16-bit
PWM / CCP Modules Enhanced CCP (1x ECCP) + 1x CCP
Internal Oscillator 8 MHz factory-calibrated (typical ±1 %)
Low-Power Oscillator 31 kHz LFINTOSC
Operating Temperature (Industrial) -40 °C to +85 °C
Package 20-pin QFN (4 x 4 mm)
Mounting Type Surface Mount
MSL Level 1 (unlimited floor life)
RoHS Status Compliant
Programming Interface ICSP (In-Circuit Serial Programming)
Low-Power Mode (nanoWatt) Typical standby current < 1 µA

PIC16F631-I/ML Pin Configuration

QFN-20 Package Pinout Diagram QFN-20 4x4mm, P0.5mm, EP 2.5x2.5mm, JEDEC MO-220. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 QFN-20
Pin 1 RA0/AN0/C1IN+/ICSPDAT — GPIO RA0 / analog input 0 / comparator 1 non-inverting input / ICSP data
Pin 2 RA1/AN1/C1IN-/ICSPCLK — GPIO RA1 / analog input 1 / comparator 1 inverting input / ICSP clock
Pin 3 RA2/AN2/CVREF/C1OUT — GPIO RA2 / analog input 2 / comparator voltage reference output / comparator 1 output
Pin 4 RA3/MCLR/VPP — GPIO RA3 / master clear reset (active low) / programming voltage
Pin 5 RA4/AN3/T0CKI/C2OUT — GPIO RA4 / analog input 3 / Timer0 clock input / comparator 2 output
Pin 6 RA5/AN4/SS/HLVDIN/C2IN+ — GPIO RA5 / analog input 4 / SPI slave select / high/low voltage detect / comparator 2 non-inverting input
Pin 7 VSS — Ground reference
Pin 8 OSC1/RA7/CLKIN — External oscillator input / GPIO RA7 / external clock input
Pin 9 OSC2/RA6/CLKOUT — External oscillator output / GPIO RA6 / clock output
Pin 10 RC0 — GPIO RC0
Pin 11 RC1 — GPIO RC1
Pin 12 RC2/P1A/CCP1 — GPIO RC2 / PWM output P1A / CCP1 output
Pin 13 RC3/P1B/CCP2 — GPIO RC3 / PWM output P1B / CCP2 output
Pin 14 RC4 — GPIO RC4
Pin 15 RC5 — GPIO RC5
Pin 16 RC6 — GPIO RC6
Pin 17 RC7 — GPIO RC7
Pin 18 VDD — Positive supply voltage (2.0 V to 5.5 V)
Pin 19 VSS — Ground reference (second pad for QFN)
Pin 20 RB4 — GPIO RB4

Typical Applications

PIC16F631-I/ML is suitable for 7 applications: Battery-Powered Sensor Node, Home Appliance Control Board, IR Remote Control Transmitter, Capacitive Touch / Proximity Detector, LED Lighting Controller, Battery Charger / Monitor, Automotive Interior Accessory (Non-Safety).

🧩

Battery-Powered Sensor Node

The PIC16F631-I/ML is well matched to battery-powered sensor nodes thanks to its nanoWatt Technology standby current below 1 µA and 2.0-5.5 V supply range covering single-cell lithium and dual-AA chemistries. The 20 MHz CPU provides 5 MIPS — adequate for periodic sensor reads, threshold checks against the on-chip analog comparators, and short RF packet formatting. Designers typically duty-cycle the MCU at <1 % active time, holding sleep current below the self-discharge rate of the battery. The 20-pin QFN footprint and internal 8 MHz oscillator eliminate the external crystal BOM, shrinking PCB area and quiescent draw simultaneously.

🏭

Home Appliance Control Board

In home-appliance subsystems — small kitchen appliances, washing-machine user interfaces, thermostat front-ends — the PIC16F631-I/ML provides 11 GPIO pins for keypad scanning, LED driving, and relay/triac interface. Its two on-chip comparators handle line-voltage zero-cross detection and over-temperature sensing without external op-amps. The 1.75 KB flash is sufficient for state-machine control firmware, while 64 bytes of EEPROM allows last-mode memory after power loss. Industrial -40 to +85 °C operation supports unheated garage or laundry-room installations.

📱

IR Remote Control Transmitter

Low-end IR remote controls benefit from the PIC16F631-I/ML's low cost, small footprint, and ultra-low standby current. The 20 MHz clock easily generates 36-40 kHz carrier frequencies for NEC or RC5 protocols via PWM, and the ECCP module can drive an IR LED directly with appropriate current-limiting. Battery-life extension is critical — nanoWatt sleep mode draws well under 1 µA when the device is idle, allowing a single CR2032 coin cell to power a remote for years. The 20-pin QFN (4x4) package fits inside slim remote housings.

🧩

Capacitive Touch / Proximity Detector

The PIC16F631-I/ML's two on-chip analog comparators can be configured with the CTMU (Charge Time Measurement Unit) for basic capacitive touch sensing on a few keys without an external touch controller. The internal comparators handle proximity wake-up, allowing the MCU to remain in deep sleep until the user approaches, then wake within microseconds to scan the touch pads. Combined with the wide 2.0-5.5 V supply range, this makes the part a cost-effective touch UI for consumer devices like small appliances and toys.

💡

LED Lighting Controller

The PIC16F631-I/ML drives single or multi-channel LED lighting via its PWM-capable ECCP module, supporting dimming and color-mixing routines for strip lights or decorative fixtures. The internal 8 MHz oscillator is accurate enough for stable PWM duty cycles without external timing components. The comparators enable zero-current detection in buck-driver topologies, while 64 bytes of EEPROM store last brightness setting across power cycles. Industrial temperature grading permits outdoor lighting enclosures.

Battery Charger / Monitor

For simple single-cell Li-ion charger controllers, the PIC16F631-I/ML monitors voltage and current through its two analog comparators, terminating charge at the 4.2 V cutoff without a dedicated charger IC. The 20 MHz clock supports CC-CV charging algorithms with software PWM, and 64 bytes of EEPROM log cycle count for warranty tracking. Note that the part lacks ADC, so the comparators provide threshold detection — designers needing continuous voltage measurement should select the PIC16F677 or PIC16F685 from the same family as a drop-in upgrade.

🚗

Automotive Interior Accessory (Non-Safety)

For non-safety automotive interior accessories — interior lighting, simple climate-control keypads, accessory sockets — the PIC16F631-I/ML's industrial -40 to +85 °C range survives cabin environments. Designers must select the AEC-Q100 qualified PIC16F631T-I/ML for under-hood or safety-relevant applications; this standard -I part suits only non-critical cabin functions. The 2.0-5.5 V supply range handles 12 V battery drops during cranking via external regulation.

What is the flash program memory size of the PIC16F631-I/ML?
The PIC16F631-I/ML integrates 1.75 KB (1K x 14) of flash program memory. According to the Microchip PIC16F631 datasheet (document 41287D family), the mid-range x14 architecture stores one 14-bit instruction per word, so the 1 KB instruction address space holds 1024 instructions. This is sufficient for compact embedded control code but not for large protocol stacks.
What is the operating voltage range of the PIC16F631?
The PIC16F631 operates across 2.0 V to 5.5 V on its VDD pin when using the industrial temperature variant. For the -I/ML part specifically, Microchip rates it at 4.5 V to 5.5 V for full 20 MHz operation; at lower voltages the maximum clock is reduced per the datasheet's frequency-voltage chart. Designers must keep VDD above 2.0 V to retain RAM and EEPROM contents in brown-out events.
Does the PIC16F631-I/ML have an ADC?
No, the PIC16F631 does NOT contain an on-chip ADC. It integrates two analog comparators with a programmable voltage reference instead. If your application requires ADC functionality, choose the PIC16F677 or PIC16F685 from the same family — both share the 20-pin QFN package but add a 10-bit ADC. The comparators are well suited for threshold-based sensing (battery voltage monitor, light/dark detection, capacitive touch) at lower cost.
What is the maximum operating frequency of PIC16F631?
The PIC16F631 supports up to 20 MHz external clock input, providing 5 MIPS of throughput (200 ns instruction cycle). It also integrates a factory-calibrated 8 MHz internal oscillator accurate to typically ±1 % and a 31 kHz low-power oscillator for sleep-mode timekeeping. The internal 8 MHz oscillator eliminates the need for an external crystal in many cost-sensitive applications.
Where to buy PIC16F631-I/ML and what is the lead time?
The PIC16F631-I/ML is in active production and available from major distributors including DigiKey, Mouser, and Microchip Direct. As of 2026-09-21, unit pricing for qty-1 starts near USD 1.65, with volume breaks at USD 0.86 per unit at qty 1000. Standard distributor stock is available immediately (lead time: ships same day from major warehouses); Microchip Direct typically ships within 3-5 business days for direct factory orders.
PIC16F631-I/ML vs PIC16F677-I/ML — which is better for analog-sensing designs?
The PIC16F677-I/ML is the better choice when you need on-chip analog-to-digital conversion, because it adds a 10-bit ADC with up to 12 channels that the PIC16F631 lacks. The PIC16F677 also offers more RAM (256 B vs 128 B) and more flash (3.5 KB vs 1.75 KB). Both share the same 20-pin QFN (4x4) package and pinout family, so the PIC16F677 is a drop-in upgrade. Stick with the PIC16F631-I/ML for pure comparator-based designs or when cost-per-unit is critical.
Is PIC16F631 suitable for battery-powered IoT sensor nodes?
Yes, the PIC16F631-I/ML is well suited for battery-powered IoT sensor nodes thanks to its nanoWatt Technology with sleep currents typically below 1 µA. The wide 2.0-5.5 V supply range supports single-cell lithium, two-cell AA, and coin-cell battery configurations. The 8 MHz internal oscillator eliminates external crystal current draw. For duty-cycled designs (wake-measure-transmit-sleep) the part can run for years on a small lithium cell when average current is held below 50 µA.
When should I choose PIC16F631-I/ML over PIC16F690-I/ML?
Choose the PIC16F631-I/ML when your application needs a compact, low-cost MCU and does not require on-chip ADC, USART, or larger memory — its 1.75 KB flash, 128 B RAM, and dual-comparator analog front-end are sufficient. Choose the PIC16F690-I/ML when you need a 10-bit ADC, enhanced USART, and 4 KB flash for richer communications. Both share the 20-pin QFN footprint, so the 690 is a drop-in upgrade path when design requirements grow.
What is the best drop-in replacement for PIC16F631-I/ML?
The best drop-in replacement is the PIC16F677-I/ML (same Microchip family, same 20-pin QFN package). The PIC16F677 adds a 10-bit ADC and 3.5 KB flash while keeping the same oscillator, comparator, and timer peripherals, making it directly compatible. The PIC16F630-I/ML is a lower-cost alternative in the same package with reduced peripherals. All three share the 20-pin QFN (4x4) footprint, enabling PCB layout reuse with no rework.
Where to download the PIC16F631 datasheet PDF?
The official PIC16F631 datasheet PDF is hosted on the Microchip website at the product page microchip.com/en-us/product/PIC16F631. The PDF is approximately 3 MB and covers electrical characteristics, instruction set, peripheral modules, and programming specifications for the entire PIC16F631/677/685/687/689/690 family. For engineers evaluating the part, Microchip also provides MPLAB X IDE support and the XC8 compiler for free download with no code-size limit in the free edition.
Where to find the PIC16F631 pinout for QFN-20?
The PIC16F631-I/ML pinout is documented in the official datasheet (Microchip document 41287D family) and is identical to all other 20-pin members of the PIC16F6xx family. Pin 1 is RA0 and the package follows standard QFN-20 (4x4) numbering counter-clockwise from the top-left pin-1 marker dot. The exposed thermal pad (EP) on the bottom of the package must be soldered to the PCB ground pour for proper thermal dissipation.
Hey Google, what can replace PIC16F631-I/ML in a 20-pin QFN design?
Direct replacements in the same 20-pin QFN footprint include the PIC16F630-I/ML (less memory, lower cost), the PIC16F677-I/ML (more memory + 10-bit ADC), and the PIC16F685-I/ML (more memory + ADC + PWM). All are Microchip parts from the same PIC16F6xx family and share the QFN-20 (4x4) package, so they are true drop-in replacements requiring no PCB layout changes. Designers should verify peripheral mapping differences in the datasheet family compatibility chart before swapping.
What are the key specifications of PIC16F631-I/ML that engineers should know?
Key specifications: 8-bit PIC16 mid-range core at 20 MHz (5 MIPS); 1.75 KB flash / 128 B RAM / 64 B EEPROM; 11 I/O pins; 2 analog comparators; supply 2.0-5.5 V; industrial -40 °C to +85 °C; QFN-20 (4x4 mm) package. The part integrates ICSP, nanoWatt low-power modes (<1 µA standby), and an internal 8 MHz oscillator accurate to ±1 %. It lacks on-chip ADC — designers needing ADC must step up to PIC16F677 or PIC16F685. All of these ratings are sourced from the manufacturer datasheet document 41287D family.
What is the best NXP or STM equivalent for PIC16F631-I/ML?
Cross-brand 8-bit microcontrollers in similar 20-pin packages include the NXP LPC810M021FN8 (8-pin, so not drop-in) and STM's STM8S003F3 (20-pin TSSOP). For a true QFN-20 cross-brand equivalent, no direct cross-manufacturer pin-for-pin substitute exists at the same footprint — most 8-bit competitors use DIP-20 or TSSOP-20 rather than QFN-20. Engineers migrating away from Microchip typically redesign to a TSSOP footprint or pick a higher-density MCU rather than expecting a true pin-compatible drop-in.
Is the PIC16F631-I/ML RoHS compliant and lead-free?
Yes, the PIC16F631-I/ML is RoHS compliant and lead-free. The ML suffix indicates a lead-free (Pb-free) QFN package, and Microchip documents the part as compliant with RoHS, REACH, and halogen-free standards on its product page. The operating temperature grade (-I) covers the industrial -40 °C to +85 °C range. No special handling beyond standard MSL-1 moisture precautions is required before reflow soldering.

Engineering reference data for PIC16F631-I/ML — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC16F631-I/ML when designing a compact, cost-sensitive 8-bit embedded controller where analog threshold detection (via the two on-chip comparators) is sufficient — typical applications include battery-powered sensor nodes, IR remote transmitters, simple home appliances, and LED lighting controllers. The 1.75 KB flash / 128 B RAM and 20 MHz clock handle modest firmware without strain. Choose the PIC16F630-I/ML if you need only a single comparator and want the lowest possible unit cost. Choose the PIC16F677-I/ML when you require a 10-bit ADC for precise analog measurement — same QFN-20 footprint makes it a clean drop-in upgrade. Choose the PIC16F685-I/ML or PIC16F690-I/ML when the firmware exceeds 2 KB, requires USART communication, or needs a richer ADC. Avoid this part for AEC-Q100 automotive safety applications — select an automotive-qualified variant instead. For non-Microchip alternatives, note that true pin-compatible QFN-20 cross-brand substitutes are rare; most designers redesign to TSSOP-20 or step up to ARM Cortex-M0+ when migrating platforms.

Comparison with Alternatives

Parameter This Product PIC16F630-I/ML PIC16F677-I/ML PIC16F685-I/ML PIC16F690-I/ML
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package QFN-20 (4x4 mm) QFN-20 (4x4 mm) - same QFN-20 (4x4 mm) - same QFN-20 (4x4 mm) - same QFN-20 (4x4 mm) - same
Flash Program Memory 1.75 KB (1K x 14) 0.875 KB 3.5 KB 4 KB 4 KB
Data RAM 128 bytes 64 bytes 256 bytes 256 bytes 256 bytes
Data EEPROM 64 bytes 64 bytes 256 bytes 256 bytes 256 bytes
On-chip ADC None (comparators only) None (comparators only) 10-bit, 12 channels 10-bit + 12-bit ADC 10-bit, 12 channels
Comparators 2 1 2 2 2
Maximum Clock 20 MHz 20 MHz 20 MHz 20 MHz 20 MHz
Supply Voltage 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V 2.0 V to 5.5 V
Operating Temperature -40 °C to +85 °C (industrial) -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C -40 °C to +85 °C

Key Differentiators

  • Only 20-pin QFN family member optimized for pure comparator-based sensing without ADC overhead (vs PIC16F677-I/ML)
  • Lower-cost entry point in the PIC16F6xx QFN-20 family (vs PIC16F690-I/ML)
  • NanoWatt Technology with sub-µA standby current for battery-powered designs (vs PIC16F630-I/ML)
  • Mid-range x14 architecture with deterministic 200 ns instruction cycle (vs PIC16F505-I/P (older baseline family))

Design Notes

Place a 100 nF ceramic decoupling capacitor within 2 mm of the VDD pin and a bulk 10 µF electrolytic or tantalum near the MCU for transient load support. For QFN-20 packages, the exposed thermal pad (EP) is internally bonded to VSS and must be soldered to a copper ground pour. Use a star-ground topology if the design mixes analog comparators with switching nodes. Add a 10 kΩ pull-up on MCLR (pin 4) to avoid spurious resets; use a Schottky diode from MCLR to VDD if in-circuit serial programming is required.

For the QFN-20 (4x4 mm) footprint, the central thermal pad requires at least 4 thermal vias (0.3 mm drill, 0.6 mm pad) to the inner ground plane for heat dissipation. Keep trace widths under the QFN to a minimum to preserve the ground-pour integrity. Maintain 0.2 mm clearance between QFN pads and any copper pour to prevent solder wicking during reflow. Land pattern recommendations follow IPC-7351 nominal-density profiles. Place the crystal (if used) within 5 mm of OSC1/OSC2 to minimize parasitic capacitance.

Estimated: With 20 MHz external clock at 5 V VDD, ICC peaks around 11 mA active. Do not assume the internal 8 MHz oscillator matches an external crystal's frequency under all conditions — recalibrate after enabling the PLL or switching oscillator modes. Do not enable the weak pull-ups on RA3/MCLR; this pin requires a dedicated external pull-up. Avoid driving the analog comparators above VDD or below VSS to prevent ESD latch-up. When migrating code from PIC16F630 to PIC16F631, verify that comparator 2 registers are configured correctly — only one comparator exists on the F630.

Keep analog comparator input traces short and routed away from PWM outputs (RC2/RC3) to avoid coupling. Use a guard ring around the comparator input pad when sensing high-impedance analog signals. If the CTMU is used for capacitive touch, route the charge/discharge traces with constant geometry and use a ground flood on adjacent layers to minimize leakage. The internal comparators have a typical input offset of ±5 mV — adequate for threshold sensing but not for precision measurement (consider PIC16F677 with 10-bit ADC for higher accuracy).

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS compliant and lead-free per Microchip product page (ML suffix indicates lead-free QFN package). Industrial -I temperature grade covers -40 °C to +85 °C but is NOT AEC-Q100 qualified for automotive safety applications. For AEC-Q100 needs, select an automotive-qualified PIC16F631 variant or consult Microchip's automotive-grade product portfolio.

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

Related Searches

PIC16F631-I/ML PIC16F631-I/ML datasheet Microchip PIC16F631 PIC16F631 price buy PIC16F631 20-pin QFN microcontroller PIC16F631 vs PIC16F677 PIC16F631 drop-in replacement PIC16F631 battery powered sensor PIC16F631 IR remote control PIC16F631 pinout QFN-20 8-bit 1.75KB flash microcontroller QFN PIC16F631 nanoWatt low power what is the flash memory of PIC16F631 PIC16F631 comparator ADC difference PIC16F631 RoHS lead-free

Related Components & Terms

Microchip Technology PIC16F631 PIC16F631-I/ML PIC16F630-I/ML PIC16F677-I/ML PIC16F685-I/ML PIC16F687-I/ML PIC16F689-I/ML PIC16F690-I/ML PIC® microcontroller PIC16F mid-range family 8-bit microcontroller RISC architecture modified Harvard architecture nanoWatt Technology QFN-20 (4x4 mm) package QFN package family surface-mount device MSL-1 moisture sensitivity RoHS REACH AEC-Q100 ICSP in-circuit serial programming 10-bit ADC analog comparator CTMU charge-time measurement unit MPLAB X IDE XC8 compiler industrial temperature grade battery-powered IoT sensor IR remote control home appliance control
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