main
Ray Publish 0.1.0 b3825e7 6d ago
{
  "slug": "atmega328pb-mn",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Microcontrollers (MCU/MPU/SOC), QFN-32-EP(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega328pb-mn",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega328pb-mn.kicad_sym",
    "atmega328pb-mn.kicad_mod",
    "atmega328pb-mn.glb",
    "atmega328pb-mn.step",
    "atmega328pb-mn.lbr",
    "docs/hero.png",
    "docs/atmega328pb-mn-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega328pb-mn-hero.glb",
    "atmega328pb-mn-hero.overlay.json",
    "atmega328pb-mn-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA328PB-MN",
    "manufacturer": "Microchip Tech",
    "package": "QFN-32-EP(5x5)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588906265972527104",
    "parts": {
      "symbol": "atmega328pb-mn.kicad_sym",
      "footprint": "atmega328pb-mn.kicad_mod",
      "model_3d": "atmega328pb-mn-hero.glb",
      "model_3d_plain": "atmega328pb-mn-etched.glb",
      "model_3d_step": "atmega328pb-mn-etched.step",
      "model_3d_step_plain": "atmega328pb-mn.step",
      "lbr": "atmega328pb-mn.lbr"
    },
    "distributor_links": {
      "lcsc": "C1337164",
      "digikey": "ATMEGA328PB-MN-ND",
      "mouser": "556-ATMEGA328PB-MN"
    },
    "distributor_check": {
      "checked_at": "2026-10-20T21:03:12Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA328PB-MN-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA328PB-MN",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 is a bidirectional I/O with internal pull-up, also usable as INT1 external interrupt 1, OC2B Timer/Counter2 compare B output, or PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 is a bidirectional I/O with internal pull-up, also usable as XCK0 USART0 external clock, T0 Timer/Counter0 external counter input, or PCINT20."
      },
      {
        "number": "3",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Port E bit 0 is a bidirectional I/O with internal pull-up, also usable as ACO analog comparator output, ICP4 input capture, SDA1 two-wire data, or PCINT24."
      },
      {
        "number": "4",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage pin."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "6",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Port E bit 1 is a bidirectional I/O with internal pull-up, also usable as T4 Timer/Counter4 external counter input, SCL1 two-wire clock, or PCINT25."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 is a bidirectional I/O with internal pull-up that serves as XTAL1/TOSC1 (inverting oscillator amplifier input or external clock input, depending on clock fuse settings) and PCINT6."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 is a bidirectional I/O with internal pull-up that serves as XTAL2/TOSC2 (inverting oscillator amplifier output, depending on clock fuse settings) and PCINT7."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 is a bidirectional I/O with internal pull-up, also usable as T1 Timer/Counter1 external counter input, OC0B Timer/Counter0 compare B output, or PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 is a bidirectional I/O with internal pull-up, also usable as AIN0 analog comparator positive input (pull-up should be switched off when used as AIN0), OC0A Timer/Counter0 compare A output, or PCINT22."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7 is a bidirectional I/O with internal pull-up, also usable as AIN1 analog comparator negative input (pull-up should be switched off when used as AIN1) or PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 is a bidirectional I/O with internal pull-up, also usable as ICP1 Timer/Counter1 input capture input, CLKO divided system clock output, or PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 is a bidirectional I/O with internal pull-up, also usable as OC1A Timer/Counter1 compare A output or PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 is a bidirectional I/O with internal pull-up, also usable as SS0 SPI0 slave select, OC1B Timer/Counter1 compare B output, or PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 is a bidirectional I/O with internal pull-up, also usable as MOSI0 SPI0 master output/slave input, TXD1 USART1 transmit, OC2A Timer/Counter2 compare A output, or PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 is a bidirectional I/O with internal pull-up, also usable as MISO0 SPI0 master input/slave output, RXD1 USART1 receive, or PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 is a bidirectional I/O with internal pull-up, also usable as SCK0 SPI0 clock, XCK1 USART1 external clock, or PCINT5."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D converter, PC[3:0], and PE[3:2]; it should be connected externally to VCC even if the ADC is not used, and through a low-pass filter if the ADC is used."
      },
      {
        "number": "19",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Port E bit 2 is a bidirectional I/O with internal pull-up, also usable as ADC6 analog input channel 6, ICP3 input capture input, SS1 SPI1 slave select, or PCINT26."
      },
      {
        "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": "PE3",
        "type": "bidirectional",
        "description": "Port E bit 3 is a bidirectional I/O with internal pull-up, also usable as ADC7 analog input channel 7, T3 Timer/Counter3 external counter input, MOSI1 SPI1 master output/slave input, or PCINT27."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0 is a bidirectional I/O with internal pull-up, also usable as ADC0 analog input channel 0 (analog power), MISO1 SPI1 data, or PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1 is a bidirectional I/O with internal pull-up, also usable as ADC1 analog input channel 1 (analog power), SCK1 SPI1 clock, or PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2 is a bidirectional I/O with internal pull-up, also usable as ADC2 analog input channel 2 (analog power) or PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3 is a bidirectional I/O with internal pull-up, also usable as ADC3 analog input channel 3 (analog power) or PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4 is a bidirectional I/O with internal pull-up, also usable as ADC4 analog input channel 4 (digital power), SDA0 two-wire data, or PCINT12."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5 is a bidirectional I/O with internal pull-up, also usable as ADC5 analog input channel 5 (digital power), SCL0 two-wire clock, or PCINT13."
      },
      {
        "number": "29",
        "name": "PC6/RESET",
        "type": "input",
        "description": "Reset input when the RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset); when the RSTDISBL fuse is programmed it is a normal I/O pin with electrical characteristics that differ from other Port C pins."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 is a bidirectional I/O with internal pull-up, also usable as RXD0 USART0 receive, OC3A Timer/Counter3 compare A output, or PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 is a bidirectional I/O with internal pull-up, also usable as TXD0 USART0 transmit, OC4A Timer/Counter4 compare A output, or PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 is a bidirectional I/O with internal pull-up, also usable as INT0 external interrupt 0, OC3B and OC4B Timer/Counter3/4 compare B outputs, or 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 exposed thermal pad on the 32-pad VQFN is shown in Figure 5-2 as 'Bottom pad should be soldered ; Table 6-1 (the only numbered pin mapping for this package) is truncated after pin 30. Pins 31 (PD1) ; PC6/RESET is fuse-dependent: it is a reset input when RSTDISBL is unprogrammed and a normal I/O pin ",
          "exposed pad 33 added from the footprint"
        ],
        "pages_sent": 75,
        "cost_usd": 0.2985,
        "at": "2026-10-20T20:58:54"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588906265972527104",
        "pages": 463,
        "sha256": "e1bb7a041b79233b",
        "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": "atmega328pb-mn.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-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega328pb-mn-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": "87ef61e85ea26c972954099c58a318d5bb08cbbda99aa7864cb9a284bfbcd0dc",
        "checked": "2026-10-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}