Opens in a new tab

PIC16F74-I

8-bit PIC MCU, 7KB Flash, 192B RAM, 8-ch 8-bit ADC, 2 CCP, SPI/I2C/USART, PSP, 40-pin classic

3256

Effective Inventory

Image for reference only

Manufacturer Part:

PIC16F74-I

Package:

40-pin PDIP / 44-pin PLCC / 44-pin TQFP

Brand:

Quality Commitment

Shipping & Payment

Service & Packaging

Product Manual

Description

Product Overview

The PIC16F74-I is a 40-pin, 8-bit Flash-based CMOS microcontroller from Microchip Technology, featuring the classic Mid-Range PIC architecture with 35 instructions and an 8-level deep hardware stack. This well-established general-purpose MCU offers 7KB (4K x 14 words) of Flash program memory and 192 bytes of RAM. Operating at up to 20 MHz with a 200 ns instruction cycle, it integrates an 8-channel 8-bit ADC, two Capture/Compare/PWM (CCP) modules, a Synchronous Serial Port (SSP) configurable as SPI or I2C, a Universal Synchronous Asynchronous Receiver Transmitter (USART), and a Parallel Slave Port (PSP) for 8-bit parallel communication. With three timers, Brown-out Reset, and In-Circuit Serial Programming (ICSP) capability, the PIC16F74 is pin-compatible with the PIC16C74B and PIC16F874, making it a reliable workhorse for industrial control, automotive applications, consumer electronics, and motor control designs.

Key Specifications

Core Architecture 8-bit PIC (Mid-Range Core)
Program Memory 7KB Flash (4K x 14 words)
RAM 192 bytes
Data EEPROM None
Maximum Speed 20 MHz (5 MIPS)
Operating Voltage 2.0V to 5.5V
I/O Pins 33
ADC 8-bit, 8 channels
Comparators None
Timers 2 x 8-bit (TMR0/TMR2) + 1 x 16-bit (TMR1)
PWM 2 x CCP (Capture/Compare/PWM), 10-bit
Communication SPI, I2C (SSP), USART
Parallel Port PSP (Parallel Slave Port), 8-bit
Oscillator External (RC, XT, HS, LP, EC options)
Stack Levels 8
Interrupt Sources Up to 12
Operating Temperature -40°C to +85°C (Industrial)
Package 40-pin PDIP / 44-pin PLCC / 44-pin QFP / 28-pin variants

Features

  • High-performance RISC CPU with only 35 single-word instructions
  • All single-cycle instructions except program branches (two cycles)
  • 8-level deep hardware stack
  • Direct, indirect, and relative addressing modes
  • 8-channel 8-bit Analog-to-Digital Converter (ADC)
  • Two Capture/Compare/PWM (CCP) modules with 16-bit capture and 10-bit PWM
  • Synchronous Serial Port (SSP) with SPI (Master) and I2C (Slave)
  • Universal Synchronous Asynchronous Receiver Transmitter (USART/SCI)
  • Parallel Slave Port (PSP) with 8-bit wide read/write interface
  • Timer0: 8-bit timer/counter with 8-bit programmable prescaler
  • Timer1: 16-bit timer/counter with prescaler, can increment during Sleep
  • Timer2: 8-bit timer/counter with period register, prescaler, and postscaler
  • Power-on Reset (POR), Power-up Timer (PWRT), Oscillator Start-up Timer (OST)
  • Brown-out Reset (BOR) with brown-out detection circuitry
  • Watchdog Timer (WDT) with on-chip RC oscillator for reliable operation
  • In-Circuit Serial Programming (ICSP) via two pins
  • Programmable code protection for program memory security
  • Power-saving Sleep mode for low-power applications
  • High sink/source current: 25 mA per I/O pin
  • Pinout compatible with PIC16C74B and PIC16F874

Applications

  • Industrial control systems and PLC modules
  • Automotive electronic control units
  • Consumer electronics and home appliances
  • Motor control and power management
  • Data acquisition and sensor interfaces
  • Lighting control systems
  • Medical devices and instrumentation
Product Introduction: PIC16F74-I Product Introduction

