×
Futurlec - The Electronic Components and Semiconductor Superstore
View Cart


PIC16F873A 28-Pin 4kB Microcontroller Datasheet

Photograph
PIC16F873A-I/SP - PIC16F873A Flash 28-pin 4kB Microcontroller

Features

The Microchip PIC16F873A Microcontroller is an inexpensive 28-pin 8-bit PIC Microcontroller with 4K Flash Program Memory and a Five Channel 10-bit Accuracy A/D Converter. The PIC16F873A microcontroller has a total of 22 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
    • - Five 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
    • - 22 I/O pins with individual direction control
    • - 28 pin DIP

Pin Layout
PIC16F873A 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 Vss - Ground
9 OSC1/CLKI - Oscillator Input
10 OSC2/CLKO/RA6 - Oscillator Output/Port A
11 RC0/T1OSO/T1CKI - Port C
12 RC1/T1OSI/CCP2 - Port C
13 RC2/CCP1 - Port C
14 RC3/SCK/SCL - Port C
15 RC4/SDI/SDA - Port C
16 RC5/SDO - Port C
17 RC6/TX/CK - Port C
18 RC7/RX/DT - Port C
19 Vss - Ground
20 Vdd - Positive Power Supply
21 RB0/INT - Port B
22 RB1 - Port B
23 RB2 - Port B
24 RB3/PGM - Port B
25 RB4 - Port B
26 RB5 - Port B
27 RB6/PGC - Port B
28 RB7/PGD - Port B

Dimensional Drawing
PIC16F873A IC Dimensional Drawing