main
Ray Publish 0.1.0 528702f
{
  "slug": "attiny816-snr",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), SOIC-20-300mil. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "attiny816-snr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "attiny816-snr.kicad_sym",
    "attiny816-snr.kicad_mod",
    "attiny816-snr.glb",
    "attiny816-snr.step",
    "attiny816-snr.lbr",
    "docs/hero.png",
    "docs/attiny816-snr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "attiny816-snr-hero.glb",
    "attiny816-snr-hero.overlay.json",
    "attiny816-snr-etched.glb"
  ],
  "component": {
    "mpn": "ATTINY816-SNR",
    "manufacturer": "Microchip Tech",
    "package": "SOIC-20-300mil",
    "pin_count": 20,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/d5c6eb52343b755546dba89b7fdc2709.pdf",
    "parts": {
      "symbol": "attiny816-snr.kicad_sym",
      "footprint": "attiny816-snr.kicad_mod",
      "model_3d": "attiny816-snr-hero.glb",
      "model_3d_plain": "attiny816-snr-etched.glb",
      "model_3d_step": "attiny816-snr-etched.step",
      "model_3d_step_plain": "attiny816-snr.step",
      "lbr": "attiny816-snr.lbr"
    },
    "distributor_links": {
      "lcsc": "C2054204",
      "digikey": "ATTINY816-SNRTR-ND",
      "mouser": "579-ATTINY816-SNR"
    },
    "distributor_check": {
      "checked_at": "2026-11-12T07:02:12Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATTINY816-SNRTR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "579-ATTINY816-SNR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDD",
        "type": "power_in",
        "description": "Supply voltage pin for the device; the datasheet states operating supply voltage of 1.8 V to 5.5 V."
      },
      {
        "number": "2",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA4 with ADC0 AIN4, PTC X0/Y0, USART0 XDIR (alternate position), SPI0 SS, TCA0 WO4, TCD0 WOA and CCL LUT0-OUT functions."
      },
      {
        "number": "3",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA5 with ADC0 AIN5, PTC X1/Y1, DAC0 OUT, TCA0 WO5 and TCB0 WO functions."
      },
      {
        "number": "4",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA6 with ADC0 AIN6, PTC X2/Y2, AC0 AINN0 and DAC0 OUT functions."
      },
      {
        "number": "5",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA7 with ADC0 AIN7, PTC X3/Y3, AC0 AINP0 and CCL LUT1-OUT functions."
      },
      {
        "number": "6",
        "name": "PB5",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB5 with CLKOUT, ADC0 AIN8, AC0 AINP1 and TCA0 WO2 (alternate position) functions."
      },
      {
        "number": "7",
        "name": "PB4",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB4 with ADC0 AIN9, AC0 AINN1, TCA0 WO1 (alternate position) and CCL LUT0-OUT (alternate position) functions."
      },
      {
        "number": "8",
        "name": "PB3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB3 that also serves as TOSC1 (32.768 kHz crystal oscillator input), USART0 RxD (alternate position) and TCA0 WO0 (alternate position)."
      },
      {
        "number": "9",
        "name": "PB2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB2 that also serves as TOSC2 (32.768 kHz crystal oscillator output), EVOUT1, USART0 TxD and TCA0 WO2 functions."
      },
      {
        "number": "10",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB1 with ADC0 AIN10, PTC X4/Y4, USART0 XCK, TWI0 SDA and TCA0 WO1 functions."
      },
      {
        "number": "11",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PB0 with ADC0 AIN11, PTC X5/Y5, USART0 XDIR, TWI0 SCL and TCA0 WO0 functions."
      },
      {
        "number": "12",
        "name": "PC0",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC0 with SPI0 SCK (alternate position), TCB0 WO (alternate position) and TCD0 WOC functions."
      },
      {
        "number": "13",
        "name": "PC1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC1 with SPI0 MISO (alternate position), TCD0 WOD and CCL LUT1-OUT (alternate position) functions."
      },
      {
        "number": "14",
        "name": "PC2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC2 with EVOUT2 and SPI0 MOSI (alternate position) functions."
      },
      {
        "number": "15",
        "name": "PC3",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PC3 with SPI0 SS (alternate position), TCA0 WO3 (alternate position) and CCL LUT1-IN0 functions."
      },
      {
        "number": "16",
        "name": "PA0/RESET/UPDI",
        "type": "bidirectional",
        "description": "Pin PA0 that is also the RESET pin, which the datasheet describes as the UPDI programming/debug interface pin when configured as UPDI, with ADC0 AIN0 and CCL LUT0-IN0 functions."
      },
      {
        "number": "17",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA1 with ADC0 AIN1, USART0 TxD (alternate position), SPI0 MOSI, TWI0 SDA (alternate position) and CCL LUT0-IN1 functions."
      },
      {
        "number": "18",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA2 with EVOUT0, ADC0 AIN2, USART0 RxD (alternate position), SPI0 MISO, TWI0 SCL (alternate position) and CCL LUT0-IN2 functions."
      },
      {
        "number": "19",
        "name": "PA3/EXTCLK",
        "type": "bidirectional",
        "description": "General-purpose I/O pin PA3 that also serves as the external clock input EXTCLK, with ADC0 AIN3, USART0 XCK (alternate position), SPI0 SCK and TCA0 WO3 functions."
      },
      {
        "number": "20",
        "name": "GND",
        "type": "power_in",
        "description": "Ground reference pin for the device."
      }
    ],
    "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 SOIC pin diagram on page 16 is garbled in the extracted text. Pin numbers were taken from the 'V; KiCad types were chosen as bidirectional for all port pins because they are general-purpose I/O. Pin; Table 5-1 marks some alternate functions with (3), meaning alternate pin positions selected via PORT"
        ],
        "pages_sent": 132,
        "cost_usd": 0.0202,
        "at": "2026-11-12T07:02:04"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/d5c6eb52343b755546dba89b7fdc2709.pdf",
        "pages": 623,
        "sha256": "a3d47c9b11de5e45",
        "source_tier": "mfr"
      },
      "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": "attiny816-snr.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-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "attiny816-snr-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": "a204b07127a3a189906e62db26e334dad5fa7216ec1a9b76c213691f54980c27",
        "checked": "2026-11-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "SOIC20 (SRJ / G5X), drawing C04-21323",
      "source_page": 599,
      "D": {
        "nom_mm": 12.8,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 7.5,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 10.3,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 1.27,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 2.5,
        "range_mm": [
          2.35,
          2.65
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "attiny816-snr.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}