PIC16C58B-04E/SO - 8-bit 4MHz 3KB EPROM MCU SOIC-18 | Microchip
MPN: PIC16C58B-04E/SO ✗ End of Life| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $2.78 | $2.78 |
| 10 | $2.5 | $25.00 |
| 100 | $2.1 | $210.00 |
| 500 | $1.78 | $890.00 |
| 1,000 | $1.49 | $1,490.00 |
PIC16C58B-04E/SO Overview
An 8-bit PIC microcontroller is a low-cost, fully-static CMOS processor that fetches 12-bit-wide instructions from on-chip program memory and executes them in a single instruction cycle through a RISC pipeline. It belongs to the broader family of embedded microcontrollers, which sit below microprocessors in complexity but above discrete logic in integration, providing on-chip program memory, data RAM, I/O, and a timer in a single chip. The PIC16C5X architecture uses a 12-bit instruction word that yields a typical 2:1 code compression versus competitors in its class, allowing the same source program to fit in roughly half the program memory compared with traditional 8-bit CISC architectures.
Key features of the PIC16C58B-04E/SO include 33 single-word/single-cycle instructions, a hardware 8-bit timer/counter (TMR0) with optional programmable prescaler, a watchdog timer with its own on-chip RC oscillator for reliable reset, power-on reset, brown-out detection via the power-up timer, and an in-circuit serial programming capability through the RB6/RB7 pins on selected package variants. Sleep mode with wake-on-pin-change provides microamp-level standby current, and the device's fully static design allows the oscillator to be stopped without losing internal state.
In typical embedded applications the PIC16C58B-04E/SO is used to read buttons or sensors, drive LEDs or relays, and implement low-speed serial protocols through software bit-banging. Its compact footprint, OTP programmability, and extended temperature range suit it for automotive body modules, appliance control boards, and industrial sensor interfaces where a small code footprint and predictable timing matter more than large memory or high I/O count.
When laying out a board for this part, place a 100 nF decoupling capacitor within 5 mm of the VDD pin and tie VSS through a low-impedance plane. Reserve RB6 and RB7 for in-circuit serial programming if you intend to reprogram the device after soldering, because the SOIC package has no debug header. Designers should keep total source current below 90 mA and sink current below 90 mA across all I/O to stay within package power-dissipation limits.
This page synthesizes distributor pricing snapshots, same-family drop-in alternatives, and practical design notes not found in the Microchip datasheet.
Drop-in alternatives for PIC16C58B-04E/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-04E/SO (same form factor and footprint) — differing in Instruction Set Size, Package, Program Memory Size, Timers, Watchdog Timer.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16C58B-04/SO
✅ Drop-In✓ In Stock
$1.88 / Unit
View Datasheet →PIC16C58BT-04E/SO
✅ Drop-In✓ In Stock
$1.72 / Unit
View Datasheet →PIC16C58B-04I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C58B-20E/SO
✅ Drop-In ⚠️ 参数待验证✓ In Stock
$1.85 / Unit
View Datasheet →PIC16C58B-10E/SO
✅ Drop-In ⚠️ 参数待验证📋 Reference alternative (not in catalog)
PIC16F57-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16C58B-04E/SO Maximum Ratings & Electrical Characteristics
| Architecture | PIC16C5X, 8-bit RISC |
| Program Memory Type | OTP EPROM |
| Program Memory Size | 3 KB (2K x 12 words) |
| Data RAM | 73 bytes |
| Maximum CPU Frequency | 4 MHz |
| Instruction Cycle Time | 250 ns |
| Instruction Set Size | 33 instructions, single-word, single-cycle |
| Operating Voltage (VDD) | 3.0 V to 5.5 V |
| I/O Pins | 12 (PORTA[5:0] + PORTB[7:4]) |
| Timers | 1 x 8-bit TMR0 with prescaler |
| Watchdog Timer | Yes, with dedicated on-chip RC oscillator |
| Brown-out Reset / Power-up Timer | Yes |
| Operating Temperature Range | -40 °C to +125 °C (extended industrial, 'E' suffix) |
| Package | 18-pin SOIC (SO), 7.50 mm body width |
| Mounting Type | Surface Mount |
PIC16C58B-04E/SO Pin Configuration
| Pin 1 | RA2 — Bidirectional I/O pin, PORTA bit 2 |
| Pin 2 | RA3 — Bidirectional I/O pin, PORTA bit 3 |
| Pin 3 | RA4/T0CKI — Bidirectional I/O pin / Timer0 clock input, PORTA bit 4 |
| Pin 4 | MCLR/VPP — Master clear reset (active low) / programming voltage input |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RB0/INT — Bidirectional I/O pin, PORTB bit 0 / external interrupt input |
| Pin 7 | RB1 — Bidirectional I/O pin, PORTB bit 1 |
| Pin 8 | RB2 — Bidirectional I/O pin, PORTB bit 2 |
| Pin 9 | RB3 — Bidirectional I/O pin, PORTB bit 3 |
| Pin 10 | RB4 — Bidirectional I/O pin, PORTB bit 4 |
| Pin 11 | RB5 — Bidirectional I/O pin, PORTB bit 5 |
| Pin 12 | RB6 — Bidirectional I/O pin, PORTB bit 6 / ICSP clock |
| Pin 13 | RB7 — Bidirectional I/O pin, PORTB bit 7 / ICSP data |
| Pin 14 | VDD — Positive supply voltage (3.0 V to 5.5 V) |
| Pin 15 | OSC2/CLKOUT — Oscillator crystal output / clock output FOSC/4 |
| Pin 16 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| Pin 17 | RA0 — Bidirectional I/O pin, PORTA bit 0 |
| Pin 18 | RA1 — Bidirectional I/O pin, PORTA bit 1 |
Typical Applications
PIC16C58B-04E/SO is suitable for 7 applications: Automotive Body Electronics (Rear Lighting and Wiper Control), White-Goods and Appliance Control Boards, Industrial Sensor Interface Modules, Battery-Operated Remote Controls and Key Fobs, LED Lighting Controllers and Display Drivers, Smart Toys and Consumer Gadgets, Educational and Hobbyist Projects.
Automotive Body Electronics (Rear Lighting and Wiper Control)
The PIC16C58B-04E/SO suits automotive body modules such as tail-light sequencing and intermittent wiper controllers that need an industrial-temperature OTP controller with deterministic timing. Its 4 MHz CPU delivers a 250 ns instruction cycle that is fast enough to bit-bang LIN slave responses and PWM dimming for LED tail clusters, while the 73-byte RAM comfortably holds a 30-entry state table. The extended -40 °C to +125 °C grade handles under-dash and under-hood thermal swings without derating, and the 18-SOIC footprint gives a small outline for placement inside a sealed lamp housing. Watchdog and brown-out reset keep the lamp controller recoverable from load-dump transients on the 12 V battery rail. Pair with a TLE4271 LDO for clean 5 V and a BTS432E2 high-side switch to drive the lamp loads.
Recommended
White-Goods and Appliance Control Boards
The PIC16C58B-04E/SO is a typical choice for washing-machine, dishwasher, and oven control boards that need a low-cost 8-bit MCU to scan a key matrix and drive relays plus a multiplexed LED or LCD indicator. Its 12 I/O pins split across PORTA and PORTB support an 8-button key matrix plus three relay drive lines and a buzzer, while the 8-bit TMR0 with prescaler gives the timing reference for debounce intervals and motor soft-start ramps. The 3 KB OTP EPROM fits mid-sized menu-handling and EEPROM-emulation routines, and the brown-out plus watchdog timers protect the controller during noisy compressor inrush events. Decoupling the VDD pin with a 100 nF ceramic within 5 mm keeps the controller immune to relay coil kickback. The PIC16F57-I/SO is the modern flash migration when design teams want to reuse firmware but eliminate the OTP programming step.
Recommended
Industrial Sensor Interface Modules
The PIC16C58B-04E/SO fits compact industrial sensor interface modules such as 4-20 mA loop-powered transmitters, photoelectric proximity switches, and low-cost encoder counters. The 4 MHz CPU and 250 ns cycle can service a software UART that delivers the HART or Modbus-RTU byte stream at 1200 to 19200 baud without hardware assistance, while the 12 I/O pins give one UART pin pair, two sensor inputs, and four discrete status LEDs. The 73-byte RAM is sufficient to buffer one full Modbus frame and a state machine for response construction. The extended -40 °C to +125 °C grade meets IEC 60068 cold-rolling and hot-shelf requirements for outdoor or factory-floor enclosures. Program the OTP once during calibration and the device provides a tamper-proof firmware path.
Recommended
Battery-Operated Remote Controls and Key Fobs
The PIC16C58B-04E/SO runs reliably in infrared or sub-GHz remote-control and key-fob designs where sleep current and deterministic wake-up matter more than raw throughput. Sleep mode with wake-on-pin-change brings quiescent current into the microamp range on the 3 V coin-cell supply, and the fully static core allows the oscillator to be stopped while preserving RAM and pin state. The 4 MHz CPU is more than adequate to scan a 16-button matrix, encode the transmit symbol, and drive an IR LED or a 433 MHz SAW transmitter. The 3 KB OTP EPROM stores button-mapping and rolling-code state machine code with 2:1 compression over CISC architectures. The extended temperature grade tolerates glove-compartment heat in summer. The same 18-SOIC footprint lets designers migrate to the PIC16F57-I/SO when field-update capability becomes a requirement.
Recommended
LED Lighting Controllers and Display Drivers
The PIC16C58B-04E/SO is a strong fit for small LED lighting controllers, RGB color-mixing strips, and 7-segment or 14-segment multiplexed displays that need deterministic PWM at audio or visual refresh rates. Its 4 MHz instruction cycle generates 8-bit PWM at a few kilohertz without hardware timer assistance, and the 12 I/O pins drive up to 11 LED channels with Charlieplexing or a 4-digit 7-segment display plus key scan. The 73-byte RAM holds the color lookup table and frame buffer for a 16-channel chase pattern, and the 3 KB OTP EPROM stores the color presets and fade curves. Brown-out and watchdog timers protect outdoor signage from supply transients and ESD-induced lockup. Decoupling VDD with a 100 nF capacitor within 5 mm keeps the analog PWM smooth even with high-side MOSFET switching nearby.
Recommended
Smart Toys and Consumer Gadgets
The PIC16C58B-04E/SO powers cost-sensitive consumer gadgets and smart-toy controllers where a single-chip 8-bit MCU with 12 I/O, OTP EPROM, and extended industrial temperature gives the best price-to-function balance. Its 4 MHz RISC core drives 33 single-cycle instructions, allowing low-latency servo control loops for animatronic toys, sound playback bit-banging, and capacitive-touch button scanning using the RB0/INT pin as a wake source. The 3 KB OTP EPROM secures the firmware against casual copying, a meaningful feature for branded toy IP, while the 73-byte RAM is sufficient for the playback buffer and 16-channel servo map. The 18-SOIC footprint supports a compact PCB that fits inside a 50 mm cube enclosure. Brown-out and watchdog timers keep battery-powered gadgets recoverable from brown-out events on a low-cost alkaline supply.
Recommended
Educational and Hobbyist Projects
The PIC16C58B-04E/SO is well known in classrooms, makerspaces, and hobby electronics for teaching the fundamentals of 8-bit embedded programming on the classic PIC16C5X instruction set. Its 33 single-word, single-cycle instructions make the assembly language approachable for beginners, and the 18-SOIC breakout footprint is easy to solder on a breadboard adapter or hand-routed perfboard. The 4 MHz instruction cycle is fast enough to demonstrate real-time multitasking without overwhelming beginners, and the 3 KB OTP EPROM enforces good version-control habits on student projects. Brown-out and watchdog timers teach power-management fundamentals, while the in-circuit serial programming pins teach low-pin-count ISP design. Migrate student projects to the PIC16F57-I/SO when instructors want to allow repeated reprogramming without a UV eraser.
Recommended
Recommended Products Summary
Engineering reference data for PIC16C58B-04E/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16C58B-04/SO | PIC16C58BT-04E/SO | PIC16C58B-04I/SO | PIC16C58B-20E/SO | PIC16C58B-10E/SO | PIC16F57-I/SO |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | SOIC-18 (7.50 mm) | SOIC-18 (7.50 mm) - same | SOIC-18 (7.50 mm) - same | SOIC-18 (7.50 mm) - same | SOIC-18 (7.50 mm) - same | SOIC-18 (7.50 mm) - same | SOIC-18 (7.50 mm) - same |
| Maximum CPU Frequency | 4 MHz | 4 MHz | 4 MHz | 4 MHz | 20 MHz | 10 MHz | 20 MHz |
| Instruction Cycle Time | 250 ns | 250 ns | 250 ns | 250 ns | 100 ns | 400 ns | 200 ns |
| Program Memory Type | OTP EPROM, 3 KB | OTP EPROM, 3 KB | OTP EPROM, 3 KB | OTP EPROM, 3 KB | OTP EPROM, 3 KB | OTP EPROM, 3 KB | Flash, 3 KB |
| Data RAM | 73 bytes | 73 bytes | 73 bytes | 73 bytes | 73 bytes | 73 bytes | 72 bytes |
| I/O Pins | 12 | 12 | 12 | 12 | 12 | 12 | 12 |
| Operating Temperature Range | -40 °C to +125 °C (E grade) | 0 °C to +70 °C | -40 °C to +125 °C (E grade) | -40 °C to +85 °C (I grade) | -40 °C to +125 °C (E grade) | -40 °C to +125 °C (E grade) | -40 °C to +85 °C (I grade) |
| Operating Voltage | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 3.0 V to 5.5 V | 2.0 V to 5.5 V |
Key Differentiators
- Extended industrial temperature grade covers automotive under-hood and outdoor enclosures (vs PIC16C58B-04/SO)
- Modern flash-based migration path in the same 18-SOIC footprint (vs PIC16F57-I/SO)
- Higher CPU clocking headroom in the same 18-SOIC footprint (vs PIC16C58B-04/SO)
Design Notes
Place a 100 nF ceramic decoupling capacitor within 5 mm of the VDD pin and a bulk 10 µF tantalum or aluminum capacitor at the regulator output. The PIC16C58B-04E/SO core draws roughly 2 mA at 4 MHz and 5 V with all I/O active, but peaks above 20 mA when RA and RB ports drive external loads. Brown-out reset triggers below approximately 2.5 V, so ensure the regulator stays above 3.0 V at minimum load. Avoid sharing VDD with high-current inductive loads on the same trace.
Do not assume the /04 speed suffix implies operation only at 4 MHz crystals; the core is fully static and can run from 32 kHz to 4 MHz. Do not exceed 90 mA combined source current or 90 mA sink current across all I/O pins simultaneously, because the SOIC package cannot dissipate more than roughly 800 mW at 70 °C ambient. RB6 and RB7 share the ICSP clock and data lines, so any external pull-up stronger than 10 kΩ will interfere with in-circuit serial programming.
Lay out the 18-SOIC land pattern per IPC-7351 with 0.5 mm pitch and 1.27 mm pad width. Keep crystal traces shorter than 10 mm and place the load capacitors within 5 mm of OSC1 and OSC2 to minimize EMI and reduce oscillator startup time. Route RA and RB pin traces away from relay and motor-drive traces to avoid injecting switching noise into the I/O sampling window. If the design exposes the SOIC to hand-solder rework, choose a NiPdAu finish to prevent solder leaching during multiple rework cycles.
Estimated: at 5 V VDD, 4 MHz oscillator, all 12 I/O driving 5 mA each into 50% duty cycle loads, total power dissipation is approximately 100 mW. The SOIC-18 has a theta-JA near 100 °C/W, giving a junction-to-ambient rise of about 10 °C. This is comfortably within the -40 °C to +125 °C operating range, but designers should derate if I/O drive is increased above 5 mA per pin or ambient exceeds 70 °C.
Reserve MCLR/VPP as a dedicated reset input with a 10 kΩ pull-up to VDD; do not share this pin with a digital input unless the input can tolerate the high-voltage programming pulse during ICSP. Connect MCLR directly to the programming header through a 100 Ω series resistor to limit inrush during in-circuit programming. Tie the VSS pin to a low-impedance ground plane and avoid splitting the ground plane between analog and digital returns because the PIC16C5X family has no separate analog ground.
Compliance Information
RoHS and lead-free status not stated in the verified distributor listings; because this is an obsolete part shipped from legacy stock, the original Microchip part number predates universal RoHS compliance and many lots are lead-finished. Confirm RoHS status with the supplier before placing production orders for RoHS-restricted markets.