PIC16C58B-20I/P - 8-bit OTP MCU 3KB 20MHz 18-PDIP | Microchip
MPN: PIC16C58B-20I/P β End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.94 | $2.94 |
| 10 | $2.65 | $26.50 |
| 100 | $2.31 | $231.00 |
| 500 | $2.05 | $1,025.00 |
| 1,000 | $1.78 | $1,780.00 |
| 3,000 | $1.55 | $4,650.00 |
PIC16C58B-20I/P Overview
An OTP-based 8-bit microcontroller (One-Time Programmable microcontroller) is a class of MCU where the program memory is implemented as user-programmable EPROM that can be written once via a device programmer and then becomes read-only. MCUs sit in the embedded system hierarchy above discrete logic and below microprocessors, and OTP PICs are the cost-optimized forerunner of flash-based successors like the PIC16F57. They are commonly chosen for low-cost, high-volume, fixed-function appliances where firmware is stable and field reprogramming is not required.
Key features of the PIC16C58B include a 8-bit timer/counter (TMR0) with an 8-bit prescaler, a Watchdog Timer with its own on-chip RC oscillator for reliable resets, a two-level deep hardware stack, direct/indirect/relative addressing modes, and Power-on Reset (POR) plus Brown-out Reset (BOR) circuitry. The 12 I/O pins are grouped into two ports (RA, RB) and can source/sink up to 25 mA per pin, making them suitable for direct LED or relay drive.
Architecturally, the PIC16C58B uses a Harvard-class RISC core with separate program and data buses, 12-bit wide instructions, and an 8-bit data path. Two special function hardware registers (STATUS, OPTION) plus PC and I/O registers provide the entire programmer's model. The fully static design allows the oscillator to be stopped without losing register state, enabling low-power sleep modes and direct battery operation. The -20I variant is specified for 20 MHz operation across the industrial -40C to +85C temperature range.
Typical applications include white-goods and small-appliance controllers (washing-machine sub-boards, microwave keypads, HVAC fan controllers), automotive aftermarket modules (sensor readers, lighting controllers behind a vehicle bus bridge), low-cost consumer toys, simple battery chargers, and any embedded volume product where the program is final at production time. The 5 MIPS throughput is sufficient for protocol bit-banging, sensor sampling, and basic state-machine control loops.
When designing with the PIC16C58B-20I/P, allocate the budget between program size (2K x 12 words) and RAM (73 bytes) early, since neither is expandable. Place decoupling (100 nF) within 5 mm of VDD/VSS pins and keep the OSC1/OSC2 trace short; for EMI-sensitive applications select a four-layer board with a continuous ground plane under the IC. Confirm the oscillator mode (RC vs XT vs LP) matches the chosen resonator before layout finalization.
This page synthesizes distributor stock, parametric drop-in alternatives from the PIC16C5X family, and practical design notes not found in the bare datasheet - giving engineers a single source for sourcing, replacement, and application guidance on the PIC16C58B-20I/P.
Drop-in alternatives for PIC16C58B-20I/P β 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 PIC16C58B-20I/P (same form factor and footprint) β differing in Package, RoHS Status, Timers, Core Architecture, Watchdog Timer.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16F57-I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16C58B-20/P
β Drop-Inβ In Stock
$1.55 / Unit
View Datasheet βPIC16C58B-20E/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16C58B-04I/P
β Drop-Inβ In Stock
$1.88 / Unit
View Datasheet βPIC16C58B-04/P
β Drop-Inβ In Stock
$2.55 / Unit
View Datasheet βPIC16C57C-04I/P
β Drop-Inπ Reference alternative (not in catalog)
PIC16C57-10I/P
β Drop-Inβ In Stock
$1.75 / Unit
View Datasheet βPIC16C58B-20I/P Maximum Ratings & Electrical Characteristics
| Core | PIC16C5X RISC 8-bit |
| Instruction Set | 33 single-word instructions, 12-bit wide |
| Program Memory Type | OTP EPROM |
| Program Memory Size | 3 KB (2K x 12) |
| RAM | 73 bytes |
| Data EEPROM | Not present |
| Maximum CPU Frequency | 20 MHz |
| Performance | 5 MIPS |
| I/O Pins | 12 |
| Timers | 1 x 8-bit (TMR0) with 8-bit prescaler |
| Watchdog Timer | Yes (with dedicated on-chip RC oscillator) |
| Stack Depth | 2 levels (hardware) |
| Supply Voltage (VDD) | 3.0 V to 5.5 V |
| Operating Temperature | -40 C to +85 C (Industrial) |
| I/O Pin Current (source/sink) | 25 mA per pin |
| Package | 18-pin PDIP (P) |
| Mounting Type | Through-Hole |
| Brown-out Reset | Yes |
| Power-on Reset | Yes |
| RoHS Status | Non-compliant (Pb-bearing DIP) |
PIC16C58B-20I/P Pin Configuration
| Pin 1 | RA2 β Bidirectional digital I/O, PORTA bit 2 |
| Pin 2 | RA3 β Bidirectional digital I/O, PORTA bit 3 |
| Pin 3 | RA4/T0CKI β Bidirectional digital I/O / Timer0 clock input (Schmidt trigger) |
| Pin 4 | MCLR β Master Clear (reset) input, active low |
| Pin 5 | VSS β Ground reference |
| Pin 6 | RB0/INT β Bidirectional digital I/O, PORTB bit 0 / external interrupt input |
| Pin 7 | RB1 β Bidirectional digital I/O, PORTB bit 1 |
| Pin 8 | RB2 β Bidirectional digital I/O, PORTB bit 2 |
| Pin 9 | RB3 β Bidirectional digital I/O, PORTB bit 3 |
| Pin 10 | RB4 β Bidirectional digital I/O, PORTB bit 4 |
| Pin 11 | RB5 β Bidirectional digital I/O, PORTB bit 5 |
| Pin 12 | RB6 β Bidirectional digital I/O, PORTB bit 6 |
| Pin 13 | RB7 β Bidirectional digital I/O, PORTB bit 7 |
| Pin 14 | VDD β Positive supply (3.0 V to 5.5 V) |
| Pin 15 | OSC2/CLKOUT β Oscillator output / clock-out |
| Pin 16 | OSC1/CLKIN β Oscillator input / external clock in |
| Pin 17 | RA0 β Bidirectional digital I/O, PORTA bit 0 |
| Pin 18 | RA1 β Bidirectional digital I/O, PORTA bit 1 |
Typical Applications
PIC16C58B-20I/P is suitable for 6 applications: White-Goods Appliance Control, Battery Charger & Power Monitor, Consumer Toy & Game Controller, Automotive Aftermarket Module, Industrial Sensor & Relay Module, LED Lighting & Display Driver.
White-Goods Appliance Control
The PIC16C58B-20I/P is well-suited to fixed-function appliance controllers where the firmware is finalized at production. Its 5-MIPS RISC core handles state-machine loops for fan/motor control, key debouncing, and seven-segment multiplexing, while the 25 mA per-pin drive directly sinks LED current without external transistors. The 3 KB OTP holds mid-complexity programs for washing-machine sub-boards, microwave keypads, and HVAC fan controllers. Industrial -40C to +85C operation covers refrigerator and oven control compartments without thermal derating.
Recommended
Battery Charger & Power Monitor
Low-cost NiCd/NiMH/Li-ion chargers benefit from the PIC16C58B-20I/P's 73 bytes RAM, 8-bit TMR0 for timing charge intervals, and 3.0-5.5V operation that lets it run directly from a single-cell or 4-cell battery stack. The watchdog timer provides reliable resets during brown-out conditions on the AC mains adapter, and the 25 mA I/O drive directly switches power-MOSFET gates or relay coils. Pin-compatible migration to PIC16F57-I/P is recommended for new designs requiring firmware updates via ICSP during charger characterization.
Recommended
Consumer Toy & Game Controller
Cost-sensitive toys, simple electronic games, and educational microcontroller kits use the PIC16C58B-20I/P for its sub-$2 price at 100-piece quantities and tiny 18-pin PDIP footprint. The 33-instruction RISC core is easy to teach in classrooms, and the 20 MHz throughput drives multiplexed LED matrices, piezo buzzers, and IR-remote bit-banging without external logic. The OTP memory prevents students from accidentally overwriting classmates' programs but still lets each group commit their final project code.
Recommended
Automotive Aftermarket Module
Aftermarket accessories (alarm LED indicators, lighting controllers, simple sensor readers behind a vehicle CAN-bus bridge) leverage the PIC16C58B-20I/P's industrial -40C to +85C temperature range, 5.5V VDD tolerance on load-dump transients when paired with a TVS, and 33-instruction core for sensor sampling and PWM-free actuator control. The OTP memory prevents reverse engineering of proprietary drive-pattern algorithms. Pin-compatible migration to PIC16C58B-20E/P (extended temp) handles under-hood modules approaching +125C junction.
Recommended
Industrial Sensor & Relay Module
Factory-floor sensor interfaces and relay-driver modules use the PIC16C58B-20I/P for its 12 I/O pins (5 on PORTA, 8 on PORTB) which can each sink 25 mA - sufficient to drive small signal relays or opto-couplers directly. The watchdog timer with its own on-chip RC oscillator ensures reliable operation in electrically noisy industrial cabinets, and the brown-out reset prevents spurious relay chatter during supply droops. The 5 MIPS throughput handles Modbus-RTU bit-banging over RS-485 transceivers at 9600 baud.
Recommended
LED Lighting & Display Driver
Architectural LED controllers, marquee displays, and seven-segment signage use the PIC16C58B-20I/P for its 25 mA per-pin source/sink capability that drives LED segments directly without current-limiting buffers. TMR0 with 8-bit prescaler generates multiplexing refresh intervals, and the RISC core sustains constant-current PWM-free updates for up to 8-digit seven-segment displays. The 3.0-5.5V supply matches both 3.3V and 5V LED driver rails, and the PDIP package simplifies prototype breadboarding for AV installers.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C58B-20I/P β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F57-I/P | PIC16C58B-20/P | PIC16C58B-20E/P | PIC16C58B-04I/P | PIC16C58B-04/P | PIC16C57C-04I/P | PIC16C57-10I/P |
|---|---|---|---|---|---|---|---|---|
| Package | 18-pin PDIP (P) | 18-pin PDIP (same) | 18-pin PDIP (same) | 18-pin PDIP (same) | 18-pin PDIP (same) | 18-pin PDIP (same) | 18-pin PDIP (same) | 18-pin PDIP (same) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 3 KB OTP (2K x 12) | 3 KB flash (2K x 12) | 3 KB OTP (same) | 3 KB OTP (same) | 3 KB OTP (same) | 3 KB OTP (same) | 2 KB OTP (-33%) | 2 KB OTP (-33%) |
| Max Frequency | 20 MHz (5 MIPS) | 20 MHz (same) | 20 MHz (same) | 20 MHz (same) | 4 MHz (-80%) | 4 MHz (-80%) | 4 MHz (-80%) | 10 MHz (-50%) |
| RAM | 73 bytes | 73 bytes (same) | 73 bytes (same) | 73 bytes (same) | 73 bytes (same) | 73 bytes (same) | 72 bytes (-1.4%) | 72 bytes (-1.4%) |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C (same) | Commercial 0C to +70C (narrower) | Extended -40C to +125C (wider) | Industrial -40C to +85C (same) | Commercial 0C to +70C (narrower) | Industrial -40C to +85C (same) | Industrial -40C to +85C (same) |
| Program Memory Type | OTP EPROM | Flash (ICSP) | OTP EPROM (same) | OTP EPROM (same) | OTP EPROM (same) | OTP EPROM (same) | OTP EPROM (same) | OTP EPROM (same) |
| I/O Pins | 12 | 12 (same) | 12 (same) | 12 (same) | 12 (same) | 12 (same) | 20 (more I/O) | 20 (more I/O) |
| Lifecycle Status | NRND | Active (recommended) | NRND | NRND | NRND | NRND | NRND | NRND |
Key Differentiators
- Flash (ICSP) memory for field-updateable firmware (vs PIC16F57-I/P)
- Extended temperature range for under-hood modules (vs PIC16C58B-20/P)
- Lower EMI signature for noise-sensitive cabinets (vs PIC16C58B-04I/P)
Design Notes
Place a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin (pin 14) with a short trace to VSS (pin 5). For battery-powered applications add a bulk 10 uF tantalum or aluminum-polymer capacitor near VDD to handle transient current peaks when the I/O pins switch simultaneously. The PIC16C58B draws 2-5 mA active at 20 MHz and under 1 uA in sleep, so a brown-out circuit is mandatory if VDD can droop below 3.0 V momentarily.
Keep the OSC1 (pin 16) and OSC2 (pin 15) traces short and symmetric, surrounded by a grounded guard ring on both sides, to minimize radiated EMI. For crystal or ceramic resonator operation, place the load capacitors (typically 15-33 pF) within 4 mm of OSC1/OSC2. Avoid routing signal traces under the resonator or its capacitors; the PDIP through-hole construction provides natural isolation between analog and digital sections on a single-sided board.
The PIC16C58B has only a 2-level hardware stack; nested subroutines beyond depth 2 will corrupt the return address. Plan call hierarchies accordingly or use iterative code. The device has no ICSP - if you need firmware updates after deployment, choose PIC16F57-I/P instead. MCLR (pin 4) must be pulled high through a 10-47 kohm resistor; leaving it floating can cause intermittent resets in noisy environments. Brown-out reset is enabled by configuration bit and must be configured at programming time.
The 25 mA per-pin sink/source capability is shared across the entire VDD/VSS bond wires; do not switch all 12 outputs simultaneously at full load or the ground bounce will reset the part. Stagger high-current pin toggles by at least one instruction cycle, or limit total I/O current to under 100 mA across the package. For relay or solenoid drive, add a 100 nF snubber across the coil and a flyback diode to suppress inductive kickback that can latch the I/O pin.
Compliance Information
18-pin PDIP is lead-bearing and RoHS non-compliant. For RoHS-compliant drop-in equivalents, use surface-mount variants PIC16C58B-20I/SS (SSOP-20) or PIC16C58B-20I/SO (SOIC-18). Device is not AEC-Q100 qualified; for automotive see extended-temp PIC16C58B-20E/P variants.