main
Ray Publish 0.1.0 e1b3d6c 9d ago
{
  "slug": "atmega406-1aau",
  "version": "0.1.0",
  "type": "component",
  "description": "Microchip Tech Pre-ordered MCUs, LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "atmega406-1aau",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "atmega406-1aau.kicad_sym",
    "atmega406-1aau.kicad_mod",
    "atmega406-1aau.glb",
    "atmega406-1aau.step",
    "atmega406-1aau.lbr",
    "docs/hero.png",
    "docs/atmega406-1aau-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "atmega406-1aau-hero.glb",
    "atmega406-1aau-hero.overlay.json",
    "atmega406-1aau-etched.glb"
  ],
  "component": {
    "mpn": "ATMEGA406-1AAU",
    "manufacturer": "Microchip Tech",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Pre-ordered MCUs",
    "datasheet": "https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2548-8-bit-AVR-Microcontroller-Battery-Management-ATmega406_Datasheet-Summary.pdf",
    "parts": {
      "symbol": "atmega406-1aau.kicad_sym",
      "footprint": "atmega406-1aau.kicad_mod",
      "model_3d": "atmega406-1aau-hero.glb",
      "model_3d_plain": "atmega406-1aau-etched.glb",
      "model_3d_step": "atmega406-1aau-etched.step",
      "model_3d_step_plain": "atmega406-1aau.step",
      "lbr": "atmega406-1aau.lbr"
    },
    "distributor_links": {
      "lcsc": "C1338456",
      "digikey": "ATMEGA406-1AAU-ND",
      "mouser": "556-ATMEGA406-1AAU"
    },
    "distributor_check": {
      "checked_at": "2026-10-27T06:48:36Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "ATMEGA406-1AAU-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "556-ATMEGA406-1AAU",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "SGND",
        "type": "power_in",
        "description": "Signal ground pin used as the reference for Voltage-ADC conversions."
      },
      {
        "number": "2",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A bit 0 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as analog input ADC0 and PCINT0."
      },
      {
        "number": "3",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Port A bit 1 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as analog input ADC1 and PCINT1."
      },
      {
        "number": "4",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A bit 2 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as analog input ADC2 and PCINT2."
      },
      {
        "number": "5",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A bit 3 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as analog input ADC3 and PCINT3."
      },
      {
        "number": "6",
        "name": "VREG",
        "type": "power_out",
        "description": "Output from the internal Voltage Regulator, used for external decoupling to ensure stable regulator operation."
      },
      {
        "number": "7",
        "name": "VCC",
        "type": "power_in",
        "description": "Digital supply voltage, normally connected to VREG."
      },
      {
        "number": "8",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "9",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A bit 4 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as ADC4, INT0 and PCINT4."
      },
      {
        "number": "10",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A bit 5 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as INT1 and PCINT5."
      },
      {
        "number": "11",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A bit 6 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as INT2 and PCINT6."
      },
      {
        "number": "12",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A bit 7 is a low-voltage bi-directional I/O with selectable internal pull-up and also serves as INT3 and PCINT7."
      },
      {
        "number": "13",
        "name": "RESET",
        "type": "input",
        "description": "Reset input; a low level longer than the minimum pulse length generates a reset even if the clock is not running."
      },
      {
        "number": "14",
        "name": "XTAL1",
        "type": "input",
        "description": "Clock/oscillator pin shown in the pinout figure; its electrical behaviour is not described in the provided pages."
      },
      {
        "number": "15",
        "name": "XTAL2",
        "type": "output",
        "description": "Clock/oscillator pin shown in the pinout figure; its electrical behaviour is not described in the provided pages."
      },
      {
        "number": "16",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "17",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B bit 0 is a low-voltage bi-directional I/O with internal pull-up and also serves as TDO and PCINT8."
      },
      {
        "number": "18",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B bit 1 is a low-voltage bi-directional I/O with internal pull-up and also serves as TDI and PCINT9."
      },
      {
        "number": "19",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B bit 2 is a low-voltage bi-directional I/O with internal pull-up and also serves as TMS and PCINT10."
      },
      {
        "number": "20",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B bit 3 is a low-voltage bi-directional I/O with internal pull-up and also serves as TCK and PCINT11."
      },
      {
        "number": "21",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B bit 4 is a low-voltage bi-directional I/O with internal pull-up and also serves as PCINT12."
      },
      {
        "number": "22",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B bit 5 is a low-voltage bi-directional I/O with internal pull-up and also serves as PCINT13."
      },
      {
        "number": "23",
        "name": "SCL",
        "type": "bidirectional",
        "description": "SMBUS clock, open drain bidirectional pin."
      },
      {
        "number": "24",
        "name": "SDA",
        "type": "bidirectional",
        "description": "SMBUS data, open drain bidirectional pin."
      },
      {
        "number": "25",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B bit 6 is a low-voltage bi-directional I/O with internal pull-up and also serves as OC0A and PCINT14."
      },
      {
        "number": "26",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B bit 7 is a low-voltage bi-directional I/O with internal pull-up and also serves as OC0B and PCINT15."
      },
      {
        "number": "27",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D bit 0 is a low-voltage bi-directional I/O with internal pull-up and also serves as the T0 timer input."
      },
      {
        "number": "28",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D bit 1 is a low-voltage bi-directional I/O with internal pull-up resistors selectable per bit."
      },
      {
        "number": "29",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "30",
        "name": "PC0",
        "type": "output",
        "description": "Port C is a high voltage Open Drain output port."
      },
      {
        "number": "31",
        "name": "BATT",
        "type": "input",
        "description": "Input for detecting when a charger is connected; this pin also defines the pull-up level for the OC and OPC outputs."
      },
      {
        "number": "32",
        "name": "OPC",
        "type": "output",
        "description": "High voltage output to drive an external pre-charge FET."
      },
      {
        "number": "33",
        "name": "OC",
        "type": "output",
        "description": "High voltage output to drive an external charge FET."
      },
      {
        "number": "34",
        "name": "VFET",
        "type": "power_in",
        "description": "High voltage supply pin for the internal voltage regulator, also monitored by the battery protection for deep under-voltage protection."
      },
      {
        "number": "35",
        "name": "OD",
        "type": "output",
        "description": "High voltage output to drive an external discharge FET."
      },
      {
        "number": "36",
        "name": "PVT",
        "type": "power_in",
        "description": "Defines the pull-up level for the OD output."
      },
      {
        "number": "37",
        "name": "GND",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "38",
        "name": "PV4",
        "type": "input",
        "description": "Input for battery cell 4, used by the Voltage ADC to measure the cell voltage."
      },
      {
        "number": "39",
        "name": "PV3",
        "type": "input",
        "description": "Input for battery cell 3, used by the Voltage ADC to measure the cell voltage."
      },
      {
        "number": "40",
        "name": "PV2",
        "type": "input",
        "description": "Input for battery cell 2, used by the Voltage ADC to measure the cell voltage."
      },
      {
        "number": "41",
        "name": "PV1",
        "type": "input",
        "description": "Input for battery cell 1, used by the Voltage ADC to measure the cell voltage."
      },
      {
        "number": "42",
        "name": "NV",
        "type": "input",
        "description": "Battery cell input listed with PV1 to PV4 for the Voltage ADC cell voltage measurement."
      },
      {
        "number": "43",
        "name": "VREF",
        "type": "power_in",
        "description": "Internal voltage reference pin for external decoupling."
      },
      {
        "number": "44",
        "name": "VREFGND",
        "type": "power_in",
        "description": "Ground for decoupling of the internal voltage reference."
      },
      {
        "number": "45",
        "name": "PPI",
        "type": "input",
        "description": "Unfiltered positive input from the external current sense resistor, used for over-current and short-circuit detection."
      },
      {
        "number": "46",
        "name": "PI",
        "type": "input",
        "description": "Filtered positive input from the external current sense resistor, used by the Coulomb Counter ADC to measure charge and discharge current."
      },
      {
        "number": "47",
        "name": "NI",
        "type": "input",
        "description": "Filtered negative input from the external current sense resistor, used by the Coulomb Counter ADC to measure charge and discharge current."
      },
      {
        "number": "48",
        "name": "NNI",
        "type": "input",
        "description": "Unfiltered negative input from the external current sense resistor, used for over-current and short-circuit detection."
      }
    ],
    "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: Pin-to-number mapping was reconstructed from the garbled Figure 1-1 text layout (1-12 left side, 13-; Pages 7-16 were not provided, so XTAL1 and XTAL2 have no electrical description in the text; their e; Port B and Port D alternate-function details beyond the pinout labels are not in the provided pages;",
          "34/48 pins cited to the wrong page (name found elsewhere): ['3:PA1@p5', '4:PA2@p5', '9:PA4@p5', '10:PA5@p5']"
        ],
        "pages_sent": 10,
        "cost_usd": 0.0377,
        "at": "2026-10-27T06:48:09"
      },
      "datasheet": {
        "url": "https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2548-8-bit-AVR-Microcontroller-Battery-Management-ATmega406_Datasheet-Summary.pdf",
        "pages": 30,
        "sha256": "61ad461a45fda1c6",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "atmega406-1aau.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "atmega406-1aau-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "c352ddede3f408b7a7bb524d0a582dade4bad834b8531a94df22a1aacc469a4a",
        "checked": "2026-10-27",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}