PIC16F873A-I


8-bit PIC MCU, 7KB Flash, 192B RAM, 128B EEPROM, 5-ch 10-bit ADC, 2 CCP, 2 comparators, SPI/I2C/USART, ICD

5440

Effective Inventory
Go to Inquiry

Image for reference only

Manufacturer Part:

PIC16F873A-I

Package:

28-pin PDIP / SOIC / SSOP / QFN

Brand:
Other recommendations you may be interested in.
Description

Product Overview

The PIC16F873A-I is a 28-pin, 8-bit Flash-based CMOS microcontroller from Microchip Technology, featuring the enhanced Mid-Range PIC architecture with self-programming capability and built-in ICD debug support. This ‘A’ revision of the popular PIC16F873 offers 7KB (4K x 14 words) of Flash program memory, 192 bytes of RAM, and 128 bytes of data EEPROM. Operating at up to 20 MHz with a 200 ns instruction cycle, it integrates a 5-channel 10-bit ADC, two analog comparators, two Capture/Compare/PWM (CCP) modules, a Synchronous Serial Port (SSP) for SPI/I2C, and a Universal Synchronous Asynchronous Receiver Transmitter (USART). With its enhanced Flash (100K erase/write cycles), EEPROM data memory, In-Circuit Debug (ICD), and self-programming capability, the PIC16F873A is a versatile 28-pin MCU ideal for industrial control, automotive, consumer appliances, and sensor applications requiring on-chip debugging and non-volatile data storage.

Key Specifications

Core Architecture 8-bit PIC (Mid-Range Core, ‘A’ revision)
Program Memory 7KB Flash (4K x 14 words), 100K E/W cycles
RAM 192 bytes
Data EEPROM 128 bytes, 1M E/W cycles
Maximum Speed 20 MHz (5 MIPS)
Operating Voltage 2.0V to 5.5V
I/O Pins 22
ADC 10-bit, 5 channels
Comparators 2
Timers 2 x 8-bit (TMR0/TMR2) + 1 x 16-bit (TMR1)
PWM 2 x CCP (Capture/Compare/PWM), 10-bit
Communication SPI, I2C (SSP), USART
Debug In-Circuit Debug (ICD) built-in
Self-Programming Yes (self-write Flash capability)
Stack Levels 8
Interrupt Sources Up to 14
Operating Temperature -40°C to +85°C (Industrial)
Package 28-pin PDIP / SOIC / SSOP / QFN

Features

  • High-performance RISC CPU with only 35 single-word instructions
  • Enhanced Flash: 100,000 erase/write cycles typical
  • Data EEPROM: 128 bytes with 1M erase/write cycles
  • Self-reprogrammable under software control
  • Built-in In-Circuit Debug (ICD) support via two pins
  • 5-channel 10-bit Analog-to-Digital Converter (ADC)
  • Two analog comparators with programmable on-chip voltage reference
  • Two Capture/Compare/PWM (CCP) modules: 16-bit capture, 10-bit PWM
  • Synchronous Serial Port (SSP) with SPI and I2C (Master/Slave)
  • Universal Synchronous Asynchronous Receiver Transmitter (USART/SCI)
  • Timer0: 8-bit timer/counter with 8-bit programmable prescaler
  • Timer1: 16-bit timer/counter with prescaler, can increment during Sleep
  • Timer2: 8-bit timer/counter with period register, prescaler, and postscaler
  • Power-on Reset (POR), Power-up Timer (PWRT), Oscillator Start-up Timer (OST)
  • Programmable Brown-out Reset (BOR)
  • Watchdog Timer (WDT) with on-chip RC oscillator
  • Programmable code protection for program and data memory
  • In-Circuit Serial Programming (ICSP) via two pins
  • Power-saving Sleep mode
  • High sink/source current: 25 mA per I/O pin
  • Pinout compatible with PIC16F873 (non-A version)

Applications

  • Industrial control and sensor interfaces
  • Automotive sensor modules and body electronics
  • Consumer electronics and smart appliances
  • Motor control and power management
  • Battery-powered data loggers
  • Medical devices and instrumentation
  • Home automation and smart home devices

