component
ATTINY87-XUR
Public Made by Adomby adom
Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
{
"slug": "attiny87-xur",
"version": "0.1.0",
"type": "component",
"description": "Microchip Tech Microcontroller Units (MCUs/MPUs/SOCs), TSSOP-20. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"single chip microcomputer-microcontroller",
"attiny87-xur",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"attiny87-xur.kicad_sym",
"attiny87-xur.kicad_mod",
"attiny87-xur.glb",
"attiny87-xur.step",
"attiny87-xur.lbr",
"docs/hero.png",
"docs/attiny87-xur-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"attiny87-xur-hero.glb",
"attiny87-xur-hero.overlay.json",
"attiny87-xur-etched.glb"
],
"component": {
"mpn": "ATTINY87-XUR",
"manufacturer": "Microchip Tech",
"package": "TSSOP-20",
"pin_count": 20,
"category": "Single Chip Microcomputer/Microcontroller",
"subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
"datasheet": "https://datasheet.lcsc.com/datasheet/pdf/b7fc70a37e49e696f281d381bcf0becd.pdf",
"parts": {
"symbol": "attiny87-xur.kicad_sym",
"footprint": "attiny87-xur.kicad_mod",
"model_3d": "attiny87-xur-hero.glb",
"model_3d_plain": "attiny87-xur-etched.glb",
"model_3d_step": "attiny87-xur-etched.step",
"model_3d_step_plain": "attiny87-xur.step",
"lbr": "attiny87-xur.lbr"
},
"distributor_links": {
"lcsc": "C610578",
"digikey": "ATTINY87-XURTR-ND",
"mouser": "556-ATTINY87-XUR"
},
"distributor_check": {
"checked_at": "2026-10-30T11:51:32Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "ATTINY87-XURTR-ND",
"status": "found",
"lifecycle": "Active"
},
"mouser": {
"pn": "556-ATTINY87-XUR",
"status": "found",
"lifecycle": "Not Recommended for New Designs"
}
},
"pins": [
{
"number": "1",
"name": "PA0",
"type": "bidirectional",
"description": "Port A bit 0 with selectable pull-up; alternate functions PCINT0, ADC0, RXD (UART receive) and RXLIN (LIN receive)."
},
{
"number": "2",
"name": "PA1",
"type": "bidirectional",
"description": "Port A bit 1 with selectable pull-up; alternate functions PCINT1, ADC1, TXD (UART transmit) and TXLIN (LIN transmit)."
},
{
"number": "3",
"name": "PA2",
"type": "bidirectional",
"description": "Port A bit 2 with selectable pull-up; alternate functions PCINT2, ADC2, OC0A, DO (USI data output) and MISO (SPI)."
},
{
"number": "4",
"name": "PA3",
"type": "bidirectional",
"description": "Port A bit 3 with selectable pull-up; alternate functions PCINT3, ADC3, ISRC (current source pin) and INT1."
},
{
"number": "5",
"name": "AVCC",
"type": "power_in",
"description": "Analog supply voltage."
},
{
"number": "6",
"name": "AGND",
"type": "power_in",
"description": "Analog ground."
},
{
"number": "7",
"name": "PA4",
"type": "bidirectional",
"description": "Port A bit 4 with selectable pull-up; alternate functions PCINT4, ADC4, ICP1, DI/SDA (USI) and MOSI (SPI)."
},
{
"number": "8",
"name": "PA5",
"type": "bidirectional",
"description": "Port A bit 5 with selectable pull-up; alternate functions PCINT5, ADC5, T1, USCK/SCL (USI) and SCK (SPI)."
},
{
"number": "9",
"name": "PA6",
"type": "bidirectional",
"description": "Port A bit 6 with selectable pull-up; alternate functions PCINT6, ADC6, AIN0 (comparator negative input) and SS (SPI slave select)."
},
{
"number": "10",
"name": "PA7",
"type": "bidirectional",
"description": "Port A bit 7 with selectable pull-up; alternate functions PCINT7, ADC7, AIN1 (comparator positive input), XREF (internal reference output) and AREF (external ADC reference input)."
},
{
"number": "11",
"name": "PB7",
"type": "bidirectional",
"description": "Port B bit 7 with selectable pull-up; functions as RESET input (I/O only if RSTDISBL fuse is programmed) and dW (debugWIRE), plus PCINT15, ADC10 and OC1BX."
},
{
"number": "12",
"name": "PB6",
"type": "bidirectional",
"description": "Port B bit 6 with selectable pull-up; alternate functions PCINT14, ADC9, OC1AX and INT0."
},
{
"number": "13",
"name": "PB5",
"type": "bidirectional",
"description": "Port B bit 5 with selectable pull-up; alternate functions PCINT13, ADC8, OC1BW, XTAL2 (oscillator pin 2) and CLKO (divided system clock output)."
},
{
"number": "14",
"name": "PB4",
"type": "bidirectional",
"description": "Port B bit 4 with selectable pull-up; alternate functions PCINT12, OC1AW, XTAL1 (oscillator pin 1) and CLKI (external clock input)."
},
{
"number": "15",
"name": "VCC",
"type": "power_in",
"description": "Supply voltage (1.8 - 5.5V operating range)."
},
{
"number": "16",
"name": "GND",
"type": "power_in",
"description": "Ground."
},
{
"number": "17",
"name": "PB3",
"type": "bidirectional",
"description": "Port B bit 3 with selectable pull-up; alternate functions PCINT11 and OC1BV."
},
{
"number": "18",
"name": "PB2",
"type": "bidirectional",
"description": "Port B bit 2 with selectable pull-up; alternate functions PCINT10, OC1AV, USCK and SCL (USI default clock)."
},
{
"number": "19",
"name": "PB1",
"type": "bidirectional",
"description": "Port B bit 1 with selectable pull-up; alternate functions PCINT9, OC1BU and DO (USI default data output)."
},
{
"number": "20",
"name": "PB0",
"type": "bidirectional",
"description": "Port B bit 0 with selectable pull-up; alternate functions PCINT8, OC1AU, DI and SDA (USI default data input/output)."
}
],
"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: The Figure 1-2 text extraction (page 11) loses the left/right column layout. I took pin numbers from; The datasheet text gives no explicit pin-number table for the 20-pin package. The MPN ATtiny87-XUR m",
"6/20 pins cited to the wrong page (name found elsewhere): ['8:PA5@p84', '10:PA7@p84', '17:PB3@p89', '18:PB2@p89']"
],
"pages_sent": 76,
"cost_usd": 0.527,
"at": "2026-10-30T11:51:13"
},
"datasheet": {
"url": "https://datasheet.lcsc.com/datasheet/pdf/b7fc70a37e49e696f281d381bcf0becd.pdf",
"pages": 303,
"sha256": "bd44c151eaf787c8",
"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": "attiny87-xur.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.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
"checked": "2026-10-30",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "attiny87-xur-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.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "187799ddb86fb056f1245b870e8a37f7f99b5df2ccad5a557da8e5df5e37bd4b",
"checked": "2026-10-30",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}