main
Ray Publish 0.1.0 ed75d86 8d ago
{
  "slug": "atmega328p-mu",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), VQFN-32(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega328p-mu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega328p-mu.kicad_sym",
    "atmega328p-mu.kicad_mod",
    "atmega328p-mu.glb",
    "atmega328p-mu.step",
    "atmega328p-mu.lbr",
    "docs/hero.png",
    "docs/atmega328p-mu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega328p-mu-hero.glb",
    "atmega328p-mu-hero.overlay.json",
    "atmega328p-mu-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA328P-MU",
    "manufacturer": "Microchip Tech",
    "package": "VQFN-32(5x5)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904807425732608",
    "parts": {
      "symbol": "atmega328p-mu.kicad_sym",
      "footprint": "atmega328p-mu.kicad_mod",
      "model_3d": "atmega328p-mu-hero.glb",
      "model_3d_plain": "atmega328p-mu-etched.glb",
      "model_3d_step": "atmega328p-mu-etched.step",
      "model_3d_step_plain": "atmega328p-mu.step",
      "lbr": "atmega328p-mu.lbr"
    },
    "distributor_links": {
      "lcsc": "C7499261",
      "digikey": "ATMEGA328P-MU-ND"
    },
    "distributor_check": {
      "checked_at": "2026-10-18T21:49:15Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA328P-MU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3, bi-directional I/O with internal pull-up, also INT1 external interrupt 1, OC2B Timer/Counter2 output, and PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4, bi-directional I/O with internal pull-up, also XCK USART external clock, T0 Timer/Counter0 external counter input, and PCINT20."
      },
      {
        "number": "3",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the datasheet lists the operating voltage as 1.8 to 5.5 V."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the datasheet lists the operating voltage as 1.8 to 5.5 V."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6, bi-directional I/O with internal pull-up, used as XTAL1/TOSC1 clock input to the inverting oscillator amplifier (or external clock input) depending on fuse settings, also PCINT6."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7, bi-directional I/O with internal pull-up, used as XTAL2/TOSC2 output of the inverting oscillator amplifier depending on fuse settings, also PCINT7."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5, bi-directional I/O with internal pull-up, also T1 Timer/Counter1 external counter input, OC0B output, and PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6, bi-directional I/O with internal pull-up, also AIN0 analog comparator positive input, OC0A output, and PCINT22."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7, bi-directional I/O with internal pull-up, also AIN1 analog comparator negative input and PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0, bi-directional I/O with internal pull-up, also ICP1 input capture input, CLKO divided system clock output, and PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1, bi-directional I/O with internal pull-up, also OC1A Timer/Counter1 output compare A output and PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2, bi-directional I/O with internal pull-up, also SS SPI slave select, OC1B output compare B output, and PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3, bi-directional I/O with internal pull-up, also MOSI SPI data line, OC2A output compare A output, and PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4, bi-directional I/O with internal pull-up, also MISO SPI data line and PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5, bi-directional I/O with internal pull-up, also SCK SPI clock and PCINT5."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D converter, PC3:0 and ADC7:6, which should be connected to VCC even if the ADC is not used and through a low-pass filter if it is."
      },
      {
        "number": "19",
        "name": "ADC6",
        "type": "input",
        "description": "Analog input channel 6 of the 10-bit ADC, powered from the analog supply (TQFP and VQFN packages only)."
      },
      {
        "number": "20",
        "name": "AREF",
        "type": "input",
        "description": "Analog reference pin for the A/D converter."
      },
      {
        "number": "21",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "22",
        "name": "ADC7",
        "type": "input",
        "description": "Analog input channel 7 of the 10-bit ADC, powered from the analog supply (TQFP and VQFN packages only)."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0, 7-bit bi-directional I/O with internal pull-up, also ADC0 analog input channel 0 (uses analog power) and PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1, bi-directional I/O with internal pull-up, also ADC1 analog input channel 1 (uses analog power) and PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2, bi-directional I/O with internal pull-up, also ADC2 analog input channel 2 (uses analog power) and PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3, bi-directional I/O with internal pull-up, also ADC3 analog input channel 3 (uses analog power) and PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4, bi-directional I/O with internal pull-up, also SDA 2-wire serial data I/O, ADC4 analog input channel 4 (uses digital power), and PCINT12."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5, bi-directional I/O with internal pull-up, also SCL 2-wire serial clock I/O, ADC5 analog input channel 5 (uses digital power), and PCINT13."
      },
      {
        "number": "29",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C bit 6, which is a Reset input when the RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset) and a normal I/O pin when the fuse is programmed; also PCINT14."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0, bi-directional I/O with internal pull-up, also RXD USART receive data input and PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1, bi-directional I/O with internal pull-up, also TXD USART transmit data output and PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2, bi-directional I/O with internal pull-up, also INT0 external interrupt 0 input and PCINT18."
      },
      {
        "number": "33",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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 datasheet has no numbered pin for the VQFN exposed (thermal) pad. Page 12 only says 'Bottom pad ; The VQFN-32 pin map on page 12 (Figure 1-1) is garbled in text extraction. The assignment above was ; The datasheet gives the VQFN-32 package as 32M1-A (32-pad, 5x5 mm, 0.50 mm pitch). The ordering code",
          "exposed pad 33 added from the footprint"
        ],
        "pages_sent": 126,
        "cost_usd": 0.4072,
        "at": "2026-10-18T21:47:00"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904807425732608",
        "pages": 653,
        "sha256": "b26db583d1d0520c",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 33,
        "described": 33,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "atmega328p-mu.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          0.875
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "5fa713ea46b36980895812ed853577889b7cb06d275041a39b99bc0be305dc79",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega328p-mu-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.0,
          5.0,
          0.875
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "0a67d421deba00285064d3c68a92ae3206ef16ee013d40a30d25a1580bbee3a4",
        "checked": "2026-10-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}