component
ATTINY2313-20SU
Public Made by Adomby adom
Microchip Tech MICROCHIP, SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
3D Model
Open in new tab ↗
Loads when you scroll to it. Unloads after 5 minutes in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
PCB Footprint
Open full view ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
Datasheet
Open in new tab ↗Loads when you scroll to it. Unloads after 5 minutes in the background.
README
markdownATTINY2313-20SU
Microchip Tech · MICROCHIP · SOIC-20-300mil
ATTINY2313-20SU from Microchip Tech, in a SOIC-20-300mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | PA2 | bidirectional | Port A bit 2 with internal pull-up, alternate function active-low RESET input (a low level longer than the minimum pulse length generates a reset, even if the clock is not running) and debugWIRE (dW). |
| 2 | PD0 | bidirectional | Port D bit 0 with selectable internal pull-up, alternate function USART receive data (RXD); tri-stated during reset. |
| 3 | PD1 | bidirectional | Port D bit 1 with selectable internal pull-up, alternate function USART transmit data (TXD); tri-stated during reset. |
| 4 | PA1 | bidirectional | Port A bit 1 with internal pull-up, alternate function XTAL2, the output from the inverting oscillator amplifier. |
| 5 | PA0 | bidirectional | Port A bit 0 with internal pull-up, alternate function XTAL1, the input to the inverting oscillator amplifier and internal clock operating circuit. |
| 6 | PD2 | bidirectional | Port D bit 2 with selectable internal pull-up, alternate functions clock output (CKOUT), USART external clock (XCK) and external interrupt 0 (INT0). |
| 7 | PD3 | bidirectional | Port D bit 3 with selectable internal pull-up, alternate function external interrupt 1 (INT1). |
| 8 | PD4 | bidirectional | Port D bit 4 with selectable internal pull-up, alternate function Timer/Counter0 external clock input (T0). |
| 9 | PD5 | bidirectional | Port D bit 5 with selectable internal pull-up, alternate functions Timer/Counter0 compare output B (OC0B) and Timer/Counter1 clock input (T1). |
| 10 | GND | power_in | Ground. |
| 11 | PD6 | bidirectional | Port D bit 6 with selectable internal pull-up, alternate function Timer/Counter1 input capture (ICP). |
| 12 | PB0 | bidirectional | Port B bit 0 with selectable internal pull-up, alternate functions analog comparator positive input (AIN0) and pin change interrupt 0 (PCINT0). |
| 13 | PB1 | bidirectional | Port B bit 1 with selectable internal pull-up, alternate functions analog comparator negative input (AIN1) and pin change interrupt 1 (PCINT1). |
| 14 | PB2 | bidirectional | Port B bit 2 with selectable internal pull-up, alternate functions Timer/Counter0 compare output A (OC0A) and pin change interrupt 2 (PCINT2). |
| 15 | PB3 | bidirectional | Port B bit 3 with selectable internal pull-up, alternate functions Timer/Counter1 compare output A (OC1A) and pin change interrupt 3 (PCINT3). |
| 16 | PB4 | bidirectional | Port B bit 4 with selectable internal pull-up, alternate functions Timer/Counter1 compare output B (OC1B) and pin change interrupt 4 (PCINT4). |
| 17 | PB5 | bidirectional | Port B bit 5 with selectable internal pull-up, alternate functions SPI programming data input (MOSI), USI data input (DI), USI TWI data (SDA) and pin change interrupt 5 (PCINT5). |
| 18 | PB6 | bidirectional | Port B bit 6 with selectable internal pull-up, alternate functions SPI programming data output (MISO), USI data output (DO) and pin change interrupt 6 (PCINT6). |
| 19 | PB7 | bidirectional | Port B bit 7 with selectable internal pull-up, alternate functions USI clock (UCSK), USI TWI clock (SCL) and pin change interrupt 7 (PCINT7). |
| 20 | VCC | power_in | Digital supply voltage, 2.7 - 5.5V for the ATtiny2313 (20 MHz grade at 4.5 - 5.5V). |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | Microchip Tech |
| Package | SOIC-20-300mil |
| Category | Embedded Processors & Controllers |
| Pins | 20 |
Electrical characteristics
Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).
| Parameter | Symbol | Min | Typ | Max | Unit | Conditions | Page |
|---|---|---|---|---|---|---|---|
| Operating supply voltage | VCC | 2.7 | 5.5 | V | ATtiny2313 (non-V) | 1 | |
| Operating temperature range | -40 | 85 | °C | Industrial | 11 | ||
| Clock frequency | 0 | 10 | MHz | 2.7, 5.5V | 1 | ||
| Clock frequency | 0 | 20 | MHz | 4.5, 5.5V | 1 | ||
| EEPROM write voltage (Rev B erratum) | VCC | 1.9 | V | Do not write EEPROM below 1.9 V (Rev B) | 15 | ||
| Flash write/erase endurance | 10000 | cycles | 1 | ||||
| EEPROM write/erase endurance | 100000 | cycles | 1 | ||||
| Active mode current | 230 | µA | 1 MHz, 1.8V | 1 | |||
| Power-down mode current | 0.1 | µA | at 1.8V (printed as < 0.1) | 1 |
CAD (KiCad official)
- Symbol:
ATTINY2313-20SU - Footprint:
Package_SO:SOIC-20W_7.5x12.8mm_P1.27mm - 3D model: SOIC-20-300mil (KiCad packages3D, STEP)
- 3D model files:
attiny2313-20su-etched.step/attiny2313-20su-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);attiny2313-20su.step/attiny2313-20su.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: Microchip Tech datasheet (20 pp, sha256
58e0da31f6bd7b97, retrieved 2026-10-30, tier: lcsc) - Extractor: parts-factory
2.0.0/extract_pins 0.3, primaryclaude-sonnet-5-5(text), consensusclaude-sonnet-5-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).