PIC16F874A-E/ML - 8-Bit 20MHz 7KB FLASH MCU | Microchip
부품 번호: PIC16F874A-E/ML ✓ 활성| 수량 | 단가 | 합계 |
|---|---|---|
| 1 | $7.2 | $7.20 |
| 10 | $6.48 | $64.80 |
| 100 | $5.78 | $578.00 |
| 500 | $5.2 | $2,600.00 |
| 1,000 | $4.66 | $4,660.00 |
PIC16F874A-E/ML 개요
A microcontroller (MCU) is a single-chip computer containing a CPU, RAM, non-volatile program memory, and peripheral set. Within the hierarchy, the PIC16F874A belongs to the 8-bit microcontroller family, which sits within microcontrollers, then embedded computing, then integrated circuits. Its Enhanced FLASH, 14-bit instruction-word architecture distinguishes it from baseline PIC16C/16F devices by adding self-programmability, in-circuit debugging (ICD), and an extended peripheral mix without raising cost.
Key features include an 8-channel, 10-bit Analog-to-Digital converter with up to 8 analog channels, two analog comparators, two Capture/Compare/PWM (CCP) modules, a configurable synchronous serial port usable as either 3-wire SPI or 2-wire I2C, a USART for asynchronous or synchronous serial communication, a parallel slave port, and a 14-bit instruction set with only 35 single-word instructions. The 44-VQFN exposed pad package supports surface-mount designs that benefit from a low thermal resistance path through the bottom pad.
Architecturally, the PIC16F874A uses a Harvard-style RISC core with separate program and data buses, a 14-bit wide program path, and a 8-bit data path. Self-programmability allows in-application firmware updates using a bootloader in FLASH. The MSSP (Master Synchronous Serial Port) and USART hardware blocks are mapped to dedicated pins, while the ADC uses a shared analog input multiplexer so conversions are software-scheduled across channels.
Typical applications include industrial control, sensor signal conditioning, low-cost instrumentation, motor control PWM drivers, and embedded consumer devices. The wide operating voltage (2.0V to 5.5V) and industrial temperature grade (-40C to +125C for the E suffix) make it well-suited to factory automation and automotive interior subsystems.
When designing with this part, pay attention to the configuration word (oscillator selection, watchdog, code protection), use the exposed pad for thermal relief and ground stitching, and program the FLASH via ICSP using the dedicated PGD/PGC pins. The 8x8 mm VQFN footprint requires a moderate PCB land pattern; verify the I/O count (33) against your application's pin budget.
드롭인 대체품: PIC16F874A-E/ML — 동일 패키지, 핀 호환. PCB 재작업이 필요한 다른 패키지 부품은 제외됩니다.
이 시리즈의 변형
다음과 드롭인 호환되는 동일 시리즈 모델: PIC16F874A-E/ML (동일 폼 팩터 및 풋프린트) — 차이점: Operating Temperature Range, Package, Analog-to-Digital Converter, Serial Interfaces, Series.
빠른 비교 도구 — 나란히 비교할 대체 부품을 선택하십시오:
PIC16F874A-I/ML
✅ 드롭인✓ 재고 있음
$3.21 / 개
데이터시트 보기 →PIC16F873A-E/ML
✅ 드롭인✓ 재고 있음
$3.35 / 개
데이터시트 보기 →PIC18F4520-I/ML
✅ 드롭인📋 참조 대체품 (카탈로그에 없음)
PIC16F874A-E/ML 최대 정격 & 전기적 특성
| Core Architecture | 8-bit PIC RISC, 14-bit instruction word |
| Program Memory (FLASH) | 7 KB (4K x 14 words) |
| RAM Size | 192 bytes |
| EEPROM Data Memory | 128 bytes |
| Maximum CPU Speed | 20 MHz (200 ns instruction cycle) |
| Operating Voltage (Vdd) | 2.0 V to 5.5 V |
| I/O Pins | 33 |
| Analog-to-Digital Converter | 10-bit, 8 channels |
| Comparators | 2 |
| Capture/Compare/PWM | 2 CCP modules |
| Serial Interfaces | MSSP (SPI / I2C), USART (SCI) |
| Self-Programming / ICD | Yes (FLASH self-write, in-circuit debug) |
| Parallel Slave Port | Yes |
| 동작 온도 범위 | -40 C to +125 C (E suffix / industrial) |
| 패키지 | 44-VQFN with exposed thermal pad (8x8 mm) |
| 실장 유형 | Surface Mount |
| RoHS 상태 | Compliant |
PIC16F874A-E/ML 핀 구성
| 핀 1 | MCLR/VPP/THV — Master Clear (reset) input / programming voltage |
| 핀 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| 핀 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| 핀 4 | RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC VREF- |
| 핀 5 | RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+ |
| 핀 6 | RA4/T0CKI/C1OUT — PORTA bit 4 / Timer0 clock / comparator 1 output |
| 핀 7 | RA5/AN4/SS/C2OUT — PORTA bit 5 / analog input 4 / SPI slave select / comparator 2 output |
| 핀 8 | RE0/RD/AN5 — PORTE bit 0 / parallel slave port read / analog input 5 |
| 핀 9 | RE1/WR/AN6 — PORTE bit 1 / write / analog input 6 |
| 핀 10 | RE2/CS/AN7 — PORTE bit 2 / chip select / analog input 7 |
| 핀 11 | VDD — Positive supply voltage (2.0V to 5.5V) |
| 핀 12 | VSS — Ground reference |
| 핀 13 | OSC1/CLKI — External oscillator input / crystal input |
| 핀 14 | OSC2/CLKO — External oscillator output / crystal output |
| 핀 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| 핀 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| 핀 17 | RC2/CCP1 — PORTC bit 2 / CCP1 |
| 핀 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| 핀 19 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| 핀 20 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| 핀 21 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| 핀 22 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| 핀 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| 핀 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| 핀 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| 핀 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| 핀 27 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| 핀 28 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| 핀 29 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| 핀 30 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| 핀 31 | VSS — Ground reference |
| 핀 32 | VDD — Positive supply voltage (2.0V to 5.5V) |
| 핀 33 | RB0/INT — PORTB bit 0 / external interrupt 0 |
| 핀 34 | RB1 — PORTB bit 1 |
| 핀 35 | RB2 — PORTB bit 2 |
| 핀 36 | RB3/PGM — PORTB bit 3 / low-voltage ICSP programming |
| 핀 37 | RB4 — PORTB bit 4 |
| 핀 38 | RB5/PGM — PORTB bit 5 / ICSP programming clock (alt) |
| 핀 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| 핀 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| 핀 41 | VDD — Positive supply voltage (2.0V to 5.5V) |
| 핀 42 | VSS — Ground reference |
| 핀 43 | NC — Not connected (per datasheet) |
| 핀 44 | NC — Not connected (per datasheet) |
일반적인 애플리케이션
PIC16F874A-E/ML 적합 용도: 6 애플리케이션s: Industrial Sensor Monitoring, Motor Control / PWM Driver, Low-Cost Instrumentation, Embedded Consumer Devices, Automotive Interior Subsystems, RS-232/RS-485 Sensor Node.
Industrial Sensor Monitoring
The PIC16F874A-E/ML fits sensor monitoring applications thanks to its 8-channel 10-bit ADC and wide 2.0V to 5.5V supply range. With 33 I/O pins it can interface a multi-sensor cluster and drive indicator LEDs without external mux logic. The 20 MHz CPU handles linearization and threshold filtering at update rates up to ~50 ksps, while 128 bytes of EEPROM stores per-node calibration constants in non-volatile form.
추천
Motor Control / PWM Driver
The PIC16F874A-E/ML suits low-cost brushed DC and stepper motor control through its two Capture/Compare/PWM modules, which deliver complementary or edge-aligned PWM outputs at up to 20 MHz timer resolution. With 33 I/O, it can drive H-bridge gate signals, encoder feedback, and overcurrent shutdown logic from a single chip. The 7 KB FLASH holds lookup tables for soft-start ramps, while the comparators provide hardware overcurrent protection.
추천
Low-Cost Instrumentation
The PIC16F874A-E/ML serves low-cost instrumentation such as handheld meters, panel displays, and laboratory probes. The MSSP (SPI/I2C) interfaces to LCD or OLED displays and external FRAM, while the USART handles RS-232/RS-485 to a host PC. With 192 bytes of RAM and 7 KB FLASH it runs menus, calibration routines, and basic statistics locally; the industrial -40C to +125C temperature rating (E suffix) covers harsh bench environments.
추천
Embedded Consumer Devices
The PIC16F874A-E/ML is widely used in consumer appliances such as coffee machines, washing-machine control boards, and HVAC thermostat units where its combination of low cost, 5V-tolerant I/O, and reliable FLASH self-programming proves valuable. The 8-channel ADC reads thermistors, pressure sensors, and key matrices; the PWM modules drive triac-fired heater elements or small DC fans. 128 bytes of EEPROM backs up user settings across power cycles.
추천
Automotive Interior Subsystems
The PIC16F874A-E/ML suits automotive interior modules (HVAC controls, mirror adjusters, ambient lighting) that require a small, robust 5V MCU with automotive-grade temperature tolerance. Its USART interfaces to LIN slave transceivers, while PWM channels drive LED dimming and small DC motor control. The 44-VQFN exposed pad offers good thermal performance for sealed dashboard enclosures. For under-hood AEC-Q100 applications, Microchip's PIC18F family is preferred.
추천
RS-232/RS-485 Sensor Node
The PIC16F874A-E/ML acts as a remote sensor node that digitizes analog signals and forwards them via USART to a host controller or RS-485 bus. With its built-in 10-bit ADC, MSSP for local SPI sensors, and 33 I/O for digital status, it eliminates the need for an external analog front end. The 44-VQFN exposed pad package is footprint-compatible with the PIC16F873A for cost-down or PIC18F4520 for memory-up variants, allowing PCB reuse across the PIC family.
추천
추천 제품 요약
엔지니어링 참조 데이터: PIC16F874A-E/ML — 비교, 설계 지침 및 규정 준수 정보.
선택 가이드
대체품과의 비교
| 파라미터 | 이 제품 | PIC16F874A-I/ML | PIC16F873A-E/ML | PIC18F4520-I/ML |
|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-VQFN (8x8 mm) | 44-VQFN (8x8 mm) - same | 44-VQFN (8x8 mm) - same | 44-VQFN (8x8 mm) - same |
| FLASH Program Memory | 7 KB (4K x 14) | 7 KB (4K x 14) | 4 KB (2K x 14) (-43%) | 32 KB (+357%) |
| RAM | 192 bytes | 192 bytes | 192 bytes | 1536 bytes (+700%) |
| EEPROM | 128 bytes | 128 bytes | 128 bytes | 256 bytes (+100%) |
| Max CPU Speed | 20 MHz (200 ns instruction) | 20 MHz | 20 MHz | 40 MHz (10 MIPS) |
| I/O Pins | 33 | 33 | 33 | 36 |
| Operating Temperature | -40C to +125C (E suffix) | -40C to +85C (I suffix) | -40C to +125C (E suffix) | -40C to +85C (I suffix) |
| Instruction Set Width | 14-bit (PIC16 enhanced) | 14-bit | 14-bit | 16-bit (PIC18) |
주요 차별점
- Wider operating temperature range vs PIC16F874A-I/ML (vs PIC16F874A-I/ML)
- More FLASH than PIC16F873A-E/ML (vs PIC16F873A-E/ML)
- Lower cost and 14-bit simplicity vs PIC18F4520-I/ML (vs PIC18F4520-I/ML)
설계 노트
The 44-VQFN (8x8 mm) package relies on its exposed thermal pad for both mechanical solder joint strength and thermal dissipation. Stitch the EP to a continuous ground copper pour with multiple thermal vias to the inner ground plane; without this, the part may overheat under sustained 20 MHz operation. Per IPC-7351 guidelines, the land pattern should follow Microchip's recommended VQFN-44 pad geometry with 0.4 mm pitch.
Do not leave the MCLR pin floating - it must be pulled to VDD through a 10 kohm resistor for normal operation, or driven low for reset. According to the Microchip PIC16F874A datasheet, an un-driven MCLR pin produces unpredictable resets under noise. For ICSP programming, MCLR is driven high by the programmer; adding 100 nF decoupling between MCLR and ground is recommended to suppress ESD transients.
Place a 100 nF decoupling capacitor as close as possible to each VDD/VSS pair (the 44-VQFN has multiple VDD pins at positions 11, 32, and 41). For ADC accuracy, add a 10 uF bulk capacitor at the MCU VDD pin and route VREF+/VREF- directly from a low-impedance reference. Estimated: at 20 MHz and 5V, supply current is around 10 mA typical per the datasheet DC characteristics, so the regulator must source at least 25 mA with margin for I/O switching.
Keep analog input traces (RA0-RA5, RE0-RE2) short and away from switching signals on PORTD and PWM outputs to minimize ADC crosstalk. Route the crystal traces (OSC1/OSC2) symmetrically with grounded guard traces and keep them under 5 mm total length. For SPI/I2C lines that fan out to external peripherals, add series 33 ohm resistors near the MCU to dampen ringing and reflections at frequencies above 10 MHz.
When using the PIC16F874A's MSSP in I2C mode, the SDA/SCL lines require 4.7 kohm pull-ups on a 5V bus or 2.2 kohm on a 3.3V bus for the standard 100 kHz mode; for 400 kHz fast mode use 1 kohm to 2 kohm. According to the Microchip MSSP specification, the I2C SCL duty cycle is hardware-fixed, which limits fast-mode timing margins. The USART supports high baud rates up to FOSC/16, but PCB trace capacitance above 50 pF may degrade signal integrity at 115200 bps over long cables.
규정 준수 정보
RoHS and REACH compliant per Microchip product declaration. The E suffix denotes industrial temperature grade (-40C to +125C) but does NOT carry AEC-Q100 automotive qualification; for AEC-Q100 applications, choose PIC18F or PIC16F automotive-grade variants.