main
Ray Set visibility: public bc0f052 10h ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "attiny4313-pu",
  "title": "ATTINY4313-PU",
  "brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), PDIP-20. 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",
    "attiny4313-pu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "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,
        "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,
        "footprint_binding": "identity",
        "sha256": "58e47a8c62abed04524acd8feca9fdc63653077a15220a3e33b3225feb221b67",
        "checked": "2026-10-26",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "PDIP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    },
    "appearance": {
      "contacts": {
        "quote": "– H: NiPdAu lead finish – U or N: matte tin",
        "page": 12,
        "doc": "ds.pdf",
        "plating": "tin"
      },
      "version": 1,
      "datasheet_sha256": "40038ab6257b67fec964d7624d1779fb6d380020c15b665b29975be841fa0fad"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "40038ab6257b67fec964d7624d1779fb6d380020c15b665b29975be841fa0fad",
      "rows": [
        {
          "name": "Operating Voltage",
          "symbol": "VCC",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Speed grade 0-4 MHz supply range",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 5.5,
          "conditions": "0 - 4 MHz",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Speed grade 0-10 MHz supply range",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.7,
          "typ": null,
          "max": 5.5,
          "conditions": "0 - 10 MHz",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Speed grade 0-20 MHz supply range",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 4.5,
          "typ": null,
          "max": 5.5,
          "conditions": "0 - 20 MHz",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature range (Industrial)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Industrial",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Flash endurance",
          "symbol": "",
          "kind": "electrical",
          "unit": "Write/Erase Cycles",
          "min": null,
          "typ": 10000,
          "max": null,
          "conditions": "",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "EEPROM endurance",
          "symbol": "",
          "kind": "electrical",
          "unit": "Write/Erase 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": 190,
          "max": null,
          "conditions": "1.8V and 1MHz",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Idle mode current",
          "symbol": "",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 24,
          "max": null,
          "conditions": "1.8V and 1MHz",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Power-down mode current",
          "symbol": "",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 0.1,
          "max": null,
          "conditions": "1.8V and +25°C",
          "source_page": 1,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "attiny4313-pu"
  ],
  "discovery_pitch": "ATTINY4313-PU (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",
    "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"
  ],
  "visibility": {
    "public": true
  }
}