The PIC16F74 is a 40/44-pin Flash-based 8-bit CMOS microcontroller from Microchip Technology, part of the classic PIC16F7x family featuring the Mid-Range PIC architecture. This well-established general-purpose MCU offers 7KB (4K x 14 words) of Flash program memory and 192 bytes of RAM, operating at up to 20 MHz with a 200 ns instruction cycle (5 MIPS). Its comprehensive peripheral set includes an 8-channel 8-bit ADC for analog sensing, two CCP modules for capture/compare/PWM functions, an SSP module for SPI/I2C communication, a USART for serial communication, and a Parallel Slave Port (PSP) for 8-bit parallel interface with external devices. Three timer modules (TMR0, TMR1, TMR2) provide flexible timing and PWM generation. The device supports multiple oscillator options (RC, XT, HS, LP, EC) for design flexibility. With its 33 I/O pins capable of 25 mA sink/source each, Brown-out Reset, Watchdog Timer, and In-Circuit Serial Programming (ICSP), the PIC16F74 delivers robust performance for a wide range of applications. Pin-compatible with the PIC16C74B and PIC16F874, it provides an easy migration path. Available in PDIP-40, PLCC-44, and TQFP-44 packages with industrial temperature range (-40°C to +85°C).

Working Principle: PIC16F74-I Working Principle

The PIC16F74 operates on the Mid-Range PIC RISC architecture with Harvard design, providing separate buses for 14-bit program memory and 8-bit data memory for concurrent access. Most of the 35 instructions execute in a single clock cycle, with an 8-level deep hardware stack supporting subroutine calls and interrupt context saving. The 8-bit ADC uses a successive approximation register (SAR) architecture to convert analog voltages from up to 8 input channels with 8-bit resolution. Two CCP (Capture/Compare/PWM) modules provide flexible timing: Capture mode captures the time of external events with 16-bit resolution (12.5 ns max at 20 MHz), Compare mode generates timed output events, and PWM mode generates up to 10-bit resolution PWM signals. The SSP module handles SPI (Master mode) and I2C (Slave mode) communication in hardware, while the USART provides asynchronous serial communication with RS-232 compatibility. The Parallel Slave Port (PSP) provides an 8-bit bidirectional parallel interface with read, write, and chip select control lines, enabling direct connection to external microprocessors or bus systems. Three timer modules (TMR0 8-bit, TMR1 16-bit, TMR2 8-bit with period register) provide timing, counting, and PWM time base functions. Power management features include Sleep mode, Brown-out Reset, and Watchdog Timer for reliable operation across varying supply conditions.

Pin Description: PIC16F74-I Pin Definition and Functions
Pin (PDIP-40) Name Type Function
1 MCLR/VPP/RE3 I/P Master Clear / Programming Voltage / Port E I/O
2 RA0/AN0 I/O Port A I/O / ADC Channel 0
3 RA1/AN1 I/O Port A I/O / ADC Channel 1
4 RA2/AN2/VREF- I/O Port A I/O / ADC Ch2 / Vref Negative
5 RA3/AN3/VREF+ I/O Port A I/O / ADC Ch3 / Vref Positive
6 RA4/T0CKI I/O Port A I/O / Timer0 Clock Input
7 RA5/SS/AN4 I/O Port A I/O / SPI Slave Select / ADC Ch4
8 RE0/RD/AN5 I/O Port E I/O / PSP Read / ADC Ch5
9 RE1/WR/AN6 I/O Port E I/O / PSP Write / ADC Ch6
10 RE2/CS/AN7 I/O Port E I/O / PSP Chip Select / ADC Ch7
11 VSS P Ground Reference
12 RD0/PSP0 I/O Port D I/O / Parallel Slave Port Bit 0
13 RD1/PSP1 I/O Port D I/O / Parallel Slave Port Bit 1
14 RD2/PSP2 I/O Port D I/O / Parallel Slave Port Bit 2
15 RD3/PSP3 I/O Port D I/O / Parallel Slave Port Bit 3
16 RC0/T1OSO/T1CKI I/O Port C I/O / T1OSO / Timer1 Clock
17 RC1/T1OSI/CCP2 I/O Port C I/O / T1OSI / CCP2
18 RC2/CCP1 I/O Port C I/O / CCP1
19 RC3/SCK/SCL I/O Port C I/O / SPI Clock / I2C Clock
20 RD4/PSP4 I/O Port D I/O / Parallel Slave Port Bit 4
21 RD5/PSP5 I/O Port D I/O / Parallel Slave Port Bit 5
22 RD6/PSP6 I/O Port D I/O / Parallel Slave Port Bit 6
23 RD7/PSP7 I/O Port D I/O / Parallel Slave Port Bit 7
24 RC4/SDI/SDA I/O Port C I/O / SPI Data In / I2C Data
25 RC5/SDO I/O Port C I/O / SPI Data Out
26 RC6/TX/CK I/O Port C I/O / USART TX/Clock
27 RC7/RX/DT I/O Port C I/O / USART RX/Data
28 VSS P Ground Reference
29 VDD P Positive Supply Voltage
30 RB0/INT I/O Port B I/O / External Interrupt
31 RB1 I/O Port B I/O
32 RB2 I/O Port B I/O
33 RB3/PGM I/O Port B I/O / Low-Voltage Programming
34 RB4 I/O Port B I/O / Interrupt-on-change
35 RB5 I/O Port B I/O / Interrupt-on-change
36 RB6/ICSPCLK I/O Port B I/O / ICSP Clock
37 RB7/ICSPDAT I/O Port B I/O / ICSP Data
38 OSC1/CLKIN I Oscillator Input / Clock Input
39 OSC2/CLKOUT O Oscillator Output / Clock Output
40 VDD P Positive Supply Voltage
Application Scenarios: In which products and applications is PIC16F74-I used
  • Industrial PLC modules and process controllers
  • Automotive electronic control units and sensor interfaces
  • Consumer appliances and home automation
  • DC and stepper motor control systems
  • Data acquisition and multi-channel sensor monitoring
  • Lighting control and power management systems
  • Medical instrumentation and patient monitoring
