Microchip Technology

PIC16C58B-20E/SO - 8-bit 20MHz 3KB OTP MCU | Microchip | SOIC-18

MPN: PIC16C58B-20E/SO βœ“ Active
In Stock Ships in 1-3 business days
4.5 V to 5.5 V Vdss 18-pin SOIC (SO) Package 20 MHz Speed OTP EPROM Memory
From $1.85 USD / Unit
MOQ: 1 |
Price updated: 2026-09-17
Volume Pricing
Qty Unit Price Extended
1 $3.45 $3.45
10 $3.1 $31.00
100 $2.62 $262.00
500 $2.21 $1,105.00
1,000 $1.85 $1,850.00
ℹ️ All prices are in USD

PIC16C58B-20E/SO Overview

The Microchip Technology PIC16C58B-20E/SO is an 8-bit EPROM/ROM-based CMOS microcontroller belonging to the PIC16C5X family, housed in an 18-pin SOIC (SO) package with a maximum clock speed of 20 MHz. It integrates 3KB of program memory (2K x 12 OTP), 73 bytes of RAM, and 12 I/O pins, all driven by a RISC architecture with 33 single-word single-cycle instructions. Operating from a 4.5V to 5.5V single supply, the part is engineered for high-performance, low-cost embedded control.

A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and peripherals. The PIC16C5X family sits at the entry-level of 8-bit microcontrollers, descendants of the original PIC architecture that pioneered Harvard-bus RISC design for embedded control. Within the broader taxonomy, the PIC16C58B is a micro-controller -> MCU -> 8-bit MCU -> RISC MCU -> embedded processor -> semiconductor. Its 12-bit wide instruction word delivers 2:1 code compression over competing 8-bit architectures, allowing tight programs to fit in the small OTP memory.

Key features include a fully static design that permits operation down to DC clock, an internal oscillator option, and a programmable code-protection mechanism. The 20 MHz instruction rate yields 5 MIPS peak throughput, while the 33-instruction set simplifies code generation and reduces firmware development time. The wide 20-pin SOIC industrial package provides robust mechanical handling and easy hand-soldering for prototyping.

Typical applications include appliance controls, automotive body electronics (non-safety), security-system sensor interfaces, and industrial machine-control sub-modules. The 12-bit program-word width and 73-byte RAM make the PIC16C58B well-suited for state-machine-driven glue logic where deterministic single-cycle execution replaces discrete logic. Because the device is OTP-based, production programming occurs once per unit.

When designing with this part, allow up to 73 bytes of general-purpose RAM and verify that the chosen oscillator mode (RC, XT, HS, LP) matches the frequency and stability required by the application. Always confirm whether OTP or windowed-EPROM (JW) packaging is appropriate for your firmware-development workflow, as windowed parts cost more and are larger.

Drop-in alternatives for PIC16C58B-20E/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-20E/SO (same form factor and footprint) β€” differing in Program Memory Type, Program Memory Size, Core Architecture, I/O Pins, MSL Level.

Microchip Technology
Program Memory Type: OTP (One-Time-Programmable EPROM)
Core Architecture: 8-bit PIC RISC
I/O Pins: 20
Microchip Technology
Program Memory Type: OTP (One-Time Programmable) EPROM
Program Memory Size: 3 KB (2K Γ— 12-bit words)
Core Architecture: 8-bit RISC

Quick Comparison Tool β€” Select alternative parts for side-by-side comparison:

PIC16C58B-20/SO

βœ… Drop-In
πŸ“¦ 18-pin SOIC (SO)
same SOIC-18 footprint, commercial 0-70C temp grade vs extended -40-125C, pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16C58B-04/SO

βœ… Drop-In
πŸ“¦ 18-pin SOIC (SO)
same SOIC-18 footprint, 4 MHz max clock vs 20 MHz (-80% speed), pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16C58B-20I/SO

βœ… Drop-In
πŸ“¦ 18-pin SOIC (SO)
same SOIC-18 footprint, -40-85C industrial grade vs -40-125C extended, pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16C58B-04I/SO

βœ… Drop-In
πŸ“¦ 18-pin SOIC (SO)
same SOIC-18 footprint, 4 MHz clock (-80%) and -40-85C industrial grade, pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16C57C-20/SO

βœ… Drop-In
Microchip Technology
πŸ“¦ 18-pin SOIC (SO)
8-bit PIC RISC Β· PIC16C5X Β· OTP (One-Time-Programmable EPROM) Β· 3 KB (2K x 12) Β· 72 bytes Β· 20 MHz Β· 200 ns (at 20 MHz) Β· 33 (single-word, single-cycle)

