EmbeddedRelated.com
The 2026 Embedded Online Conference
ATTINY2313A-PU

MCHPATTINY2313A-PU

Microchip Technology
AVR AVR® ATtiny Microcontroller IC 8-Bit 20MHz 2KB (1K x 16) FLASH 20-PDIP
NRND9,673 in stock

Overview

The ATTINY2313A-PU is a high-performance, low-power 8-bit AVR RISC-based microcontroller featuring 2KB of ISP Flash and 128 bytes of EEPROM. Operating at speeds up to 20MHz, this 20-pin PDIP device provides a compact solution for simple logic replacement and legacy system interfacing where a through-hole footprint is required.

Why Choose This Part

The 20-PDIP package makes this part ideal for hand-soldering and prototyping without a breakout board. It offers a balanced feature set including 18 I/O pins and a hardware USART, which is uncommon for such a small memory footprint device.

Applications

Legacy Logic Replacement
Replacing multiple discrete 74-series logic ICs with a single programmable controller to reduce PCB footprint.
Peripheral Interface Bridging
Acting as a protocol translator between UART, SPI, and I2C devices in industrial or hobbyist systems.
User Interface Control
Managing simple LED displays, button matrix scanning, and buzzer PWM signals in consumer appliances.
Educational Prototyping
Providing an accessible, through-hole AVR target for learning assembly or C programming on a breadboard.

Key Specifications

Speed 20MHz
RAM Size 128 x 8
Core Size 8-Bit
EEPROM Size 128 x 8
Peripherals Brown-out Detect/Reset, POR, PWM, WDT
Connectivity I2C, SPI, UART/USART
Mounting Type Through Hole
Number of I/O 18
Core Processor AVR
Package / Case 20-DIP (0.300", 7.62mm)
Oscillator Type Internal
Program Memory Size 2KB (1K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 20-PDIP
Voltage - Supply (Vcc/Vdd) 1.8V ~ 5.5V

Getting Started

Develop using the Microchip Studio IDE or the AVR-GCC toolchain. Program the device via the SPI interface using an AVRISP mkII or similar ISP programmer, or utilize the on-chip debugWIRE system for real-time debugging.

Also Consider

ATmega328P-PU MCHPMicrochip Technology - Offers significantly more Flash (32KB) and RAM (2KB) in a similar through-hole PDIP package for more complex applications.
ATtiny4313-PU MCHPMicrochip Technology - A pin-compatible upgrade that doubles the Flash memory to 4KB while maintaining the same 20-pin layout.
ATtiny85-20PU MCHPMicrochip Technology - Provides a smaller 8-pin PDIP footprint for extremely space-constrained through-hole designs that require fewer I/O pins.
The 2026 Embedded Online Conference