main
Ray Set visibility: public f7420b4
{
  "schema_version": 1,
  "type": "component",
  "slug": "attiny87-xu",
  "title": "ATTINY87-XU",
  "brief": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-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",
    "attiny87-xu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "ATTINY87-XU",
    "manufacturer": "Microchip Tech",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/ce538e8417e06144a9267fa5a31d9d61.pdf",
    "parts": {
      "symbol": "attiny87-xu.kicad_sym",
      "footprint": "attiny87-xu.kicad_mod",
      "model_3d": "attiny87-xu-hero.glb",
      "model_3d_plain": "attiny87-xu.glb",
      "model_3d_step": "attiny87-xu-etched.step",
      "model_3d_step_plain": "attiny87-xu.step",
      "lbr": "attiny87-xu.lbr"
    },
    "distributor_links": {
      "lcsc": "C1344266",
      "digikey": "ATTINY87-XU-ND",
      "mouser": "556-ATTINY87-XU"
    },
    "distributor_check": {
      "checked_at": "2026-11-21T01:41:02Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATTINY87-XU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATTINY87-XU",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 I/O, with alternate functions PCINT8, OC1AU, DI and SDA as listed in the pin configuration."
      },
      {
        "number": "2",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 I/O, with alternate functions PCINT9, OC1BU and DO as listed in the pin configuration."
      },
      {
        "number": "3",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 I/O, with alternate functions PCINT10, OC1AV, USCK and SCL as listed in the pin configuration."
      },
      {
        "number": "4",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 I/O, with alternate functions PCINT11 and OC1BV as listed in the pin configuration."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Digital ground reference for the device."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply pin; operating range is 1.8 - 5.5V for ATtiny87."
      },
      {
        "number": "7",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 I/O, with alternate functions PCINT12, OC1AW, XTAL1 and CLKI as listed in the pin configuration."
      },
      {
        "number": "8",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 I/O, with alternate functions PCINT13, ADC8, OC1BW, XTAL2 and CLKO as listed in the pin configuration."
      },
      {
        "number": "9",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 I/O, with alternate functions PCINT14, ADC9, OC1AX and INT0 as listed in the pin configuration."
      },
      {
        "number": "10",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 I/O, with alternate functions PCINT15, ADC10, OC1BX, RESET and dW as listed in the pin configuration."
      },
      {
        "number": "11",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A bit 7 I/O, with alternate functions AREF, XREF, AIN1, ADC7 and PCINT7 as listed in the pin configuration."
      },
      {
        "number": "12",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A bit 6 I/O, with alternate functions SS, AIN0, ADC6 and PCINT6 as listed in the pin configuration."
      },
      {
        "number": "13",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A bit 5 I/O, with alternate functions SCK, SCL, USCK, T1, ADC5 and PCINT5 as listed in the pin configuration."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A bit 4 I/O, with alternate functions MOSI, SDA, DI, ICP1, ADC4 and PCINT4 as listed in the pin configuration."
      },
      {
        "number": "15",
        "name": "AGND",
        "type": "power_in",
        "description": "Analog ground reference for the on-chip ADC and analog circuitry."
      },
      {
        "number": "16",
        "name": "AVCC",
        "type": "power_in",
        "description": "Analog supply pin for the on-chip ADC and analog circuitry."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A bit 3 I/O, with alternate functions INT1, ISRC, ADC3 and PCINT3 as listed in the pin configuration."
      },
      {
        "number": "18",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A bit 2 I/O, with alternate functions PCINT2, ADC2, OC0A, DO and MISO as listed in the pin configuration."
      },
      {
        "number": "19",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A bit 1 I/O, with alternate functions PCINT1, ADC1, TXD and TXLIN as listed in the pin configuration."
      },
      {
        "number": "20",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A bit 0 I/O, with alternate functions PCINT0, ADC0, RXD and RXLIN as listed in the pin configuration."
      }
    ],
    "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: ATtiny87-XU is ordered in the 20X package (20-lead 4.4 mm TSSOP), which matches the TSSOP-20 hint. P"
        ],
        "pages_sent": 16,
        "cost_usd": 0.0281,
        "at": "2026-11-21T01:40:45"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/ce538e8417e06144a9267fa5a31d9d61.pdf",
        "pages": 16,
        "sha256": "0652c98f8ded5a5e",
        "source_tier": "mfr",
        "citation": "Microchip Tech datasheet, copy hosted by 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": "attiny87-xu.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-11-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "attiny87-xu-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "5cea486aaf6a288b172705c1f65933f176669e3144cf1c5c0cd48aed7503b0ef",
        "checked": "2026-11-21",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "Microchip Tech",
      "Package": "TSSOP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "0652c98f8ded5a5e0a0de62eb21498e161276d6b8e92e019eeb91cec6dccffcd",
      "rows": [
        {
          "name": "Operating voltage",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 1.8,
          "typ": null,
          "max": 5.5,
          "conditions": "ATtiny87 operating voltage as printed in Features",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Speed grade",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 4,
          "conditions": "@ 1.8 – 5.5 V",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Speed grade",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 8,
          "conditions": "@ 2.7 – 5.5 V",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Speed grade",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 16,
          "conditions": "@ 4.5 – 5.5 V",
          "source_page": 1,
          "source": "datasheet"
        },
        {
          "name": "Operating temperature (industrial)",
          "symbol": "",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 85,
          "conditions": "Industrial operational range for ATtiny87-XU",
          "source_page": 9,
          "source": "datasheet"
        }
      ]
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "attiny87-xu"
  ],
  "discovery_pitch": "ATTINY87-XU (Microchip Tech) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "attiny87-xu.kicad_sym",
    "attiny87-xu.kicad_mod",
    "attiny87-xu.glb",
    "attiny87-xu.step",
    "attiny87-xu.lbr",
    "docs/hero.png",
    "docs/attiny87-xu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "attiny87-xu-hero.glb",
    "attiny87-xu-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}