PIC16F74-E/P - 8-bit PIC MCU, 7KB Flash, 20MHz, 40-PDIP | Microchip
MPN: PIC16F74-E/P ✓ Hoạt độngPIC16F74-E/P Tóm tắt
An 8-bit microcontroller (MCU) is a programmable computing IC that integrates a CPU, memory, and peripherals onto a single die. Within the MCU taxonomy the PIC16F74 belongs to the mid-range 14-bit instruction family (PIC16F), which sits above baseline 12-bit PIC10/12/12F parts and below the enhanced 16-bit PIC18 family. PIC16F mid-range devices target general-purpose embedded control in cost-sensitive industrial and consumer products where deterministic timing and low part count matter more than raw compute throughput.
Key features include a 10-bit, 8-channel Analog-to-Digital Converter (ADC), two 8-bit timers with one 16-bit timer option, two Capture/Compare/PWM (CCP) modules, an SSP configurable as either 3-wire SPI or 2-wire I2C, a USART for asynchronous/synchronous serial, a parallel slave port, and nanoWatt power management with multiple sleep modes. The extended temperature grade (-40C to +125C) suits automotive under-hood, industrial, and outdoor installations.
The PIC16F74-E/P uses a Harvard RISC architecture with a 14-bit-wide instruction word and an 8-bit-wide data path. Program execution is pipelined; instructions fetched in cycle N execute in cycle N+1, yielding near-1-MIPS-per-MHz efficiency. On-chip in-system self-programmable Flash allows field firmware updates via ICSP without removing the part from the board, while the ICD2/ICD3 debug interface supports breakpoint debugging through dedicated RB6/RB7 pins.
Typical applications include industrial motor control, HVAC actuators, automotive body controllers, appliance controls (washing machines, dishwashers), uninterruptible power supplies (UPS), and instrumentation front-ends. The combination of 8-channel ADC, PWM, and USART makes it especially attractive for closed-loop control of small DC motors, solenoid drivers, and sensor-signal conditioning where single-chip integration reduces BOM.
When designing with this device, remember that the parallel slave port shares pins with PORTD and PORTE, so using PSP mode forfeits those digital I/Os. Decouple VDD with a 100 nF ceramic capacitor placed within 5 mm of the pin, and add a 10 uF bulk capacitor on AVDD if the ADC is used.
This page consolidates distributor pricing, drop-in alternatives, and practical design notes not found in the standalone manufacturer datasheet, with cross-references verified against Microchip device documentation as of 2026-09-21.
Bộ thay thế dễ dàng lắp đặt cho PIC16F74-E/P — 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 PIC16F74-E/P (cùng hình factor và footprint) — khác nhau ở Package, Serial Interfaces, Timers, Capture/Compare/PWM, Mounting Type.
PIC16F74-I/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F74-E/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F747-E/ML
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F74-I/P4AP
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC16C74B-04/PQ
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16C74A-04I/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F74-E/P Tỷ lệ tối đa & tính chất điện
| Product Type | 8-bit Microcontroller (MCU) |
| Family | PIC16F mid-range (14-bit instruction) |
| Program Memory Type | Flash (in-system self-programmable) |
| Program Memory Size | 7 KB (4K x 14 words) |
| RAM | 192 bytes |
| Maximum CPU Frequency | 20 MHz |
| Instruction Throughput | 5 MIPS |
| I/O Pins | 33 |
| ADC | 10-bit, 8 channels |
| Timers | 2 x 8-bit + 1 x 16-bit (TMR0/TMR1/TMR2) |
| CCP Modules | 2 (Capture/Compare/PWM) |
| Serial Interfaces | SSP (SPI/I2C) + USART |
| Parallel Slave Port | Yes (PORTD/PORTE multiplexed) |
| Hộp | 40-pin PDIP (Plastic DIP, through-hole) |
| Khoảng nhiệt độ hoạt động | -40C to +125C (extended "E" grade) |
| Supply Voltage (VDD) | 4.0 V to 5.5 V (typical) |
| Kiểu lắp đặt | Through-Hole (THT) |
| Cấp MSL | 1 (unlimited) |
Cấu hình chân PIC16F74-E/P
| Chân 1 | MCLR/VPP — Master Clear (Reset) input / Programming voltage |
| Chân 2 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Chân 3 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Chân 4 | RA2/AN2 — PORTA bit 2 / Analog input 2 |
| Chân 5 | RA3/AN3/VREF — PORTA bit 3 / Analog input 3 / ADC VREF |
| Chân 6 | RA4/T0CKI — PORTA bit 4 / Timer 0 clock input |
| Chân 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| Chân 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel Slave Port read / AN5 |
| Chân 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel Slave Port write / AN6 |
| Chân 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel Slave Port chip select / AN7 |
| Chân 11 | VDD — Positive supply voltage (4.0 V to 5.5 V) |
| Chân 12 | VSS — Ground reference |
| Chân 13 | OSC1/CLKIN — Oscillator crystal input / external clock in |
| Chân 14 | OSC2/CLKOUT — Oscillator crystal output / clock out |
| Chân 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / T1 clock in |
| Chân 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| Chân 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Chân 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Chân 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Chân 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Chân 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Chân 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Chân 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — PORTC bit 6 / USART TX / clock |
| Chân 26 | RC7/RX/DT — PORTC bit 7 / USART RX / data |
| Chân 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Chân 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Chân 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| Chân 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage (4.0 V to 5.5 V) |
| Chân 33 | RB0/INT — PORTB bit 0 / External interrupt |
| Chân 34 | RB1 — PORTB bit 1 |
| Chân 35 | RB2 — PORTB bit 2 |
| Chân 36 | RB3/PGM — PORTB bit 3 / LVP programming |
| Chân 37 | RB4 — PORTB bit 4 |
| Chân 38 | RB5 — PORTB bit 5 |
| Chân 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 40 | RB7/PGD — PORTB bit 7 / ICSP data |
Ứng dụng tiêu biểu
PIC16F74-E/P phù hợp cho 6 Áp dụngs: Industrial Motor Control, Automotive Body Controllers, Appliance Control (Washing Machines, Dishwashers), HVAC Actuator Controllers, Uninterruptible Power Supplies (UPS), Instrumentation and Data Acquisition Front-Ends.
Industrial Motor Control
The PIC16F74-E/P is well suited for closed-loop DC and stepper motor control because it integrates 2 CCP/PWM channels, an 8-channel 10-bit ADC for current/voltage feedback, and a USART for host communication. With a 20 MHz oscillator delivering 5 MIPS, the MCU computes PID update loops every 200 us - fast enough for 1 kHz torque-control bandwidth on fractional-HP BLDC motors. The 33 I/O pins drive gate drivers, sense Hall sensors, and read encoder inputs without external logic. Place the part near the power stage, decouple VDD with 100 nF within 5 mm of the pin, and route ADC traces away from the switching node to keep quantization noise below 1 LSB.
Được đề xuất
Automotive Body Controllers
Extended-temperature PIC16F74-E/P qualifies for body-electronics modules (door locks, window lifters, mirror controllers) under the -40C to +125C automotive envelope. The 33 I/O directly drive relay coils and H-bridge MOSFETs, while the 8-channel ADC reads wiper-position potentiometers and current sense. The USART connects to a LIN or K-Line transceiver for body-network integration. NanoWatt sleep modes drop quiescent below 1 uA during parking, preserving battery life. Add an external watchdog supervisor such as MCP1316 for ASIL-rated applications.
Được đề xuất
Appliance Control (Washing Machines, Dishwashers)
White-goods appliance designers choose PIC16F74-E/P for its low BOM cost, 33 digital I/O for keypad and seven-segment display, and PWM channels for motor and heater control. The 7 KB Flash accommodates state-machine firmware for wash cycles, while 192 bytes of RAM handles soft timers. The 10-bit resolution is adequate for temperature-sensor thermistor bridges and water-level pressure transducers. The extended temperature grade tolerates the +85C ambient found behind a dryer drum or above an oven cavity, and through-hole PDIP simplifies hand-solder rework on legacy production lines.
Được đề xuất
HVAC Actuator Controllers
Heating, ventilation, and air-conditioning damper and valve actuators benefit from PIC16F74-E/P's extended temperature range and 8-channel ADC, which reads potentiometer feedback for precise damper position. Two CCP modules generate complementary PWM outputs for triac-fired heater control, while the USART interfaces to a Modbus RTU network over RS-485. The Harvard RISC pipeline produces deterministic interrupt latency critical for closed-loop airflow control. The 7 KB Flash holds calibration tables for multiple damper profiles, and 192-byte RAM buffers Modbus frames without DMA.
Được đề xuất
Uninterruptible Power Supplies (UPS)
Low-power UPS control boards pair PIC16F74-E/P with a battery monitor and inverter gate driver, using the 8-channel ADC to measure battery voltage, load current, and temperature. The PWM module generates the SPWM waveform for the DC-AC inverter, while the USART reports telemetry to the system host. The PIC16F74's nanoWatt sleep mode draws under 1 uA during standby, preserving battery capacity for months of shelf storage. The extended temperature range tolerates the +60C internal ambient of a sealed UPS enclosure.
Được đề xuất
Instrumentation and Data Acquisition Front-Ends
Portable and benchtop instruments use PIC16F74-E/P to digitize up to 8 analog signals through its 10-bit ADC and stream results to a PC via the USART or SPI. The 20 MHz CPU executes a 1 kHz multi-channel scan with averaging without dropping samples. The 33 I/O drives an LCD character display, keypad, and status LEDs without external latches. The 7 KB Flash holds calibration curves and unit-conversion tables in-system programmable for field recalibration. Use the SSP port to expand with an external 24-bit ADC like MCP3551 when 10-bit resolution is insufficient.
Đượ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 PIC16F74-E/P — 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 | PIC16F74-I/P | PIC16F74 | PIC16F74-I/P4AP | PIC16C74B-04/P |
|---|---|---|---|---|---|
| Package | PDIP-40 | PDIP-40 (same) | PDIP-40 (same) | PDIP-40 (same) | PDIP-40 (same) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 7 KB Flash | 7 KB Flash | 7 KB Flash | 7 KB Flash | 4 KB OTP EPROM |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 4 MHz |
| Temperature Grade | -40C to +125C (extended "E") | -40C to +85C (industrial "I") | 0C to +70C (commercial, typical) | -40C to +85C (industrial "I") | 0C to +70C (commercial) |
| Memory Type | Flash (in-system programmable) | Flash | Flash | Flash | OTP EPROM (one-time programmable) |
| I/O Pins | 33 | 33 | 33 | 33 | 33 |
| ADC | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 10-bit, 8 channels | 8-bit, 8 channels |
Bảo phân biệt quan trọng
- Extended temperature -40C to +125C qualification on same die (vsPIC16F74-I/P)
- Field-upgradable Flash vs one-time-programmable EPROM (vsPIC16C74B-04/P)
- 33 I/O and 8-channel ADC vs 28-pin PIC16F73 family (vsPIC16F73-I/SO)
Ghi chú thiết kế
Estimated: at 20 MHz and 5 V supply with all 33 I/O pins sourcing 20 mA, the PIC16F74-E/P draws approximately 25 mA active. VDD should be decoupled with a 100 nF ceramic capacitor placed within 5 mm of pin 11 (VDD) and pin 32 (VDD), plus a 10 uF bulk capacitor on the same rail. For ADC accuracy, separate AVDD from digital VDD with a ferrite bead and add a local 100 nF + 10 uF on AVDD. Brown-out reset is enabled via the configuration fuse BOREN to recover from VDD droops.
Route the ICSP lines RB6/PGC (pin 39) and RB7/PGD (pin 40) as short traces to a 6-pin header, with no series resistors above 470 ohm so the programmer can drive them. Keep MCLR (pin 1) above 2.05 V with a 10 kohm pull-up to VDD and a 100 nF cap to ground to filter ESD. For ADC accuracy, route analog traces (RA0-RA5, RE0-RE2) away from switching nodes, keep ground return paths short, and use a guarded analog ground island if analog and digital grounds are split.
Three common pitfalls when designing with PIC16F74-E/P: (1) Configuring the parallel slave port (PSP) on PORTD/PORTE forfeits those digital I/O functions, so do not enable PSP if you need those pins as GPIO. (2) Using the ADC with the internal 5 V reference assumes VDD is stable; if VDD drifts, use an external MCP1525 or MCP1541 voltage reference tied to RA3/VREF. (3) Selecting the wrong oscillator mode (HS vs XT vs LP) for the external crystal causes unstable operation or no startup; HS is required for 20 MHz crystals above 4 MHz.
Place the crystal (or resonator) within 10 mm of pins 13 (OSC1) and 14 (OSC2), with short traces and a ground plane underneath to minimize stray capacitance. For an external clock source, drive OSC1 with a CMOS-level clock and leave OSC2 floating. If the LVP (low-voltage programming) fuse is enabled, dedicate RB3/PGM only for programming mode - in-circuit debugging will pull it low.
Thông tin tuân thủ
RoHS, REACH, lead-free, halogen-free, and AEC-Q100 status not specified in the verified web data sources for PIC16F74-E/P. Microchip's general policy for the PIC16F family is RoHS-compliant and lead-free; confirm with the manufacturer's product compliance certificate before AEC-Q100 use.