Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

PIC16F631-I

8-bit Mid-Range PIC MCU, 1.75KB Flash, 64B RAM, 128B EEPROM, 2 comparators, nanoWatt

Effective inventoryPCS

7832
in stock

SpecificationsTechnical data

Manufacturer part

PIC16F631-I

Package

20-pin PDIP / SOIC / SSOP / QFN

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The PIC16F631-I is a 20-pin, 8-bit Flash-based CMOS microcontroller from Microchip Technology, featuring the Mid-Range PIC architecture with 35 instructions and an 8-level deep hardware stack. This cost-effective MCU offers 1.75KB (1024 x 14 words) of Flash program memory, 64 bytes of RAM, and 128 bytes of data EEPROM. Operating at up to 20 MHz with a 200 ns instruction cycle, it integrates a precision 8 MHz internal oscillator factory calibrated to ±1%, along with two analog comparators with programmable on-chip voltage reference. With its nanoWatt Technology for low-power operation, the PIC16F631 is ideal for battery-powered applications, industrial sensors, appliance controls, and cost-sensitive consumer products requiring analog comparison functionality without the overhead of a full ADC.

Key Specifications

Core Architecture 8-bit PIC (Mid-Range Core)
Program Memory 1.75KB Flash (1K x 14 words)
RAM 64 bytes
Data EEPROM 128 bytes
Maximum Speed 20 MHz (5 MIPS)
Operating Voltage 2.0V to 5.5V
I/O Pins 18
ADC None
Comparators 2
Timers 1 x 8-bit (TMR0) + 1 x 16-bit (TMR1)
PWM 1 (via CCP on other family members)
Communication None (simplified variant)
Internal Oscillator 8 MHz (±1% factory calibrated)
Stack Levels 8
Operating Temperature -40°C to +85°C (Industrial)
Package 20-pin PDIP / SOIC / SSOP / QFN

Features

  • Mid-Range PIC architecture with 35 single-cycle instructions and 8-level stack
  • Precision internal oscillator: 8 MHz factory calibrated to ±1%
  • Software selectable frequency range: 8 MHz to 32 kHz
  • Two analog comparators with programmable on-chip voltage reference (CVREF)
  • SR Latch mode for comparator outputs (555 timer emulation)
  • 128 bytes of data EEPROM for non-volatile storage
  • nanoWatt Technology for ultra-low power consumption
  • Ultra Low-Power Wake-up (ULPW) module
  • Enhanced Timer1 with gate sync latch and low-power oscillator option
  • Power-on Reset (POR), Power-up Timer (PWRT), and Oscillator Start-up Timer (OST)
  • Brown-out Reset (BOR) with software selectable trip points
  • Enhanced Watchdog Timer (WDT) with on-chip RC oscillator
  • In-Circuit Serial Programming (ICSP) via two pins
  • Programmable code protection for program and data memory
  • High current I/O pins: 25 mA sink/source per pin

Applications

  • Industrial sensor interfaces and limit detection
  • Battery-powered monitoring devices
  • Appliance control and simple motor control
  • Low-cost consumer electronics
  • Level sensing and threshold detection
  • Portable medical devices
  • Automotive sensor interfaces
