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, 10-bit ADC, DIP-40

Effective inventoryPCS

10847
in stock

SpecificationsTechnical data

Manufacturer part

PIC16F877A-I/P

Package

DIP-40 (52.6 x 13.7 x 3.7 mm)

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 14-bit 8-bit CMOS flash microcontroller from the PIC16F87XA family featuring 14 KB flash program memory, 368 bytes of RAM, 256 bytes of EEPROM, 8-channel 10-bit ADC, two comparators, and multiple serial communication interfaces in a 40-pin DIP package.

Key Specifications

Architecture PIC 14-bit (8-bit data)
Max Frequency 20 MHz
Flash Memory 14 KB (8192 words x 14-bit)
RAM 368 bytes
EEPROM 256 bytes
I/O Pins 33
ADC 8-channel, 10-bit
Timers 3 (Timer0, Timer1, Timer2)
CCP Modules 2
Communication USART, MSSP (SPI/I2C)
Comparators 2
Operating Voltage 2.0 V to 5.5 V
Package DIP-40 (52.6 x 13.7 mm)
Operating Temperature -40°C to 85°C

Features

  • High-performance RISC CPU with 35 single-word instructions
  • 14 KB flash with 100,000 erase/write cycles
  • 256 bytes EEPROM data memory with 1,000,000 erase/write cycles
  • 8-channel 10-bit Analog-to-Digital Converter
  • Two Capture/Compare/PWM (CCP) modules
  • Master Synchronous Serial Port (MSSP) for SPI and I2C
  • USART with 9-bit address detection
  • Two analog comparators with programmable reference
  • Self-programming capability via ICSP
  • In-Circuit Debugger (ICD) support

Applications

  • Embedded control and automation systems
  • Motor control and power conversion
  • Sensor data acquisition and processing
  • Consumer appliances and white goods
  • Educational and hobbyist projects
01PIC16F877A-I/P · Product Introduction
The PIC16F877A-I/P from Microchip Technology is one of the most popular members of the PIC16F87XA family of 8-bit flash microcontrollers. It features 14 KB of flash program memory, 368 bytes of RAM, and 256 bytes of EEPROM data memory. The device integrates a rich peripheral set including an 8-channel 10-bit ADC, two CCP modules, USART, MSSP (SPI/I2C), and two analog comparators. The 40-pin DIP package makes it ideal for prototyping and educational applications. The PIC16F877A supports In-Circuit Serial Programming (ICSP) and In-Circuit Debugging (ICD), enabling firmware development without removing the device from the target board.
02PIC16F877A-I/P · Working Principle
The PIC16F877A uses a Harvard architecture with separate 14-bit program memory and 8-bit data memory spaces. The CPU executes instructions from a 35-instruction RISC set, with most instructions executing in a single cycle (200 ns at 20 MHz). The program counter addresses the 14-bit wide flash memory. Data memory (RAM) is organized as banked registers including Special Function Registers (SFRs) for peripheral control and General Purpose Registers (GPRs). The 10-bit ADC uses a successive approximation register (SAR) architecture with selectable reference voltages. CCP modules provide capture (input), compare (output match), and PWM generation. The MSSP supports both SPI (4-wire) and I2C (2-wire) master/slave modes. The USART supports asynchronous and synchronous serial communication.
03PIC16F877A-I/P · Pin Description
Pin Name Type Function
1 MCLR/VPP Input Master clear reset / programming voltage
2-3 RA0/AN0-RA1/AN1 I/O Port A, ADC channels 0-1
4-5 RA2/AN2-RA3/AN3 I/O Port A, ADC channels 2-3, comparator
6-7 RA4/TOCKI-RA5/AN4 I/O Port A, Timer0 clock, ADC ch4
8-12 RE0-RE2 I/O Port E, ADC ch5-7, MSSP control
13-14 VSS-VDD Power Ground and power supply
15-19 RB0/INT-RB4 I/O Port B, external interrupt, LCD data
20-22 RB5-RB7 I/O Port B, ICSP programming pins
23-30 RC0-RC7 I/O Port C, T1OSO/T1OSI, CCP, USART, MSSP
31-32 VSS-VDD Power Ground and power supply
33-40 RD0-RD7 I/O Port D, parallel slave port
04PIC16F877A-I/P · Application Scenarios
  • Embedded control and industrial automation systems
  • Motor speed control and power conversion applications
  • Multi-channel sensor data acquisition systems
  • Consumer appliance controllers with analog sensing
  • Educational platforms and hobbyist prototyping
05PIC16F877A-I/P · Alternative Models
Manufacturer Part Number Package Notes
Microchip PIC18F4550-I/P DIP-40 USB 2.0, 16-bit instruction, 32KB Flash
Microchip PIC16F887-I/P DIP-40 Pin-compatible, 14KB Flash, enhanced
Microchip PIC18F45K20-I/P DIP-40 Enhanced PIC18, 32KB Flash, nanoWatt
Atmel/Microchip ATmega328P-PU DIP-28 32KB Flash, 2KB RAM, Arduino compatible
STMicroelectronics STM32F103C8T6 LQFP-48 ARM Cortex-M3, 64KB Flash, 72MHz

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.