{
  "domains": [
    {
      "pin_count": 30,
      "interfaces": [
        {
          "description": "Power input interface",
          "requires": [
            {
              "count": 1,
              "function": "power_input"
            },
            {
              "count": 1,
              "function": "ground"
            }
          ],
          "protocol": {
            "role": "input",
            "type": "power"
          },
          "id": "power_input",
          "role": "input",
          "constraints": {
            "max_connections": 1,
            "requires_matching_voltage_domain": true
          }
        },
        {
          "name": "Power Output",
          "power_delivery": {
            "max_current_mA": 800,
            "max_voltage_V": 5,
            "regulation_tolerance_percent": 4,
            "ripple_voltage_mV": 10,
            "efficiency_percent": 85
          },
          "protocol": {
            "role": "output",
            "type": "power"
          },
          "requires": [
            {
              "count": 1,
              "function": "power_output"
            },
            {
              "count": 1,
              "function": "ground"
            }
          ],
          "description": "Power supply output interface",
          "constraints": {
            "requires_matching_voltage_domain": false,
            "max_connections": 10
          },
          "id": "power_output"
        },
        {
          "name": "Digital Output",
          "description": "Digital output interface",
          "requires": [
            {
              "count": 1,
              "function": "digital_io"
            }
          ],
          "id": "digital_output",
          "constraints": {
            "max_connections": 1,
            "requires_matching_voltage_domain": true
          },
          "protocol": {
            "role": "transmitter",
            "type": "digital"
          }
        },
        {
          "name": "Digital Input",
          "id": "digital_input",
          "requires": [
            {
              "count": 1,
              "function": "digital_io"
            }
          ],
          "description": "Digital input interface",
          "constraints": {
            "requires_matching_voltage_domain": true,
            "max_connections": 1
          },
          "protocol": {
            "role": "receiver",
            "type": "digital"
          }
        },
        {
          "name": "Analog Input",
          "constraints": {
            "max_connections": 1,
            "requires_matching_voltage_domain": true
          },
          "requires": [
            {
              "count": 1,
              "function": "analog_input"
            }
          ],
          "id": "analog_input",
          "description": "Analog input interface",
          "protocol": {
            "type": "analog",
            "role": "receiver"
          }
        },
        {
          "id": "i2c_master",
          "protocol": {
            "type": "i2c",
            "role": "master"
          },
          "pullups_on_master": false,
          "description": "I2C master communication interface",
          "requires": [
            {
              "count": 1,
              "function": "i2c_sda"
            },
            {
              "function": "i2c_scl",
              "count": 1
            }
          ],
          "name": "I2C Master",
          "exclusive": false,
          "supports_clock_stretching": true,
          "constraints": {
            "max_connections": 8,
            "requires_matching_voltage_domain": true
          },
          "protocol_max_freq_Hz": 400000
        },
        {
          "name": "SPI Master",
          "description": "SPI master communication interface",
          "protocol": {
            "role": "master",
            "type": "spi"
          },
          "constraints": {
            "requires_matching_voltage_domain": true,
            "max_connections": 8
          },
          "id": "spi_master",
          "protocol_max_freq_Hz": 8000000,
          "requires": [
            {
              "count": 1,
              "function": "spi_mosi"
            },
            {
              "count": 1,
              "function": "spi_miso"
            },
            {
              "count": 1,
              "function": "spi_sck"
            },
            {
              "function": "spi_ss",
              "count": 1
            }
          ],
          "exclusive": false
        },
        {
          "description": "UART transmitter interface",
          "protocol": {
            "role": "transmitter",
            "type": "uart"
          },
          "name": "UART Transmitter",
          "constraints": {
            "max_connections": 1,
            "requires_matching_voltage_domain": true
          },
          "protocol_max_freq_Hz": 115200,
          "requires": [
            {
              "count": 1,
              "function": "uart_tx"
            }
          ],
          "id": "uart_transmitter"
        },
        {
          "protocol": {
            "type": "uart",
            "role": "receiver"
          },
          "name": "UART Receiver",
          "constraints": {
            "requires_matching_voltage_domain": true,
            "max_connections": 1
          },
          "requires": [
            {
              "count": 1,
              "function": "uart_rx"
            }
          ],
          "id": "uart_receiver",
          "description": "UART receiver interface",
          "protocol_max_freq_Hz": 115200
        },
        {
          "protocol": {
            "role": [
              "transceiver",
              "transmitter",
              "receiver"
            ],
            "type": "uart"
          },
          "description": "UART transceiver interface",
          "constraints": {
            "requires_matching_voltage_domain": true,
            "max_connections": 1
          },
          "requires": [
            {
              "count": 1,
              "function": "uart_tx"
            },
            {
              "count": 1,
              "function": "uart_rx"
            }
          ],
          "protocol_max_freq_Hz": 115200,
          "id": "uart_transceiver",
          "name": "UART Transceiver"
        }
      ],
      "resources": [
        {
          "description": "External power input pin",
          "connector_type": "pin",
          "id": "vin",
          "power_domain_id": "vin",
          "functions": [
            {
              "name": "power_input"
            }
          ]
        },
        {
          "connector_type": "usb",
          "id": "usb_5v",
          "description": "USB power input",
          "power_domain_id": "usb_5v",
          "functions": [
            {
              "name": "power_input"
            }
          ]
        },
        {
          "voltage_output_V": 5,
          "id": "5v_out",
          "connector_type": "pin",
          "functions": [
            {
              "name": "power_output"
            }
          ],
          "power_domain_id": "regulated_5v",
          "description": "5V power output pin",
          "max_continuous_current_mA": 800
        },
        {
          "max_continuous_current_mA": 150,
          "power_domain_id": "regulated_3v3",
          "voltage_output_V": 3.3,
          "connector_type": "pin",
          "functions": [
            {
              "name": "power_output"
            }
          ],
          "id": "3v3_out",
          "description": "3.3V power output pin"
        },
        {
          "description": "Ground pin 1",
          "id": "gnd1",
          "power_domain_id": "regulated_5v",
          "connector_type": "pin",
          "functions": [
            {
              "name": "ground"
            }
          ]
        },
        {
          "functions": [
            {
              "name": "ground"
            }
          ],
          "description": "Ground pin 2",
          "connector_type": "pin",
          "id": "gnd2",
          "power_domain_id": "regulated_3v3"
        },
        {
          "has_internal_pullup": true,
          "power_domain_id": "digital_io",
          "io_drive_strength_mA": 40,
          "connector_type": "pin",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "uart_rx"
            }
          ],
          "description": "Digital pin 0 / UART RX",
          "id": "d0"
        },
        {
          "description": "Digital pin 1 / UART TX",
          "power_domain_id": "digital_io",
          "connector_type": "pin",
          "io_drive_strength_mA": 40,
          "id": "d1",
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "uart_tx"
            }
          ]
        },
        {
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "interrupt"
            }
          ],
          "description": "Digital pin 2 / External interrupt",
          "has_internal_pullup": true,
          "power_domain_id": "digital_io",
          "connector_type": "pin",
          "io_drive_strength_mA": 40,
          "id": "d2"
        },
        {
          "description": "Digital pin 3 / PWM / External interrupt",
          "power_domain_id": "digital_io",
          "has_internal_pullup": true,
          "id": "d3",
          "connector_type": "pin",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "pwm"
            },
            {
              "name": "interrupt"
            }
          ],
          "io_drive_strength_mA": 40
        },
        {
          "power_domain_id": "digital_io",
          "connector_type": "pin",
          "functions": [
            {
              "name": "digital_io"
            }
          ],
          "has_internal_pullup": true,
          "io_drive_strength_mA": 40,
          "id": "d4",
          "description": "Digital pin 4"
        },
        {
          "io_drive_strength_mA": 40,
          "power_domain_id": "digital_io",
          "id": "d5",
          "connector_type": "pin",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "pwm"
            }
          ],
          "has_internal_pullup": true,
          "description": "Digital pin 5 / PWM"
        },
        {
          "io_drive_strength_mA": 40,
          "description": "Digital pin 6 / PWM",
          "power_domain_id": "digital_io",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "pwm"
            }
          ],
          "has_internal_pullup": true,
          "connector_type": "pin",
          "id": "d6"
        },
        {
          "id": "d7",
          "has_internal_pullup": true,
          "connector_type": "pin",
          "io_drive_strength_mA": 40,
          "functions": [
            {
              "name": "digital_io"
            }
          ],
          "power_domain_id": "digital_io",
          "description": "Digital pin 7"
        },
        {
          "id": "d8",
          "has_internal_pullup": true,
          "io_drive_strength_mA": 40,
          "power_domain_id": "digital_io",
          "functions": [
            {
              "name": "digital_io"
            }
          ],
          "connector_type": "pin",
          "description": "Digital pin 8"
        },
        {
          "power_domain_id": "digital_io",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "pwm"
            }
          ],
          "io_drive_strength_mA": 40,
          "description": "Digital pin 9 / PWM",
          "id": "d9",
          "has_internal_pullup": true,
          "connector_type": "pin"
        },
        {
          "power_domain_id": "digital_io",
          "description": "Digital pin 10 / PWM / SPI SS",
          "id": "d10",
          "io_drive_strength_mA": 40,
          "connector_type": "pin",
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "pwm"
            },
            {
              "name": "spi_ss"
            }
          ]
        },
        {
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "pwm"
            },
            {
              "name": "spi_mosi"
            }
          ],
          "description": "Digital pin 11 / PWM / SPI MOSI",
          "io_drive_strength_mA": 40,
          "id": "d11",
          "power_domain_id": "digital_io",
          "connector_type": "pin"
        },
        {
          "connector_type": "pin",
          "power_domain_id": "digital_io",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "spi_miso"
            }
          ],
          "has_internal_pullup": true,
          "id": "d12",
          "description": "Digital pin 12 / SPI MISO",
          "io_drive_strength_mA": 40
        },
        {
          "has_internal_pullup": true,
          "id": "d13",
          "power_domain_id": "digital_io",
          "functions": [
            {
              "name": "digital_io"
            },
            {
              "name": "spi_sck"
            },
            {
              "name": "led"
            }
          ],
          "description": "Digital pin 13 / SPI SCK / Built-in LED",
          "io_drive_strength_mA": 40,
          "connector_type": "pin"
        },
        {
          "io_drive_strength_mA": 40,
          "id": "a0",
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "analog_input"
            },
            {
              "name": "digital_io"
            }
          ],
          "description": "Analog pin A0 / Digital I/O",
          "power_domain_id": "analog_ref",
          "connector_type": "pin"
        },
        {
          "power_domain_id": "analog_ref",
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "analog_input"
            },
            {
              "name": "digital_io"
            }
          ],
          "description": "Analog pin A1 / Digital I/O",
          "io_drive_strength_mA": 40,
          "id": "a1",
          "connector_type": "pin"
        },
        {
          "connector_type": "pin",
          "id": "a2",
          "power_domain_id": "analog_ref",
          "io_drive_strength_mA": 40,
          "description": "Analog pin A2 / Digital I/O",
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "analog_input"
            },
            {
              "name": "digital_io"
            }
          ]
        },
        {
          "io_drive_strength_mA": 40,
          "description": "Analog pin A3 / Digital I/O",
          "id": "a3",
          "power_domain_id": "analog_ref",
          "has_internal_pullup": true,
          "connector_type": "pin",
          "functions": [
            {
              "name": "analog_input"
            },
            {
              "name": "digital_io"
            }
          ]
        },
        {
          "power_domain_id": "analog_ref",
          "io_drive_strength_mA": 40,
          "description": "Analog pin A4 / Digital I/O / I2C SDA",
          "recommended_pullup_res_kΩ": 4.7,
          "has_internal_pullup": true,
          "functions": [
            {
              "name": "analog_input"
            },
            {
              "name": "digital_io"
            },
            {
              "name": "i2c_sda"
            }
          ],
          "id": "a4",
          "connector_type": "pin"
        },
        {
          "recommended_pullup_res_kΩ": 4.7,
          "has_internal_pullup": true,
          "io_drive_strength_mA": 40,
          "functions": [
            {
              "name": "analog_input"
            },
            {
              "name": "digital_io"
            },
            {
              "name": "i2c_scl"
            }
          ],
          "id": "a5",
          "description": "Analog pin A5 / Digital I/O / I2C SCL",
          "connector_type": "pin",
          "power_domain_id": "analog_ref"
        },
        {
          "functions": [
            {
              "name": "analog_input"
            }
          ],
          "power_domain_id": "analog_ref",
          "id": "a6",
          "connector_type": "pin",
          "description": "Analog pin A6"
        },
        {
          "connector_type": "pin",
          "description": "Analog pin A7",
          "power_domain_id": "analog_ref",
          "functions": [
            {
              "name": "analog_input"
            }
          ],
          "id": "a7"
        },
        {
          "power_domain_id": "analog_ref",
          "id": "aref",
          "functions": [
            {
              "name": "analog_reference"
            }
          ],
          "description": "Analog reference voltage input",
          "connector_type": "pin"
        },
        {
          "connector_type": "pin",
          "functions": [
            {
              "name": "reset"
            }
          ],
          "description": "Reset pin",
          "power_domain_id": "digital_io",
          "id": "reset",
          "has_internal_pullup": true
        }
      ],
      "domain": "electrical",
      "power_consumption_mW": 500,
      "power_domains": [
        {
          "id": "vin",
          "compatible_domains": [],
          "ground_reference": "common",
          "voltage_tolerance_percent": 10,
          "name": "VIN (Raw Input)",
          "efficiency_percent": 85,
          "regulation_type": "unregulated",
          "isolation_type": "non_isolated",
          "description": "External power input through barrel jack or VIN pin",
          "nominal_voltage_V": 9,
          "voltage_ripple_mV": 100,
          "max_current_mA": 500,
          "voltage_range_V": [
            7,
            12
          ]
        },
        {
          "isolation_type": "non_isolated",
          "name": "USB 5V",
          "voltage_ripple_mV": 50,
          "voltage_tolerance_percent": 10,
          "max_current_mA": 500,
          "nominal_voltage_V": 5,
          "description": "USB-supplied power with built-in protection",
          "regulation_type": "regulated",
          "ground_reference": "common",
          "voltage_range_V": [
            4.5,
            5.5
          ],
          "compatible_domains": [],
          "efficiency_percent": 90,
          "id": "usb_5v"
        },
        {
          "isolation_type": "non_isolated",
          "compatible_domains": [
            "usb_5v"
          ],
          "description": "Regulated 5V output for powering external components",
          "efficiency_percent": 85,
          "voltage_ripple_mV": 10,
          "voltage_tolerance_percent": 4,
          "ground_reference": "common",
          "voltage_range_V": [
            4.8,
            5.2
          ],
          "regulation_type": "regulated",
          "id": "regulated_5v",
          "max_current_mA": 800,
          "nominal_voltage_V": 5,
          "name": "Regulated 5V"
        },
        {
          "id": "regulated_3v3",
          "description": "Low-power 3.3V output for sensors and low-power devices",
          "regulation_type": "regulated",
          "ground_reference": "common",
          "max_current_mA": 150,
          "nominal_voltage_V": 3.3,
          "isolation_type": "non_isolated",
          "name": "Regulated 3.3V",
          "voltage_range_V": [
            3.1,
            3.5
          ],
          "voltage_tolerance_percent": 6,
          "voltage_ripple_mV": 5,
          "compatible_domains": [
            "regulated_5v"
          ],
          "efficiency_percent": 80
        },
        {
          "compatible_domains": [
            "regulated_5v"
          ],
          "voltage_tolerance_percent": 10,
          "regulation_type": "regulated",
          "name": "Digital I/O",
          "ground_reference": "common",
          "voltage_range_V": [
            4.5,
            5.5
          ],
          "isolation_type": "non_isolated",
          "max_current_mA": 40,
          "nominal_voltage_V": 5,
          "description": "5V logic level for digital I/O pins",
          "id": "digital_io"
        },
        {
          "compatible_domains": [
            "regulated_5v"
          ],
          "name": "Analog Reference",
          "max_current_mA": 1,
          "voltage_range_V": [
            1.1,
            5.5
          ],
          "regulation_type": "regulated",
          "nominal_voltage_V": 5,
          "id": "analog_ref",
          "description": "Precision reference for ADC measurements",
          "ground_reference": "common",
          "isolation_type": "non_isolated",
          "voltage_tolerance_percent": 1
        }
      ],
      "supply_voltage_V": [
        7,
        12
      ],
      "metadata": {
        "safety_standards": [
          "UL",
          "CSA"
        ],
        "package_type": "PCB Module",
        "emc_compliance": [
          "CE",
          "FCC"
        ],
        "supports_hot_plug": true,
        "supports_usb": true,
        "max_operating_freq_Hz": 16000000
      }
    },
    {
      "mount_holes": [
        {
          "diam_mm": 3.2,
          "x": 1.27,
          "y": 1.27
        },
        {
          "diam_mm": 3.2,
          "y": 1.27,
          "x": 43.18
        },
        {
          "y": 16.51,
          "diam_mm": 3.2,
          "x": 1.27
        },
        {
          "y": 16.51,
          "diam_mm": 3.2,
          "x": 43.18
        }
      ],
      "package_type": "PCB Module",
      "interfaces": [
        {
          "name": "PCB Mounting",
          "installation_torque_Nm": 0.3,
          "working_load_N": 200,
          "id": "pcb_mounting",
          "requires": [
            {
              "function": "mounting_hole",
              "count": 4
            }
          ],
          "description": "PCB mounting interface using 4 corner holes",
          "connection_type": "removable",
          "protocol": {
            "role": "mounting_point",
            "type": "threaded_connection"
          }
        }
      ],
      "domain": "mechanical",
      "dimensions_mm": {
        "length": 45,
        "width": 18,
        "height": 7
      },
      "metadata": {
        "enclosure_type": "open_pcb",
        "mounting_method": "through_hole",
        "field_serviceable": true,
        "assembly_time_min": 5
      },
      "weight_g": 7,
      "resources": [
        {
          "functions": [
            {
              "name": "mounting_hole"
            }
          ],
          "hole_diameter_mm": 3.2,
          "id": "mount_hole_1",
          "thread_spec": "M3",
          "max_force_N": 50,
          "connector_type": "through_hole",
          "description": "Top-left mounting hole"
        },
        {
          "max_force_N": 50,
          "hole_diameter_mm": 3.2,
          "connector_type": "through_hole",
          "functions": [
            {
              "name": "mounting_hole"
            }
          ],
          "description": "Top-right mounting hole",
          "id": "mount_hole_2",
          "thread_spec": "M3"
        },
        {
          "connector_type": "through_hole",
          "description": "Bottom-left mounting hole",
          "hole_diameter_mm": 3.2,
          "functions": [
            {
              "name": "mounting_hole"
            }
          ],
          "thread_spec": "M3",
          "id": "mount_hole_3",
          "max_force_N": 50
        },
        {
          "id": "mount_hole_4",
          "functions": [
            {
              "name": "mounting_hole"
            }
          ],
          "description": "Bottom-right mounting hole",
          "hole_diameter_mm": 3.2,
          "max_force_N": 50,
          "thread_spec": "M3",
          "connector_type": "through_hole"
        }
      ]
    },
    {
      "metadata": {
        "cooling_method": "passive",
        "thermal_monitoring_available": false,
        "requires_thermal_management": false,
        "thermal_design_power_W": 0.5
      },
      "operating_temperature_C": [
        -40,
        85
      ],
      "resources": [],
      "interfaces": [],
      "domain": "thermal"
    }
  ],
  "warnings": [
    "Do not exceed 40mA per I/O pin",
    "Do not reverse power supply polarity",
    "Ensure proper grounding for all connections",
    "USB and external power should not be used simultaneously",
    "Avoid exposing to high humidity or corrosive environments",
    "Maximum operating temperature is 85°C"
  ],
  "application_examples": [
    "IoT sensor nodes",
    "Wearable electronics",
    "Small robotics projects",
    "Educational electronics",
    "Prototype development",
    "Embedded control systems"
  ],
  "compatibility_notes": "Compatible with 5V and 3.3V sensors and actuators. Works with most Arduino libraries and shields. Can be programmed via USB or ISP. Compatible with Arduino IDE and other development environments.",
  "design_rules": [
    "Maximum 40mA per I/O pin",
    "Maximum 200mA total I/O current",
    "VIN must be 7-12V when using external power",
    "USB and VIN power sources are mutually exclusive",
    "Do not exceed 5.5V on any pin when powered by USB",
    "Use external pull-up resistors for I2C communication",
    "Ensure proper decoupling capacitors for stable operation"
  ],
  "usage_notes": "Arduino Nano is a compact microcontroller board perfect for embedded projects requiring a small footprint. Excellent for prototyping and small-scale production. Compatible with most Arduino shields and libraries. Can be powered via USB or external VIN, with onboard regulator providing 5V and 3.3V outputs.",
  "validation_requirements": [
    "Check power supply compatibility",
    "Verify I/O voltage levels",
    "Validate current limits",
    "Check communication protocol compatibility",
    "Ensure proper grounding",
    "Verify analog reference voltage"
  ],
  "metadata": {
    "name": "Arduino Nano",
    "part_number": "A000005",
    "tags": [
      "mcu",
      "board",
      "5v",
      "usb",
      "atmega328p",
      "arduino",
      "microcontroller",
      "embedded"
    ],
    "description": "Arduino Nano microcontroller board with USB connectivity, based on ATmega328P. Compact form factor ideal for embedded projects requiring a small footprint with full Arduino compatibility.",
    "version": "0.4.0",
    "datasheet_url": "https://docs.arduino.cc/resources/datasheets/A000005-datasheet.pdf",
    "manufacturer": "Arduino",
    "type": "microcontroller",
    "id": "arduino-nano",
    "schema_version": "1.4.0",
    "taxonomy": [
      "microcontroller.arduino"
    ]
  }
}