main
Ray Set visibility: public 9b12acc 5d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "attiny2313-20su",
  "title": "ATTINY2313-20SU",
  "brief": "Microchip Tech MICROCHIP, SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "attiny2313-20su",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "ATTINY2313-20SU",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-20-300mil",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "MICROCHIP",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/b65c5e6192cbaa70ba8431476a09cbcb.pdf",
    "parts": {
      "symbol": "attiny2313-20su.kicad_sym",
      "footprint": "attiny2313-20su.kicad_mod",
      "model_3d": "attiny2313-20su-hero.glb",
      "model_3d_plain": "attiny2313-20su-etched.glb",
      "model_3d_step": "attiny2313-20su-etched.step",
      "model_3d_step_plain": "attiny2313-20su.step",
      "lbr": "attiny2313-20su.lbr"
    },
    "distributor_links": {
      "lcsc": "C614918",
      "digikey": "ATTINY2313-20SU-ND",
      "mouser": "556-ATTINY2313-20SU"
    },
    "distributor_check": {
      "checked_at": "2026-10-30T22:32:44Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATTINY2313-20SU-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "556-ATTINY2313-20SU",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA2",
        "type": "bidirectional",
        "description": "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)."
      },
      {
        "number": "2",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 with selectable internal pull-up, alternate function USART receive data (RXD); tri-stated during reset."
      },
      {
        "number": "3",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 with selectable internal pull-up, alternate function USART transmit data (TXD); tri-stated during reset."
      },
      {
        "number": "4",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A bit 1 with internal pull-up, alternate function XTAL2, the output from the inverting oscillator amplifier."
      },
      {
        "number": "5",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A bit 0 with internal pull-up, alternate function XTAL1, the input to the inverting oscillator amplifier and internal clock operating circuit."
      },
      {
        "number": "6",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 with selectable internal pull-up, alternate functions clock output (CKOUT), USART external clock (XCK) and external interrupt 0 (INT0)."
      },
      {
        "number": "7",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 with selectable internal pull-up, alternate function external interrupt 1 (INT1)."
      },
      {
        "number": "8",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 with selectable internal pull-up, alternate function Timer/Counter0 external clock input (T0)."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 with selectable internal pull-up, alternate functions Timer/Counter0 compare output B (OC0B) and Timer/Counter1 clock input (T1)."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "11",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 with selectable internal pull-up, alternate function Timer/Counter1 input capture (ICP)."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 with selectable internal pull-up, alternate functions analog comparator positive input (AIN0) and pin change interrupt 0 (PCINT0)."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 with selectable internal pull-up, alternate functions analog comparator negative input (AIN1) and pin change interrupt 1 (PCINT1)."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 with selectable internal pull-up, alternate functions Timer/Counter0 compare output A (OC0A) and pin change interrupt 2 (PCINT2)."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 with selectable internal pull-up, alternate functions Timer/Counter1 compare output A (OC1A) and pin change interrupt 3 (PCINT3)."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 with selectable internal pull-up, alternate functions Timer/Counter1 compare output B (OC1B) and pin change interrupt 4 (PCINT4)."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "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)."
      },
      {
        "number": "18",
        "name": "PB6",
        "type": "bidirectional",
        "description": "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)."
      },
      {
        "number": "19",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 with selectable internal pull-up, alternate functions USI clock (UCSK), USI TWI clock (SCL) and pin change interrupt 7 (PCINT7)."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, 2.7 - 5.5V for the ATtiny2313 (20 MHz grade at 4.5 - 5.5V)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The 20S SOIC package drawing on page 13 has no extractable text. The pin numbering comes from the sh; PA2/RESET/dW is typed bidirectional because it is a Port A pin. RESET is an alternate function of th; Alternate-function descriptions for the port pins are taken from the pin names in Figure 1. The deta"
        ],
        "pages_sent": 20,
        "cost_usd": 0.1257,
        "at": "2026-10-30T22:32:29"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/b65c5e6192cbaa70ba8431476a09cbcb.pdf",
        "pages": 20,
        "sha256": "58e0da31f6bd7b97",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "attiny2313-20su.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          12.8,
          2.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "59a10b341e6972b31d81802a048060326da627d8b92dcf4263064f4f62ec808e",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "attiny2313-20su-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          10.3,
          12.8,
          2.75
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "3e35f52b4640ddbea85c4283488b6c7cd7b2c2c6a835910fe449b218dd217615",
        "checked": "2026-10-30",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "SOIC-20-300mil",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "58e0da31f6bd7b974d427dcaf303b3ab2eb4f5e74bc9e505445a5cb61c80c887",
      "rows": [
        {
          "name": "Operating supply voltage",
          "symbol": "VCC",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.7,
          "typ": null,
          "max": 5.5,
          "conditions": "ATtiny2313 (non-V)",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature range",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Industrial",
          "source_page": 11,
          "source": "datasheet"
        },
        {
          "name": "Clock frequency",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 10,
          "conditions": "2.7 – 5.5V",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Clock frequency",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 20,
          "conditions": "4.5 – 5.5V",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "EEPROM write voltage (Rev B erratum)",
          "symbol": "VCC",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.9,
          "typ": null,
          "max": null,
          "conditions": "Do not write EEPROM below 1.9 V (Rev B)",
          "source_page": 15,
          "source": "datasheet"
        },
        {
          "name": "Flash write/erase endurance",
          "symbol": "",
          "kind": "electrical",
          "unit": "cycles",
          "min": null,
          "typ": 10000,
          "max": null,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "EEPROM write/erase endurance",
          "symbol": "",
          "kind": "electrical",
          "unit": "cycles",
          "min": null,
          "typ": 100000,
          "max": null,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Active mode current",
          "symbol": "",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 230,
          "max": null,
          "conditions": "1 MHz, 1.8V",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Power-down mode current",
          "symbol": "",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 0.1,
          "max": null,
          "conditions": "at 1.8V (printed as < 0.1)",
          "source_page": 1,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "attiny2313-20su"
  ],
  "discovery_pitch": "ATTINY2313-20SU (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "attiny2313-20su.kicad_sym",
    "attiny2313-20su.kicad_mod",
    "attiny2313-20su.glb",
    "attiny2313-20su.step",
    "attiny2313-20su.lbr",
    "docs/hero.png",
    "docs/attiny2313-20su-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "attiny2313-20su-hero.glb",
    "attiny2313-20su-hero.overlay.json",
    "attiny2313-20su-etched.glb"
  ],
  "visibility": {
    "public": true
  }
}