{
    "key": "nodemcu-32s",
    "kind": "board",
    "source": "authored",
    "status": "draft",
    "harness": {
        "gpio": {
            "notes": "Almost every pin is routable to almost any peripheral through the GPIO matrix, so a driver binds to a pin number chosen at deploy time rather than to a fixed function. The strapping pins and the pins bonded to on-package flash are the exceptions and must not be used.",
            "library": "machine",
            "pin_scheme": "gpio"
        },
        "flash": {
            "baud": 460800,
            "tool": "esptool.py",
            "notes": "Flashes through an on-board USB to UART bridge. esptool drives the reset and boot lines automatically, so the boot button is not normally needed.",
            "method": "usb-serial",
            "port_hint": "/dev/ttyUSB0"
        },
        "probe": {
            "commands": [
                "import sys; print(sys.implementation)",
                "import os; print(os.uname())",
                "import machine; print(machine.freq())",
                "import gc; gc.collect(); print(gc.mem_free())",
                "from machine import I2C, Pin; print(I2C(0).scan())"
            ],
            "model_file": null,
            "overlay_file": null
        },
        "runtime": {
            "python3": true,
            "os_family": null,
            "package_manager": "mip",
            "service_manager": null
        },
        "verified": {
            "by": null,
            "os": null,
            "date": null,
            "reviewed_by": null,
            "evidence_url": null
        },
        "transport": {
            "ota": true,
            "tls": true,
            "notes": "Connects to the broker directly over Wi-Fi. TLS works but the handshake is the largest memory spike in a typical device program, so size the heap around it rather than around steady state.",
            "network": [
                "wifi",
                "bluetooth"
            ],
            "mqtt_client": "umqtt.simple"
        },
        "toolchains": [
            "MicroPython",
            "ESP-IDF",
            "Arduino IDE",
            "Arduino CLI",
            "PlatformIO"
        ],
        "local_inference": {
            "llm": {
                "notes": "Kilobytes of RAM. A general language model does not run here and never will. Send the reading to something that can.",
                "viable": false,
                "runtimes": [],
                "max_params_b": null,
                "quantisation": [],
                "max_model_size_gb": null
            },
            "notes": "Sold under many names with the same layout. The USB bridge chip varies between CP2102 and CH340 and decides which host driver is needed.",
            "tinyml": {
                "notes": "Same silicon as the DevKitC, same limits.",
                "viable": true,
                "frameworks": [
                    "ESP-DL",
                    "TensorFlow Lite Micro"
                ]
            },
            "viable": true,
            "accelerator": null,
            "usable_memory_gb": null
        },
        "provisioning_model": "micropython",
        "component_attachment": "gpio-header",
        "supported_provisioning_models": [
            "micropython",
            "arduino-sketch",
            "vendor-firmware"
        ]
    },
    "platform": {
        "cpu": "Xtensa dual-core LX6 @ 240MHz",
        "ram": "520KB SRAM",
        "name": "NodeMCU-32S",
        "power": [
            {
                "source": "USB",
                "voltage_max": 5,
                "voltage_min": 5
            },
            {
                "source": "5V pin",
                "voltage_max": 5,
                "voltage_min": 5
            },
            {
                "source": "3V3 pin",
                "voltage_max": 3.3,
                "voltage_min": 3.3
            }
        ],
        "has_gpu": false,
        "has_npu": false,
        "has_tpu": false,
        "storage": "4MB Flash",
        "weight_g": null,
        "gpio_pins": 30,
        "board_type": "Microcontroller",
        "interfaces": [
            {
                "type": "Micro USB",
                "count": 1
            },
            {
                "type": "2.54mm header",
                "count": 2
            }
        ],
        "description": "Generic ESP32-WROOM-32 development board on a 30-pin breadboard-friendly footprint. The commodity ESP32.",
        "adc_channels": 16,
        "dac_channels": 2,
        "manufacturer": "AI-Thinker",
        "model_number": "NodeMCU-32S",
        "pwm_channels": 16,
        "datasheet_url": null,
        "dimensions_mm": null,
        "serial_protocols": [
            {
                "count": 2,
                "protocol": "I2C"
            },
            {
                "count": 4,
                "protocol": "SPI"
            },
            {
                "count": 3,
                "protocol": "UART"
            }
        ],
        "operating_systems": [
            {
                "name": "ESP-IDF"
            },
            {
                "name": "Arduino Core"
            },
            {
                "name": "MicroPython"
            }
        ],
        "operating_voltage": "3.3V",
        "communication_chips": [
            {
                "protocol": "Wi-Fi",
                "standard": "802.11b/g/n",
                "chip_model": "ESP32-WROOM-32"
            },
            {
                "protocol": "Bluetooth",
                "standard": "4.2 BR/EDR and BLE",
                "chip_model": "ESP32-WROOM-32"
            }
        ]
    },
    "revision": 1
}