The PIC16F873A is the enhanced ‘A’ revision of the popular PIC16F873 28-pin Flash-based 8-bit CMOS microcontroller from Microchip Technology. Part of the PIC16F87XA family, it features the Mid-Range PIC architecture with significant improvements over the original version. It offers 7KB (4K x 14 words) of enhanced Flash program memory (100K erase/write cycles), 192 bytes of RAM, and 128 bytes of data EEPROM (1M erase/write cycles with >40 year retention). A key enhancement is self-programming capability, allowing the MCU to update its own Flash memory under software control. Built-in In-Circuit Debug (ICD) support enables real-time debugging without an external debug header. The peripheral set includes a 5-channel 10-bit ADC, two analog comparators with programmable voltage reference, two CCP modules for capture/compare/PWM, an SSP module for SPI/I2C communication, and a USART for serial communication. Three timers (TMR0, TMR1, TMR2) provide flexible timing functions. The device operates at up to 20 MHz (5 MIPS) across a wide voltage range of 2.0V to 5.5V. With 22 I/O pins, Brown-out Reset, Watchdog Timer, programmable code protection, and industrial temperature range, the PIC16F873A is a robust and feature-rich solution for diverse embedded applications. Available in PDIP, SOIC, SSOP, and QFN packages.

The PIC16F873A operates on the Mid-Range PIC RISC architecture with Harvard design, featuring separate 14-bit program memory and 8-bit data memory buses for concurrent access. Most of the 35 instructions execute in a single clock cycle, with an 8-level deep hardware stack. The ‘A’ revision introduces enhanced Flash technology with higher endurance (100K cycles vs. 1K for the original) and self-programming capability via special control registers, enabling bootloader and firmware update applications. The 10-bit ADC uses successive approximation register (SAR) architecture with 5 input channels, providing higher resolution than the 8-bit ADC of the PIC16F7x series. Two analog comparators with a Comparator Voltage Reference (CVREF) module enable threshold detection and window comparison applications. Two CCP modules provide 16-bit capture, 16-bit compare, and 10-bit PWM functions. The SSP module handles SPI and I2C (both Master and Slave modes with address masking) in hardware, while the USART provides asynchronous and synchronous serial communication. The built-in ICD module allows real-time debugging, single-stepping, and breakpoint setting via the same two pins used for ICSP programming, reducing development costs. Three timers (TMR0 8-bit, TMR1 16-bit, TMR2 8-bit) provide timing, counting, and PWM time base functions. Power management includes Sleep mode, programmable Brown-out Reset, and Watchdog Timer with independent RC oscillator.

Pin (PDIP-28/SOIC-28) Name Type Function
1 MCLR/VPP/RA5 I/P Master Clear / Programming Voltage / Port A I/O
2 RA0/AN0 I/O Port A I/O / ADC Channel 0
3 RA1/AN1 I/O Port A I/O / ADC Channel 1
4 RA2/AN2/VREF-/CVREF I/O Port A I/O / ADC Ch2 / Vref Neg / Comp Vref
5 RA3/AN3/VREF+ I/O Port A I/O / ADC Ch3 / Vref Positive
6 RA4/T0CKI I/O Port A I/O / Timer0 Clock Input
7 RA5/SS/AN4 I/O Port A I/O / SPI Slave Select / ADC Ch4
8 VSS P Ground Reference
9 RA7/OSC1/CLKIN I Port A I/O / Oscillator Input / Clock Input
10 RA6/OSC2/CLKOUT O Port A I/O / Oscillator Output / Clock Output
11 RC0/T1OSO/T1CKI I/O Port C I/O / T1OSO / Timer1 Clock
12 RC1/T1OSI/CCP2 I/O Port C I/O / T1OSI / CCP2
13 RC2/CCP1 I/O Port C I/O / CCP1
14 RC3/SCK/SCL I/O Port C I/O / SPI Clock / I2C Clock
15 RC4/SDI/SDA I/O Port C I/O / SPI Data In / I2C Data
16 RC5/SDO I/O Port C I/O / SPI Data Out
17 RC6/TX/CK I/O Port C I/O / USART TX/Clock
18 RC7/RX/DT I/O Port C I/O / USART RX/Data
19 VSS P Ground Reference
20 VDD P Positive Supply Voltage
21 RB0/INT I/O Port B I/O / External Interrupt
22 RB1/C12IN0- I/O Port B I/O / Comparator Negative Input 0
23 RB2/C12IN1- I/O Port B I/O / Comparator Negative Input 1
24 RB3/PGM/C2OUT I/O Port B I/O / LVP / Comparator2 Output
25 RB4/C1OUT I/O Port B I/O / Comparator1 Output
26 RB5 I/O Port B I/O
27 RB6/ICSPCLK I/O Port B I/O / ICSP Clock
28 RB7/ICSPDAT I/O Port B I/O / ICSP Data
  • Industrial sensor interfaces and process control
  • Automotive sensor modules and body control
  • Smart home appliances and consumer electronics
  • DC motor speed control and LED dimming
  • Battery-powered data loggers with EEPROM storage
  • Medical instrumentation and portable devices
  • Home automation controllers and IoT endpoints