βœ“ In Stock

$2.89 / Unit

View Datasheet β†’

PIC16C56A-20/SO

βœ… Drop-In
πŸ“¦ 18-pin SOIC (SO)
same SOIC-18 footprint, 1KB EPROM vs 3KB (-67% program memory), 12 I/O pins, pin-to-pin compatible

πŸ“‹ Reference alternative (not in catalog)

PIC16C58B-20E/SO Maximum Ratings & Electrical Characteristics

Family PIC16C5X
Core 8-bit RISC
Program Memory Type OTP EPROM
Program Memory Size 3 KB (2K x 12)
RAM Size 73 bytes
I/O Pins 12
Maximum Clock Speed 20 MHz
Instruction Set Size 33 instructions
Instruction Width 12 bits
Supply Voltage 4.5 V to 5.5 V
Architecture Harvard RISC, fully static
Package 18-pin SOIC (SO)
Operating Temperature (E suffix) -40 C to +125 C (extended)
Mounting Type Surface Mount
RoHS Status Compliant
Lifecycle Stage Active

PIC16C58B-20E/SO Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 RA2 β€” Bidirectional I/O port A bit 2
Pin 2 RA3 β€” Bidirectional I/O port A bit 3
Pin 3 RA4/T0CKI β€” Bidirectional I/O port A bit 4 / Timer0 clock input
Pin 4 MCLR β€” Master Clear (reset) input, active low
Pin 5 VSS β€” Ground reference
Pin 6 RB0/INT β€” Bidirectional I/O port B bit 0 / external interrupt
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 (4.5 V to 5.5 V)
Pin 15 OSC2/CLKOUT β€” Oscillator crystal output / clock output
Pin 16 OSC1/CLKIN β€” Oscillator crystal input / external clock input
Pin 17 RA0 β€” Bidirectional I/O port A bit 0
Pin 18 RA1 β€” Bidirectional I/O port A bit 1

Typical Applications

PIC16C58B-20E/SO is suitable for 6 applications: Appliance Control Boards, Automotive Body Electronics (Non-Safety), Security Sensor Interface Modules, Industrial Machine Sub-Controllers, Consumer Toy and Hobby Electronics, Smart Sensor Edge Nodes.

🏭

Appliance Control Boards

The PIC16C58B-20E/SO fits appliance control boards because its 20 MHz instruction rate (5 MIPS) and 12-bit instruction word handle state-machine logic for washers, dryers, and dishwashers while keeping BOM cost minimal. The 3 KB OTP memory accommodates typical wash-cycle and user-interface firmware without external ROM. Its -40 C to +125 C extended temperature range (E suffix) survives the under-cabinet thermal environment of laundry appliances. Placed as the main controller, the PIC16C58B reads keypad inputs, drives triac-controlled motors, and sequences relays. The RISC 33-instruction set simplifies assembly firmware porting from previous PIC16C5X designs. Power dissipation is typically <100 mW at 5 V/20 MHz, eliminating the need for a heatsink on a small PCB.

πŸš—

Automotive Body Electronics (Non-Safety)

For non-safety automotive modules such as seat controllers, mirror adjusters, and interior lighting, the PIC16C58B-20E/SO delivers 12 I/O pins and 20 MHz throughput in an 18-pin SOIC package that fits behind the dashboard. The -40 C to +125 C operating range handles cabin and underhood-near temperatures per AEC-Q100-style thermal profiles. Because automotive production volumes are large and program code is locked, OTP memory avoids the per-unit programming overhead of flash parts. The PIC drives relay coils and LED strings via MOSFETs and survives 12 V automotive supply transients with external TVS clamping. Designers should note that safety-critical functions such as airbag or ABS require a more modern PIC with CAN and diagnostics.

πŸŽ₯

Security Sensor Interface Modules

The PIC16C58B-20E/SO works well as a security sensor node controller because its 12 I/O pins connect directly to PIR sensors, reed switches, and piezo buzzers while its 20 MHz throughput debounces inputs and timestamps events. The 73-byte RAM buffer accommodates event logs and the 3 KB OTP holds protocol firmware. Power consumption at 5 V is roughly 15-20 mA active, suiting battery-backed alarm panels with a sleeping external watchdog. Place the PIC between the sensor front-end and the RF or wired uplink transmitter. The PIC16C5X deterministic single-cycle execution ensures predictable alarm-trigger latency, critical for intrusion-detection compliance.

🏭

