PIC16C62B-04/SP - 8-Bit 4MHz OTP MCU 3.5KB | Microchip | DIP-28
MPN: PIC16C62B-04/SP ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.1 | $7.10 |
| 10 | $6.45 | $64.50 |
| 100 | $5.78 | $578.00 |
| 500 | $5.2 | $2,600.00 |
| 1,000 | $4.65 | $4,650.00 |
PIC16C62B-04/SP Overview
An 8-bit OTP microcontroller is a single-chip computer that integrates a CPU, non-volatile program memory (one-time-programmable EPROM in this case), volatile data memory, and peripheral interfaces into one package. OTP means each cell can be programmed once, after which the bit pattern is permanent. Within the broader taxonomy, this device is part of the PIC16C family -> mid-range 8-bit PIC microcontrollers -> 8-bit MCU -> microcontroller -> embedded computing category. The "04" speed suffix indicates the maximum oscillator frequency of 4MHz, equivalent to roughly 1 MIPS of instruction throughput, with one instruction cycle per four clock periods.
Key features of the PIC16C62B-04/SP include the Harvard architecture with separate program and data buses, a 14-bit wide instruction word optimized for compact code, a low-power CMOS process achieving 15 uA typical current at 5V/4MHz and 1 uA typical at 3V/32 kHz, integrated peripherals such as capture/compare/PWM, an 8-bit timer/counter, a watchdog timer, and a synchronous serial port (SSP). The 22 I/O pins can source/sink up to 25 mA each, making them capable of directly driving LEDs and small relays without buffer transistors.
The PIC16C62B-04/SP uses the Microchip mid-range RISC core with 35 single-cycle instructions, two stack levels for subroutine nesting, and interrupt handling with hardware context save. The integrated analog comparator, programmable brown-out reset, and selectable oscillator options (RC, LP, XT, HS) provide flexibility across cost-sensitive and low-power applications. The 28-SPDIP package is 0.300 inch (7.62 mm) wide, making it compatible with standard 0.1 inch pitch through-hole prototyping boards and existing PIC16C6x sockets.
Typical applications for the PIC16C62B-04/SP include appliance control boards, industrial sensor interfaces, low-end remote controls, security keypads, automotive body controllers (industrial grade), and embedded data acquisition nodes. The combination of OTP memory, low quiescent current, and 22 GPIO pins makes this device well-suited for high-volume cost-sensitive products where code stability is verified before programming.
When designing with the PIC16C62B-04/SP, ensure the MCLR reset pin has a proper pull-up and the VDD pins are adequately decoupled with 0.1 uF ceramic capacitors. Because this is an OTP device, code must be fully validated before the production programming step; the device cannot be reprogrammed or erased. Engineers should use MPLAB X IDE and a PM3 programmer for development and production programming.
This page synthesizes real-time distributor pricing, same-brand drop-in alternatives from the PIC16C6x family, and practical design notes not found in the manufacturer datasheet alone.
Drop-in alternatives for PIC16C62B-04/SP — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16C62B-04/SP (same form factor and footprint) — differing in Peripherals, Program Memory Size, Program Memory Type, Operating Temperature Range, Package.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16C62B-04I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C62B-04E/SP
✅ Drop-In✓ In Stock
$5.7 / Unit
View Datasheet →PIC16C62A-04/SP
✅ Drop-In✓ In Stock
$4.45 / Unit
View Datasheet →PIC16C62B-20/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C62AT-20I/SO
✅ Drop-In✓ In Stock
$2.65 / Unit
View Datasheet →PIC16F628-04/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C62B-04/SP Maximum Ratings & Electrical Characteristics
| Core | PIC16C 8-bit RISC mid-range |
| Program Memory Type | OTP (One-Time-Programmable EPROM) |
| Program Memory Size | 3.5 KB (2K x 14 words) |
| RAM Size | 128 x 8 bytes |
| EEPROM Data Memory | None (not present on PIC16C62B) |
| CPU Speed | 4 MHz maximum oscillator (1 MIPS instruction rate) |
| Number of I/O Pins | 22 |
| I/O Sink/Source Current | 25 mA per pin |
| Operating Voltage Range | 2.5 V to 6.0 V |
| Supply Current (typ.) | 15 uA at 5 V / 4 MHz; 1 uA at 3 V / 32 kHz |
| Oscillator Type | External (RC, LP, XT, HS modes selectable) |
| Package / Case | 28-SPDIP (Skinny DIP, 0.300 inch / 7.62 mm) |
| Operating Temperature Range | 0C to +70C (Commercial) [I/E grades also available] |
| Instruction Set | 35 single-cycle instructions, 14-bit wide |
| Peripherals | Timer0 8-bit, Timer1 16-bit, CCP, SSP, USART (per DS35008A), analog comparator |
| Watchdog Timer | Yes (software-enabled, on-chip RC oscillator) |
| Brown-out Reset | Configurable |
| Stack Levels | 2 hardware levels |
| Mounting Type | Through-Hole |
| MSL Level | 1 (unlimited floor life at <30C/85% RH) |
| RoHS Status | Not compliant (Pb-containing PDIP package) |
PIC16C62B-04/SP Pin Configuration
| Pin 1 | MCLR — Master Clear (active-low reset) input |
| Pin 2 | RA0/AN0 — Port A bit 0 (digital I/O or analog input) |
| Pin 3 | RA1/AN1 — Port A bit 1 (digital I/O or analog input) |
| Pin 4 | RA2/AN2 — Port A bit 2 (digital I/O or analog input) |
| Pin 5 | RA3/AN3/VREF — Port A bit 3 (digital I/O, analog input, or voltage reference) |
| Pin 6 | RA4/T0CKI — Port A bit 4 (digital I/O or Timer0 clock input, open-drain) |
| Pin 7 | RA5/SS/AN4 — Port A bit 5 (digital I/O, SPI slave select, or analog input) |
| Pin 8 | RE0/RD/AN5 — Port E bit 0 (digital I/O, read control, or analog input) |
| Pin 9 | RE1/WR/AN6 — Port E bit 1 (digital I/O, write control, or analog input) |
| Pin 10 | RE2/CS/AN7 — Port E bit 2 (digital I/O, chip select, or analog input) |
| Pin 11 | VDD — Positive supply voltage (2.5V to 6.0V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKIN — Oscillator crystal input or external clock input |
| Pin 14 | OSC2/CLKOUT — Oscillator crystal output or clock output |
| Pin 15 | RC0/T1OSO/T1CKI — Port C bit 0 (digital I/O, Timer1 oscillator output, or clock input) |
| Pin 16 | RC1/T1OSI/CCP2 — Port C bit 1 (digital I/O, Timer1 oscillator input, or CCP2 output) |
| Pin 17 | RC2/CCP1 — Port C bit 2 (digital I/O or CCP1 output) |
| Pin 18 | RC3/SCK/SCL — Port C bit 3 (digital I/O, SPI clock, or I2C clock) |
| Pin 19 | RD0/PSP0 — Port D bit 0 (digital I/O or parallel slave port data bit 0) |
| Pin 20 | RD1/PSP1 — Port D bit 1 (digital I/O or parallel slave port data bit 1) |
| Pin 21 | RD2/PSP2 — Port D bit 2 (digital I/O or parallel slave port data bit 2) |
| Pin 22 | RD3/PSP3 — Port D bit 3 (digital I/O or parallel slave port data bit 3) |
| Pin 23 | RC4/SDI/SDA — Port C bit 4 (digital I/O, SPI data in, or I2C data) |
| Pin 24 | RC5/SDO — Port C bit 5 (digital I/O or SPI data out) |
| Pin 25 | RC6/TX/CK — Port C bit 6 (digital I/O, USART TX, or USART clock) |
| Pin 26 | RC7/RX/DT — Port C bit 7 (digital I/O, USART RX, or USART data) |
| Pin 27 | RD4/PSP4 — Port D bit 4 (digital I/O or parallel slave port data bit 4) |
| Pin 28 | RD5/PSP5 — Port D bit 5 (digital I/O or parallel slave port data bit 5) |
Typical Applications
PIC16C62B-04/SP is suitable for 7 applications: Appliance Control Boards, Industrial Sensor Interface Modules, Remote Control and Keypad Decoders, Automotive Body Controllers, Security and Access Control Panels, Embedded Data Acquisition Front-Ends, Toy and Hobby Electronics.
Appliance Control Boards
The PIC16C62B-04/SP is well suited for white-goods and small-appliance control boards (washing machines, microwave ovens, coffee makers, rice cookers) where the OTP memory locks the firmware at production and the 22 I/O pins drive 7-segment displays, keypads, relays, and triac interfaces directly. Its 4MHz CPU delivers 1 MIPS, sufficient for sensor polling, button debouncing, and triac zero-crossing control. The 25 mA per-pin sink/source current can drive LED indicators and small relays without buffer transistors. Industrial temperature variants (PIC16C62B-04I/SP) extend the operating range to -40C to +85C, covering the thermal envelope of kitchen and laundry environments.
Recommended
Industrial Sensor Interface Modules
For 4-20 mA loop-powered sensor transmitters and discrete sensor interface boards, the PIC16C62B-04/SP provides the right balance of analog comparator, 8-bit ADC-less digital I/O, and USART for serial data output. The 3.5KB OTP program memory holds calibration tables, linearization routines, and Modbus-RTU or proprietary protocols. The wide 2.5V to 6.0V supply range accepts 5V industrial rails and battery configurations. The 1 uA sleep current at 3V/32 kHz makes it viable for battery-backed sensor nodes that spend most of their time in sleep mode, waking periodically to take readings.
Recommended
Remote Control and Keypad Decoders
The PIC16C62B-04/SP serves as the decoding brain in IR remote controls, RF key fobs, and wired security keypads where cost-per-unit is critical and the OTP memory is programmed once at the factory. Its USART module can interface with RF transceiver chips for sub-GHz remote control, while the 22 GPIO pins scan 4x4 or 4x5 key matrices directly. The capture/compare/PWM (CCP) module generates IR carrier frequencies (typically 38 kHz) for remote-control transmitters. Low sleep current of 1 uA extends battery life in handheld units to several years on a single coin cell.
Recommended
Automotive Body Controllers
In non-safety automotive body-electronics such as interior lighting controllers, seat-adjustment keypads, mirror-fold modules, and HVAC flap actuators, the PIC16C62B-04/SP and its industrial temperature sibling are widely deployed. The automotive-grade 12V bus is regulated down to 5V for the MCU, and the 22 high-current GPIO pins can drive small motors, LEDs, and solenoids directly. The integrated watchdog timer and brown-out reset provide the reliability needed for under-hood and in-cabin environments. Note: for AEC-Q100 qualified automotive designs, Microchip recommends the PIC16F628 or PIC16F1939 family instead.
Recommended
Security and Access Control Panels
Security alarm panels, access-control keypads, and intrusion-detection sensors leverage the PIC16C62B-04/SP for its low cost, OTP memory security (firmware cannot be reverse-engineered via reprogramming), and integrated USART for communication with central stations. The 3.5KB program memory stores zone configuration, event-logging routines, and encryption-friendly look-up tables. The watchdog timer and brown-out reset ensure the panel recovers gracefully from power glitches. The 28-SPDIP package through-hole construction is favored for production-line hand-soldering and field-replaceable installations.
Recommended
Embedded Data Acquisition Front-Ends
Low-speed embedded data-acquisition front-ends for HVAC monitoring, energy-meter pulse counting, and process-control signal conditioning use the PIC16C62B-04/SP as a glue controller between analog front-ends and serial back-haul links. The 8-bit timer/counter captures pulse-train inputs from flow meters and electricity meters, while the USART transmits aggregated readings via RS-485 to a central controller. The 2.5V-6.0V supply range accepts 3.3V and 5V rails. OTP memory prevents firmware tampering, important in metering and regulatory-compliance applications where measurement algorithms must remain immutable.
Recommended
Toy and Hobby Electronics
Cost-sensitive consumer toys, hobby electronics kits, educational microcontroller platforms, and electronic dice/cube games use the PIC16C62B-04/SP because the OTP memory is the cheapest non-volatile option for high-volume production runs. The 22 I/O pins can drive LED matrices, servo motors, and small DC motors directly. The 4MHz CPU is sufficient for sequential LED animations, sound playback via PWM, and simple game logic. The through-hole 28-SPDIP package is ideal for hobbyist breadboarding and educational kits, where users do not need to reflash the device.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C62B-04/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C62B-04I/SP | PIC16C62B-04E/SP | PIC16C62A-04/SP | PIC16C62B-20/SP | PIC16F628-04/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-SPDIP (0.300 inch) | 28-SPDIP (0.300 inch) - same | 28-SPDIP (0.300 inch) - same | 28-SPDIP (0.300 inch) - same | 28-SPDIP (0.300 inch) - same | 28-PDIP (0.300 inch) - socket compatible |
| Program Memory | 3.5 KB OTP | 3.5 KB OTP | 3.5 KB OTP | 3.5 KB OTP | 3.5 KB OTP | 3.5 KB Flash |
| Max Oscillator Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz | 20 MHz |
| RAM Size | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 128 bytes | 224 bytes |
| I/O Pin Count | 22 | 22 | 22 | 22 | 22 | 16 |
| Operating Temperature | 0C to +70C (Commercial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | 0C to +70C | 0C to +70C | -40C to +85C (Industrial) |
| Memory Type | OTP (one-time programmable) | OTP | OTP | OTP | OTP | Flash (10k erase/write cycles) |
| USART Module | Yes (1x USART) | Yes (1x USART) | Yes (1x USART) | Yes (1x USART) | Yes (1x USART) | Yes (1x USART/SCI) |
Key Differentiators
- Industry-standard PIC16C6x socket-compatible 28-SPDIP footprint shared across the entire family (vs PIC16F628-04/P (PDIP package))
- Commercial temperature grade at the lowest cost in the family (vs PIC16C62B-04I/SP (industrial) and PIC16C62B-04E/SP (extended))
- OTP security against firmware reverse engineering (vs PIC16F628-04/P (Flash memory))
Design Notes
The PIC16C62B-04/SP uses OTP (one-time-programmable) memory that cannot be erased or rewritten after programming. Any firmware bug, lock-bit misconfiguration, or improperly-set configuration word (especially the watchdog, brown-out, or oscillator mode bits) will result in a bricked device requiring a new chip. Always validate the complete firmware image and configuration word in a socketed prototype before committing to production programming with the PM3 or MPLAB PM3. Consider migrating to PIC16F628-04/P for new designs to gain ICSP reprogrammability.
Power supply decoupling is critical: place a 0.1 uF ceramic capacitor as close as physically possible to each VDD/VSS pair (pins 11/12 on the PIC16C62B-04/SP), with trace length under 3 mm. Add a 10 uF bulk tantalum or aluminum electrolytic capacitor at the regulator output. For battery-powered designs, the brown-out reset (BOR) should be enabled in the configuration word to prevent code execution at VDD below the safe threshold (typically 4.0V for 4MHz operation). Sleep current of 1 uA typical at 3V/32 kHz requires careful leakage analysis of any external pull-up resistors on the MCLR and port pins.
The 28-SPDIP package has 0.100 inch (2.54 mm) pin pitch and 0.300 inch (7.62 mm) row spacing. When laying out the PCB, keep the MCLR pull-up resistor (typically 10 kohm) within 5 mm of pin 1, and place the ICSP header (if any) on a separate programming connector. The OSC1/OSC2 traces should be kept short (under 10 mm) and routed away from switching signals to avoid EMI injection into the clock. If using a crystal oscillator, place load capacitors (typically 15-33 pF) immediately adjacent to the crystal pins with a ground pour underneath.
Compliance Information
Through-hole 28-SPDIP package contains lead (Pb) and is NOT RoHS compliant. For RoHS-compliant equivalent, use PIC16C62B-04I/SS or PIC16C62B-04/SO in SOIC-28 package. No AEC-Q100 automotive qualification; choose PIC16F628 for AEC-Q100 requirements.