PIC16F873-04/SO - 4MHz 8-Bit Flash MCU | Microchip Technology
MPN: PIC16F873-04/SO ✗ Akhir HidupPIC16F873-04/SO Ringkasan
An 8-bit PIC microcontroller is a programmable semiconductor that combines a central processing unit, program memory, data memory, general-purpose I/O, timers, and communication peripherals on one integrated circuit. In the product hierarchy, the PIC16F873 belongs to the Microchip PIC16 family of 8-bit microcontrollers and combines embedded flash memory with a RISC-style instruction set. Unlike a discrete logic controller, it executes embedded firmware that allows product behavior to be changed without replacing the physical controller.
The primary specifications are a 4 MHz maximum clock frequency, 7 KB of flash program memory, 192 bytes of RAM, and 22 general-purpose I/O lines. Its 4K x 14 flash organization allows the device to hold 4096 program words. The 28-pin SOIC package provides a surface-mount alternative to larger through-hole packages while retaining separate connections for the I/O ports, oscillator, reset, programming, power, and ground functions needed in embedded control boards.
The PIC16F873 architecture uses a Harvard-style arrangement in which program memory and data memory are accessed through separate paths, supporting efficient execution of embedded firmware. Flash memory permits in-circuit programming and repeated firmware updates during development or field servicing. Its peripheral set is appropriate for sensing, timing, pulse generation, input capture, serial communication, and state-machine control, while the 4 MHz operating limit favors deterministic control loops that do not require high-bandwidth computation.
Typical applications include industrial equipment interfaces, environmental monitoring instruments, motor and relay controllers, programmable logic controllers, appliance controls, instrumentation modules, and communications-enabled embedded nodes. The device can operate as the central controller in a board that reads sensors, applies control logic, drives indicators or actuators, and communicates with a higher-level controller. Its 22 I/O lines allow multiple digital inputs and outputs to be connected without requiring a larger package.
When laying out a replacement board, verify the 28-pin SOIC footprint, pin orientation, oscillator requirements, programming interface, and decoupling connections against the manufacturer pin and package documentation. Pay particular attention to the reset and programming pins because incorrect programming or decoupling can appear as an unstable oscillator or intermittent startup. The -04 device is specifically a 4 MHz part and should not be substituted with a different speed grade without reviewing timing and operating requirements.
This product analysis consolidates the verified PIC16F873-04/SO memory, clock, package, and lifecycle information with practical migration guidance and same-package alternatives. It is intended to help engineers identify the correct device, compare temperature-grade options, and plan a board-compatible replacement without overlooking firmware, timing, or qualification constraints.
Alternatif penggantian untuk PIC16F873-04/SO — paket yang sama, pin-pada-pin kompatibel. Bagian paket yang berbeda memerlukan kerja ulang PCB diabaikan.
Variasi di dalam seri ini
Model-series yang sama yang kompatibel dengan penggantian PIC16F873-04/SO (sama faktor bentuk dan footprint) — berbeda di dalam Core Architecture, Package, ADC, Timers, Maximum Clock Frequency.
PIC16F873-04I/SO
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F873-04E/SO
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F873T-04/SO
✅ Drop-In📋 Alternatif referensi (tidak dalam katalog)
PIC16F873T-04I/SO
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F873T-04E/SO
✅ Drop-InKontak untuk harga
Lihat Datasheet →PIC16F873-04/SO Rating Maksimal & Karakteristik Listrik
| Microcontroller Type | 8-bit PIC RISC microcontroller |
| Frekuensi Bawah Maximum | 4 MHz |
| Program Memory Type | Flash |
| Program Memory Size | 7 KB |
| Program Memory Organization | 4K x 14 words |
| RAM Size | 192 bytes |
| Data EEPROM Size | 128 bytes |
| I/O Pin Count | 22 |
| Tegangan Pemuat | 4 V to 5.5 V |
| Nominal Supply Voltage | 5 V |
| Package Type | 28-pin SOIC |
| Total Pin Count | 28 pins |
| Tipe Mounting | Surface mount |
| Speed Designator | -04, 4 MHz |
| Status Lingkungan Hidup | Not Recommended for new designs |
PIC16F873-04/SO 28-pin soic Diamant Konfigurasi Panduan
Konfigurasi pin untuk PIC16F873-04/SO (28-pin soic pakai pakai). IC digital ini termasuk GPIO, antarmuka komunikasi (UART, SPI, I2C), dan pin kuasa. Lihat datasheet produsen untuk fungsi pin alternatif dan opsi konfigurasi. Penting untuk desain sistem pengemasan dan PCB.
Tidak ada data diatribut pin yang tersedia untuk PIC16F873-04/SO.
Lihat ke: datasheet produk untuk konfigurasi pin penuh.
Aplikasi Umum
PIC16F873-04/SO cocok untuk 6 aplikasis: Industrial Equipment Interface Controller, Environmental Monitoring Instrument, Motor and Relay Controller, Programmable Logic Controller, Appliance and Building Control, Communications-Enabled Embedded Node.
Industrial Equipment Interface Controller
The PIC16F873-04/SO fits an industrial equipment interface because its 22 I/O lines can accommodate multiple digital inputs, status outputs, and control signals within one 28-pin SOIC footprint. The 4 MHz clock supports responsive state-machine logic, while 7 KB of flash provides room for startup handling, diagnostics, and device-specific control routines. Place the controller between a machine sensor network and relay or actuator drivers, then use timed I/O operations for predictable sequencing. The main design consideration is environmental qualification: a wider industrial temperature range calls for the 04I/SO grade rather than the commercial-grade target.
Direkomendasikan
Environmental Monitoring Instrument
PIC16F873-04/SO can serve as the supervisory controller in an environmental monitoring instrument that combines digital sensors, a local display, alarm outputs, and a communications link. Its 4 MHz clock is sufficient for scheduled sampling and threshold logic, while 192 bytes of RAM supports short-term working data and 7 KB of flash holds acquisition and alarm routines. Firmware can manage sensor selection, averaging, debouncing, and fault reporting without a separate processor. Keep analog conditioning outside the MCU where appropriate, and apply filtering to digital sensor lines before they reach the 22 available I/O pins.
Direkomendasikan
Motor and Relay Controller
The PIC16F873-04/SO is appropriate for small motor, solenoid, and relay control systems where the embedded controller must sequence multiple outputs and respond to input conditions. Its 22 I/O lines allow direct connections to limit switches, position sensors, relay drivers, and status indicators, while the 4 MHz clock supports rapid task scheduling. A typical implementation uses timers for pulse generation or debounce intervals and firmware interlocks to prevent conflicting actuator states. External driver transistors and protection components remain necessary because MCU I/O pins are control signals, not power-stage devices.
Direkomendasikan
Programmable Logic Controller
PIC16F873-04/SO can implement a compact programmable logic controller for sequencing, latch logic, counter tasks, and basic machine control. The 7 KB flash memory provides room for structured ladder-like or state-machine routines, and the 4 MHz operating frequency supports deterministic execution of multiple I/O tasks. Its 22 I/O pins offer more board flexibility than a simple fixed-function logic device while retaining simple firmware-based changes. For dependable operation, define safe output states during reset, validate input conditioning, and confirm that the selected temperature grade covers the enclosure's worst-case environment.
Direkomendasikan
Appliance and Building Control
PIC16F873-04/SO fits compact appliance and building-control modules that coordinate user inputs, displays, sensors, communications, and relay outputs. Its 4 MHz speed is sufficient for menu handling, timers, status logic, and protocol servicing, while 7 KB of flash stores application firmware and configuration behavior. The 28-pin SOIC package supports automated board assembly and provides a practical upgrade from a larger through-hole footprint. Designers should allocate pins carefully for programming, oscillator components, reset, and serial functions, and should use a wider temperature-grade variant when the product operates in a hot enclosure or outdoor environment.
Direkomendasikan
Communications-Enabled Embedded Node
PIC16F873-04/SO can act as the local controller in a communications-enabled sensor node or instrument interface. The 4 MHz clock and 22 I/O lines allow a firmware loop to acquire data, apply thresholds, update indicators, and service a serial interface. With 7 KB of flash and 192 bytes of RAM, the device is best suited to compact protocol handling and supervisory logic rather than high-throughput data processing. A production design should provide suitable oscillator and decoupling arrangements, define programming access for field updates, and use the temperature-grade variant matching the installation environment.
Direkomendasikan
Ringkasan Produk Direkomendasikan
Data referensi engineering untuk PIC16F873-04/SO — pembandingan, panduan desain, dan informasi konformitas.
Panduan Pemilihan
Pembandingan dengan Alternatif
| Parameter Umum | Produk Ini | PIC16F873-04I/SO | PIC16F873-04E/SO | PIC16F873T-04/SO | PIC16F873T-04I/SO | PIC16F873T-04E/SO |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-pin SOIC | 28-pin SOIC | 28-pin SOIC | 28-pin SOIC | 28-pin SOIC | 28-pin SOIC |
| Maximum Clock Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 4 MHz |
| Program Memory | 7 KB flash | 7 KB flash | 7 KB flash | 7 KB flash | 7 KB flash | 7 KB flash |
| Program Memory Organization | 4K x 14 words | 4K x 14 words | 4K x 14 words | 4K x 14 words | 4K x 14 words | 4K x 14 words |
| Speed Grade | -04, 4 MHz | -04, 4 MHz | -04, 4 MHz | -04, 4 MHz | -04, 4 MHz | -04, 4 MHz |
| Temperature or Qualification Suffix | Commercial-grade base suffix | Industrial-grade suffix | Extended-temperature suffix | Temperature-grade T suffix | Temperature-grade T and industrial-grade I suffixes | Temperature-grade T and extended-temperature E suffixes |
Diferensiator Kunci
- Identified family options preserve the target's 4 MHz clock and 7 KB flash configuration (vsPIC16F873-04I/SO)
- The target is the commercial-grade base option within the identified drop-in family (vsPIC16F873T-04/SO)
- Exact 28-pin SOIC package identification supports controlled PCB reuse (vsPIC16F873T-04E/SO)
Catatan Desain
Do not treat the 04, I, E, or T suffix as interchangeable packaging information. The target and its alternatives all use a 28-pin SOIC footprint, but the suffix selection affects the intended temperature or qualification class. Verify the product's worst-case ambient temperature, enclosure temperature rise, and required qualification before substitution. Also preserve the 4 MHz speed requirement because a similarly named PIC16F873 variant with a different speed designation may not be a drop-in functional match.
Use the manufacturer 28-pin SOIC package drawing to define the land pattern, pin-1 orientation, courtyard, and solder-mask clearance. Place the programming header or test pads where they do not interfere with analog or high-current circuitry, and route sensitive oscillator and reset nets away from switching nodes. The 28-pin package footprint is compatible across the listed family options, but a mechanical drawing alone does not validate pin function, power sequencing, or peripheral multiplexing.
Follow the manufacturer guidance for supply voltage and decoupling placement when this controller replaces an existing design. The documented operating range is 4 V to 5.5 V, with 5 V as the nominal supply used in component descriptions. Keep the regulator reference and power traces short, place local bypass capacitance close to the supply pins, and avoid sharing high-current return paths with sensitive digital inputs. Validate startup and brownout behavior in the complete board rather than relying only on the nominal supply voltage.
Give oscillator, reset, and programming signals priority in the layout because unstable clocking or programming can resemble a defective microcontroller. Keep clock traces short, provide the required oscillator loading network at the device, and maintain clean ground returns around the controller. External switches and relays should have isolation from digital input traces, and any sensor attached to an I/O pin should include appropriate filtering to prevent false transitions from affecting embedded control logic.
Informasi Konformitas
Compliance declarations for the exact PIC16F873-04/SO MPN were not identified in the available product information. Confirm RoHS, REACH, automotive qualification, lead-free, halogen-free, and conflict-minerals status with Microchip Technology before release.