main
Ray Publish 0.1.0 c0aa268 7d ago
{
  "slug": "atmega48pa-mu",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech MICROCHIP, VQFN-32(5x5). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega48pa-mu",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega48pa-mu.kicad_sym",
    "atmega48pa-mu.kicad_mod",
    "atmega48pa-mu.glb",
    "atmega48pa-mu.step",
    "atmega48pa-mu.lbr",
    "docs/hero.png",
    "docs/atmega48pa-mu-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega48pa-mu-hero.glb",
    "atmega48pa-mu-hero.overlay.json",
    "atmega48pa-mu-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA48PA-MU",
    "manufacturer": "Microchip Tech",
    "package": "VQFN-32(5x5)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "MICROCHIP",
    "datasheet": "https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/Atmel-9223-Automotive-Microcontrollers-ATmega48PA-ATmega88PA-ATmega168PA_Datasheet.pdf",
    "parts": {
      "symbol": "atmega48pa-mu.kicad_sym",
      "footprint": "atmega48pa-mu.kicad_mod",
      "model_3d": "atmega48pa-mu-hero.glb",
      "model_3d_plain": "atmega48pa-mu-etched.glb",
      "model_3d_step": "atmega48pa-mu-etched.step",
      "model_3d_step_plain": "atmega48pa-mu.step",
      "lbr": "atmega48pa-mu.lbr"
    },
    "distributor_links": {
      "lcsc": "C32788",
      "digikey": "ATMEGA48PA-MU-ND",
      "mouser": "556-ATMEGA48PA-MU"
    },
    "distributor_check": {
      "checked_at": "2026-10-28T21:24:36Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA48PA-MU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA48PA-MU",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D bit 3 is a bidirectional I/O pin with internal pull-up; its alternate functions are INT1 external interrupt 1 input, OC2B Timer/Counter2 compare match B output, and PCINT19."
      },
      {
        "number": "2",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D bit 4 is a bidirectional I/O pin with internal pull-up; its alternate functions are 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 operating voltage range is 2.7V to 5.5V."
      },
      {
        "number": "5",
        "name": "GND",
        "type": "power_in",
        "description": "Ground."
      },
      {
        "number": "6",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage; the datasheet operating voltage range is 2.7V to 5.5V."
      },
      {
        "number": "7",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 is used as XTAL1/TOSC1 (chip clock oscillator pin 1 or external clock input, or timer oscillator input) depending on fuse and ASSR settings, otherwise a bidirectional I/O pin; it can also serve as PCINT6, and it cannot be used as I/O when used as a clock pin."
      },
      {
        "number": "8",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 is used as XTAL2/TOSC2 (output of the inverting oscillator amplifier or timer oscillator pin 2) depending on fuse and ASSR settings, otherwise a bidirectional I/O pin; it can also serve as PCINT7, and it cannot be used as I/O when used as a clock pin."
      },
      {
        "number": "9",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D bit 5 is a bidirectional I/O pin with internal pull-up; its alternate functions are T1 Timer/Counter1 external counter input, OC0B Timer/Counter0 compare match B output, and PCINT21."
      },
      {
        "number": "10",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D bit 6 is a bidirectional I/O pin with internal pull-up; its alternate functions are AIN0 analog comparator positive input (pull-up should be disabled), OC0A Timer/Counter0 compare match A output, and PCINT22."
      },
      {
        "number": "11",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D bit 7 is a bidirectional I/O pin with internal pull-up; its alternate functions are AIN1 analog comparator negative input (pull-up should be disabled), and PCINT23."
      },
      {
        "number": "12",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 is a bidirectional I/O pin with internal pull-up; its alternate functions are ICP1 Timer/Counter1 input capture input, CLKO divided system clock output, and PCINT0."
      },
      {
        "number": "13",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 is a bidirectional I/O pin with internal pull-up; its alternate functions are OC1A Timer/Counter1 compare match A output (must be configured as output) and PCINT1."
      },
      {
        "number": "14",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 is a bidirectional I/O pin with internal pull-up; its alternate functions are SS SPI slave select input, OC1B Timer/Counter1 compare match B output (must be configured as output), and PCINT2."
      },
      {
        "number": "15",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 is a bidirectional I/O pin with internal pull-up; its alternate functions are MOSI SPI master output/slave input, OC2A Timer/Counter2 compare match A output (must be configured as output), and PCINT3."
      },
      {
        "number": "16",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 is a bidirectional I/O pin with internal pull-up; its alternate functions are MISO SPI master input/slave output and PCINT4."
      },
      {
        "number": "17",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 is a bidirectional I/O pin with internal pull-up; its alternate functions are SCK SPI clock (master output or slave input) and PCINT5."
      },
      {
        "number": "18",
        "name": "AVCC",
        "type": "power_in",
        "description": "Supply voltage pin for the A/D converter, PC3:0 and ADC7:6; it should be connected to VCC even if the ADC is not used, and through a low-pass filter if the ADC is used."
      },
      {
        "number": "19",
        "name": "ADC6",
        "type": "input",
        "description": "Analog input to the 10-bit A/D converter (channel 6), powered from the analog supply; available in the QFN and TQFP 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 to the 10-bit A/D converter (channel 7), powered from the analog supply; available in the QFN and TQFP packages only."
      },
      {
        "number": "23",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C bit 0 is a bidirectional I/O pin with internal pull-up; it is also ADC input channel 0 (uses analog power) and PCINT8."
      },
      {
        "number": "24",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C bit 1 is a bidirectional I/O pin with internal pull-up; it is also ADC input channel 1 (uses analog power) and PCINT9."
      },
      {
        "number": "25",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C bit 2 is a bidirectional I/O pin with internal pull-up; it is also ADC input channel 2 (uses analog power) and PCINT10."
      },
      {
        "number": "26",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C bit 3 is a bidirectional I/O pin with internal pull-up; it is also ADC input channel 3 (uses analog power) and PCINT11."
      },
      {
        "number": "27",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C bit 4 is a bidirectional I/O pin with internal pull-up; it is also SDA 2-wire serial data I/O when TWI is enabled, ADC input channel 4 (uses digital power), and PCINT12."
      },
      {
        "number": "28",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C bit 5 is a bidirectional I/O pin with internal pull-up; it is also SCL 2-wire serial clock I/O when TWI is enabled, ADC input channel 5 (uses digital power), and PCINT13."
      },
      {
        "number": "29",
        "name": "PC6",
        "type": "input",
        "description": "Reset input when the RSTDISBL fuse is unprogrammed (a low level longer than the minimum pulse length generates a reset); when RSTDISBL is programmed it is a general I/O pin, and it also serves as PCINT14."
      },
      {
        "number": "30",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 is a bidirectional I/O pin with internal pull-up; it is also RXD USART receive data input (configured as input when the USART receiver is enabled) and PCINT16."
      },
      {
        "number": "31",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 is a bidirectional I/O pin with internal pull-up; it is also TXD USART transmit data output (configured as output when the USART transmitter is enabled) and PCINT17."
      },
      {
        "number": "32",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D bit 2 is a bidirectional I/O pin with internal pull-up; it is 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 MPN 'ATMEGA48PA-MU' does not appear in the datasheet. The ordering table (page 321) lists ATmega; The text extraction of Figure 1-1 (page 3) does not preserve the physical positions of the 32-pad QF; The exposed bottom pad (the thermal pad, which the datasheet says should be soldered to ground) is n",
          "exposed pad 33 added from the footprint",
          "11/33 pins cited to the wrong page (name found elsewhere): ['15:PB3@p72', '16:PB4@p72', '17:PB5@p72', '24:PC1@p75']"
        ],
        "pages_sent": 61,
        "cost_usd": 0.2571,
        "at": "2026-10-28T21:24:15"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/Atmel-9223-Automotive-Microcontrollers-ATmega48PA-ATmega88PA-ATmega168PA_Datasheet.pdf",
        "pages": 326,
        "sha256": "626d81e6d4d566ae",
        "source_tier": "mfr"
      },
      "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": "atmega48pa-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-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega48pa-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": "b0edcf6943c65c72b98ff575a2d91273f597502f53830af20c0af68459ec3282",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "PN",
      "source_page": 323,
      "D": {
        "nom_mm": 5.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 5.0,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 0.85,
        "range_mm": [
          0.8,
          0.9
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "atmega48pa-mu.step",
        "verdict": "PASS",
        "reasons": [
          "height within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}