Opens in a new tab

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

MENU

Instant Quote

SEARCH PARTS

PIC16F877A-I/P

8-bit PIC MCU, 20MHz, 14KB Flash, 368B RAM, 8ch 10-bit ADC, 40-PDIP

Effective inventoryPCS

7262
in stock

SpecificationsTechnical data

Manufacturer part

PIC16F877A-I/P

Package

40-PDIP

Brand

MICROCHIP

Category

Integrated Circuits ICs, Microcontrollers (MCU)

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

Product Overview

The PIC16F877A-I/P from Microchip Technology is a 40-pin 8-bit PIC microcontroller with 14KB Flash, 368B RAM, 256B EEPROM, 8-channel 10-bit ADC, and extensive peripheral set. As one of the most popular PIC MCU for education and embedded projects, it is packaged in a 40-pin PDIP.

Key Specifications

Architecture 8-bit PIC (PIC16 mid-range)
CPU Speed 20MHz (200ns instruction cycle)
Flash Program Memory 14KB (8192 words x 14-bit)
SRAM 368 bytes
EEPROM 256 bytes
I/O Pins 33
ADC 8 channels, 10-bit
Timers 2x 8-bit, 1x 16-bit
Communication USART, MSSP (SPI/I2C)
Supply Voltage 2.0V to 5.5V
Package 40-PDIP
Operating Temperature -40 to +85 C

Features

  • 14KB Flash with 100000 erase/write cycles
  • 8-channel 10-bit ADC
  • MSSP module for SPI and I2C
  • USART for serial communication
  • 2 comparators with internal reference
  • CCP modules (Capture/Compare/PWM)
  • ICSP programming and debugging

Applications

  • Embedded control systems
  • Educational microcontroller labs
  • Industrial automation
  • Motor control and instrumentation
01PIC16F877A-I/P · Product Introduction
The PIC16F877A-I/P from Microchip Technology is a 40-pin 8-bit PIC mid-range microcontroller that has become one of the most widely used MCUs in embedded systems education and development. It features 14KB Flash program memory, 368 bytes SRAM, 256 bytes EEPROM, 33 I/O pins, 8-channel 10-bit ADC, 2 comparators, and multiple communication interfaces (USART, SPI, I2C). The 40-pin PDIP package makes it ideal for through-hole prototyping and educational lab boards. Two CCP (Capture/Compare/PWM) modules enable motor control and pulse generation. In-Circuit Serial Programming (ICSP) allows firmware updates without removing the device from the circuit.
02PIC16F877A-I/P · Working Principle
The PIC16F877A uses Microchip’s mid-range 14-bit instruction word RISC architecture. Most instructions execute in a single cycle (200ns at 20MHz). The Harvard architecture separates program and data memory buses, allowing simultaneous access. The 14KB Flash stores up to 8192 14-bit instructions. The ALU operates on data from the W register (accumulator) and file registers (SRAM-mapped SFRs and GPRs). The MSSP module implements SPI (master/slave) and I2C (master/slave) protocols through shift registers and baud rate generators. The 10-bit successive approximation ADC uses a capacitor DAC and comparator, converting in approximately 20us. The CCP modules combine timer resources for capture input, compare output, and PWM generation.
03PIC16F877A-I/P · Pin Description
Pin Name Function
1 OSC1/CLKI Oscillator crystal input / external clock
2 OSC2/CLKO Oscillator crystal output / clock output
3 RA0/AN0 Port A bit 0 / ADC channel 0
4 RA1/AN1 Port A bit 1 / ADC channel 1
5 RA2/AN2/VREF- Port A bit 2 / ADC channel 2 / VREF-
6 RA3/AN3/VREF+ Port A bit 3 / ADC channel 3 / VREF+
7 RA4/T0CKI Port A bit 4 / Timer0 clock input
8 RA5/AN4/SS Port A bit 5 / ADC channel 4 / SPI slave select
11 VDD Positive supply (2.0-5.5V)
12 VSS Ground
13-14 RB0-RB1 Port B (interrupt-on-change, I2C)
39 RB7/PGD Port B bit 7 / ICSP data
40 RB6/PGC Port B bit 6 / ICSP clock
04PIC16F877A-I/P · Application Scenarios
  • Educational microcontroller labs with 40-pin DIP for breadboard prototyping
  • Industrial automation controllers using USART, SPI, and I2C peripherals
  • Motor control applications using dual CCP PWM modules
  • Multi-channel data acquisition with 8-channel 10-bit ADC and 256B EEPROM
05PIC16F877A-I/P · Alternative Models
Model Manufacturer Key Difference
PIC16F887 Microchip Newer, enhanced mid-range, nanowatt
PIC18F4550 Microchip 16-bit instruction, USB 2.0, 48MHz
ATmega32A Microchip AVR, 32KB Flash, 40-DIP
PIC16F877A-I/PT Microchip TQFP-44 surface mount version

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

STM32F334K8T6

ARM Cortex-M4 MCU with high-resolution timer, 72MHz, 64KB Flash, LQFP-32

Brand: STPackage: LQFP-32 (7.0 x 7.0 mm)

IN STOCK: 14928pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32F411RCT6

ARM Cortex-M4 MCU, 100MHz, 256KB Flash, 128KB RAM, LQFP-64

Brand: STPackage: LQFP-64 (10 x 10 mm)

IN STOCK: 13837pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC16F877A-I

8-bit PIC MCU ‘A’ rev, 14KB Flash, 368B RAM, 256B EEPROM, 8-ch 10-bit ADC, 2 CCP, 2 comparators, SPI/I2C/USART, PSP, ICD, self-program, industrial -40°C~85°C

Brand: MICROCHIPPackage: 40-pin PDIP / 44-pin PLCC / 44-pin TQFP / QFN

IN STOCK: 9527pcs

Cargo cycle: 3~7 Days

The minimum order is 1

GD32F310C8T6

Cortex-M4 Entry-level MCU, 72MHz, 64KB Flash, 8KB SRAM, LQFP-48

Brand: gigadevicePackage: LQFP-48 (7x7mm, 0.5mm pitch)

IN STOCK: 7547pcs

Cargo cycle: 3~7 Days

The minimum order is 1

ATMega48PA-AU

8-bit AVR picoPower MCU, 4KB Flash, 512B RAM, TQFP-32

Brand: MICROCHIPPackage: TQFP-32 (7.0 x 7.0 mm, AU package)

IN STOCK: 8003pcs

Cargo cycle: 3~7 Days

The minimum order is 1

PIC16LF1526-I

8-bit XLP PIC MCU, 14KB Flash, 768B RAM, 30-ch 10-bit ADC, 10 CCP, 2 EUSART, 2 SPI/I2C, 54 I/O, 1.8-3.6V low voltage, 64-pin

Brand: MICROCHIPPackage: 64-pin TQFP / QFN / UQFN

IN STOCK: 2792pcs

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.