Industrial Machine Sub-Controllers

On factory-floor PLC expansion modules, the PIC16C58B-20E/SO serves as a low-cost sub-controller that handles keypad scanning, LED multiplexing, and simple PWM fan or pump drives. The 18-pin SOIC format mounts on a small daughter board inside a DIN-rail enclosure. Its 20 MHz clock supports fast SPI or UART communication with a master PLC. The extended -40-125 C temperature grade tolerates cabinet temperatures near motors and heaters. The 3 KB OTP holds typical ladder-logic translation or custom protocols. Engineers can leverage existing PIC16C5X assembly libraries to accelerate firmware development for retrofit installations.

🎧

Consumer Toy and Hobby Electronics

Toy manufacturers select the PIC16C58B-20E/SO for high-volume consumer products because its OTP program memory locks firmware against cloning while keeping per-unit cost below $2 in 1k quantities. The 12 I/O pins drive servo motors, LEDs, speakers, and IR receivers typical in robotics kits and educational toys. The 20 MHz instruction rate enables smooth servo PWM updates and audio tone generation. The 73-byte RAM supports a few small lookup tables for sound playback. The 18-pin SOIC package is hand-solderable for small-batch and kit markets.

πŸ”§

Smart Sensor Edge Nodes

The PIC16C58B-20E/SO serves as a pre-processor on industrial sensor edge nodes, where it digitizes analog signals via external ADC, applies digital filtering, and forwards results over UART or SPI to a host processor. Its 5 MIPS throughput runs lightweight moving-average and threshold-detection algorithms on temperature, pressure, or flow sensors. The 12-bit instruction word keeps compiled code compact, fitting the entire DSP-style pipeline into 3 KB OTP. The 18-pin SOIC package simplifies integration on the small sensor-PCB footprint typical of IoT field devices. Combined with an external 25LC040 EEPROM for configuration storage, the node achieves deterministic embedded processing at low BOM cost.

Recommended Products Summary