Alternative Models: What chips are recommended as replacements for PIC16F74-I
Manufacturer Part Number Package Notes
Microchip PIC16F77-I 40-pin 14KB Flash, 368B RAM, same peripherals
Microchip PIC16F874A-I 40-pin 10-bit ADC, 128B EEPROM, comparators, ICD
Microchip PIC16F877A-I 40-pin 14KB Flash, 10-bit ADC, EEPROM, full featured
Microchip PIC16F73-I 28-pin 7KB Flash, 5-ch ADC, 22 I/O, smaller
Microchip PIC16F1789-I 44-pin Newer gen, enhanced analog, 28KB Flash

Recommend Parts

ISO1176TDWR

Isolated RS-485 transceiver, 40Mbps, integrated transformer driver, SOIC-16

Brand: TI

Package: SOIC-16 (DW, wide-body, 10.3 x 10.3 mm)

IN STOCK: 6874pcs

Cargo cycle: 3-7 Days

The minimum order is 1

IRFB4020PBF

200V N-Channel HEXFET Power MOSFET, 31A, 68 mΩ RDS(on), TO-220AB

Brand: infineon

Package: TO-220AB

IN STOCK: 14149pcs

Cargo cycle: 3-7 Days

The minimum order is 1

NRF52832-QFAA-T

Nordic BLE SoC, ARM Cortex-M4 @ 64MHz, 64KB Flash, 32KB RAM, QFN-48

Package: See datasheet

IN STOCK: 10958pcs

Cargo cycle: 3-7 Days

The minimum order is 1

UCC28740DR

CVCC Flyback Controller, 700V startup, opto feedback, <10mW no-load, SOIC-7

Brand: TI

Package: SOIC-7 (4.9 x 3.9 x 1.75 mm)

IN STOCK: 4840pcs

Cargo cycle: 3-7 Days

The minimum order is 1

MMUN2211LT1G

NPN digital transistor, R1=10kΩ R2=10kΩ, 50V, 100mA, SOT-23-3, pre-biased BRT switch

Brand: Onsemi

Package: SOT-23-3 (TO-236, SC-59)

IN STOCK: 8500pcs

Cargo cycle: 3-7 Days

The minimum order is 1

PIC32MX795F512L-80I/PF

32-bit PIC32MX MCU with Ethernet/CAN/USB, 80MHz, 512KB Flash, TQFP-100, industrial

Brand: MICROCHIP

Package: TQFP-100 (14 x 14 mm)

IN STOCK: 7912pcs

Cargo cycle: 3-7 Days

The minimum order is 1