{
  "metadata": {
    "id": "seeed-xiao-esp32c3",
    "name": "Seeed Studio XIAO ESP32C3",
    "type": "mcu_dev_board",
    "manufacturer": "Seeed Studio",
    "part_number": "113991054",
    "datasheet_url": "https://www.seeedstudio.com/Seeed-XIAO-ESP32C3-p-5431.html",
    "description": "Thumb-sized ESP32-C3 (RISC-V) dev board in the XIAO form factor with USB-C, 3.3V I/O, Wi-Fi + BLE, and an external U.FL antenna connector.",
    "tags": [
      "xiao",
      "esp32-c3",
      "risc-v",
      "wifi",
      "ble",
      "usb-c"
    ],
    "version": "0.2.0",
    "schema_version": "1.4.0",
    "taxonomy": [
      "microcontroller.seeed_mcu",
      "microcontroller.esp32",
      "connectivity.wireless"
    ]
  },
  "domains": [
    {
      "domain": "electrical",
      "power_domains": [
        {
          "id": "usb_5v",
          "name": "USB / 5V rail",
          "nominal_voltage_V": 5,
          "voltage_range_V": {
            "min": 4.75,
            "max": 5.25
          },
          "max_current_mA": 500
        },
        {
          "id": "regulated_3v3",
          "name": "3.3V regulator output",
          "nominal_voltage_V": 3.3,
          "voltage_range_V": {
            "min": 3,
            "max": 3.6
          },
          "max_current_mA": 700
        },
        {
          "id": "io_3v3",
          "name": "3.3V digital/analog I/O reference",
          "nominal_voltage_V": 3.3,
          "voltage_range_V": {
            "min": 3,
            "max": 3.6
          },
          "max_current_mA": 20
        },
        {
          "id": "gnd",
          "name": "Ground",
          "nominal_voltage_V": 0,
          "voltage_range_V": {
            "min": 0,
            "max": 0
          },
          "max_current_mA": 2000
        }
      ],
      "resources": [
        {
          "id": "usb_c",
          "name": "USB-C receptacle",
          "connector_type": "usb_c",
          "power_domain_id": "usb_5v",
          "functions": [
            {
              "name": "power_input",
              "direction": "input",
              "shareable_with": [
                "usb_dp",
                "usb_dm",
                "ground"
              ]
            },
            {
              "name": "usb_dp",
              "direction": "bidirectional",
              "shareable_with": [
                "power_input",
                "usb_dm",
                "ground"
              ]
            },
            {
              "name": "usb_dm",
              "direction": "bidirectional",
              "shareable_with": [
                "power_input",
                "usb_dp",
                "ground"
              ]
            },
            {
              "name": "ground",
              "direction": "bidirectional",
              "shareable_with": [
                "power_input",
                "usb_dp",
                "usb_dm"
              ]
            }
          ]
        },
        {
          "id": "pin_5v",
          "name": "5V pin",
          "connector_type": "pin",
          "power_domain_id": "usb_5v",
          "functions": [
            {
              "name": "power_input",
              "direction": "input",
              "shareable_with": [
                "power_output"
              ]
            },
            {
              "name": "power_output",
              "direction": "output",
              "shareable_with": [
                "power_input"
              ]
            }
          ]
        },
        {
          "id": "pin_3v3",
          "name": "3V3 pin",
          "connector_type": "pin",
          "power_domain_id": "regulated_3v3",
          "functions": [
            {
              "name": "power_output",
              "direction": "output"
            }
          ]
        },
        {
          "id": "gnd_pin",
          "name": "GND pin",
          "connector_type": "pin",
          "power_domain_id": "gnd",
          "functions": [
            {
              "name": "ground",
              "direction": "bidirectional"
            }
          ]
        },
        {
          "id": "d0",
          "name": "D0 / A0",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "analog_input",
              "direction": "input"
            }
          ]
        },
        {
          "id": "d1",
          "name": "D1 / A1",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "analog_input",
              "direction": "input"
            }
          ]
        },
        {
          "id": "d2",
          "name": "D2 / A2",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "analog_input",
              "direction": "input"
            }
          ]
        },
        {
          "id": "d3",
          "name": "D3 / A3",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "analog_input",
              "direction": "input"
            }
          ]
        },
        {
          "id": "d4",
          "name": "D4 / SDA",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "i2c_sda",
              "direction": "bidirectional"
            }
          ]
        },
        {
          "id": "d5",
          "name": "D5 / SCL",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "i2c_scl",
              "direction": "bidirectional"
            }
          ]
        },
        {
          "id": "d6",
          "name": "D6 / TX",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "uart_tx",
              "direction": "output"
            }
          ]
        },
        {
          "id": "d7",
          "name": "D7 / RX (also usable as SPI SS)",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "uart_rx",
              "direction": "input"
            },
            {
              "name": "spi_ss",
              "direction": "output"
            }
          ]
        },
        {
          "id": "d8",
          "name": "D8 / SCK",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "spi_sck",
              "direction": "output"
            }
          ]
        },
        {
          "id": "d9",
          "name": "D9 / MISO",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "spi_miso",
              "direction": "input"
            }
          ]
        },
        {
          "id": "d10",
          "name": "D10 / MOSI",
          "connector_type": "pin",
          "power_domain_id": "io_3v3",
          "functions": [
            {
              "name": "digital_io",
              "direction": "bidirectional"
            },
            {
              "name": "spi_mosi",
              "direction": "output"
            }
          ]
        }
      ],
      "interfaces": [
        {
          "id": "power_in_usb",
          "name": "5V power in",
          "protocol": {
            "type": "power",
            "role": "input"
          },
          "requires": [
            {
              "function": "power_input",
              "count": 1
            },
            {
              "function": "ground",
              "count": 1
            }
          ]
        },
        {
          "id": "power_out_3v3",
          "name": "3.3V power out",
          "protocol": {
            "type": "power",
            "role": "output"
          },
          "requires": [
            {
              "function": "power_output",
              "count": 1
            },
            {
              "function": "ground",
              "count": 1
            }
          ]
        },
        {
          "id": "usb_device",
          "name": "USB device/data",
          "protocol": {
            "type": "usb",
            "role": "device"
          },
          "requires": [
            {
              "function": "usb_dp",
              "count": 1
            },
            {
              "function": "usb_dm",
              "count": 1
            }
          ]
        },
        {
          "id": "gpio",
          "name": "GPIO (single pin)",
          "protocol": {
            "type": "digital",
            "role": "peer"
          },
          "requires": [
            {
              "function": "digital_io",
              "count": 1
            }
          ]
        },
        {
          "id": "adc_in",
          "name": "ADC (single channel)",
          "protocol": {
            "type": "analog",
            "role": "input"
          },
          "requires": [
            {
              "function": "analog_input",
              "count": 1
            }
          ]
        },
        {
          "id": "i2c_master",
          "name": "I2C master",
          "protocol": {
            "type": "i2c",
            "role": "master"
          },
          "requires": [
            {
              "function": "i2c_sda",
              "count": 1
            },
            {
              "function": "i2c_scl",
              "count": 1
            }
          ]
        },
        {
          "id": "spi_master",
          "name": "SPI master",
          "protocol": {
            "type": "spi",
            "role": "master"
          },
          "requires": [
            {
              "function": "spi_sck",
              "count": 1
            },
            {
              "function": "spi_mosi",
              "count": 1
            },
            {
              "function": "spi_miso",
              "count": 1
            },
            {
              "function": "spi_ss",
              "count": 1
            }
          ]
        },
        {
          "id": "uart",
          "name": "UART",
          "protocol": {
            "type": "uart",
            "role": "peer"
          },
          "requires": [
            {
              "function": "uart_tx",
              "count": 1
            },
            {
              "function": "uart_rx",
              "count": 1
            }
          ]
        }
      ]
    },
    {
      "domain": "network",
      "resources": [
        {
          "id": "ufl_antenna",
          "name": "U.FL external antenna connector",
          "resource_type": "physical_port",
          "port_specifications": {
            "port_type": "wireless",
            "connector": "u.fl"
          },
          "functions": [
            {
              "name": "wifi_antenna",
              "direction": "bidirectional",
              "shareable_with": [
                "bluetooth_antenna"
              ]
            },
            {
              "name": "bluetooth_antenna",
              "direction": "bidirectional",
              "shareable_with": [
                "wifi_antenna"
              ]
            }
          ]
        }
      ],
      "interfaces": [
        {
          "id": "wifi_client",
          "name": "Wi-Fi (client)",
          "protocol": {
            "type": "wifi",
            "role": "client"
          },
          "requires": [
            {
              "function": "wifi_antenna",
              "count": 1
            }
          ]
        },
        {
          "id": "bluetooth_peer",
          "name": "Bluetooth LE",
          "protocol": {
            "type": "bluetooth",
            "role": "peer"
          },
          "requires": [
            {
              "function": "bluetooth_antenna",
              "count": 1
            }
          ]
        }
      ],
      "wireless_capabilities": {
        "supported_wireless_standards": [
          "802.11 b/g/n (2.4GHz)",
          "Bluetooth 5 (LE)"
        ]
      }
    },
    {
      "domain": "thermal",
      "resources": [],
      "interfaces": [],
      "operating_temperature_C": {
        "min": -40,
        "max": 85
      }
    },
    {
      "domain": "mechanical",
      "resources": [],
      "interfaces": [],
      "dimensions_mm": {
        "length": 21,
        "width": 17.8
      }
    }
  ],
  "warnings": [
    "All GPIO/ADC are 3.3V-domain; do not apply 5V logic directly.",
    "D6/D7 are the default UART TX/RX pins; D7 is also modeled as SPI SS, so UART and SPI-SS may contend if both are required simultaneously.",
    "Some pins are strapping/boot sensitive (board docs recommend avoiding external pulls on certain pins during reset/boot).",
    "USB 5V available current depends on the upstream USB source and any onboard protection; treat 500mA as a USB2.0 default-budget, not a guaranteed board output capability."
  ]
}