PIC16C74B-04I/P - 8-Bit 4MHz OTP MCU 7KB 40-PDIP | Microchip
MPN: PIC16C74B-04I/P ✓ Hoạt độngPIC16C74B-04I/P Tóm tắt
What is a PIC16 mid-range MCU? The PIC16CXX family is a generation of Microchip 8-bit microcontrollers built around a Harvard RISC architecture that executes single-cycle instructions from a 14-bit program word store. Mid-range PICs combine a compact 35-instruction set with integrated peripherals (ADC, timers, USART, SPI/I2C) and have been a workhorse for industrial, automotive aftermarket, and legacy embedded designs since the 1990s. The PIC16C74B specifically targets applications that need more I/O and memory than the smaller PIC16C6x family while keeping the OTP cost advantage.
Key features include 8 channels of 8-bit ADC, two 8-bit timers plus one 16-bit timer, two Capture/Compare/PWM (CCP) modules, a synchronous serial port configurable as SPI or I2C, and a USART for asynchronous serial communication. The device supports 33 digital I/O lines organized across five ports (PORTA-PORTE), an operating voltage of 4.0 V to 5.5 V, and an industrial temperature grade of -40 °C to +85 °C as indicated by the "I" suffix.
Architecturally, the PIC16C74B uses a fully-static CMOS design with separate program and data buses (Harvard architecture), enabling single-cycle instruction fetch plus execute on all instructions except program branches, which take two cycles. The 04 speed grade specifies a 4 MHz maximum oscillator input. The "C" in PIC16C denotes the OTP/EPROM ROMless windowed family, distinguished from the flash-based "F" parts such as the PIC16F877.
Typical applications include industrial control panels, instrumentation and metering, sensor interfacing using the on-chip ADC, motor-control hobby projects using the CCP/PWM channels, and legacy embedded systems that require OTP-based firmware storage for cost or anti-retrofit reasons. Because the part is OTP, firmware is committed at programming time and cannot be re-flashed in-circuit.
When designing with this device, place a 0.1 µF decoupling capacitor on VDD within 5 mm of the pin and use a bulk 10 µF tantalum on the supply rail. The MCLR reset pin must be pulled high through a 10 kΩ resistor for normal operation; an optional reset circuit can use a diode and RC network for power-on-reset delay.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone.
Bộ thay thế dễ dàng lắp đặt cho PIC16C74B-04I/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 PIC16C74B-04I/P (cùng hình factor và footprint) — khác nhau ở Package, Serial Interfaces, Core Architecture, Operating Temperature, Instruction Set.
PIC16C74B-04/PQ
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16C74B-20I/P
✅ 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 →PIC16C74B-04I/PQ
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16F877-04I/P
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16C74B-04I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC16C74B-04I/P Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC16CXX 8-bit RISC (Harvard) |
| CPU Family | PIC16 mid-range |
| Tần số xung maksimum | 4 MHz |
| Instruction Cycle Time | 200 ns |
| Program Memory Size | 7 KB (4K x 14) OTP |
| Program Memory Type | OTP (One-Time Programmable) EPROM |
| Data RAM | 192 bytes |
| Data EEPROM | None (none on die for this OTP MCU) |
| I/O Pins | 33 |
| ADC | 8 channels, 8-bit resolution |
| Timers | 2 x 8-bit + 1 x 16-bit |
| Capture/Compare/PWM | 2 CCP modules |
| Serial Communication | 1 x USART (SCI), 1 x SSP (SPI / I2C) |
| Điện áp cung cấp | 4.0 V to 5.5 V |
| Nhiệt độ hoạt động | -40 °C to +85 °C (industrial grade, "I") |
| Package Type | 40-pin PDIP (Plastic DIP, through-hole) |
| Instruction Set | 35 single-word instructions |
| Trạng thái RoHS | Compliant |
| Kiểu lắp đặt | Through-Hole (DIP) |
Cấu hình chân PIC16C74B-04I/P
| Chân 1 | MCLR/VPP — Master Clear (reset) input / programming voltage input |
| 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 reference |
| Chân 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Chân 7 | RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select |
| Chân 8 | OSC1/CLKIN — Oscillator crystal input / external clock in |
| Chân 9 | OSC2/CLKOUT — Oscillator crystal output / clock out |
| Chân 10 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator out / Timer1 clock in |
| Chân 11 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator in / CCP2 output |
| Chân 12 | RC2/CCP1 — PORTC bit 2 / CCP1 PWM output |
| Chân 13 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Chân 14 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Chân 15 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 16 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Chân 17 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Chân 18 | GND — Ground (logic) |
| Chân 19 | GND — Ground (logic) |
| Chân 20 | VCC — Positive supply +5 V |
| Chân 21 | VCC — Positive supply +5 V |
| Chân 22 | RB0/INT — PORTB bit 0 / external interrupt |
| Chân 23 | RB1 — PORTB bit 1 |
| Chân 24 | RB2 — PORTB bit 2 |
| Chân 25 | RB3/PGM — PORTB bit 3 / low-voltage programming entry |
| Chân 26 | RB4 — PORTB bit 4 |
| Chân 27 | RB5 — PORTB bit 5 |
| Chân 28 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 29 | RB7/PGD — PORTB bit 7 / ICSP data |
| Chân 30 | RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0 |
| Chân 31 | RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1 |
| Chân 32 | RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2 |
| Chân 33 | RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3 |
| Chân 34 | RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4 |
| Chân 35 | RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5 |
| Chân 36 | RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6 |
| Chân 37 | RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7 |
| Chân 38 | RE0/RD/AN5 — PORTE bit 0 / read control for PSP / analog 5 |
| Chân 39 | RE1/WR/AN6 — PORTE bit 1 / write control for PSP / analog 6 |
| Chân 40 | RE2/CS/AN7 — PORTE bit 2 / chip select for PSP / analog 7 |
Ứng dụng tiêu biểu
PIC16C74B-04I/P phù hợp cho 6 Áp dụngs: Industrial Control Panels, Sensor Interface and Data Acquisition, Motor Speed Control (Hobby/Small DC), Legacy Embedded Replacement / Board Refresh, Educational / Training Boards, Instrumentation and Metering.
Industrial Control Panels
The PIC16C74B-04I/P suits industrial control panels thanks to its 33 I/O pins for relay drivers, 8-channel 8-bit ADC for analog sensor reading, and industrial -40 to +85 °C rating. At 4 MIPS (4 MHz, 200 ns per instruction) the part drives HMI keypads, indicator LEDs, and 4-20 mA loops comfortably. The CCP/PWM modules handle proportional valve control. Pin-compatible with the flash-based PIC16F877A-I/P for in-field firmware updates.
Được đề xuất
Sensor Interface and Data Acquisition
With eight 8-bit ADC channels, the PIC16C74B-04I/P acts as a compact sensor front-end for temperature, pressure, or light sensors. The integrated USART streams converted data to a host PLC at 19.2 kbaud or higher. Industrial temp rating permits deployment near motors or HVAC ducts. The 192-byte RAM holds local averaging buffers, and the SSP port can drive an external I2C EEPROM for log retention.
Được đề xuất
Motor Speed Control (Hobby/Small DC)
The two CCP/PWM channels deliver independent 10-bit PWM for brushed DC motor control or small stepper sequencing. At 4 MHz the 7 KB OTP holds 4 K instructions - ample for trapezoidal commutation tables, PID loops, and tachometer feedback. The 33 I/O drive H-bridge enable lines and quadrature encoder inputs. Designers upgrade to PIC16F877A-I/P when firmware revisions are expected.
Được đề xuất
Legacy Embedded Replacement / Board Refresh
The PIC16C74B-04I/P is widely used to refresh boards originally designed around the PIC16C74A or PIC16F877. Because the OTP memory holds committed firmware, no in-field upgrade is possible - a benefit for tamper-resistant appliances. Drop-in compatibility with the PIC16C74A-04I/P and PIC16F877-04I/P lets refurb shops swap dies without layout changes. Industrial temp grade handles warm enclosures.
Được đề xuất
Educational / Training Boards
Educational labs and microcontroller training kits favor the PIC16C74B-04I/P because it demonstrates the PIC16 mid-range core, OTP programming workflow, and a full peripheral set (ADC, PWM, USART, SPI/I2C) in a friendly 40-PDIP socket. The 7 KB program memory fits substantial C or assembly projects; the 192-byte RAM limits data arrays but is more than enough for textbook exercises. Easy to swap during lab damage recovery.
Được đề xuất
Instrumentation and Metering
Digital panel meters and stand-alone instrumentation benefit from the PIC16C74B-04I/P's 8-bit ADC for voltage/current measurement, USART for Modbus or proprietary serial output, and industrial temperature tolerance for cabinet-mounted meters. The two CCP channels drive LED/LCD backlight PWM and buzzer alarm tones. The DIP package is socket-friendly, simplifying field replacement in metering hardware.
Đượ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 PIC16C74B-04I/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 | PIC16C74B-04/P | PIC16C74B-20I/P | PIC16C74A-04I/P | PIC16F877-04I/P | PIC16C74B-04I/L |
|---|---|---|---|---|---|---|
| Package | 40-PDIP | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-PDIP - same | 40-CERDIP - same pinout, ceramic windowed |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Maximum Clock | 4 MHz | 4 MHz | 20 MHz | 4 MHz | 4 MHz | 4 MHz |
| Program Memory | 7 KB OTP | 7 KB OTP | 7 KB OTP | 7 KB OTP | 7 KB Flash | 7 KB EPROM (UV erasable) |
| Temperature Grade | Industrial (-40 to +85 °C) | Commercial (0 to +70 °C) | Industrial (-40 to +85 °C) | Industrial (-40 to +85 °C) | Industrial (-40 to +85 °C) | Industrial (-40 to +85 °C) |
| Data EEPROM | None | None | None | None | 256 bytes | None |
| ADC | 8 ch x 8-bit | 8 ch x 8-bit | 8 ch x 8-bit | 8 ch x 8-bit | 8 ch x 10-bit | 8 ch x 8-bit |
| Supply Voltage | 4.0 - 5.5 V | 4.0 - 5.5 V | 4.0 - 5.5 V | 4.0 - 5.5 V | 2.0 - 5.5 V | 4.0 - 5.5 V |
Bảo phân biệt quan trọng
- True 40-pin PDIP drop-in position with OTP memory (vsPIC16F877-04I/P)
- Industrial -40 to +85 °C temperature grade (vsPIC16C74B-04/P)
- 4 MHz speed grade optimized for cost-sensitive low-MIPS tasks (vsPIC16C74B-20I/P)
Ghi chú thiết kế
Decouple VDD with a 0.1 µF ceramic capacitor placed within 5 mm of pins 11 and 32, and add a bulk 10 µF tantalum on the supply rail. Two VDD pins are provided to reduce digital switching noise on the analog AVSS/AVDD pair. During OTP programming the VPP pin (pin 1) must reach 13.0 V to 13.25 V - use a regulated HV supply and a 1 kΩ series resistor to limit current.
Place the 4 MHz crystal or resonator as close as possible to pins 9 (OSC1) and 10 (OSC2), with the load capacitors (typically 15-33 pF) returned to ground. Keep the MCLR pull-up (10 kΩ to VDD) within 5 mm of pin 1. For noisy environments add a 100 Ω resistor in series with MCLR and a 1 µF cap to ground to form a hardware reset filter.
The PIC16C74B is OTP - firmware cannot be changed after programming. Reserve engineering samples (PIC16C74B-04I/L, the windowed CERDIP variant) for firmware development and validation, then move to the cheaper plastic DIP (PIC16C74B-04I/P) for production. Do not exceed 200 mA total sink/source on PORTB and PORTC combined; the parallel slave port (PORTD/PORTE) shares pins with digital I/O and must be reconfigured after PSP use.
Route analog inputs AN0-AN7 (PORTA and PORTE) away from digital switching traces and the oscillator network. If the ADC reference is taken from VDD, add a 10 µF + 0.1 µF decoupling network at the AVSS pin to keep ADC noise below ±1 LSB. The CCP1/CCP2 PWM outputs (RC2/RC1) should drive the motor bridge through a gate driver, not directly; the I/O pin can only source/sink 25 mA.
Thông tin tuân thủ
RoHS compliant per Microchip product page (PIC16C family is lead-free). Not AEC-Q100 qualified; this is a general-purpose industrial MCU.