PIC16C58B-20/SO - 8-Bit 20MHz OTP MCU 3KB ROM | Microchip
MPN: PIC16C58B-20/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.95 | $2.95 |
| 10 | $2.65 | $26.50 |
| 100 | $2.34 | $234.00 |
| 500 | $2.05 | $1,025.00 |
| 1,000 | $1.78 | $1,780.00 |
PIC16C58B-20/SO Overview
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, RAM, non-volatile program memory, and peripheral I/O on one die. In the wider system hierarchy, an 8-bit MCU sits below 16-bit and 32-bit microcontrollers and is the optimal cost point for embedded control tasks such as appliance timers, sensor signal conditioning, simple motor drivers, and human-interface panels where deterministic response and small code size matter more than throughput.
Key features of the PIC16C58B-20/SO include a two-level deep hardware stack for subroutine nesting, direct/indirect/relative addressing modes, an 8-bit real-time clock/counter (TMR0) with programmable prescaler, seven or eight special-function hardware registers, and a watchdog timer for reliable unattended operation. The wide 2.0 V to 6.0 V operating range (5 V nominal) lets it ride through brownouts in industrial environments, and the fully static CMOS design eliminates the minimum clock-frequency constraint of older NMOS parts.
The PIC16C5X uses a 12-bit-wide instruction word that is highly orthogonal, so most operations can use any register as a source and any W-register or file register as a destination. The result is compact code: typical applications fit easily in the 2K-word program space, leaving headroom for product feature growth. The B-suffix part is an enhanced revision of the original PIC16C58 with lower power and a more robust oscillator structure.
Typical applications include consumer appliance control, battery chargers, simple sensor interfaces, security keypads, low-end remote controls, and white-goods user interfaces where the PIC16C58B-20/SO's small code footprint and 12 I/O pins provide ample connectivity for relays, LEDs, and a matrix keypad. Its commercial temperature grade (0 °C to +70 °C) suits indoor equipment.
When designing with this part, budget oscillator start-up time carefully and place decoupling within 5 mm of VDD. The OTP program memory means firmware cannot be field-updated, so engineering samples and pre-production builds should be verified on a flash-based PIC16F equivalent before committing to OTP volume. Always derate the oscillator selection for the chosen crystal's load capacitance.
This page synthesizes distributor pricing from DigiKey, Mouser, LCSC and Octopart, together with drop-in alternative analysis and practical design notes that go beyond the manufacturer datasheet summary.
Drop-in alternatives for PIC16C58B-20/SO — 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-20/SO (same form factor and footprint) — differing in Package, Program Memory Size, Program Memory Type, Core Architecture, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16C58BT-20/SO
✅ Drop-In✓ In Stock
$2.05 / Unit
View Datasheet →PIC16C58B-20I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C57C-20/SO
✅ Drop-In✓ In Stock
$2.89 / Unit
View Datasheet →PIC16C56A-20I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F57-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C55A-20/SO
✅ Drop-In✓ In Stock
$2.9 / Unit
View Datasheet →PIC16C58B-20/SO Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC |
| CPU Family | PIC16C5X |
| Program Memory Type | OTP EPROM |
| Program Memory Size | 3 KB (2K x 12 words) |
| RAM Size | 73 bytes |
| Maximum CPU Frequency | 20 MHz |
| Instruction Set Size | 33 instructions (single word, single cycle) |
| Instruction Word Width | 12 bits |
| I/O Pins | 12 |
| Timers | 8-bit TMR0 with programmable prescaler |
| Hardware Stack | 2 levels |
| Watchdog Timer | Yes |
| Operating Voltage (VDD) | 2.0 V to 6.0 V (5 V nominal) |
| Operating Temperature | 0 °C to +70 °C (commercial) |
| Package | 18-pin SOIC (SO) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC16C58B-20/SO Pin Configuration
| Pin 1 | RA2 — Bidirectional I/O port A bit 2 |
| Pin 2 | RA3 — Bidirectional I/O port A bit 3 |
| Pin 3 | T0CKI — Timer0 external clock input |
| Pin 4 | /MCLR — Master Clear (active-low reset) input |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0 — Bidirectional I/O port B bit 0 |
| Pin 7 | RB1 — Bidirectional I/O port B bit 1 |
| Pin 8 | RB2 — Bidirectional I/O port B bit 2 |
| Pin 9 | RB3 — Bidirectional I/O port B bit 3 |
| Pin 10 | RB4 — Bidirectional I/O port B bit 4 |
| Pin 11 | RB5 — Bidirectional I/O port B bit 5 |
| Pin 12 | RB6 — Bidirectional I/O port B bit 6 |
| Pin 13 | RB7 — Bidirectional I/O port B bit 7 |
| Pin 14 | VDD — Positive supply voltage (2.0 V to 6.0 V) |
| Pin 15 | OSC2 — Oscillator output / CLKOUT |
| Pin 16 | OSC1 — Oscillator input / CLKIN |
| Pin 17 | RA0 — Bidirectional I/O port A bit 0 |
| Pin 18 | RA1 — Bidirectional I/O port A bit 1 |
Typical Applications
PIC16C58B-20/SO is suitable for 7 applications: Consumer Appliance Control, Battery Charger Control, Security Keypad Interface, Remote Control Transmitter, Sensor Signal Conditioning, White Goods User Interface, Low-Cost Stepper Motor Indexer.
Consumer Appliance Control
The PIC16C58B-20/SO fits consumer appliance control because its 12-bit RISC core executes 33 single-cycle instructions, letting a washing-machine or microwave firmware run in just 1.5-2 KB of the 3 KB OTP program space. Its 12 I/O pins drive 7-segment displays, keypad matrices, and triac-controlled loads directly, while the 2.0-6.0 V supply tolerates unregulated transformer rails. The 20 MHz CPU delivers deterministic 200 ns instruction cycles, ensuring uniform relay timing and zero-cross triac firing.
Recommended
Battery Charger Control
Low-end NiCd and lead-acid chargers use the PIC16C58B-20/SO because the OTP memory protects calibration constants from field tampering and the wide 2.0-6.0 V supply matches a single-cell lithium or 6 V SLA stack. The 8-bit TMR0 with prescaler provides the time base for CC/CV charge-state transitions, while the 73-byte RAM holds present-voltage and elapsed-time variables. The fully static CMOS core consumes roughly 2 mA at 5 V/4 MHz, preserving battery life in standby.
Recommended
Security Keypad Interface
Alarm keypads and PIN-entry panels benefit from the PIC16C58B-20/SO's 12 I/O pins, which scan a 4x4 matrix without external multiplexer ICs. The 2-level hardware stack plus 33-instruction core handles the debounce, encryption, and Wiegand-output handshake in roughly 1 KB of code. The commercial 0-70 °C rating suits indoor installations, while the OTP memory secures the master unlock code against firmware cloning.
Recommended
Remote Control Transmitter
IR/RF remote controls leverage the PIC16C58B-20/SO because the entire transmit state machine fits within 1-1.5 KB of OTP, and the 20 MHz oscillator drives a 38 kHz carrier with sub-microsecond accuracy for NEC or RC-5 protocols. The 2.0 V minimum supply allows a single 3 V coin cell, and the static CMOS core consumes <1 µA in sleep mode. The 12 I/O pins route to a matrix keypad plus a status LED.
Recommended
Sensor Signal Conditioning
Simple sensor interfaces (thermistor, RTD, or hall-effect) use the PIC16C58B-20/SO to linearize, scale, and PWM-output readings. The 8-bit TMR0 times the ADC-free sigma-delta conversion sequence using one comparator pin and an external RC network, while 73 bytes of RAM buffer the moving-average filter. The 12 I/O pins connect to SPI sensors, status LEDs, and a UART output to a host controller.
Recommended
White Goods User Interface
Refrigerator, dishwasher, and washing-machine user-interface boards use the PIC16C58B-20/SO because its 12 I/O directly multiplex a 4-digit 7-segment display plus 8 tactile switches, eliminating the need for an LED driver IC. The OTP memory locks the model-specific cycle list into the silicon, and the 2-level hardware stack handles short interrupt-driven keypad routines. The 20 MHz CPU refreshes the display at >100 Hz to eliminate flicker.
Recommended
Low-Cost Stepper Motor Indexer
Indexer boards for small bipolar stepper motors use the PIC16C58B-20/SO to generate the 4-phase commutation sequence at variable step rates. The 20 MHz CPU produces step frequencies above 10 kHz while leaving enough headroom for acceleration ramps in firmware. Each of the 12 I/O pins drives a darlington pair through a series resistor, and the 73-byte RAM holds the current position and target.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C58B-20/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C58BT-20/SO | PIC16C58B-20I/SO | PIC16C57C-20/SO | PIC16F57-I/SO |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 18-SOIC (SO) | 18-SOIC (SO) - same | 18-SOIC (SO) - same | 18-SOIC (SO) - same | 18-SOIC (SO) - same |
| Program Memory | 3 KB OTP (2K x 12) | 3 KB OTP (2K x 12) | 3 KB OTP (2K x 12) | 2 KB OTP (1K x 12) | 3 KB Flash (2K x 12) |
| RAM Size | 73 bytes | 73 bytes | 73 bytes | 72 bytes | 73 bytes |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Operating Temperature | 0 °C to +70 °C (commercial) | 0 °C to +70 °C | -40 °C to +85 °C | 0 °C to +70 °C | -40 °C to +85 °C (industrial) |
| Program Memory Type | OTP EPROM | OTP EPROM | OTP EPROM | OTP EPROM | Flash (reprogrammable) |
| I/O Pins | 12 | 12 | 12 | 12 | 12 |
| Supply Voltage Range | 2.0 V to 6.0 V | 2.0 V to 6.0 V | 2.0 V to 6.0 V | 2.0 V to 6.0 V | 2.0 V to 5.5 V |
Key Differentiators
- Largest program memory in the 18-pin PIC16C5X family (vs PIC16C57C-20/SO)
- Reprogrammable migration path with same footprint (vs PIC16F57-I/SO)
- Industrial-temperature option with identical silicon (vs PIC16C58B-20I/SO)
Design Notes
Place a 100 nF decoupling capacitor within 5 mm of VDD (pin 14) and a 10 µF bulk capacitor at the board's power-entry point. Per the PIC16C5X datasheet, the brown-out threshold is approximately 2.0 V; if your supply can droop below 2 V during motor inrush, add an external voltage supervisor (such as MCP100) tied to /MCLR rather than relying on internal POR. Estimated: at 20 MHz and 5 V the part consumes roughly 10 mA during active execution and <1 µA in sleep mode.
Choose XT, HS, or LP oscillator mode in the configuration word to match your crystal; HS is required for 20 MHz operation. Per Microchip application note TB008, add a series resistor (typically 100 Ω to 1 kΩ) between OSC2 and the crystal when using HS mode to dampen third-overtone oscillations. Capacitive loading on OSC1/OSC2 must match the crystal's load capacitance specification within ±2 pF.
Route /MCLR with a 10 kΩ pull-up to VDD and a 100 nF capacitor to VSS for clean reset behaviour. Keep the trace short and avoid routing noisy switching signals parallel to /MCLR. The 18-SOIC land pattern matches the standard JEDEC SO-18 footprint with 1.27 mm pitch, and exposed copper under the package should be removed or grounded to avoid stray capacitance on port B pins.
Because the PIC16C58B uses OTP memory, firmware bugs cannot be corrected in the field. Verify code on a flash-based PIC16F57-I/SO (same 18-SOIC footprint) before committing to OTP volume. Do not exceed the absolute maximum VDD of 7.0 V or apply voltage to any pin before VDD is stable, as the CMOS I/O cells lack ESD clamping diodes to VDD on older PIC16C5X revisions.
Compliance Information
RoHS and REACH compliance confirmed via Microchip product environmental compliance data. AEC-Q100 not applicable (consumer-grade commercial temperature only). Halogen-free status unknown from verified web data - confirm against lot-specific CoC. Conflict-minerals declaration per Microchip CMRT.