PIC16F873A-E/ML - 8-Bit 20MHz MCU 7KB Flash 28-QFN | Microchip
Référence : PIC16F873A-E/ML ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $6.4 | $6,40 |
| 10 | $5.78 | $57,80 |
| 100 | $4.92 | $492,00 |
| 500 | $4.05 | $2 025,00 |
| 1 000 | $3.35 | $3 350,00 |
PIC16F873A-E/ML Présentation
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, non-volatile program memory, working RAM, and configurable peripherals such as timers, ADCs, communication interfaces, and general-purpose I/O. The PIC16F873A belongs to Microchip's mid-range PIC16 family, sitting architecturally between the baseline PIC10/PIC12/PIC16 and the high-performance PIC18/PIC24 families. The device is fully upwards-compatible with the PIC16C5X, PIC12CXXX, and PIC16C7X lines, and shares its instruction set and pinout philosophy with the PIC16F874A/876A/877A siblings, allowing easy migration to larger-pin-count variants when more I/O is needed.
Key features include 22 digital I/O pins, 5 channels of 10-bit ADC, 2 analog comparators, a synchronous serial port configurable as SPI or I2C, a USART for asynchronous serial, two 8-bit timers plus one 16-bit timer, nanoWatt power management, and In-Circuit Debug (ICD) plus self-programming capability. The PIC16F873A is a member of Microchip's "Enhanced Flash Microcontrollers" family featuring nanoWatt Technology for reduced quiescent current in sleep and idle modes.
Typical applications include automotive body electronics and HVAC controls, industrial sensor interfacing, low-cost consumer appliance control, sensor signal conditioning with on-chip ADC, and battery-powered remote nodes that benefit from nanoWatt sleep modes. The wide operating voltage range of 4.0 V to 5.5 V and robust 20 MHz throughput suit 5V-system designs.
When designing with the PIC16F873A-E/ML, ensure a solid thermal pad solder connection to a copper pour (typically 1 sq. inch minimum) for heat spreading, since the exposed pad (EP) is the primary thermal path. Decoupling: place a 100 nF ceramic capacitor within 5 mm of each VDD/VSS pair and a bulk 10 uF near the supply pin.
Alternatives de remplacement direct pour PIC16F873A-E/ML — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC16F873A-E/ML (même facteur de forme et même empreinte) — différant par Package, Core Architecture, Serial Interfaces, Timers, ADC.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC16F873A-I/ML
✅ Remplacement direct✓ En stock
$2.32 / unité
Voir la fiche technique →PIC16F873AT-I/ML
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC16F876A-I/ML
✅ Remplacement direct✓ En stock
$5.4 / unité
Voir la fiche technique →PIC16F876A-E/ML
✅ Remplacement direct✓ En stock
$4.85 / unité
Voir la fiche technique →PIC16F873AT-E/ML
✅ Remplacement direct✓ En stock
$4.45 / unité
Voir la fiche technique →PIC16F1824-I/ML
✅ Remplacement direct✓ En stock
$1.28 / unité
Voir la fiche technique →PIC16F873A-E/ML Valeurs maximales et caractéristiques électriques
| Series | PIC 16F |
| Core Processor | PIC |
| Core Size | 8-Bit |
| Maximum Clock Speed | 20 MHz |
| Instruction Cycle Time | 200 ns |
| Program Memory Size | 7 KB (4K x 14 words) FLASH |
| RAM Size | 192 bytes |
| EEPROM Size | 128 bytes |
| Number of I/O Pins | 22 |
| Supply Voltage Range | 4.0 V to 5.5 V |
| ADC | 10-bit, 5 channels |
| Comparators | 2 |
| Timers | 2 x 8-bit, 1 x 16-bit |
| Communication Interfaces | SPI, I2C, USART |
| Boîtier | 28-QFN (6x6 mm) with Exposed Pad |
| Plage de température de fonctionnement | -40C to +125C (Extended, "-E" grade) |
| Type de montage | Surface Mount |
| Style de montage | SMD/SMT |
| Terminal Form | No Lead |
| Package Code | VQCCN (QFN-28) |
| Statut RoHS | Compliant |
| Data Flash/EEPROM | 128 bytes |
| Program Memory Type | Flash |
| Peripheral Features | Brown-out Detect, ICD, POR, PWM, WDT, nanoWatt Technology |
Configuration des broches de PIC16F873A-E/ML
| Broche 1 | MCLR/VPP — Master Clear (reset) input / programming voltage input |
| Broche 2 | RA0/AN0 — Port A bit 0 / Analog input 0 |
| Broche 3 | RA1/AN1 — Port A bit 1 / Analog input 1 |
| Broche 4 | RA2/AN2/VREF-/CVREF — Port A bit 2 / Analog input 2 / DAC negative reference / comparator voltage reference output |
| Broche 5 | RA3/AN3/VREF+ — Port A bit 3 / Analog input 3 / DAC positive reference |
| Broche 6 | RA4/T0CKI/C1OUT — Port A bit 4 / Timer 0 clock input / Comparator 1 output |
| Broche 7 | RA5/AN4/SS/C2OUT — Port A bit 5 / Analog input 4 / SPI slave select / Comparator 2 output |
| Broche 8 | VSS — Ground reference |
| Broche 9 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| Broche 10 | OSC2/CLKOUT — Oscillator crystal output / clock output |
| Broche 11 | RC0/T1OSO/T1CKI — Port C bit 0 / Timer 1 oscillator output / Timer 1 clock input |
| Broche 12 | RC1/T1OSI/CCP2 — Port C bit 1 / Timer 1 oscillator input / Capture-Compare-PWM 2 |
| Broche 13 | RC2/CCP1 — Port C bit 2 / Capture-Compare-PWM 1 |
| Broche 14 | RC3/SCK/SCL — Port C bit 3 / SPI clock / I2C clock |
| Broche 15 | RC4/SDI/SDA — Port C bit 4 / SPI data in / I2C data |
| Broche 16 | RC5/SDO — Port C bit 5 / SPI data out |
| Broche 17 | RC6/TX/CK — Port C bit 6 / USART async transmit / USART sync clock |
| Broche 18 | RC7/RX/DT — Port C bit 7 / USART async receive / USART sync data |
| Broche 19 | VSS — Ground reference |
| Broche 20 | VDD — Positive supply voltage (4.0 V to 5.5 V) |
| Broche 21 | RB0/INT — Port B bit 0 / External interrupt |
| Broche 22 | RB1 — Port B bit 1 |
| Broche 23 | RB2 — Port B bit 2 |
| Broche 24 | RB3/PGM — Port B bit 3 / Low-voltage programming input |
| Broche 25 | RB4 — Port B bit 4 |
| Broche 26 | RB5/PGM — Port B bit 5 |
| Broche 27 | RB6/PGC — Port B bit 6 / In-Circuit Debugger clock |
| Broche 28 | RB7/PGD — Port B bit 7 / In-Circuit Debugger data |
Applications typiques
PIC16F873A-E/ML convient pour 6 applications: Automotive Body Electronics, Industrial Sensor Interface Modules, Low-Cost Consumer Appliance Control, Battery-Powered Remote Sensor Nodes, HVAC Damper and Valve Actuators, Educational and Prototyping Boards.
Automotive Body Electronics
The PIC16F873A-E/ML's Extended -40C to +125C temperature grade and nanoWatt Technology make it a strong fit for automotive body controllers such as seat-position modules, mirror adjusters, and HVAC flap drivers. Its 5-channel 10-bit ADC reads thermistor inputs and potentiometer wiper positions, while the 22 I/O pins drive relays, FET gates, and LED indicators. Compared with the PIC16F873A-I/ML (Industrial grade only), the -E/ML part survives under-hood thermal stress. The 7 KB Flash with self-programming supports field firmware updates via OBD-II.
Recommandé
Industrial Sensor Interface Modules
In 4-20 mA loop-powered sensor transmitters and bridge-amplifier signal conditioners, the PIC16F873A-E/ML digitizes analog sensor outputs through its 10-bit ADC and communicates results over USART/RS-485 to a PLC. The Extended temperature grade supports factory-floor and outdoor installations, and the nanoWatt sleep mode reduces quiescent current to a few microamps for loop-powered designs. SPI or I2C can drive an external EEPROM or DAC for calibration storage.
Recommandé
Low-Cost Consumer Appliance Control
The PIC16F873A-E/ML targets small appliances like coffee makers, washing machines, and microwave ovens where its 5-channel ADC reads temperature sensors and potentiometers, its PWM drives motor/relay control, and its 22 I/O pins handle keypads and seven-segment displays. The 7 KB Flash fits compact state-machine code while the Extended temperature grade tolerates the heat inside enclosures. I2C connects to EEPROM for user settings.
Recommandé
Battery-Powered Remote Sensor Nodes
For battery or energy-harvesting wireless sensor nodes, the PIC16F873A-E/ML's nanoWatt sleep modes drop quiescent current below typical sensing thresholds, extending coin-cell life to years. The USART or SPI drives sub-GHz radios (e.g., MRF89XA), the 10-bit ADC reads sensors on wake-up, and the 128-byte EEPROM stores calibration. The Extended temperature grade supports outdoor/unheated deployments.
Recommandé
HVAC Damper and Valve Actuators
In HVAC damper and zone-valve actuators, the PIC16F873A-E/ML's 16-bit timer drives accurate PWM for proportional servo control while the 2 on-chip comparators implement over-current protection without external parts. The Extended temperature grade handles plenum-chamber heat. The 7 KB Flash supports proportional-integral control loops; I2C interfaces to an external temperature/humidity sensor.
Recommandé
Educational and Prototyping Boards
The PIC16F873A-E/ML is widely used in university embedded-systems courses and hobbyist PIC programmer projects because its 28-QFN package is supported by Microchip's PICkit programmers, MPLAB X IDE, and XC8 compiler. The 35-instruction mid-range set is easy to teach; 7 KB Flash fits complete student projects; and the In-Circuit Debugger (ICD) interface allows real-time breakpoints without extra hardware.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC16F873A-E/ML — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC16F873A-I/ML | PIC16F873AT-I/ML | PIC16F876A-I/ML | PIC16F876A-E/ML | PIC16F873AT-E/ML | PIC16F1824-I/ML |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (6x6 mm) with EP | 28-QFN (6x6 mm) with EP - same | 28-QFN (6x6 mm) with EP - same | 28-QFN (6x6 mm) with EP - same | 28-QFN (6x6 mm) with EP - same | 28-QFN (6x6 mm) with EP - same | 28-QFN (6x6 mm) with EP - same |
| Program Memory (Flash) | 7 KB (4K x 14) | 7 KB - same | 7 KB - same | 14 KB (+100%) | 14 KB (+100%) | 7 KB - same | 8 KB (+14%) |
| RAM Size | 192 B | 192 B - same | 192 B - same | 368 B (+92%) | 368 B (+92%) | 192 B - same | 256 B (+33%) |
| EEPROM Size | 128 B | 128 B - same | 128 B - same | 256 B (+100%) | 256 B (+100%) | 128 B - same | 256 B (+100%) |
| Max Clock Speed | 20 MHz | 20 MHz - same | 20 MHz - same | 20 MHz - same | 20 MHz - same | 20 MHz - same | 32 MHz (+60% via PLL) |
| Supply Voltage | 4.0 V to 5.5 V | 4.0 V to 5.5 V - same | 4.0 V to 5.5 V - same | 4.0 V to 5.5 V - same | 4.0 V to 5.5 V - same | 4.0 V to 5.5 V - same | 1.8 V to 5.5 V (wider) |
| Temperature Grade | Extended (-40C to +125C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Extended (-40C to +125C) - same | Extended (-40C to +125C) - same | Industrial (-40C to +85C) |
| Instruction Set | PIC16 mid-range (35 instructions) | PIC16 mid-range (35 instructions) - same | PIC16 mid-range (35 instructions) - same | PIC16 mid-range (35 instructions) - same | PIC16 mid-range (35 instructions) - same | PIC16 mid-range (35 instructions) - same | Enhanced mid-range (49 instructions) |
Principaux différenciateurs
- Extended -40C to +125C temperature grade for harsh environments (vs PIC16F873A-I/ML)
- Double the Flash memory with same footprint (vs PIC16F876A-E/ML)
- Enhanced mid-range core with more peripherals (vs PIC16F1824-I/ML)
Notes de conception
The 28-QFN package relies on the exposed thermal pad (EP) as the primary thermal path. For high-temperature Extended-grade (-E) applications, the EP must be soldered to a copper pour of at least 1 sq. inch with multiple thermal vias to the inner/outer ground plane. Without proper EP soldering, junction temperature can exceed 125C at moderate ambient temperatures. Estimated: at 20 MHz with all peripherals active, IDD ~ 10 mA at 5 V, dissipating only 50 mW; thermal concerns are mainly from self-heating of nearby passives, not the MCU itself.
Place a 100 nF ceramic decoupling capacitor within 5 mm of each VDD/VSS pair (pins 20/8 and pins 27/19). Add a bulk 10 uF tantalum or ceramic near the supply entry point. Keep the oscillator traces (OSC1/OSC2) short and shielded by a ground guard ring to reduce EMI susceptibility. Route the ICSP signals PGC/PGD (RB6/RB7) on the same layer to the programming header without vias in the path.
Common pitfalls with PIC16F873A-E/ML designs include: (1) leaving MCLR floating - always tie MCLR to VDD through a 10 kohm resistor for proper reset, (2) using an analog pin as digital input without disabling the ADC via ADCON1, which can cause floating reads, (3) exceeding 5.5 V on any pin including ADC inputs, which can damage the part. The brown-out detect (BOR) and watchdog timer (WDT) should be enabled in safety-critical applications via the configuration bits.
For QFN-28 layout, use 0.4 mm pitch pads with a non-solder-mask-defined (NSMD) land pattern for best solder joint reliability. The center EP pad should have multiple thermal vias (typically 9-12, 0.3 mm diameter) connecting top copper to an inner ground layer. Per IPC-7351 nominal land dimensions, pad width 0.20 mm and length 0.40 mm for the perimeter pads. Avoid placing components within 2 mm of the EP copper pour to maintain thermal isolation.
Informations de conformité
RoHS and REACH compliance per Microchip product page. AEC-Q100 qualification status is not explicitly listed on Microchip's standard product page for PIC16F873A-E/ML; contact Microchip for automotive-grade variants such as PIC16F873A-E/MLVAO if AEC-Q100 documentation is required.