Manufacturer Part Number Package Notes
Microchip PIC16F876A-I 28-pin 14KB Flash, 368B RAM, same peripherals
Microchip PIC16F877A-I 40-pin 14KB Flash, 8-ch ADC, PSP, larger package
Microchip PIC16F883-I 28-pin 7KB Flash, internal osc, ECCP, enhanced
Microchip PIC16F873-I 28-pin Original non-A version, no ICD/self-program
Microchip PIC16F1827-I 18-pin Newer gen, 7KB Flash, enhanced peripherals
Recommend Parts
Ultra-low-power ARM Cortex-M0+ MCU at 32MHz with 64KB Flash, 8KB SRAM + 2KB EEPROM, USB FS, 2x DAC, LCD, capacitive touch in LQFP-48.

Brand:

Package:

LQFP-48

In stock:

3655pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Ultra-low-power ARM Cortex-M0+ MCU at 32MHz with 64KB Flash, 8KB SRAM + 2KB EEPROM, 2x DAC, LCD controller, capacitive touch, LPUART in LQFP-64.

Brand:

Package:

LQFP-64

In stock:

8117pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Ultra-low-power ARM Cortex-M0+ MCU at 32MHz with 32KB Flash, 8KB SRAM, 12-bit ADC, 2x I2C, 2x USART, value line L0 series in LQFP-48.

Brand:

Package:

LQFP-48

In stock:

5433pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
ARM Cortex-M7 MCU at 280MHz with 2MB Flash, 1.4MB SRAM, LCD-TFT, JPEG, Octo-SPI, FDCAN, DFSDM, SMPS, high RAM-to-Flash ratio in LQFP-144.

Brand:

Package:

LQFP-144

In stock:

3284pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Dual-core ARM Cortex-M7@480MHz + M4@240MHz MCU with 2MB dual-bank Flash, 1MB SRAM, LCD-TFT, JPEG, Ethernet, FDCAN, SMPS in LQFP-144.

Brand:

Package:

LQFP-144

In stock:

10853pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Flagship ARM Cortex-M7 MCU at 480MHz with 2MB dual-bank Flash, 1MB SRAM, LCD-TFT, JPEG, FDCAN, Ethernet, DFSDM, HRTIM in LQFP-208.

Brand:

Package:

LQFP-208

In stock:

2743pcs

Cargo cycle: 3~7 Days
The minimum order is 1

Go to Inquiry
Quality Assurance

Quality is the core foundation of our long-term global cooperation. With over 20 years of experience in the electronic component industry, Materialparts has built a strict and standardized quality management system covering component sourcing, incoming inspection, full-batch testing, packaging and delivery. We are committed to delivering 100% genuine, high-reliability electronic components for industrial control, automotive electronics, consumer electronics and medical device industries, and fully safeguarding your production and R&D projects.

1. Authorized & Genuine Sourcing Promise

All of our electronic components are procured from official authorized distributors and original manufacturers. We strictly reject counterfeits, refurbished parts, disassembled components and gray-market goods. Every product is guaranteed to be brand-new original parts and fully consistent with the original technical parameters. For branded products such as NXP IC series, we maintain complete supply channel documents to realize full product traceability.

2. Strict Full-batch Quality Inspection

We implement 100% full-batch quality control for all goods before shipment. Our professional QC team conducts multi-dimensional tests including appearance inspection, electrical parameter testing, performance verification and packaging check. Each batch of components is attached with complete inspection reports and batch records. We stick to zero-tolerance standards for defective products to ensure every piece of component meets industrial application requirements.

3. Industry Standard Compliance

Our products comply with a variety of international industry quality standards to adapt to high-standard application scenarios:
  • Automotive Electronics: All automotive-grade components pass AEC-Q series certification, featuring excellent stability and durability to adapt to complex vehicle operating environments.
  • Medical Devices: High-reliability components meet medical industry safety and compliance regulations, ensuring stable operation for medical equipment.
  • Industrial Control & Consumer Electronics: Products conform to universal international electronic industry standards, suitable for long-term continuous operation of various equipment.

4. Professional Reliability Control