PIC16C58B-20/SO Commercial temp sibling for non-extreme environments Used in: Appliance Control Boards MOC3021 Optoisolator for triac-driven motor control Used in: Appliance Control Boards PIC16C58B-20I/SO Industrial temp grade alternative (-40-85C) Used in: Automotive Body Electronics (Non-Safety) PIC16C58B-04/SO Lower-speed variant for less time-critical sensors Used in: Security Sensor Interface Modules PIC16C57C-20E/SO Microchip Technology Used in: Industrial Machine Sub-Controllers PIC16C56A-20E/SO Lower-memory variant for simpler toys Used in: Consumer Toy and Hobby Electronics 25LC040 External SPI EEPROM for configuration data Used in: Smart Sensor Edge Nodes MCP3002 External 10-bit ADC for analog sensor input Used in: Smart Sensor Edge Nodes
What is the program memory size of PIC16C58B-20E/SO?
The PIC16C58B-20E/SO contains 3 KB of One-Time-Programmable (OTP) EPROM organized as 2K x 12-bit words. According to the Microchip datasheet for the PIC16C5X family, this 12-bit-wide instruction word provides roughly 2:1 code compression compared with competing 8-bit architectures, allowing tight state-machine firmware to fit in a small memory footprint.
What is the maximum operating frequency of PIC16C58B-20E/SO?
The PIC16C58B-20E/SO operates at a maximum clock speed of 20 MHz, yielding 5 MIPS peak instruction throughput because the PIC16C5X executes one instruction per clock cycle. This speed, combined with the 33-instruction RISC set, makes the part suitable for time-deterministic control loops in appliance and industrial subsystems.
What is the difference between PIC16C58B-20E/SO and PIC16C58B-20/SO?
The PIC16C58B-20E/SO uses the 'E' extended-temperature grade rated from -40 C to +125 C, whereas the PIC16C58B-20/SO is the standard 0 C to +70 C commercial variant. Both share the same 20 MHz clock, 3 KB OTP, 73-byte RAM, and 18-pin SOIC footprint, making them drop-in compatible for design reuse with different thermal grades.
Where can I download the PIC16C58B-20E/SO datasheet PDF?
The official PIC16C58B-20E/SO datasheet can be downloaded from the Microchip product page at https://www.microchip.com/en-us/product/PIC16C58B. The datasheet covers the full PIC16C5X family specification including electrical characteristics, instruction set, memory map, and DC/AC timing diagrams.
Is the PIC16C58B-20E/SO pinout the same as PIC16C58B-04/SO?
Yes, the PIC16C58B-20E/SO and PIC16C58B-04/SO share an identical 18-pin SOIC pinout because they belong to the same PIC16C5X family. The numeric suffix denotes maximum clock speed (20 MHz vs 4 MHz), not the package. Both parts can be socketed or soldered interchangeably on the same PCB land pattern.
What is the operating voltage range of PIC16C58B-20E/SO?
The PIC16C58B-20E/SO operates from 4.5 V to 5.5 V on its VDD pin. Per the Microchip datasheet, the lower 4.5 V limit is required to maintain the 20 MHz instruction rate reliably across the -40 C to +125 C extended temperature range. Below 4.5 V the maximum clock frequency must be derated.
How much RAM does PIC16C58B-20E/SO have?
The PIC16C58B-20E/SO contains 73 bytes of general-purpose RAM, mapped across the PIC16C5X file-register space along with the Special Function Registers. According to the Microchip datasheet, this small RAM is sufficient for state-machine code and modest data buffers but is not intended for stack-heavy C applications.
Can PIC16F57 replace PIC16C58B-20E/SO?
The PIC16F57 is not a drop-in replacement for the PIC16C58B-20E/SO because the PIC16F57 ships in different package options and uses flash program memory instead of OTP EPROM. For a true OTP drop-in on the same 18-pin SOIC land pattern, choose the PIC16C58B-20/SO or PIC16C58B-04/SO from the same family.
What oscillator modes does PIC16C58B-20E/SO support?
The PIC16C58B-20E/SO supports four oscillator modes: RC (low-cost resistor-capacitor), XT (standard crystal up to ~4 MHz), HS (high-speed crystal up to 20 MHz), and LP (low-power crystal). Per the Microchip datasheet, the HS mode is required to reach the 20 MHz top clock speed for this -20 suffix variant.
How many I/O pins does PIC16C58B-20E/SO have?
The PIC16C58B-20E/SO exposes 12 bidirectional I/O pins across PORTA and PORTB. The 18-pin SOIC package reserves pins for VDD, VSS, MCLR, OSC1, and OSC2, leaving the remaining 12 pins for user I/O. All 12 pins can source or sink up to 25 mA per the datasheet DC characteristics.
What is the price of PIC16C58B-20E/SO?
As of 2026-09-17, the PIC16C58B-20E/SO lists at approximately $3.45 for qty-1, with volume pricing dropping to $1.85 at qty-1000 per Octopart aggregated distributor data. Lead times vary by distributor; check stock on DigiKey and Mouser for current availability before placing volume orders.
Is PIC16C58B-20E/SO still in production?
Yes, the PIC16C58B-20E/SO is reported as ACTIVE in its lifecycle stage, per the Microchip product page and DigiKey catalog. Because this is an OTP EPROM-based legacy part, future obsolescence risk is higher than flash-based PIC16F successors, but Microchip continues to manufacture it for installed-base designs.
PIC16C58B-20E/SO vs PIC16F84A - which is better for new designs?
For new designs the PIC16F84A is generally the better choice because it uses flash memory (re-programmable in-circuit) and offers 1K x 14 program words plus 68 bytes RAM. However, the PIC16F84A is not pin-compatible with the PIC16C58B-20E/SO; engineers moving designs must perform a PCB redesign or migration analysis.
What is the best drop-in replacement for PIC16C58B-20E/SO?
The best drop-in replacement for PIC16C58B-20E/SO is the PIC16C58B-20/SO (commercial temp grade) or PIC16C58B-04/SO (4 MHz lower-speed variant), both sharing the same 18-pin SOIC footprint, pinout, and 3 KB OTP memory. Per Microchip family datasheet, all three variants use identical peripheral and memory maps.
Does PIC16C58B-20E/SO have internal EEPROM for data storage?
No, the PIC16C58B-20E/SO does not contain an internal data EEPROM. According to the Microchip datasheet, the PIC16C5X family stores non-volatile data in the OTP program memory or external serial EEPROM such as the 25LC040. Engineers requiring byte-erasable data storage must add an external serial EEPROM.

Engineering reference data for PIC16C58B-20E/SO β€” comparison, design guidance, and compliance information.

Selection Guide

Choose PIC16C58B-20E/SO when you need a 20 MHz, 3 KB OTP 8-bit MCU in the 18-pin SOIC footprint with -40 C to +125 C extended temperature operation - ideal for automotive body electronics, appliance controls, and industrial sub-modules. Pick PIC16C58B-20/SO if your application stays within 0-70 C commercial range and you want slightly lower cost. Select PIC16C58B-04/SO when 4 MHz instruction rate is sufficient and you want the cheapest same-footprint option. For new designs, consider migrating to a flash-based PIC16F1xxx family because OTP parts cannot be re-programmed during development, but bear in mind the pinout and instruction-set migration cost.

