×
Futurlec - The Electronic Components and Semiconductor Superstore
View Cart


PIC16F874A 40-Pin 4kB Microcontroller Datasheet

Photograph
PIC16F874A-I/P - PIC16F874A Flash 40-pin 4kB Microcontroller

Features

The Microchip PIC16F874A Microcontroller is an inexpensive 40-pin 8-bit PIC Microcontroller with 4K Flash Program Memory and an Eight Channel 10-bit Accuracy A/D Converter. The PIC16F874A microcontroller has a total of 33 I/O pins with individual direction control and the ability to drive LEDs directly.

Features

  • High-Performance RISC CPU
    • - Only 35 single word instructions to learn
    • - All instructions are single cycle (1µs) except for program branches
    • - Operating speed: DC - 20MHz clock input
    • - 4K Flash Program Memory
    • - 192 Byte RAM Data Memory
    • - 128 Byte EEPROM Data Memory
    • - In-circuit Serial Programming
    • - Interrupt Capability (up to 10 sources)
  • Peripheral Features
    • - Two 8-bit timer/counter(TMR0, TMR2) with 8-bit programmable prescalar
    • - One 16 bit timer/counter
    • - High current source/sink for direct LED drive
    • - Two Capture, Compare, PWM Modules
    • - Synchronous Serial Port with SPI and I²C
    • - Eight Channel, 10-bit Analog to Digital Converter
    • - Universal Synchronous Asynchronous Receiver Transmitter (USART)
  • Special Microcontroller Features
    • - Power-On Reset
    • - Power-up Timer (PWRT) and Oscillator Start-Up Timer (OST)
    • - Watchdog Timer with separate RC oscillator
    • - 1,000 erase/write cycles Enhanced Flash Program Memory
    • - 1,000,000 typical erase/write cycles EEPROM Data Memory
    • - Selectable Oscillator Options
  • CMOS Technology
    • - Low power, high speed CMOS FLASH technology
    • - Fully Static Design
    • - Low Power Consumption
  • I/O and Packages
    • - 33 I/O pins with individual direction control
    • - 40 pin DIP

Pin Layout
PIC16F874A Pin Layout

Pin Description
Pin Number Description
1 MCLR/VPP - Master Clear Input
2 RA0/AN0 - Port A
3 RA1/AN1 - Port A
4 RA2/AN2/VREF-/CVREF - Port A
5 RA3/AN3/VREF+ - Port A
6 RA4/T0CKI/C1OUT - Port A
7 RA5/AN4/SS/C2OUT - Port A
8 RE0/RD/AN5 - Port E
9 RE1/WR/AN6 - Port E
10 RE2/CS/AN7 - Port E
11 Vdd - Positive Power Supply
12 Vss - Ground
13 OSC1/CLKI - Oscillator Input
14 OSC2/CLKO - Oscillator Output
15 RC0/T1OSO/T1CKI - Port C
16 RC1/T1OSI/CCP2 - Port C
17 RC2/CCP1 - Port C
18 RC3/SCK/SCL - Port C
19 RD0/PSP0 - Port D
20 RD1/PSP1 - Port D
21 RD2/PSP2 - Port D
22 RD3/PSP3 - Port D
23 RC4/SDI/SDA - Port C
24 RC5/SDO - Port C
25 RC6/TX/CK - Port C
26 RC7/RX/DT - Port C
27 RD4/PSP4 - Port D
28 RD5/PSP5 - Port D
29 RD6/PSP6 - Port D
30 RD7/PSP7 - Port D
31 Vss - Ground
32 Vdd - Positive Power Supply
33 RB0/INT - Port B
34 RB1 - Port B
35 RB2 - Port B
36 RB3/PGM - Port B
37 RB4 - Port B
38 RB5 - Port B
39 RB6/PGC - Port B
40 RB7/PGD - Port B

Dimensional Drawing
PIC16F874A IC Dimensional Drawing