PIC16F913-E/SP - 8-Bit 20MHz Flash MCU | Microchip Technology
MPN: PIC16F913-E/SP ✓ ActivePIC16F913-E/SP Overview
A microcontroller is a programmable semiconductor that integrates a CPU core, memory, and peripherals on one device. The PIC16F913 belongs to the PIC16 family of 8-bit RISC microcontrollers and combines flash-program memory with a compact set of timers, communication interfaces, analog functions, and general-purpose I/O. This hierarchy places it within embedded processing and general-purpose microcontroller solutions used for control, measurement, and communication tasks.
The principal feature set includes 20 MHz maximum operation, 7 KB of flash program memory, 256 bytes of data RAM, and up to 24 general-purpose I/O in the 28-pin package. An internal oscillator removes the need for an external clock in designs that do not require an external timebase. The 2 V to 5.5 V operating range also supports both 3.3 V and 5 V systems when the connected peripherals and I/O levels match the supply voltage.
PIC16F913 devices use a compact 8-bit architecture with a 13-bit program counter capable of addressing a 4K x 14 program-memory space. Program words are wider than the 8-bit data path, allowing commonly used instruction sequences to be encoded efficiently. Flash memory supports in-circuit programming and repeated firmware updates, while the device family also supports Microchip development programming tools such as MPLAB PICkit 5.
Typical applications include industrial control panels, environmental monitoring, temperature measurement, small motor or relay controllers, and compact embedded instruments. Its combination of 24 I/O, 256 bytes of RAM, and flash memory is particularly useful when a product needs several discrete inputs, outputs, timers, and serial communication functions without using a higher-cost microcontroller platform.
The 28-pin SPDIP package is straightforward to assemble and inspect, making the device suitable for prototypes, controller products, and repair assemblies where through-hole mounting is preferred. PCB layout still requires the exact pin functions and decoupling recommendations from the manufacturer datasheet, and firmware should account for the device's dedicated programming and programming-mode pins when external circuitry is connected.
This product page combines the PIC16F913-E/SP specifications, verified distributor listings, a temperature-grade replacement option, package information, and application-focused engineering guidance. It also identifies the limitations of direct substitution: a replacement must retain the 28-pin footprint, 4K x 14 flash organization, peripheral mapping, voltage range, and required operating temperature rather than relying on family similarity alone.
Drop-in alternatives for PIC16F913-E/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 PIC16F913-E/SP (same form factor and footprint) — differing in Package, Mounting Type, Product Type, Temperature Grade.
PIC16F913-I/SP
✅ Drop-InContact for price
View Datasheet →PIC16F913-E/SP Maximum Ratings & Electrical Characteristics
| Product Type | 8-bit Flash PIC Microcontroller |
| Maximum Clock Frequency | 20 MHz |
| Program Memory Size | 7 KB (4K x 14 words) |
| Program Counter Width | 13 bits |
| RAM Size | 256 bytes |
| Number of I/O Lines | 24 |
| Operating Voltage Range | 2 V to 5.5 V |
| Oscillator Type | Internal |
| Architecture | 8-bit PIC16 RISC |
| Program Memory Type | Flash |
| Package | 28-pin SPDIP |
| Packaging | Tube |
| Temperature Grade | Extended temperature |
| RoHS Status | Compliant |
| Programming and Debug Tool | MPLAB PICkit 5 |
| Program Memory Address Range for PIC16F913 | 0x0000 to 0x0FFF |
| Architecture Instruction Execution | 200 ns |
| Number of Instructions | 35 single-word instructions |
PIC16F913-E/SP 28-pin spdip Pin Configuration Guide
Pin configuration for PIC16F913-E/SP (28-pin spdip package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.
No detailed pinout data available for PIC16F913-E/SP.
Refer to the datasheet for full pin configuration.
Typical Applications
PIC16F913-E/SP is suitable for 6 applications: Industrial Control Panels, Environmental Monitoring, Temperature Measurement Instruments, Relay and Small Motor Control, Embedded Data Acquisition, Consumer Accessory Controllers.
Industrial Control Panels
The PIC16F913-E/SP fits compact industrial control panels that combine discrete inputs, relay outputs, status indication, and local sequencing. Its 20 MHz processing rate supports responsive control logic, while 4K x 14 words of flash provide 7 KB for firmware and 256 bytes of RAM for immediate working variables. The 24 I/O lines provide substantial panel connectivity without an external I/O expander. Use the extended-temperature ordering when the enclosure can experience temperatures outside the industrial range, and design relay driver stages for isolation, current limits, and flyback protection.
Recommended
Environmental Monitoring
The PIC16F913-E/SP can coordinate temperature, humidity, and digital environmental sensors in a compact monitoring node. The internal oscillator and 20 MHz maximum speed are sufficient for periodic sensor acquisition, filtering, threshold evaluation, and local data logging, while 24 I/O lines support switches, indicators, and interface signals. Flash permits field-updatable firmware, and the 2 V to 5.5 V range supports common low-voltage sensor systems. The microcontroller should remain in a stable control loop with appropriate sensor-specific settling delays, debouncing, and protection from condensation or surge events.
Recommended
Temperature Measurement Instruments
The PIC16F913-E/SP is appropriate for handheld or panel-mounted temperature instruments requiring digital sensor inputs, a display interface, and configurable control outputs. Its 4K x 14-word flash space accommodates acquisition routines, calibration constants, filtering, and serial display communication, while 256 bytes of RAM supports intermediate measurements and status variables. At up to 20 MHz, the device can service timers and communication peripherals without slowing the measurement cycle. Design the analog front end separately and keep sensor excitation and signal paths away from switching nodes to preserve measurement stability.
Recommended
Relay and Small Motor Control
The PIC16F913-E/SP can implement sequencing and interlocks for relays, solenoids, and small motors where an 8-bit controller is sufficient. Its 24 available I/O lines allow inputs from switches and interlocks and outputs to driver transistors or motor-control circuits, while timers support pulse generation and timing functions. The 20 MHz maximum operating frequency provides additional margin for debouncing, state-machine execution, and diagnostics. External transistors, flyback diodes, current sensing, and mechanical stall protection remain necessary because the microcontroller pins cannot directly drive inductive loads.
Recommended
Embedded Data Acquisition
The PIC16F913-E/SP can serve as the local controller in a compact acquisition system that samples sensors, applies calibration, and forwards results through a serial interface. The 13-bit program counter addresses the full 4K x 14 flash region, and 256 bytes of RAM provides working space for sampled values and buffering. Its internal oscillator simplifies designs that do not require high-precision absolute timing, although crystal-based accuracy should be considered for long intervals or demanding measurements. Firmware must define acquisition timing, overflow handling, scaling, and communication framing within the available memory.
Recommended
Consumer Accessory Controllers
The PIC16F913-E/SP can control compact consumer accessories that combine buttons, indicators, sensors, and low-speed serial communication. Its 7 KB flash capacity is sufficient for embedded user-interface logic, and 24 I/O lines offer flexible connections to displays, keypads, and status LEDs. The operating range from 2 V to 5.5 V allows the controller to fit multiple supply architectures, although every connected interface must use compatible logic levels. A production design should also implement debounce, brownout behavior, ESD protection, and a defined bootloader or programming workflow for field updates.
Recommended
Recommended Products Summary
Engineering reference data for PIC16F913-E/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F913-I/SP |
|---|---|---|
| Package | 28-pin SPDIP | 28-pin SPDIP |
| Brand | Microchip Technology | Microchip Technology |
| Temperature Grade | Extended temperature | Industrial temperature |
| CPU Architecture | 8-bit PIC16 RISC | 8-bit PIC16 RISC |
| Maximum Clock Frequency | 20 MHz | 20 MHz |
| Program Memory | 7 KB (4K x 14 words) | 7 KB (4K x 14 words) |
| RAM | 256 bytes | 256 bytes |
| Number of I/O Lines | 24 | 24 |
| Operating Voltage | 2 V to 5.5 V | 2 V to 5.5 V |
| Oscillator Type | Internal | Internal |
| Programming Memory Type | Flash | Flash |
| Programming Tool Support | MPLAB PICkit 5 | MPLAB PICkit 5 |
Key Differentiators
- Extended-temperature ordering within the same 28-pin design (vs PIC16F913-I/SP)
- Pin-compatible temperature-grade migration (vs PIC16F913-I/SP)
- Consistent core resources across the verified option (vs PIC16F913-I/SP)
Design Notes
Route programming and clock-related pins exactly as specified in the package drawing, and place the required bypass capacitor close to the appropriate supply and ground pins. Because the PIC16F913-E/SP is a 28-pin SPDIP device, the through-hole footprint must match the row spacing and pin numbering of the selected package. Confirm that the PCB has adequate clearance for the programming connector and that exposed test points do not interfere with adjacent analog or switching circuitry.
Design the supply rail to remain within the 2 V to 5.5 V operating range, including startup, transient, and brownout conditions. Decoupling requirements and permissible ESR for the selected bypass capacitor should be taken from the manufacturer datasheet and capacitor characteristics. If the controller shares a rail with relays, motors, LEDs, or switching converters, include local filtering and separation so those loads cannot pull the MCU supply outside its operating limits.
Do not substitute another PIC16F913 package code without checking its footprint. The /SP suffix denotes the 28-pin SPDIP configuration, while other suffixes can use incompatible packages. A valid software-compatible substitution must also retain 4K x 14 flash organization, 256 bytes of RAM, adequate I/O mapping, the required voltage range, and a temperature grade that covers the system's worst-case operating temperature.
Keep firmware within the 4K x 14 program-memory address range and monitor RAM consumption before adding buffers or libraries. The 13-bit program counter addresses 0x0000 through 0x0FFF, so code exceeding that space will not fit. Reserve configuration words and bootloader space during project planning, and verify the final binary against the exact device variant selected for production.
Compliance Information
The LCSC product listing identifies the PIC16F913-E/SP as RoHS compliant. No additional REACH, lead-free, halogen-free, conflict-minerals, or automotive-qualification claims are established for this exact orderable device.