PIC16F874-10E/PT - 8-bit Flash MCU, 7KB, 44-TQFP | Microchip
MPN: PIC16F874-10E/PT ✓ Hoạt độngPIC16F874-10E/PT Tóm tắt
Background: An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory (Flash or ROM), volatile data memory (RAM), and peripheral interfaces into one package. The PIC16F family from Microchip Technology is a mature mid-range 8-bit MCU platform widely used in industrial control, automotive body electronics, and consumer appliances. Within the product taxonomy, PIC16F874 belongs to the 8-bit microcontrollers -> microcontrollers -> integrated circuits -> semiconductors hierarchy. Variants in the PIC16F87x family are differentiated primarily by memory size, package pin count, and peripheral set rather than core architecture.
Key features include Flash program memory supporting in-circuit serial programming (ICSP), a 10-bit successive-approximation ADC with up to 8 channels, a USART module for asynchronous or synchronous serial communication, an MSSP module that supports both SPI and I²C master/slave operation, three timers (Timer0, Timer1, Timer2), and dual CCP modules for PWM, capture, or compare. The 'nanoWatt Technology' designation indicates power-managed sleep modes with currents down to the nanoampere range, making the part suitable for battery-powered applications.
Technically, the PIC16F874-10E/PT uses a Harvard architecture with separate program and data buses, a 14-bit instruction word, and direct/indirect addressing modes. The 200 ns instruction execution supports deterministic interrupt latency that is well-documented in the Microchip PICmicro Mid-Range Reference Manual. The 44-pin TQFP package offers a wider pin count than the 28-pin siblings (PIC16F873/876) and exposes the full 33-I/O capability plus dedicated OSC1/OSC2, MCLR, and analog reference pins.
Typical applications include industrial sensor interfaces, HVAC control boards, automotive body modules, embedded data loggers, and consumer white-goods controllers. The wide operating voltage (4.0–5.5 V) and extended temperature range make it suitable for both indoor and harsh-environment deployments.
When designing with this device, ensure that the ICSP programming header includes the standard PGD/PGC/MCLR/VSS/VPP pinout, and that the brown-out reset (BOR) configuration matches the supply profile. Microchip recommends MPLAB X IDE and the XC8 compiler for new firmware development.
Bộ thay thế dễ dàng lắp đặt cho PIC16F874-10E/PT — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC16F874-10E/PT (cùng hình factor và footprint) — khác nhau ở Package, Timers, ADC, Core Architecture, CCP Modules.
PIC16F874-04E/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874-10I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16F874-04I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F884-I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F4520-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F874-10E/PT Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16 8-bit RISC (Harvard) |
| Program Memory (Flash) | 7 KB |
| RAM | 192 bytes |
| EEPROM Data Memory | 128 bytes |
| Maximum Clock Speed | 20 MHz |
| Instruction Cycle Time | 200 ns (at 20 MHz) |
| Number of Instructions | 35 (single-word) |
| Supply Voltage (Vdd) | 4.0 V to 5.5 V |
| I/O Pins | 33 |
| ADC | 10-bit, up to 8 channels |
| Timers | 3 (Timer0, Timer1, Timer2) |
| CCP Modules | 2 (Capture / Compare / PWM) |
| Serial Interfaces | USART + MSSP (SPI / I²C) |
| Nhiệt độ hoạt động | -40 °C to +125 °C (Extended, 'E' grade) |
| Hộp | 44-pin TQFP (PT) |
| Kiểu lắp đặt | Surface Mount |
| Speed Grade | 10 MHz / 10E |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC16F874-10E/PT
| Chân 1 | MCLR/VPP — Master Clear (Reset) input / ICSP programming voltage |
| Chân 2 | OSC1/CLKIN — Oscillator input or external clock in |
| Chân 3 | OSC2/CLKOUT — Oscillator output / clock out |
| Chân 4 | RA0/AN0 — PORTA bit 0 / ADC input 0 |
| Chân 5 | RA1/AN1 — PORTA bit 1 / ADC input 1 |
| Chân 6 | RA2/AN2/VREF- — PORTA bit 2 / ADC input 2 / ADC Vref- |
| Chân 7 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / ADC Vref+ |
| Chân 8 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Chân 9 | RA5/AN4/SS — PORTA bit 5 / ADC input 4 / SPI slave select |
| Chân 10 | VSS — Ground reference |
| Chân 11 | VDD — Positive supply voltage (4.0-5.5 V) |
| Chân 12 | RB0/INT — PORTB bit 0 / external interrupt input |
| Chân 13 | RB1 — PORTB bit 1 |
| Chân 14 | RB2 — PORTB bit 2 |
| Chân 15 | RB3/PGM — PORTB bit 3 / low-voltage ICSP programming |
| Chân 16 | RB4 — PORTB bit 4 |
| Chân 17 | RB5 — PORTB bit 5 |
| Chân 18 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 19 | RB7/PGD — PORTB bit 7 / ICSP data |
| Chân 20 | VSS — Ground reference |
| Chân 21 | VDD — Positive supply voltage (4.0-5.5 V) |
| Chân 22 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input |
| Chân 23 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 module |
| Chân 24 | RC2/CCP1 — PORTC bit 2 / CCP1 module |
| Chân 25 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I²C clock |
| Chân 26 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I²C data |
| Chân 27 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 28 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Chân 29 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Chân 30 | VSS — Ground reference |
| Chân 31 | VDD — Positive supply voltage (4.0-5.5 V) |
| Chân 32 | RD0 — PORTD bit 0 |
| Chân 33 | RD1 — PORTD bit 1 |
| Chân 34 | RD2 — PORTD bit 2 |
| Chân 35 | RD3 — PORTD bit 3 |
| Chân 36 | RD4 — PORTD bit 4 |
| Chân 37 | RD5 — PORTD bit 5 |
| Chân 38 | RD6 — PORTD bit 6 |
| Chân 39 | RD7 — PORTD bit 7 |
| Chân 40 | RE0/RD/AN5 — PORTE bit 0 / parallel port read / ADC input 5 |
| Chân 41 | RE1/WR/AN6 — PORTE bit 1 / parallel port write / ADC input 6 |
| Chân 42 | RE2/CS/AN7 — PORTE bit 2 / parallel port chip select / ADC input 7 |
| Chân 43 | AVSS — Analog ground reference |
| Chân 44 | AVDD — Analog positive supply voltage |
Ứng dụng tiêu biểu
PIC16F874-10E/PT phù hợp cho 6 Áp dụngs: Industrial Sensor Interface Board, HVAC Climate Control Unit, Automotive Body Electronics Module, Embedded Data Logger, Consumer Appliance Controller, Educational Embedded Training Platform.
Industrial Sensor Interface Board
The PIC16F874-10E/PT is well-suited to multi-channel sensor-interface boards where the integrated 10-bit ADC with up to 8 input channels and 33 I/O pins allow direct connection of temperature, pressure, and digital switch sensors. Operating from 4.0 V to 5.5 V with the extended -40 °C to +125 °C range (E grade), the part tolerates plant-floor temperature swings without re-calibration. The 200 ns deterministic instruction cycle supports hard-real-time sampling of process variables, while the nanoWatt sleep modes reduce idle current for battery-backed wireless sensor nodes. Place the MCU adjacent to the analog front-end with a 0.1 µF VDD bypass, an LC filter on AVdd, and route ADC inputs away from digital switching traces.
Được đề xuất
HVAC Climate Control Unit
The PIC16F874-10E/PT is widely deployed in HVAC control boards that require PWM fan control, thermistor input, and serial display interfacing. The two on-chip CCP modules provide hardware PWM generation for fan or damper motor speed, while the USART drives a UART-character LCD or Wi-Fi/BLE module. The 128-byte EEPROM stores non-volatile setpoints and calibration constants across power cycles. With 7 KB of Flash, the firmware can implement PID control loops, fault detection, and remote command parsing without external memory. The 44-pin TQFP gives access to 33 I/O pins, ample for keypad scanning and LED driver multiplexing typical of mid-range HVAC front panels.
Được đề xuất
Automotive Body Electronics Module
The PIC16F874-10E/PT with extended -40 °C to +125 °C temperature grade is qualified for automotive body-electronics applications such as window-lift, mirror-adjust, seat-control, and lighting modules. Its 10 MHz clock rate and 200 ns instruction cycle support LIN-bus protocol stacks and body-control message timing. The 10-bit ADC reads current-sense inputs for short-circuit detection on LED or motor drivers, and the 33 I/O pins route to multiple H-bridge drivers and switch matrices. The Flash-based program memory supports in-circuit serial programming (ICSP) on the assembly line, reducing rework cost. The 44-pin TQFP package is AEC-Q100 friendly when sourced from Microchip's automotive product line.
Được đề xuất
Embedded Data Logger
The PIC16F874-10E/PT serves as a low-power data-logger controller for environmental monitoring, energy metering, and remote telemetry. Its 128-byte EEPROM offers non-volatile parameter storage, while the Flash supports firmware upgrades in the field via ICSP. The MSSP module interfaces to SPI/I²C EEPROM or FRAM for bulk data retention, and the USART connects to a cellular or LoRa modem. The nanoWatt sleep mode drops quiescent current to nanoampere levels between scheduled sample intervals, enabling multi-year battery life on a single cell. The 200 ns deterministic instruction cycle guarantees fixed sampling rates critical for vibration, flow, and energy-pulse measurements.
Được đề xuất
Consumer Appliance Controller
The PIC16F874-10E/PT fits inside consumer white-goods controllers such as washing machines, dishwashers, ovens, and microwave ovens where cost, reliability, and long-term firmware stability are paramount. The 7 KB Flash holds appliance-specific state machines, while 192 bytes RAM is sufficient for sensor-fusion and user-interface logic. The 33 I/O pins drive keypads, 7-segment or TFT displays, buzzer drivers, and triac optocouplers. The wide 4.0-5.5 V operating range survives supply transients common in switched-mode appliance power supplies. Extended temperature grade (E) ensures operation inside hot appliance cavities where ambient can exceed 100 °C.
Được đề xuất
Educational Embedded Training Platform
Universities and training institutes select the PIC16F874-10E/PT as a teaching MCU because the PIC16 architecture is well documented in textbooks and the device is supported by Microchip's MPLAB X IDE and the free XC8 compiler. The 35-instruction RISC set lets students master the entire instruction manual in a single lab course. The 10 MHz clock rate is fast enough to demonstrate UART, SPI, I²C, PWM, and ADC peripherals without overwhelming a beginner. The 44-pin TQFP package on a breakout board exposes every pin for breadboard experiments, and ICSP allows in-circuit firmware updates without removing the chip.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC16F874-10E/PT — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC16F874-04E/PT | PIC16F874-10I/PT | PIC16F874-04I/PT | PIC16F884-I/PT | PIC18F4520-I/PT |
|---|---|---|---|---|---|---|
| Package | 44-pin TQFP (PT) | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Max Clock Speed | 10 MHz | 4 MHz | 10 MHz | 4 MHz | 20 MHz | 40 MHz |
| Flash Memory | 7 KB | 7 KB | 7 KB | 7 KB | 7 KB | 32 KB |
| RAM | 192 bytes | 192 bytes | 192 bytes | 192 bytes | 256 bytes | 1536 bytes |
| Operating Temperature | -40 °C to +125 °C (Extended) | -40 °C to +125 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C |
| I/O Pins | 33 | 33 | 33 | 33 | 36 | 36 |
| ADC Resolution | 10-bit | 10-bit | 10-bit | 10-bit | 10-bit (14 channels) | 10-bit (13 channels) |
| Core Family | PIC16 mid-range (14-bit instruction) | PIC16 mid-range | PIC16 mid-range | PIC16 mid-range | PIC16 enhanced mid-range | PIC18 enhanced (16-bit instruction) |
Bảo phân biệt quan trọng
- Recommended successor with more RAM at same price (vsPIC16F874-04E/PT)
- Wide temperature envelope for harsh environments (vsPIC16F874-10I/PT)
- Higher performance with pin compatibility (vsPIC18F4520-I/PT)
Ghi chú thiết kế
The PIC16F874-10E/PT has separate analog and digital supply pins (AVDD/AVSS, VDD/VSS). Place a 0.1 µF ceramic decoupling capacitor as close as possible to each VDD pin and a 10 µF bulk capacitor near the supply entry. AVdd should be tied to VDD through a ferrite bead or filter resistor when ADC accuracy matters; otherwise both rails can share the same 5 V rail. Brown-out reset (BOR) must be configured for the actual supply profile to avoid spurious resets during power-up.
Use a 4-layer PCB with a continuous ground plane beneath the 44-pin TQFP to minimize EMI and provide thermal spreading. Route the 20 MHz oscillator traces (OSC1/OSC2) as short as possible and guard them with ground pour. Place the ICSP header (PGD/PGC/MCLR/VPP/VSS) at the board edge so that the PICkit or MPLAB ICD can clip on without removing the MCU. Keep analog inputs (AN0-AN7) away from digital switching lines and clock traces to prevent ADC crosstalk.
Do not omit the MCLR pull-up resistor (typically 10 kΩ to VDD); without it the MCU may randomly enter reset state due to noise. Configure the configuration bits (CONFIG1, CONFIG2) in the source code at build time - never leave them at the default unprogrammed state, or the watchdog may be inadvertently enabled. When using ICSP on a production board, isolate PGD/PGC from application circuitry with jumpers or buffers to prevent programmer-to-circuit contention.
For reliable USART communication at 115200 baud and above, ensure that the oscillator is accurate to within ±2 % and that the BRGH bit is set for high-speed mode. For SPI buses above 5 MHz, add 33 Ω series-termination resistors near the SCK driver to dampen ringing on long traces. The MSSP I²C module requires external pull-up resistors on SCL/SDA (typically 4.7 kΩ for 400 kHz Fast Mode); internal weak pull-ups are not strong enough for multi-slave buses.
Thông tin tuân thủ
RoHS compliance per Microchip product page. PIC16F874-10E/PT is not AEC-Q100 qualified - for automotive AEC-Q100 projects, source PIC16F874-10E/PT only after PPAP review or use the automotive-grade PIC16F family variant (e.g. PIC16F874A-E/PT). Pb-free TQFP package per Microchip packaging specification.