ATTINY2313-20PU

8-bit AVR microcontroller from Microchip in a DIP-20 package, with 2KB flash program memory, 18 I/O pins and a 20MHz top speed. Used as a small controller for simple embedded tasks.

AVR 8 Bit 20MHz DIP-20 Microcontrollers RoHS

Maker
MICROCHIP
Package
DIP-20
Category
ICs
Pins
20
Number of I/O
18
Operating Temperature
-40℃~+85℃
Voltage - Supply
2.7V~5.5V
CPU Maximum Speed
20MHz
Datasheet checked
Nov 28, 2026
Used in
0 open boards
LCSC
C152178

Price at LCSC

QuantityEach
1+$2.5732
10+$2.5130
30+$2.4739
100+$2.4332

LCSC C152178, as of Nov 27, 2026, 4 in stock then. Prices change daily; see today's on LCSC.

ATTINY2313-20PU symbol, 20 pins1PA2(/RESET)2(RXD)PD03(TXD)PD14PA1(XTAL2)5PA0(XTAL1)6(INT0)PD27(INT1)PD38(T0)PD49(T1)PD510GND20VCC19(UCSK)PB718(MISO)PB617(MOSI)PB516(OC1B)PB415(OC1A)PB314(OC0A)PB213(AIN1)PB112(AIN0)PB011(ICP)PD6

Symbol

20 pins, drawn from its pin list

ATTINY2313-20PU footprint, 20 pads, top view1234567891011121314151617181920

Footprint

20 pads, top view, from Package_DIP:DIP-20_W7.62mm

ATTINY2313-20PU, 3D model: KiCad library (Package_DIP/DIP-20_W7.62mm), CC BY-SA 4.0

3D model

3D model: KiCad library (Package_DIP/DIP-20_W7.62mm), CC BY-SA 4.0Download 3D model (STEP, 624 KB)

Datasheet
Checked
Use it in a board

ATTINY2313-20PU specifications

As LCSC lists them for C152178 (ATTINY2313-20PU, MICROCHIP), read Nov 27, 2026.

Number of I/O
18
Operating Temperature
-40℃~+85℃
Voltage - Supply
2.7V~5.5V
Program Memory Type
FLASH
Program Storage Size
2KB
EEPROM
128Byte
CPU Core
AVR
Core Size
8 Bit
CPU Maximum Speed
20MHz
Oscillator Type
Built-in
Lifecycle
normal
RoHS
Compliant

ATTINY2313-20PU pinout

20 pins, as the symbol and the footprint pair them.

PinNameType
1PA2(/RESET)Input
2(RXD)PD0Input/output
3(TXD)PD1Input/output
4PA1(XTAL2)Input/output
5PA0(XTAL1)Input/output
6(INT0)PD2Input/output
7(INT1)PD3Input/output
8(T0)PD4Input/output
9(T1)PD5Input/output
10GNDGround
11(ICP)PD6Input/output
12(AIN0)PB0Input/output
13(AIN1)PB1Input/output
14(OC0A)PB2Input/output
15(OC1A)PB3Input/output
16(OC1B)PB4Input/output
17(MOSI)PB5Input/output
18(MISO)PB6Input/output
19(UCSK)PB7Input/output
20VCCpower_in

Symbol, footprint and 3D model of the ATTINY2313-20PU

Where each came from and under which licence

What the open-source boards that use it drew it with, where each came from and under which licence.

Symbol
From the schematic of alohr/avr at 60f531a (avr-6:TINY2313*:-*P*).
Licence: no licence stated: shown with credit, not offered as a download · medium confidence
Footprint
From KiCad's library, Package_DIP:DIP-20_W7.62mm.
Licence: CC-BY-SA-4.0 · high confidence
3D model
From KiCad's library, Package_DIP:DIP-20_W7.62mm.
Licence: CC-BY-SA-4.0 · high confidence

Not offered as a download: the licence of one of these pieces (or its absence) doesn't allow passing it on. The pinout and footprint above are shown with credit.

Put the ATTINY2313-20PU in a board.

Describe the board; Cherry Blossom picks the parts, wires the schematic, lays out the PCB and checks it.

By signing up, you agree to our Terms of Service and Privacy Policy.