PIC16F877A microcontroller
Classic PIC with 33 I/O pins.
Function8-bit PIC microcontroller
Supply voltage4 to 5.5 V
Inputs and outputs33 I/O, 8 ADC
SpeedUp to 20 MHz
Integrated CircuitsReviewedMPN PIC16F877A-I/PUsed in 1 project
In short
What is the PIC16F877A microcontroller and what is it used for?
Classic PIC with 33 I/O pins. Makers use it for PIC embedded labs.
How it works
An 8-bit PIC with 14 KB flash, 8 ADC channels, two PWM channels and UART, I2C and SPI.
Key specifications
| Integrated circuit spec | Value |
|---|---|
| Function | 8-bit PIC microcontroller |
| Supply voltage | 4 to 5.5 V |
| Inputs and outputs | 33 I/O, 8 ADC |
| Speed | Up to 20 MHz |
| Package | DIP-40 |
Pinout
1MCLR/VPP, 10 kΩ pull-up
2to 7RA0 to RA5 (AN0 to AN4, VREF, T0CKI)
8to 10RE0 to RE2 (AN5 to AN7)
11and 32VDD
12and 31VSS
13and 14OSC1 and OSC2
15to 18 and 23 to 26RC0 to RC7 (CCP1 on RC2, SCK/SCL on RC3, SDI/SDA on RC4, SDO on RC5, TX on RC6, RX on RC7)
19to 22 and 27 to 30RD0 to RD7
33to 40RB0 to RB7 (INT on RB0, PGM on RB3, PGC on RB6, PGD on RB7)
How to use it
Programmed with MPLAB X and a PICkit. Fit a 20 MHz crystal with 22 pF capacitors and decouple both VDD pins. Widely used in Indian embedded systems labs.
Applications
PIC embedded labs
Builds that use it
Alternatives
- ATmega328P-PU (blank)Arduino-compatible
- AT89S52 8051 microcontroller8051 for lab courses
Common questions
What is the PIC16F877A microcontroller used for?
In maker projects: PIC embedded labs.
How does the PIC16F877A microcontroller work?
An 8-bit PIC with 14 KB flash, 8 ADC channels, two PWM channels and UART, I2C and SPI.
What voltage does the PIC16F877A microcontroller need?
4 to 5.5 V.
What can I use instead of the PIC16F877A microcontroller?
ATmega328P-PU (blank) and AT89S52 8051 microcontroller.
