main
Ray Publish 0.1.0 6fa13f7 14d ago
{
  "slug": "attiny4313-su",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Global Sourcing Parts, SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "global sourcing parts",
    "attiny4313-su",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "attiny4313-su.kicad_sym",
    "attiny4313-su.kicad_mod",
    "attiny4313-su.glb",
    "attiny4313-su.step",
    "attiny4313-su.lbr",
    "docs/hero.png",
    "docs/attiny4313-su-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "attiny4313-su-hero.glb",
    "attiny4313-su-hero.overlay.json",
    "attiny4313-su-etched.glb"
  ],
  "component": {
    "mpn": "ATTINY4313-SU",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-20-300mil",
    "pin_count": 20,
    "category": "Global Sourcing Parts",
    "subcategory": "Global Sourcing Parts",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882158479937536",
    "parts": {
      "symbol": "attiny4313-su.kicad_sym",
      "footprint": "attiny4313-su.kicad_mod",
      "model_3d": "attiny4313-su-hero.glb",
      "model_3d_plain": "attiny4313-su-etched.glb",
      "model_3d_step": "attiny4313-su-etched.step",
      "model_3d_step_plain": "attiny4313-su.step",
      "lbr": "attiny4313-su.lbr"
    },
    "distributor_links": {
      "lcsc": "C72467",
      "digikey": "ATTINY4313-SU-ND",
      "mouser": "556-ATTINY4313-SU"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T09:14:44Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATTINY4313-SU-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "556-ATTINY4313-SU",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA2 (RESET/dW/PCINT10)",
        "type": "bidirectional",
        "description": "Port A bit 2 is a bi-directional I/O pin with internal pull-up, tri-stated when reset is active; it doubles as the active-low RESET input unless the RSTDISBL fuse is programmed, and as debugWIRE (dW)."
      },
      {
        "number": "2",
        "name": "PD0 (RXD/PCINT11)",
        "type": "bidirectional",
        "description": "Port D bit 0 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the RXD (USART receive) alternate function."
      },
      {
        "number": "3",
        "name": "PD1 (TXD/PCINT12)",
        "type": "bidirectional",
        "description": "Port D bit 1 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the TXD (USART transmit) alternate function."
      },
      {
        "number": "4",
        "name": "PA1/XTAL2/PCINT9",
        "type": "bidirectional",
        "description": "Port A bit 1 is a bi-directional I/O pin with internal pull-up, tri-stated when reset is active, and it serves as XTAL2, the output from the inverting oscillator amplifier."
      },
      {
        "number": "5",
        "name": "PA0 (XTAL1/CLKI/PCINT8)",
        "type": "bidirectional",
        "description": "Port A bit 0 is a bi-directional I/O pin with internal pull-up, tri-stated when reset is active, and it serves as XTAL1, the input to the inverting oscillator amplifier and internal clock circuit."
      },
      {
        "number": "6",
        "name": "PD2 (INT0/XCK/CKOUT/PCINT13)",
        "type": "bidirectional",
        "description": "Port D bit 2 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the CKOUT, XCK and INT0 alternate functions shown in Figure 1-1."
      },
      {
        "number": "7",
        "name": "PD3 (INT1/PCINT14)",
        "type": "bidirectional",
        "description": "Port D bit 3 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the INT1 external interrupt alternate function."
      },
      {
        "number": "8",
        "name": "PD4/T0/PCINT15",
        "type": "bidirectional",
        "description": "Port D bit 4 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the T0 Timer/Counter0 clock input alternate function."
      },
      {
        "number": "9",
        "name": "PD5 (T1/OC0B/PCINT16)",
        "type": "bidirectional",
        "description": "Port D bit 5 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the T1 and OC0B alternate functions shown in Figure 1-1."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "11",
        "name": "PD6 (ICP1/PCINT17)",
        "type": "bidirectional",
        "description": "Port D bit 6 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the ICP1 input capture alternate function."
      },
      {
        "number": "12",
        "name": "PB0 (AIN0/PCINT0)",
        "type": "bidirectional",
        "description": "Port B bit 0 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the AIN0 analog comparator positive input alternate function."
      },
      {
        "number": "13",
        "name": "PB1 (AIN1/PCINT1)",
        "type": "bidirectional",
        "description": "Port B bit 1 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the AIN1 analog comparator negative input alternate function."
      },
      {
        "number": "14",
        "name": "PB2 (OC0A/PCINT2)",
        "type": "bidirectional",
        "description": "Port B bit 2 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the OC0A Timer/Counter0 output compare alternate function."
      },
      {
        "number": "15",
        "name": "PB3 (OC1A/PCINT3)",
        "type": "bidirectional",
        "description": "Port B bit 3 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the OC1A Timer/Counter1 output compare alternate function."
      },
      {
        "number": "16",
        "name": "PB4 (OC1B/PCINT4)",
        "type": "bidirectional",
        "description": "Port B bit 4 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the OC1B Timer/Counter1 output compare alternate function."
      },
      {
        "number": "17",
        "name": "PB5 (MOSI/DI/SDA/PCINT5)",
        "type": "bidirectional",
        "description": "Port B bit 5 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the MOSI/DI/SDA alternate functions used for SPI and USI operation."
      },
      {
        "number": "18",
        "name": "PB6 (MISO/DO/PCINT6)",
        "type": "bidirectional",
        "description": "Port B bit 6 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the MISO/DO alternate function."
      },
      {
        "number": "19",
        "name": "PB7 (USCK/SCL/SCK/PCINT7)",
        "type": "bidirectional",
        "description": "Port B bit 7 is a bi-directional I/O pin with internal pull-up resistors, tri-stated when reset is active, and it carries the USCK/SCL/SCK alternate functions."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The pin-to-number mapping was reconstructed from the scrambled text extraction of Figure 1-1 (PDIP/S; Port pins that carry special functions are typed as bidirectional (KiCad class) because they are gen; The datasheet covers ATtiny2313A and ATtiny4313 together; the pinout is shared. Ordering information"
        ],
        "pages_sent": 60,
        "cost_usd": 0.2055,
        "at": "2026-10-20T09:14:27"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882158479937536",
        "pages": 274,
        "sha256": "2c4b584c9b0bc5cb",
        "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": "attiny4313-su.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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "59a10b341e6972b31d81802a048060326da627d8b92dcf4263064f4f62ec808e",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "attiny4313-su-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.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "68b639afd9f14109a5be7b0a63b62b617ff302ba7690ab0b789cd5a67ccdc769",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}