01PIC16F631-I · Product Introduction
The PIC16F631 is a 20-pin Flash-based 8-bit CMOS microcontroller from Microchip Technology, part of the popular PIC16F6xx family featuring the Mid-Range PIC architecture. This device is the entry-level member of the PIC16F631/677/685/687/689/690 family, offering 1.75KB (1024 x 14 words) of Flash program memory, 64 bytes of RAM, and 128 bytes of data EEPROM. It operates at up to 20 MHz with a 200 ns instruction cycle, delivering 5 MIPS of processing power. A key feature is the integrated precision internal oscillator operating at 8 MHz (factory calibrated to ±1%), which can be software divided down to 32 kHz for low-power operation. The analog comparator module includes two comparators with a programmable on-chip voltage reference, enabling threshold detection, level sensing, and SR latch (555 timer) applications without external components. With nanoWatt Technology providing multiple power-saving modes including Ultra Low-Power Wake-up (ULPW), the PIC16F631 is well-suited for battery-powered applications. The device is available in PDIP, SOIC, SSOP, and QFN packages with industrial temperature range (-40°C to +85°C).
02PIC16F631-I · Working Principle
The PIC16F631 operates on a Mid-Range PIC RISC core with a 13-bit program counter and an 8-level deep hardware stack. Instructions are fetched from 14-bit wide Flash program memory, with most executing in a single clock cycle. The Harvard architecture provides separate buses for program and data memory, allowing simultaneous access. Data memory consists of 64 bytes of general-purpose SRAM (file registers) and 128 bytes of EEPROM for non-volatile data storage. The internal oscillator module generates a stable 8 MHz clock (factory calibrated to ±1%) with software-selectable division ratios down to 32 kHz, eliminating the need for an external crystal in many applications. The two analog comparators compare voltage levels on their inputs, with results readable from status registers or configurable to directly drive output pins. The Comparator Voltage Reference (CVREF) module provides a programmable reference voltage derived from VDD, eliminating external reference components. Timer0 is an 8-bit timer/counter with prescaler, while Timer1 is a 16-bit timer/counter with gate control and optional low-power 32 kHz oscillator operation. Power management features include Sleep mode, Idle mode, and Doze mode for flexible power/performance trade-offs. The ULPW module allows waking from Sleep on pin change with minimal current consumption.
03PIC16F631-I · Pin Description
Pin (PDIP-20/SOIC-20) Name Type Function
1 VDD P Positive Supply Voltage
2 RA5/T1CKI/OSC1/CLKIN I/O Port A I/O / Timer1 Clock / Oscillator Input
3 RA4/T1G/OSC2/CLKOUT I/O Port A I/O / Timer1 Gate / Oscillator Output
4 RA3/MCLR/VPP I/P Port A Input / Master Clear / Programming Voltage
5 RC5 I/O Port C I/O
6 RC4/C2OUT/SRQ I/O Port C I/O / Comparator2 Output / SR Latch Output
7 RC3/C12IN3- I/O Port C I/O / Comparator Negative Input 3
8 RC6 I/O Port C I/O
9 RC7 I/O Port C I/O
10 RB7 I/O Port B I/O / ICSP Data
11 RB6 I/O Port B I/O / ICSP Clock
12 RB5 I/O Port B I/O
13 RB4 I/O Port B I/O
14 RC2/C12IN2- I/O Port C I/O / Comparator Negative Input 2
15 RC1/C12IN1- I/O Port C I/O / Comparator Negative Input 1
16 RC0/C2IN+/C1IN+ I/O Port C I/O / Comparator Positive Input
17 VSS P Ground Reference
18 RA0/C1IN+/AN0 I/O Port A I/O / Comparator1 Positive Input
19 RA1/C2IN+/AN1 I/O Port A I/O / Comparator2 Positive Input
20 RA2/T0CKI/INT/C1OUT I/O Port A I/O / Timer0 Clock / Ext Interrupt / C1 Output
04PIC16F631-I · Application Scenarios
  • Industrial threshold detection and limit sensing
  • Battery-powered portable monitors and sensors
  • Appliance control panels and user interfaces
  • Low-cost consumer electronic devices
  • Level sensing and over/under voltage detection
  • Portable medical devices and health monitors
  • Automotive sensor signal conditioning
05PIC16F631-I · Alternative Models
Manufacturer Part Number Package Notes
Microchip PIC16F677-I 20-pin Same package, adds 12-ch 10-bit ADC, SPI/I2C
Microchip PIC16F690-I 20-pin 7KB Flash, full peripherals, EUSART
Microchip PIC12F635-I 8-pin Smaller package, 1 comparator
Microchip PIC16F636-I 14-pin 3.5KB Flash, KEELOQ crypto module
Microchip PIC16F685-I 20-pin 7KB Flash, 12-ch ADC, ECCP

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

PIC16F677-I

8-bit PIC MCU, 3.5KB Flash, 128B RAM, 256B EEPROM, 12-ch 10-bit ADC, SPI/I2C, nanoWatt

Brand: MICROCHIPPackage: 20-pin PDIP / SOIC / SSOP / QFN

IN STOCK: 6485pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TMS320F2810PBKA

C2000 Delfino DSP controller, 150MHz, 128KB Flash, BGA-179

Brand: TIPackage: BGA-179 (16 x 16 mm, PBK package)

IN STOCK: 3124pcs

Cargo cycle: 3~7 Days

The minimum order is 1

AT89S51

8-bit 8051 MCU, 4KB ISP Flash, 128B RAM, 32 I/O, 2 timers, UART, watchdog timer, dual DPTR, 33MHz, ISP programming, PDIP-40, Atmel AT89S51.

Brand: Atmel (Microchip)Package: PDIP-40 / TQFP-44 / PLCC-44

IN STOCK: 15000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC12F1840-I/SN

8-bit PIC12F MCU, 7KB Flash, 512B RAM, 8-SOIC, industrial

Brand: MICROCHIPPackage: SOIC-8 (4.9 x 3.9 mm, SN package)

IN STOCK: 6835pcs

Cargo cycle: 3~7 Days

The minimum order is 1

DSPIC33EP128MC204-I/PT

16-bit digital signal controller, 128KB Flash, 16KB RAM, TQFP-44, industrial

Brand: MICROCHIPPackage: TQFP-44 (10 x 10 mm)

IN STOCK: 13189pcs

Cargo cycle: 3~7 Days

The minimum order is 1

2N7002

N-ch MOSFET, 60V, 115mA, 7.5Ω, SOT-23-3, logic-level gate, general-purpose small-signal switch

Brand: OnsemiPackage: SOT-23-3 (TO-236, SC-59)

IN STOCK: 15000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.