For static-sensitive, moisture-sensitive and precision components such as ICs, PCBs, sensors and connectors, we carry out reliability screening in advance. Combined with standardized ESD anti-static packaging and vacuum moisture-proof packaging, we avoid component damage caused by static electricity, dampness or collision during storage and transportation, and retain the original performance of products.

5. Traceability Management System

We establish a complete product traceability system. Each batch of goods corresponds to independent batch number, sourcing record, inspection record and delivery record. Customers can query the whole lifecycle information of components at any time. This system effectively solves quality risks and facilitates after-sales handling and production quality control for your company.

6. After-sales Quality Guarantee

If any product is confirmed to have non-conformity quality problems due to our reasons after receipt, we provide free return, exchange and supplementary delivery services. Our professional quality team will also conduct root cause analysis to optimize our quality control process. We respond to quality feedback within 24 hours to resolve your worries efficiently.

Contact Us

If you have inquiries about our quality standards, inspection procedures or product certification documents, please feel free to contact us:

 

Email: info@ic-vendor.com
Tel / WhatsApp: +86 13760382860
Address: Room 2919, Guoli Building, Huaqiang North, Futian District, Shenzhen, Guangdong, China

 

Shipping & Payment

Materialparts is a professional global supplier of electronic components with over 20 years of industry experience. We provide one-stop supply of passive components, integrated circuits, as well as parts for industrial control, automotive electronics, consumer electronics and medical devices. Below are the unified shipping and payment policies applicable to all orders, samples and bulk purchases worldwide.

1. Payment Terms

We offer a variety of secure and convenient payment methods to meet diverse business cooperation needs. Details are as follows:
  1. Accepted Payment Methods
  • T/T (Bank Wire Transfer): The primary settlement method for bulk orders and a widely used international payment channel.
  • PayPal: Ideal for small orders, sample orders and quick payments.
  1. Settlement Currency

     

    US Dollar (USD) is the default settlement currency. RMB is available for domestic customers.

  2. Bank Charges

     

    All transfer fees, intermediary bank charges and other remittance-related expenses shall be borne by the buyer.

  3. Payment Requirements
  • Sample and small orders: Shipment will be arranged upon full payment.
  • In-stock bulk orders: Goods will be delivered within 2 to 3 working days after full payment.

2. Shipping & Delivery

We partner with leading global logistics providers to ensure safe and fast delivery worldwide. Relevant details are listed below:
  1. Logistics Partners
  • International Express: DHL, FedEx, UPS, TNT
  • Economy Logistics: Air freight and sea freight for large-volume cargo
  • Domestic Delivery: SF Express, Yunda Express
  1. Order Processing Time
  • In-stock items: Orders confirmed and fully paid before 14:00 (GMT+8) will be shipped on the same day. All other orders will be dispatched within 1 to 2 working days.
  • Out-of-stock or sourced items: The delivery lead time will be confirmed separately according to brand and inventory status.
  1. Estimated Transit Time
  • International Express: 3 – 7 working days globally
  • Air Freight: 7 – 12 working days
  • Sea Freight: 25 – 40 working days for heavy and large bulk cargo
  1. Shipping Fee Rules
  • Shipping cost is calculated based on package weight, volume, destination and delivery method.
  • Both freight prepaid and freight collect are available. Please provide your courier account number in advance if you choose freight collect.
  • Free international express delivery is offered for large orders. Terms for long-term partners can be negotiated separately.
  1. Shipment Tracking
     

    Within 24 hours after dispatch, we will send the tracking number, commercial invoice, packing list and other documents to your email or communication account. You may check the shipment status online in real time.

3. General Order Rules & Notes

  1. MOQ & Sample Service

     

    We support flexible minimum order quantities for samples, small-batch and large-batch orders. All sample orders shall comply with the above shipping and payment policies.

  2. Packaging Standard

     

    All electronic components are packed with professional anti-static and shockproof materials. Original factory packaging is available for branded chips and integrated circuits.

4. Customs & Liability Statement

  1. Import Duties & Taxes

     

    All import duties, customs clearance fees and local taxes incurred for international shipments shall be borne by the buyer. We will provide complete customs documents to assist you with clearance procedures.

  2. Handling of Lost or Damaged Goods
  • In case of loss or severe damage during transit, please contact us within 48 hours after receiving the tracking information. We will assist you in filing a claim with the logistics provider.
  • We shall not be liable for any losses caused by incorrect delivery address, wrong contact information or the buyer’s refusal to complete customs clearance.

5. Local Pickup in Shenzhen

