# PIC16F877A-I/P (Component) ## Description PIC PIC® 16F Microcontroller IC 8-Bit 20MHz 14KB (8K x 14) FLASH 40-PDIP The PIC16F877A-I/P is a high-performance 8-bit microcontroller from Microchip Technology, based on a Harvard architecture with separate program and data memory buses. It is designed for a wide range of embedded applications requiring reliable processing, multiple communication interfaces, and analog capability. The device integrates Flash program memory, EEPROM data storage, and numerous peripherals including ADC, timers, serial communication modules, and PWM functions. Packaged in a 40-pin PDIP form factor, it is widely used in industrial automation, consumer electronics, and educational development systems. Core Features 8-bit PIC microcontroller architecture Harvard architecture with RISC instruction set Operating frequency up to 20 MHz Single-cycle instruction execution (except branches) Memory Program Memory: 8K words (Flash) Data Memory (RAM): 368 bytes EEPROM Data Memory: 256 bytes I/O Features Up to 33 programmable I/O pins Multiple input/output ports (PORTA, PORTB, PORTC, PORTD, PORTE) High current sink/source capability on selected pins Analog Features 10-bit Analog-to-Digital Converter (ADC) Up to 8 analog input channels Programmable voltage reference Timers and Control Three timers (Timer0, Timer1, Timer2) Capture/Compare/PWM (CCP) modules Watchdog Timer (WDT) Power-on Reset (POR) and Brown-out Reset (BOR) Communication Interfaces USART (Universal Synchronous/Asynchronous Receiver/Transmitter) SPI (Serial Peripheral Interface) I²C (Inter-Integrated Circuit) via MSSP module Electrical Characteristics Operating Voltage: 4.0V to 5.5V Operating Temperature Range: -40°C to +85°C (Industrial grade) Low power consumption modes available Package Information Package Type: PDIP (Plastic Dual Inline Package) Pin Count: 40 pins Mounting Type: Through-hole Applications Industrial control systems Embedded automation Consumer electronics Sensor interfacing and data acquisition Educational and prototyping platforms #commonpartslibrary #integratedcircuit #microcontroller ## Component Details - **Owner:** adrian95 - **Created:** 11/9/2023 - **Last Updated:** 4/21/2026 - **Visibility:** Public - **Manufacturer Part Number:** PIC16F877A-I/P - **Symbol Style:** parametric-v1 - **License:** https://creativecommons.org/licenses/by/4.0/ - **Part Type:** Microcontroller - **Datasheet URL:** https://ww1.microchip.com/downloads/en/DeviceDoc/39582C.pdf - **Manufacturer Name:** Microchip Technology - **Used in:** 867 projects - **Stars:** 2 - **Forks:** 6 ## Distributor Pricing (qty 1) *Pricing shown for quantity 1. For price breaks and other quantities, open in Flux.* | Distributor | Unit Price (qty 1) | Stock | |------------|--------------------|-------| | [Arrow](https://www.arrow.com/en/products/pic16f877a-ip/microchip-technology.html?utm_currency=USD&region=nac) | $2.876 | 10 | | [Digi-Key](https://www.digikey.com/en/products/detail/microchip-technology/PIC16F877A-I-P/446143) | $6.80 | 297 | | [LCSC](https://www.lcsc.com/product-detail/C8766.html) | $5.0706 | 4 | | [Mouser](https://www.mouser.com/ProductDetail/Microchip-Technology/PIC16F877A-I-P?qs=Vn0zuzr35GH%252Bfm6E5Siyuw%3D%3D) | $6.97 | 669 | | [TME](https://www.tme.com/us/en-us/katalog/?queryPhrase=PIC16F877A-I%2FP) | $7.97 | 10 | | [Verical](https://www.verical.com/pd/microchip-technology-microcontroller-PIC16F877A-I-P-406353?utm_currency=USD) | $7.481 | 10 | - **Part Type:** Integrated Circuits - **Sub-Type:** Logic - **Manufacturer:** Microchip - **MPN:** PIC16F877A-I/P - **Mount Type:** Through Hole - **Package / Case Code:** Module - **Pin Count:** 40 - **Logic Function:** AND ## Pins | Pin | Name | Type | |-----|------|------| | 1 | ~MCLR~/VPP | | | 2 | RA0/AN0 | | | 3 | RA1/AN1 | | | 4 | RA2/AN2/VREF-/CVREF | | | 5 | RA3/AN3/VREF+ | | | 6 | RA4/T0CKI/C1OUT | | | 7 | RA5/AN4/~SS~/C2OUT | | | 8 | RE0/~RD~/AN5 | | | 9 | RE1/~WR~/AN6 | | | 10 | RE2/~CS~/AN7 | | | 11 | VDD_1 | | | 12 | VSS_1 | | | 13 | OSC1/CLKI | | | 14 | OSC2/CLKO | | | 15 | RC0/T1OSO/T1CKI | | | 16 | RC1/T1OSI/CCP2 | | | 17 | RC2/CCP1 | | | 18 | RC3/SCK/SCL | | | 19 | RD0/PSP0 | | | 20 | RD1/PSP1 | | | 21 | RD2/PSP2 | | | 22 | RD3/PSP3 | | | 23 | RC4/SDI/SDA | | | 24 | RC5/SDO | | | 25 | RC6/TX/CK | | | 26 | RC7/RX/DT | | | 27 | RD4/PSP4 | | | 28 | RD5/PSP5 | | | 29 | RD6/PSP6 | | | 30 | RD7/PSP7 | | | 31 | VSS_2 | | | 32 | VDD_2 | | | 33 | RB0/INT | | | 34 | RB1 | | | 35 | RB2 | | | 36 | RB3/PGM | | | 37 | RB4 | | | 38 | RB5 | | | 39 | RB6/PGC | | | 40 | RB7/PGD | | --- *Generated from [https://www.flux.ai/adrian95/pic16f877a-ip~h1l](https://www.flux.ai/adrian95/pic16f877a-ip~h1l)*