EmbeddedRelated.com
The 2026 Embedded Online Conference
ATTINY2313-20PU

MCHPATTINY2313-20PU

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

Overview

The ATTINY2313-20PU is a high-performance, low-power 8-bit AVR RISC-based microcontroller featuring 2KB of flash memory and 128 bytes of EEPROM. Its 20-pin PDIP package makes it a staple for through-hole prototyping and legacy system maintenance where a high I/O-to-memory ratio is required.

Why Choose This Part

The 20-pin PDIP form factor is ideal for rapid breadboarding and socketed applications. It offers a robust set of peripherals, including a hardware USART and an analog comparator, despite its small 2KB flash footprint.

Applications

Legacy System Retrofitting
Replacing discontinued or older 8051-style microcontrollers in existing through-hole PCB designs.
Interface Bridging
Utilizing the full-duplex USART and USI for translating data between different serial communication protocols.
Educational Prototyping
Serving as an accessible entry point for learning register-level AVR programming on breadboards without surface-mount soldering.
Simple Motor Controllers
Managing small DC motors or servos using its onboard timers and PWM capabilities in space-constrained enclosures.

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 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) 2.7V ~ 5.5V

Getting Started

Development typically involves the Microchip Studio IDE and a hardware programmer like the MPLAB PICkit 5 or AVRISP mkII. The chip is also compatible with the Arduino IDE using the ATtiny Modern core for simplified software development.

Also Consider

ATMEGA328P-PU MCHPMicrochip Technology - Offers significantly more memory (32KB Flash) and integrated ADC channels in a slightly larger 28-pin PDIP package.
The 2026 Embedded Online Conference