Comparison with Alternatives

Parameter This Product PIC16C58B-20/SO PIC16C58B-04/SO PIC16C58B-20I/SO PIC16C57C-20/SO PIC16C56A-20/SO
Package 18-pin SOIC (SO) 18-pin SOIC (SO) - same 18-pin SOIC (SO) - same 18-pin SOIC (SO) - same 18-pin SOIC (SO) - same 18-pin SOIC (SO) - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Maximum Clock Speed 20 MHz 20 MHz 4 MHz 20 MHz 20 MHz 20 MHz
Program Memory 3 KB OTP 3 KB OTP 3 KB OTP 3 KB OTP 2 KB OTP 1 KB OTP
RAM Size 73 bytes 73 bytes 73 bytes 73 bytes 72 bytes 25 bytes
I/O Pins 12 12 12 12 20 12
Operating Temperature -40 C to +125 C (E) 0 C to +70 C 0 C to +70 C -40 C to +85 C 0 C to +70 C 0 C to +70 C
Supply Voltage 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V 4.5 V to 5.5 V
Approx. Unit Price (qty 1) $3.45 $3.30 $3.20 $3.50 $3.10 $2.95

Key Differentiators

  • Extended -40 C to +125 C temperature range (vs PIC16C58B-20/SO)
  • Highest-speed variant in the PIC16C58B family (vs PIC16C58B-04/SO)
  • Largest program memory in the PIC16C5X family (vs PIC16C56A-20/SO)

Design Notes

Estimated: at VDD=5.0 V and 20 MHz clock, the PIC16C58B-20E/SO draws roughly 15-20 mA active, giving <100 mW dissipation. Place a 100 nF decoupling capacitor as close as possible to the VDD pin and add a 10 uF bulk capacitor near the regulator. The MCLR pin must be pulled to VDD through a 10 kohm resistor with a 100 nF capacitor to ground for proper reset behavior, as required by the Microchip PIC16C5X datasheet.

Keep oscillator traces short and surround them with a ground pour to minimize EMI pickup. For HS mode at 20 MHz, use a fundamental-mode crystal with load capacitors matched to the crystal's specified load capacitance (typically 15-33 pF). Route the OSC1/OSC2 traces symmetrically and avoid running digital signal traces beneath the oscillator area. Place the decoupling capacitor within 3 mm of the VDD pin and provide a low-impedance ground return path.

Do not substitute the PIC16C58B-20E/SO with PIC16F-series flash parts without redesigning the PCB - the pinouts differ on packages other than the 18-pin SOIC. Always verify the temperature grade letter in the suffix (C=commercial, I=industrial, E=extended) against the deployment environment. Code-protect the OTP program memory before mass production to prevent firmware cloning. Also note that the PIC16C5X family has no on-chip debugger interface - use a windowed JW package for development iterations and switch to OTP/SOIC for production.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS and lead-free compliant per Microchip product page. Not AEC-Q100 qualified - the E temperature grade is extended industrial, not automotive-qualified.

Data verified on: 2026-09-17 β€” data verified and curated by XAIPART's component engineering team

Related Searches

PIC16C58B-20E/SO datasheet PIC16C58B-20E/SO price PIC16C58B-20E/SO pinout PIC16C58B-20E/SO replacement PIC16C58B-20E/SO SOIC-18 20MHz 8-bit MCU PIC16C58B-20E/SO Microchip OTP microcontroller PIC16C58B-20E/SO vs PIC16C58B-20/SO PIC16C58B-20E/SO industrial automotive buy PIC16C58B-20E/SO in stock what is the program memory of PIC16C58B-20E/SO PIC16C58B-20E/SO lead time distributor PIC16C5X family SOIC-18 drop-in

Related Components & Terms

Microchip Technology PIC16C58B PIC16C58B-20E/SO PIC16C58B-20/SO PIC16C58B-04/SO PIC16C58B-20I/SO PIC16C57C-20/SO PIC16C56A-20/SO PIC16C5X 8-bit microcontroller RISC architecture Harvard bus OTP EPROM SOIC-18 PIC16F84A ROHS REACH AEC-Q100 MCLR HS oscillator industrial temperature grade extended temperature grade embedded control
Quick Quote RFQ
Fill in complete details β€” our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
βœ“
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details