main
Ray Publish 0.1.0 a662d19 9h ago
{
  "slug": "attiny4313-pu",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), PDIP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "attiny4313-pu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "attiny4313-pu.kicad_sym",
    "attiny4313-pu.kicad_mod",
    "attiny4313-pu.glb",
    "attiny4313-pu.step",
    "attiny4313-pu.lbr",
    "docs/hero.png",
    "docs/attiny4313-pu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "attiny4313-pu-hero.glb",
    "attiny4313-pu-hero.overlay.json",
    "attiny4313-pu-etched.glb"
  ],
  "component": {
    "mpn": "ATTINY4313-PU",
    "manufacturer": "Microchip Tech",
    "package": "PDIP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/12c62af36aeb1d721fbca47c98b5f1b6.pdf",
    "parts": {
      "symbol": "attiny4313-pu.kicad_sym",
      "footprint": "attiny4313-pu.kicad_mod",
      "model_3d": "attiny4313-pu-hero.glb",
      "model_3d_plain": "attiny4313-pu-etched.glb",
      "model_3d_step": "attiny4313-pu-etched.step",
      "model_3d_step_plain": "attiny4313-pu.step",
      "lbr": "attiny4313-pu.lbr"
    },
    "distributor_links": {
      "lcsc": "C613486",
      "digikey": "ATTINY4313-PU-ND",
      "mouser": "556-ATTINY4313-PU"
    },
    "distributor_check": {
      "checked_at": "2026-10-26T18:48:06Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATTINY4313-PU-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "556-ATTINY4313-PU",
        "status": "found",
        "lifecycle": "Not Recommended for New Designs"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A bit 2 with PCINT10, also active-low reset input (a low level longer than the minimum pulse length resets the device) and debugWIRE; use as I/O by programming the RSTDISBL fuse."
      },
      {
        "number": "2",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 bi-directional I/O with internal pull-up, alternate functions RXD and PCINT11."
      },
      {
        "number": "3",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 bi-directional I/O with internal pull-up, alternate functions TXD and PCINT12."
      },
      {
        "number": "4",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A bit 1 I/O with PCINT9, alternate function XTAL2 as output from the inverting oscillator amplifier."
      },
      {
        "number": "5",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A bit 0 I/O with PCINT8, alternate function XTAL1/CLKI as input to the inverting oscillator amplifier and internal clock circuit."
      },
      {
        "number": "6",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 bi-directional I/O with internal pull-up, alternate functions CKOUT, XCK, INT0 and PCINT13."
      },
      {
        "number": "7",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 bi-directional I/O with internal pull-up, alternate functions INT1 and PCINT14."
      },
      {
        "number": "8",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 bi-directional I/O with internal pull-up, alternate functions T0 and PCINT15."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 bi-directional I/O with internal pull-up, alternate functions OC0B, T1 and PCINT16."
      },
      {
        "number": "10",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "11",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 bi-directional I/O with internal pull-up, alternate functions ICPI and PCINT17."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 bi-directional I/O with internal pull-up, alternate functions AIN0 and PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 bi-directional I/O with internal pull-up, alternate functions AIN1 and PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 bi-directional I/O with internal pull-up, alternate functions OC0A and PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 bi-directional I/O with internal pull-up, alternate functions OC1A and PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 bi-directional I/O with internal pull-up, alternate functions OC1B and PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 bi-directional I/O with internal pull-up, alternate functions MOSI, DI, SDA and PCINT5."
      },
      {
        "number": "18",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 bi-directional I/O with internal pull-up, alternate functions MISO, DO and PCINT6."
      },
      {
        "number": "19",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 bi-directional I/O with internal pull-up, alternate functions USCK, SCL, SCK and PCINT7."
      },
      {
        "number": "20",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, 1.8 to 5.5 V."
      }
    ],
    "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: Pin 1 (PA2/RESET/dW) typed bidirectional because it can be I/O or debugWIRE; it is a reset input by "
        ],
        "pages_sent": 22,
        "cost_usd": 0.1957,
        "at": "2026-10-26T18:47:47"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/12c62af36aeb1d721fbca47c98b5f1b6.pdf",
        "pages": 22,
        "sha256": "40038ab6257b67fe",
        "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-pu.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "ca359c9b9e0ce94efcb6c96866513f659eef6517d629ace3c4a0a779f6fd57bb",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "attiny4313-pu-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "body on z = 0, through-hole leads below",
        "extents_mm": [
          7.874,
          26.162,
          6.98
        ],
        "zmin_mm": -3.3,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "58e47a8c62abed04524acd8feca9fdc63653077a15220a3e33b3225feb221b67",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}