PIC16C62B-20E/SP - 8-bit OTP MCU 20MHz 3.5KB DIP-28 | Microchip
MPN: PIC16C62B-20E/SP β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.85 | $9.85 |
| 10 | $8.95 | $89.50 |
| 100 | $7.65 | $765.00 |
| 500 | $6.4 | $3,200.00 |
| 1,000 | $5.85 | $5,850.00 |
PIC16C62B-20E/SP Overview
What is an OTP microcontroller? An OTP (One-Time Programmable) microcontroller contains EPROM-based program memory that can be programmed once using a device programmer and is then permanently non-erasable (windowed ceramic packages allow UV erasure for development). OTP MCUs sit between flash-based MCUs (reprogrammable in-circuit) and masked-ROM MCUs (factory-programmed). They are widely chosen for cost-sensitive, high-volume, mature designs where firmware is stable and in-field reprogramming is not required. The PIC16C62B belongs to the PIC16C mid-range family, which uses a RISC-like Harvard core optimized for deterministic single-cycle throughput.
Key features include 35 single-word instructions, 8-bit data path, 14-bit instruction word, an 8-level deep hardware stack, a powerful 200 ns instruction execution time at 20 MHz, two 8-bit timer/counters (Timer0, Timer2) plus one 16-bit timer/counter (Timer1) with capture/compare, an analog comparator, a USART (sci) module, a watchdog timer with its own on-chip RC oscillator, in-circuit serial programming (ICSP) support, and brown-out reset / power-on reset. Low-power consumption is rated at 15 uA typical at 5 V / 4 MHz and 1 uA typical at 3 V / 32 kHz.
Architecturally, the PIC16C62B uses a Harvard RISC architecture that fetches instructions on a 14-bit bus while accessing data on a separate 8-bit bus, allowing most instructions to execute in a single instruction cycle. Its peripheral set is well-suited to embedded control: synchronous/asynchronous serial comms for RS-232/RS-485 links, dual CCP module, and an analog comparator with programmable reference for sensor threshold detection. CMOS EPROM/ROM technology plus fully static design allow operation to DC and reduce dynamic switching losses.
Typical applications include industrial automation and process controllers, automotive subsystems, motor control front ends, sensor conditioning boards, smart-card readers, low-cost consumer appliances, security keypads, and small appliances requiring deterministic real-time response. The wide voltage range and ceramic windowed DIP also make the part well-suited for development and pre-production prototyping.
When designing, ensure MCLR is properly tied (it can be used as a digital input in this family), reserve the ICSP pins (RB6/RB7) for in-circuit programming access, and choose between the EPROM windowed CDIP variant for development cycles and the OTP variant for production. Brown-out and watchdog timer features must be enabled in the configuration word to take advantage of them.
This page consolidates distributor pricing, drop-in alternatives, and engineering design notes not found in the manufacturer datasheet alone, giving the engineer a single source for sourcing and design-in guidance.
Drop-in alternatives for PIC16C62B-20E/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-20E/SP (same form factor and footprint) β differing in Mounting Type, Package, Program Memory Type.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16C62B-20/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16C62B-20I/SP
β Drop-Inβ In Stock
$4.1 / Unit
View Datasheet βPIC16C63-20E/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16C72A-20E/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16C66-20E/SP
β Drop-Inπ Reference alternative (not in catalog)
PIC16C62B-20E/SP Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC RISC (Harvard) |
| Family | PIC16C6x mid-range |
| Program Memory Type | OTP EPROM (windowed ceramic CDIP variant) |
| Program Memory Size | 3.5 KB (2K x 14) |
| Data RAM | 128 bytes |
| Data EEPROM | Not present |
| Maximum CPU Clock | 20 MHz |
| Instruction Execution Time | 200 ns (at 20 MHz) |
| Instruction Set Size | 35 single-word instructions |
| Operating Voltage Range | 2.5 V to 6.0 V (typical 4.0 V to 5.5 V) |
| I/O Pins | 22 digital I/O |
| Timers | Timer0 (8-bit), Timer1 (16-bit, captive), Timer2 (8-bit) |
| Analog Comparator | Yes (with programmable reference) |
| USART / SCI | Yes (1 module) |
| CCP Modules | 1 (Capture/Compare/PWM) |
| Watchdog Timer | Yes (with dedicated on-chip RC oscillator) |
| Brown-Out Reset / Power-On Reset | Yes |
| In-Circuit Serial Programming (ICSP) | Yes (RB6/RB7) |
| Operating Temperature Grade | Extended (-40C to +125C) |
| Package | 28-Pin SPDIP / CDIP-28 (windowed ceramic) |
| Mounting Type | Through-Hole DIP |
| Low-Power Typical | 15 uA at 5 V / 4 MHz; 1 uA at 3 V / 32 kHz |
| RoHS Status | Not RoHS compliant (ceramic DIP package) |
PIC16C62B-20E/SP Pin Configuration
| Pin 1 | RA2 β PORTA bit 2 (digital I/O) |
| Pin 2 | RA3 β PORTA bit 3 (digital I/O) |
| Pin 3 | RA4 β PORTA bit 4 / Timer0 clock input (digital I/O) |
| Pin 4 | MCLR β Master Clear (reset) input, can be used as digital input |
| Pin 5 | VSS β Ground reference |
| Pin 6 | RB0/INT β PORTB bit 0 / external interrupt input |
| Pin 7 | RB1 β PORTB bit 1 (digital I/O) |
| Pin 8 | RB2 β PORTB bit 2 (digital I/O) |
| Pin 9 | RB3 β PORTB bit 3 (digital I/O / ICSP PG? |
| Pin 10 | RB4 β PORTB bit 4 (digital I/O) |
| Pin 11 | RB5 β PORTB bit 5 (digital I/O) |
| Pin 12 | RB6 β PORTB bit 6 / ICSP programming clock |
| Pin 13 | RB7 β PORTB bit 7 / ICSP programming data |
| Pin 14 | VDD β Positive supply voltage (2.5 V to 6.0 V) |
| Pin 15 | OSC2/CLKOUT β Oscillator output / clock out |
| Pin 16 | OSC1/CLKIN β Oscillator input / external clock in |
| Pin 17 | RC0 β PORTC bit 0 (digital I/O) |
| Pin 18 | RC1 β PORTC bit 1 (digital I/O) |
| Pin 19 | RC2 β PORTC bit 2 / CCP1 output |
| Pin 20 | RC3 β PORTC bit 3 / analog comparator output |
| Pin 21 | RC4 β PORTC bit 4 (digital I/O) |
| Pin 22 | RC5 β PORTC bit 5 (digital I/O) |
| Pin 23 | RC6 β PORTC bit 6 / USART TX |
| Pin 24 | RC7 β PORTC bit 7 / USART RX |
| Pin 25 | RA0/AN0 β PORTA bit 0 / analog comparator non-inverting input |
| Pin 26 | RA1/AN1 β PORTA bit 1 / analog comparator inverting input |
| Pin 27 | RA5/SS β PORTA bit 5 / synchronous serial port slave select |
| Pin 28 | VDD β Positive supply voltage (secondary VDD pin) |
Typical Applications
PIC16C62B-20E/SP is suitable for 6 applications: Industrial Process Controllers, Automotive Subsystem Modules, Sensor Conditioning Boards, Motor Control Front Ends, Security Keypads and Access Control, Consumer Appliance Controllers.
Industrial Process Controllers
The PIC16C62B-20E/SP fits industrial process controllers because its 20 MHz CPU delivers 200 ns instruction execution for deterministic real-time PID loops, while the 22 digital I/O and analog comparator handle sensor-threshold detection directly. Its Extended temperature grade (-40C to +125C) tolerates factory-floor heat, and the 2.5-6.0 V operating range accepts 5 V and 3.3 V industrial rails. The 3.5 KB OTP program memory is sufficient for control-loop firmware, communication stacks, and HMI driving code in PLC and SCADA node designs. The USART enables RS-485 / RS-232 master-slave networks common in industrial automation, and the watchdog timer with dedicated RC oscillator ensures recovery from software lockups. Compared to a flash-based MCU, the OTP architecture provides lower per-piece cost at high volume once firmware is stable.
Recommended
Automotive Subsystem Modules
The PIC16C62B-20E/SP is suitable for automotive subsystem modules thanks to its Extended -40C to +125C operating range, which survives under-the-hood and cabin-mounted ECU thermal environments. Its analog comparator with programmable reference enables direct sensor threshold detection for switches, position sensors, and battery voltage monitors, while the USART supports LIN-bus-like communication in body-electronics modules. The 3.5 KB OTP memory holds small body-control firmware, and the 128-byte RAM supports interrupt-driven sensor polling. The 28-pin SPDIP footprint is also common in pre-production automotive development boards. For higher-temperature under-hood applications, the same family offers Q-1 automotive qualified variants. Designers should add reverse-battery and load-dump protection on the supply rail.
Recommended
Sensor Conditioning Boards
The PIC16C62B-20E/SP works well in sensor conditioning boards because its analog comparator with programmable on-chip voltage reference allows direct threshold detection of analog signals without an external op-amp. Its 22 I/O support multiple sensor channels, while Timer0/Timer1/Timer2 enable frequency measurement, period capture, and PWM generation for sensor excitation signals. The 5 V typical operation matches most analog sensor rails, and 1 uA typical sleep current at 3 V / 32 kHz is suitable for battery-powered wireless sensor designs. The 20 MHz throughput handles signal processing for sensor linearization, calibration, and digital filtering in firmware. USART communication transmits processed sensor data to host controllers over RS-485/RS-232 networks.
Recommended
Motor Control Front Ends
The PIC16C62B-20E/SP serves motor control front ends because its 20 MHz CPU provides 200 ns instruction execution for tight control loops, while its CCP module generates PWM signals for brushed-DC and stepper motor drives. Its analog comparator enables back-EMF zero-cross detection for sensorless commutation, and Timer1 capture mode measures motor speed via tachometer pulses. The 22 digital I/O drive direction logic, brake signals, and fault inputs for H-bridge power stages. With 3.5 KB of OTP memory, designers can implement field-oriented control (FOC) for small BLDC motors or trapezoidal commutation for simple fan and pump drives. Extended temperature range supports automotive and industrial motor applications.
Recommended
Security Keypads and Access Control
The PIC16C62B-20E/SP fits security keypad and access control designs because its 22 digital I/O can scan 4x4 or larger matrix keypads directly, while Timer0 debounces key presses in firmware. Its USART interfaces with Wiegand or serial-card readers, and the analog comparator monitors tamper switches and supply voltage brown-out conditions. The 3.5 KB OTP memory stores PIN handling, encryption routines, and event log buffering, while 128 bytes of RAM holds session state. The watchdog timer with dedicated RC oscillator prevents lockup attacks, and the Extended temperature grade tolerates outdoor enclosures. The 28-pin SPDIP package suits retrofits into legacy access control hardware.
Recommended
Consumer Appliance Controllers
The PIC16C62B-20E/SP powers consumer appliance controllers because its 20 MHz throughput handles user-interface scanning, sensor polling, and triac/relay control in firmware with predictable cycle timing. Its analog comparator monitors zero-cross for triac dimming and over-temperature sensors, while the USART interfaces with inverter modules and other networked appliances. The 3.5 KB OTP memory holds appliance-specific control code, and 128 bytes RAM supports timing buffers and error logs. Operating from 2.5-6.0 V supports direct connection to 5 V appliance rails with no extra LDO. The Extended temperature grade tolerates appliance thermal environments including coffee makers, microwave ovens, and HVAC zone controllers.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C62B-20E/SP β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C62B-20/SP | PIC16C62B-20I/SP | PIC16C63-20E/SP | PIC16C72A-20E/SP | PIC16C66-20E/SP |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SPDIP-28 (CDIP-28 windowed ceramic) | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same | SPDIP-28 - same |
| Maximum Clock Speed | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Program Memory | 3.5 KB (2K x 14) OTP | 3.5 KB OTP | 3.5 KB OTP | 4 KB OTP | 3.5 KB OTP | 8 KB OTP |
| Data RAM | 128 bytes | 128 bytes | 128 bytes | 192 bytes | 128 bytes | 368 bytes |
| Temperature Grade | Extended (-40C to +125C) | Commercial (0C to +70C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Extended (-40C to +125C) | Extended (-40C to +125C) |
| Analog Comparator | Yes (with programmable Vref) | Yes | Yes | Yes | Yes + 5-channel 8-bit ADC | Yes |
| USART Modules | 1 | 1 | 1 | 1 | 1 | 1 |
| Operating Voltage | 2.5 V to 6.0 V | 2.5 V to 6.0 V | 2.5 V to 6.0 V | 2.5 V to 6.0 V | 2.5 V to 6.0 V | 2.5 V to 6.0 V |
Key Differentiators
- Extended temperature grade for harsh environments (vs PIC16C62B-20I/SP (Industrial -40C to +85C))
- On-chip analog comparator with programmable reference (vs PIC16C62B-04/SP (lower-speed same-family MCU))
- Pin-compatible upgrade path to ADC-equipped family member (vs PIC16C72A-20E/SP)
Design Notes
MCLR on the PIC16C62B can be configured as a digital input (RA5) only when the MCLRE configuration bit is cleared in the config word. If MCLR is left as a reset pin, ensure a 10 kohm pull-up to VDD and place a 100 nF decoupling cap close to the pin. Failing to disable MCLR leaves the pin as reset-only and can prevent firmware from entering main if the line glitches.
Reserve RB6 (PGC) and RB7 (PGD) for in-circuit serial programming (ICSP) access; do not place series resistors or capacitors on these lines or ICSP will fail. Place a 100 nF decoupling capacitor as close as possible to the VDD pin (pin 14) and VSS (pin 5). If the design uses an external crystal, keep the crystal and load capacitors within 5 mm of OSC1/OSC2 to avoid EMI issues. For breadboard-style development with the ceramic /SP (windowed) package, plan for a socket with a UV erasure cover.
Brown-out reset (BOR) must be enabled in the configuration word to take advantage of voltage-drop protection; otherwise, undefined behavior can occur when VDD dips below the operating range. The watchdog timer (WDT) should be enabled in long-running applications with its own dedicated RC oscillator to recover from firmware lockup. For low-power designs, leverage the sleep mode (1 uA typical at 3 V / 32 kHz) and wake on interrupt using the analog comparator or external INT pin.
When designing mixed-signal sensor boards with the PIC16C62B, isolate the analog comparator inputs (RA0/RA1) from switching digital lines on PORTB/PORTC. Route analog signals over a ground guard ring and avoid running digital traces parallel to analog traces for more than a few millimeters. Place the analog Vref decoupling capacitor close to the comparator reference pin. Use a star-ground topology with the PIC VSS as the central reference for analog and digital return currents.
Compliance Information
Ceramic DIP-28 windowed package is not lead-free and not RoHS compliant. For lead-free RoHS-compliant alternatives, choose the flash-based PIC16F62x family in plastic PDIP package. AEC-Q100 automotive qualification not certified for this part.