PIC16F74-E/P - 8-bit PIC MCU, 7KB Flash, 20MHz, 40-PDIP | Microchip
MPN: PIC16F74-E/P ✓ فعالPIC16F74-E/P جائزہ
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.
کے لیے ڈراپ اِن متبادل PIC16F74-E/P — یکساں پیکیج، پن سے پن مطابقت پذیر۔ مختلف پیکیج والے پرزے جن کے لیے PCB دوبارہ کام درکار ہو، شامل نہیں ہیں۔
اس سیریز میں مختلف ورژن
اسی سیریز کے ماڈلز جو ڈراپ اِن مطابقت رکھتے ہیں PIC16F74-E/P (یکساں فارم فیکٹر اور فٹ پرنٹ) — میں مختلف Package, Serial Interfaces, Timers, Capture/Compare/PWM, Mounting Type.
PIC16F74-I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F74-E/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F747-E/ML
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F74-I/P4AP
✅ ڈراپ-اِن📋 حوالہ جاتی متبادل (کیٹلاگ میں نہیں)
PIC16C74B-04/PQ
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16C74A-04I/P
✅ ڈراپ-اِنقیمت کے لیے رابطہ کریں
ڈیٹا شیٹ دیکھیں →PIC16F74-E/P زیادہ سے زیادہ ریٹنگز اور برقی خصوصیات
| 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) |
| پیکیج | 40-pin PDIP (Plastic DIP, through-hole) |
| آپریٹنگ درجہ حرارت رینج | -40C to +125C (extended "E" grade) |
| Supply Voltage (VDD) | 4.0 V to 5.5 V (typical) |
| ماؤنٹنگ ٹائپ | Through-Hole (THT) |
| MSL لیول | 1 (unlimited) |
PIC16F74-E/P پن کنفیگریشن
| پن 1 | MCLR/VPP — 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 — PORTA bit 2 / Analog input 2 |
| پن 5 | RA3/AN3/VREF — PORTA bit 3 / Analog input 3 / ADC VREF |
| پن 6 | RA4/T0CKI — PORTA bit 4 / Timer 0 clock input |
| پن 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| پن 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel Slave Port read / AN5 |
| پن 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel Slave Port write / AN6 |
| پن 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel Slave Port chip select / AN7 |
| پن 11 | VDD — Positive supply voltage (4.0 V to 5.5 V) |
| پن 12 | VSS — Ground reference |
| پن 13 | OSC1/CLKIN — Oscillator crystal input / external clock in |
| پن 14 | OSC2/CLKOUT — Oscillator crystal output / clock out |
| پن 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / T1 clock in |
| پن 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| پن 17 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| پن 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 / clock |
| پن 26 | RC7/RX/DT — PORTC bit 7 / USART RX / 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 (4.0 V to 5.5 V) |
| پن 33 | RB0/INT — PORTB bit 0 / External interrupt |
| پن 34 | RB1 — PORTB bit 1 |
| پن 35 | RB2 — PORTB bit 2 |
| پن 36 | RB3/PGM — PORTB bit 3 / LVP programming |
| پن 37 | RB4 — PORTB bit 4 |
| پن 38 | RB5 — PORTB bit 5 |
| پن 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| پن 40 | RB7/PGD — PORTB bit 7 / ICSP data |
عام استعمالات
PIC16F74-E/P کے لیے موزوں ہے 6 ایپلیکیشنs: 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.
تجویز کردہ
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.
تجویز کردہ
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.
تجویز کردہ
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.
تجویز کردہ
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.
تجویز کردہ
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.
تجویز کردہ
تجویز کردہ پروڈکٹس کا خلاصہ
کے لیے انجینئرنگ ریفرنس ڈیٹا PIC16F74-E/P — موازنہ، ڈیزائن رہنمائی، اور تعمیل کی معلومات۔
انتخاب کی گائیڈ
متبادلات کے ساتھ موازنہ
| پیرامیٹر | یہ پروڈکٹ | 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 |
اہم امتیازی خصوصیات
- Extended temperature -40C to +125C qualification on same die (بمقابلہPIC16F74-I/P)
- Field-upgradable Flash vs one-time-programmable EPROM (بمقابلہPIC16C74B-04/P)
- 33 I/O and 8-channel ADC vs 28-pin PIC16F73 family (بمقابلہPIC16F73-I/SO)
ڈیزائن نوٹس
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.
تعمیل کی معلومات
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.