Local pickup service is available for customers in Shenzhen and surrounding areas:
  • Address: Room 2919, Guoli Building, Huaqiang North, Futian District, Shenzhen, Guangdong Province, China
  • Business Hours: 09:00 – 18:00, Monday to Friday. Closed on weekends and official public holidays.
  • Notice: Please make an appointment via email or communication tools one day in advance, and present your order information upon pickup.

Contact Information

Email: info@ic-vendor.com

Tel / WhatsApp: +86 13760382860

Service & Packaging

Materialparts is a professional electronic component supplier based in Shenzhen, China, with over 20 years of global trading experience. We integrate component procurement, quality inspection, technical support, customized packaging, and global delivery services to provide one-stop supply chain solutions. Our business covers industrial control, automotive electronics, consumer electronics, medical devices and other industries. We always adhere to genuine sources, stable supply and considerate after-sales service.

Core Services

1. One-stop Sourcing & BOM Support

We specialize in a full range of passive and active electronic components, including SMD resistors, power resistors, connectors, aviation connectors, LED beads, flexible circuit boards, printed circuit boards, and integrated circuits. Our professional team provides BOM list consolidation, component matching, and alternative model recommendation services. We support sample orders, small-batch trial production, and mass production orders with flexible MOQs to meet diverse procurement needs.

2. Genuine Product Guarantee & Full-process Quality Inspection

All products are sourced from official authorized channels and are 100% original genuine parts. Every batch of goods undergoes strict full-process quality inspection before delivery, with complete batch records and traceability documents provided. Our products comply with AEC-Q standards for automotive electronics and high-reliability specifications for medical devices. We eliminate counterfeits, refurbished parts and defective products from the source to secure your project production.

3. Fast Quotation & Order Processing

Our customer service team responds promptly to inquiries and quotation requests. All in-stock orders will be processed within one working day. We provide stocking reservation services for long-term cooperative customers, effectively solving problems such as component shortages and unstable supply chains.

4. Professional Technical Support

Our senior engineer team provides free technical consultation, model selection guidance and original manufacturer datasheets. We assist customers in solving problems related to product R&D, circuit design and component application, providing reliable technical support for project progress.

5. Sourcing for Special Components

Relying on our global supply chain network, we professionally source scarce components, obsolete parts and customized special components to efficiently solve your procurement difficulties.

6. Global Logistics & Document Services

We cooperate with mainstream international logistics providers including DHL, FedEx, UPS and TNT to achieve fast global delivery. We can provide complete export documents such as customs declaration files, commercial invoices and packing lists to ensure smooth customs clearance for international shipments. Local pickup is also available for customers in Shenzhen, China.

Professional Packaging Standards

Electronic components are sensitive to static electricity, collision, moisture and dust. We adopt industry-standard anti-static packaging solutions to fully ensure the integrity of goods during transportation and storage.

1. General Packaging Specifications

  • All components are packed separately to avoid damage caused by friction and collision;
  • Shockproof buffer materials are added for fragile products to ensure transportation safety;
  • Each package is clearly marked with part number, quantity, batch number and specifications for easy inventory counting and management.

2. Classified Professional Packaging

  • Anti-static Packaging: Static-sensitive components such as chips, circuit boards and sensors are packaged with anti-static bags, shielding boxes and conductive foam in strict accordance with international anti-static standards to prevent static damage.
  • Vacuum Moisture-proof Packaging: Moisture-sensitive components are vacuum-sealed with desiccants to isolate humid air, suitable for ocean transportation and long-term storage.
  • Original Factory Packaging: Integrated circuits of brands such as NXP are delivered with original reels, trays or tubes by default, retaining complete original packaging and adapting to automated SMT production lines.
  • Discrete Device Packaging: Discrete devices such as SMD resistors, power resistors and LEDs are quantitatively and classifiedly packaged with accurate quantity and clear marking.
  • Connector / Aviation Connector Packaging: Hard outer packaging is adopted to prevent pin bending and structural deformation.

3. Custom Packaging Services

We provide value-added services including personalized packaging, custom labeling and re-reeling according to customer requirements, fully matching your production and warehouse management standards.

Contact Information

For service consultation or packaging customization, please feel free to contact us:
Email: info@ic-vendor.com
Tel / WhatsApp: +86 13760382860
Address: Room 2919, Guoli Building, Huaqiang North, Futian District, Shenzhen, Guangdong, China
 

Online Inquiry Form

Support Excel, PDF, CSV format files for full BOM list quotation

Submit your component procurement and custom packaging needs via the form below. We will provide a detailed quotation and professional solution within 1–8 working hours.