{
  "plan": "- The core electrical design features an STM32L4 MCU, NXP SE051 Secure Element, Infineon SLB 9670 TPM 2.0, and TI TMP117 temperature sensor, Maxim MAX16162 supply supervisor, and PCB-routed active tamper mesh, integrated onto a 30x80mm, 4-layer PCB. - Power regulation is handled by a TI TPS73633 LDO, with LEDs and a piezo buzzer for status indication and tamper alerts. - The PCB is designed for two form factors: a USB-A stick variant housed in a two-piece clamshell enclosure, or an M.2 Key-E module. - The USB-A enclosure is an 84x24x9mm ABS+glass-fiber shell with integrated light pipes, a buzzer aperture, and internal ribs for PCB retention. - The M.2 Key-E variant leverages the host chassis for physical security and may include an optional copper heatspreader for thermal management. - Both variants feature specific labeling and compliance markings, with a teal accent stripe on the USB-A enclosure.",
  "nodes": [
    {
      "id": "secure_element_se051",
      "name": "Secure Element",
      "pins": [
        "I\u00b2C SCL",
        "I\u00b2C SDA",
        "3V3",
        "GND",
        "ENA"
      ],
      "type": "module",
      "partId": "706a51d1-4edd-4099-8811-364928f8e1b5",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/wf4NDDqh4ZxcqmLygM0RkjEdR1NoYkY5EooKkZpVaIk/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9teS5z/dGFnZS5hdm5ldC5j/b20vd2NtL2Nvbm5l/Y3QvYWI1ZjBhYzgt/MWMyYi00ZjliLWFm/ZjAtNmY5NDQ3OWEz/MTMzL05YUCtFZGdl/TG9jaytTRTA1MS5q/cGc_TU9EPUFKUEVS/RVMmQ29udGVudENh/Y2hlPU5PTkUmQ0FD/SEU9Tk9ORSZDQUNI/RUlEPVJPT1RXT1JL/U1BBQ0UtYWI1ZjBh/YzgtMWMyYi00Zjli/LWFmZjAtNmY5NDQ3/OWEzMTMzLXA3NzBp/T28",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=NXP%20EdgeLock%20SE051C2HQ1%2FZ01V&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "5x5x0.85mm",
      "productName": "NXP EdgeLock SE051C2HQ1/Z01V",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=SE051C2HQ1/Z01V",
      "estimatedCost": 35
    },
    {
      "id": "tpm_slb9670",
      "name": "TPM 2.0 Module",
      "pins": [
        "SPI CS_n",
        "SPI CLK",
        "SPI MISO",
        "SPI MOSI",
        "RST_n",
        "PIRQ_n",
        "3V3",
        "GND"
      ],
      "type": "module",
      "partId": "38ccc8e8-2351-46db-8788-872f3a641e57",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/GdU2V8W14rLYei8-mnzPtmr9Qv4RqwV9cqzqCXACs6A/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9jMS5u/ZXdlZ2dpbWFnZXMu/Y29tL3Byb2R1Y3Rp/bWFnZS9uYjEyODAv/VjFEU0QyMDExMDU5/MVZOTS5qcGc",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Infineon%20SLB%209670VQ2.0&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "5x5x0.85mm",
      "productName": "Infineon SLB 9670VQ2.0",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=SLB9670VQ2.0",
      "estimatedCost": 25
    },
    {
      "id": "mcu_stm32l432kcu6",
      "name": "Main MCU",
      "pins": [
        "USB D-",
        "USB D+",
        "I\u00b2C1 SCL",
        "I\u00b2C1 SDA",
        "SPI1 NSS",
        "SPI1 SCK",
        "SPI1 MISO",
        "SPI1 MOSI",
        "TPM_RST_n",
        "TPM_PIRQ",
        "MESH_LOOP_A",
        "MESH_LOOP_B",
        "V_GLITCH_DET",
        "TEMP_SENSE",
        "LED_PWR",
        "LED_TIER_R",
        "LED_TIER_G",
        "LED_TIER_B",
        "LED_ALARM",
        "BUZZER_PWM",
        "SWDIO",
        "SWCLK",
        "3V3",
        "GND",
        "NC (LSE_IN/LSE_OUT)",
        "NC (HSE_IN/HSE_OUT)",
        "NC (reset to MCU)",
        "NC (WAKE_n)"
      ],
      "type": "mcu",
      "partId": "044da6ed-c681-4efb-bcca-e9c3dac1029f",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/G_DSC24ejv0YAQ2AAH4OnoG5NcajcYyvv1DXUMsh730/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9tZWRp/YS5zemNvbXBvbmVu/dHMuY29tL3JlYWxQ/aWMvU1RNMzJMNDMy/S0NVNi5KUEc",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=STMicro%20STM32L432KCU6&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "5x5x0.55mm",
      "productName": "STMicro STM32L432KCU6",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=STM32L432KCU6",
      "estimatedCost": 18
    },
    {
      "id": "trng_atsha204a",
      "name": "Discrete TRNG / Serial Number",
      "pins": [
        "I\u00b2C SCL",
        "I\u00b2C SDA",
        "VCC",
        "GND"
      ],
      "type": "module",
      "partId": "78064cbb-8268-411d-adb3-c5afa1884ef5",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/sCtUKhdV2DguSbjHXavuRJl0kWWfblk6Y0DEngrJW1g/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9tZWRp/YS5kaWdpa2V5LmNv/bS9SZW5kZXJzL0F0/bWVsJTIwUmVuZGVy/cy84LVVERk4tOE1B/Mi5qcGc",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Microchip%20ATSHA204A&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "2x3x0.6mm",
      "productName": "Microchip ATSHA204A",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=ATSHA204A",
      "estimatedCost": 12
    },
    {
      "id": "ldo_tps73633dbv",
      "name": "LDO 5V to 3.3V",
      "pins": [
        "VIN",
        "VOUT",
        "GND",
        "EN",
        "FB"
      ],
      "type": "power",
      "partId": "b5fafa52-dc52-40eb-9dfa-5adf90371287",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/z5zzSUW9bOKDW7GIIo6KBLdkk92Z7Xy2dfQCpsO9pCg/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly93d3cu/YWxsZGF0YXNoZWV0/LmNvbS9zZW1pY29u/ZHVjdG9yL2VsZWN0/cm9uaWNfcGFydHMv/ZGF0YXNoZWV0LzE2/NDQ2NC9USS9UUFM3/MzYzM0RCVlIuR0lG/P249MQ.jpeg",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Texas%20Instruments%20TPS73633DBV&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "2.9x1.6x1.1mm",
      "productName": "Texas Instruments TPS73633DBV",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=TPS73633DBV",
      "estimatedCost": 0.8
    },
    {
      "id": "esd_protection_tpd2e001",
      "name": "USB ESD Protection",
      "pins": [
        "USB D-",
        "USB D+",
        "VCC",
        "GND"
      ],
      "type": "module",
      "partId": "0f32b499-0118-4fcc-b5f3-d6cb91e1b0b2",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/KWVfAODL-kgsB7Nvz352GrGgzkkTTTngAgmBGY1H-V4/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly93d3cu/d2luLXNvdXJjZS5u/ZXQvY29udGVudC9p/bWFnZXMvdGh1bWJz/LzM2MzMzMDcuanBl/Zw",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=TPD2E001&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "1x1.5x0.5mm",
      "productName": "TPD2E001",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=TPD2E001",
      "estimatedCost": 0.3
    },
    {
      "id": "rtc_crystal_abs06",
      "name": "RTC Crystal",
      "pins": [
        "XTAL1",
        "XTAL2"
      ],
      "type": "module",
      "partId": "a98e93f1-5f11-4c4d-9031-c12d3090fad5",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/VcyOz93pF1VMg6qKncJ1vzbPu8OVhzWT_5q7Mr3e_qU/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly93d3cu/bmV3YXJrLmNvbS9w/cm9kdWN0aW1hZ2Vz/L3N0YW5kYXJkL2Vu/X0dCLzIxMDEzNDUt/NDAuanBn",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Abracon%20ABS06&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "3.2x1.5x0.8mm",
      "productName": "Abracon ABS06",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=Abracon+ABS06",
      "estimatedCost": 0.4
    },
    {
      "id": "mcu_hse_crystal_abm3b",
      "name": "MCU HSE Crystal",
      "pins": [
        "XTAL1",
        "XTAL2"
      ],
      "type": "module",
      "partId": "254d5474-dcbb-4c08-bd05-04bd7340b696",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/IeXO3wimDB_gx1rjeBkN0Qs6ktwCitpg_K6uf0c1cpY/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9tZWRp/YS5oYWxsdHJvbmlj/cy5jb20vaW1hZ2Vz/L2FibTNiLTE2LTAw/MG1oei1iMi10Lmpw/Zw",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Abracon%20ABM3B&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "3.2x2.5x0.9mm",
      "productName": "Abracon ABM3B",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=Abracon+ABM3B",
      "estimatedCost": 0.45
    },
    {
      "id": "led_power_green",
      "name": "Power LED",
      "pins": [
        "Anode",
        "Cathode"
      ],
      "type": "display",
      "partId": "8a9adc22-e6f0-44c9-ba16-6d57c7dc95a9",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/985mxpv5MQFdoPzbcou2xyKuhGd8EZdYxZ79yCiFYiE/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9sZWVz/ZWxlY3Ryb25pYy5j/b20vMjAzMDktaG9t/ZV9kZWZhdWx0LzU1/NjZMRUQwNjAzU01E/R1JFRU4uanBn",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Green%200603%20LED&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "1.6x0.8x0.6mm",
      "productName": "Green 0603 LED",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=Green+0603+LED",
      "estimatedCost": 0.1
    },
    {
      "id": "led_tier_rgb",
      "name": "Tier Indicator LED",
      "pins": [
        "Red Anode",
        "Green Anode",
        "Blue Anode",
        "Common Cathode"
      ],
      "type": "display",
      "partId": "2284c7ec-5046-4fe6-98b5-1569ec7e51f9",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/pWHEzaJ2FNBkGD3sZ0ZNrX1hyneSpbM6UEjzsLF6NDE/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9rb2tv/bG9nZ28uZGUvbWVk/aWEvaW1hZ2UvcHJv/ZHVjdC8xMDE2OC9z/bS9kdW8tYmljb2xv/ci1sZWQtMDYwNi11/bmQtdHJpY29sb3It/cmdiLXJneS1tdWx0/aWNvbG9yLWVpbnpl/bG4tc3RldWVyYmFy/LXNtZC1sZWRzfjIu/anBn",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Tri-colour%20RGB%200606%20LED&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "1.6x1.6x0.6mm",
      "productName": "Tri-colour RGB 0606 LED",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=RGB+0606+LED",
      "estimatedCost": 0.1
    },
    {
      "id": "led_alarm_red",
      "name": "Alarm LED",
      "pins": [
        "Anode",
        "Cathode"
      ],
      "type": "display",
      "partId": "1c42c4f4-e5a5-4089-b3cb-f1877ef422a3",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/eCG4lSdiIzZq7tqhgmey9oPIq15Pzzrp6CVEFsbLP1k/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly90aW5r/ZXJzcGhlcmUuY29t/Lzc2NTAtbGFyZ2Vf/ZGVmYXVsdC9yZWQt/c21kLWxlZHMtMDYw/My1wYWNrLW9mLTI1/LmpwZw",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Red%200603%20LED&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "1.6x0.8x0.6mm",
      "productName": "Red 0603 LED",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=Red+0603+LED",
      "estimatedCost": 0.1
    },
    {
      "id": "buzzer_piezo",
      "name": "Piezo Buzzer",
      "pins": [
        "PWM Input",
        "GND"
      ],
      "type": "actuator",
      "partId": "f410e537-89e0-4c13-96a4-147a470625ff",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/c1IJDmu9cxCXbFowvx4Q92Xqfrr0OHMsXHvhh-p7QTU/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9zLmFs/aWNkbi5jb20vQHNj/MDQva2YvSDExMWFk/ODJhNTk5MTQ5YjU4/NmYwNGFkNzQ5MTU4/ZDI2ai5qcGdfNzIw/eDcyMHE1MC5qcGc",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Kingstate%20KPT-G2810&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "10x10x2mm",
      "productName": "Kingstate KPT-G2810",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=Kingstate+KPT-G2810",
      "estimatedCost": 1.5
    },
    {
      "id": "connector_usb_a_castellated",
      "name": "USB-A Castellated Pads",
      "pins": [
        "D-",
        "D+",
        "VBUS",
        "GND"
      ],
      "type": "module",
      "partId": "58e57479-ef9d-4c69-b9a0-37a3df2ea9ae",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/Btdu-mQgKaNdtyswEGeiwAcB0qsJ8HdnIH6-QaHJ0mg/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9pbWc4/MDAwMjUyNy53ZXll/c2ltZy5jb20vdXBs/b2Fkcy8yaHRqdGR5/eS5hbGx3ZXllcy5j/b20vaW1hZ2VzLzlm/MTFmZjY1ZTc0NThl/NjY2ODJhMTI0NTNh/NTYxM2E3LmpwZz9p/bWFnZVZpZXcyLzIv/dy84MDAvaC84MDAv/cS83NS9mb3JtYXQv/d2VicA",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Custom%20PCB%20Castellations&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "12.0x1.6x3.0mm",
      "productName": "Custom PCB Castellations",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=USB-A+castellated+connector",
      "estimatedCost": 0
    },
    {
      "id": "connector_m2_key_e",
      "name": "M.2 Key-E Gold Fingers",
      "pins": [
        "3V3",
        "GND",
        "SPI CLK",
        "SPI MOSI",
        "SPI MISO",
        "SPI CS_n",
        "PERST_n",
        "WAKE_n",
        "NC (M.2 Key-E does not use USB D- for USB-FS. This connection would only be relevant if M.2 supported USB-FS on this pin, which it doesn't usually for Key-E. Will map to J2.A20 for consistency per prompt.)",
        "NC (M.2 Key-E does not use USB D+ for USB-FS. This connection would only be relevant if M.2 supported USB-FS on this pin, which it doesn't usually for Key-E. Will map to J2.A22 for consistency per prompt.)",
        "SPI_CLK",
        "SPI_MOSI",
        "SPI_MISO",
        "SPI_CS_n"
      ],
      "type": "module",
      "partId": "ecddac8c-ba1e-4b69-9d38-61f9bb61c245",
      "category": "electrical",
      "imageUrl": "https://imgs.search.brave.com/RvMjsA7fjlvoEeQLw2Dsboo_-Ps9n2d3s_FVqzUjtis/rs:fit:500:0:1:0/g:ce/aHR0cHM6Ly9pbWc1/NjY4LndleWVzaW1n/LmNvbS91cGxvYWRz/L3d3dy5yb2NrZXQt/cGNiLmNvbS9pbWFn/ZXMvMTU1OTczNjM1/MzI1OTYuanBn",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Custom%20PCB%20Gold%20Fingers&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "22.0x7.0x1.6mm",
      "productName": "Custom PCB Gold Fingers",
      "purchaseUrl": "https://www.digikey.com/en/products/result?keywords=M.2+Key-E+gold+fingers",
      "estimatedCost": 0
    },
    {
      "id": "usb_a_enclosure_top_shell",
      "name": "USB-A Enclosure Top Shell",
      "type": "3d_printed",
      "partId": "4db0127b-4071-4903-ad95-4af2f6a108ba",
      "category": "mechanical",
      "material": "Nylon SLS",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=USB-A%20Enclosure%20Top%20Shell&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "84x24x4.5mm",
      "description": "Top half of the two-piece clamshell enclosure for the USB-A variant, featuring LED light pipes and internal PCB retention ribs.",
      "purchaseUrl": "https://www.amazon.com/s?k=3d+printing+service+nylon+sls",
      "estimatedCost": 15,
      "printSettings": "SLS process"
    },
    {
      "id": "usb_a_enclosure_bottom_shell",
      "name": "USB-A Enclosure Bottom Shell",
      "type": "3d_printed",
      "partId": "2be65bb3-fce6-4bc4-a482-0558615e9307",
      "category": "mechanical",
      "material": "Nylon SLS",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=USB-A%20Enclosure%20Bottom%20Shell&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "84x24x4.5mm",
      "description": "Bottom half of the two-piece clamshell enclosure for the USB-A variant, featuring buzzer aperture and internal PCB retention ribs.",
      "purchaseUrl": "https://www.amazon.com/s?k=3d+printing+service+nylon+sls",
      "estimatedCost": 15,
      "printSettings": "SLS process"
    },
    {
      "id": "pcb_retention_ribs_usb_a",
      "name": "PCB Retention Ribs",
      "type": "structural",
      "partId": "22ce1bb0-36b6-4a47-8522-ad1bb797c95e",
      "category": "mechanical",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=PCB%20Retention%20Ribs&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "variable",
      "description": "Integral ribs within the USB-A enclosure shells designed to mechanically retain the PCB.",
      "purchaseUrl": "N/A - Integrated into enclosure",
      "estimatedCost": 0
    },
    {
      "id": "led_light_pipe_ld1",
      "name": "Light Pipe for LD1",
      "type": "3d_printed",
      "partId": "9959ae6b-ef07-4797-a60f-ad3358191259",
      "category": "mechanical",
      "material": "Clear Resin",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Light%20Pipe%20for%20LD1&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "mountsFor": "led_power_green",
      "dimensions": "3x2x4mm",
      "description": "Clear acrylic light pipe for the power LED (LD1) integrated into the USB-A enclosure top shell.",
      "purchaseUrl": "https://www.amazon.com/s?k=clear+resin+3d+print",
      "estimatedCost": 0.5,
      "printSettings": "SLA/DLP process"
    },
    {
      "id": "led_light_pipe_ld2",
      "name": "Light Pipe for LD2",
      "type": "3d_printed",
      "partId": "990cfbad-8790-4c52-96e0-8afd2995ee2b",
      "category": "mechanical",
      "material": "Clear Resin",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Light%20Pipe%20for%20LD2&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "mountsFor": "led_tier_rgb",
      "dimensions": "3x2x4mm",
      "description": "Clear acrylic light pipe for the tier indicator LED (LD2) integrated into the USB-A enclosure top shell.",
      "purchaseUrl": "https://www.amazon.com/s?k=clear+resin+3d+print",
      "estimatedCost": 0.5,
      "printSettings": "SLA/DLP process"
    },
    {
      "id": "led_light_pipe_ld3",
      "name": "Light Pipe for LD3",
      "type": "3d_printed",
      "partId": "1e67e2e2-4cec-42a4-b681-a51e3394d58b",
      "category": "mechanical",
      "material": "Clear Resin",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Light%20Pipe%20for%20LD3&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "mountsFor": "led_alarm_red",
      "dimensions": "3x2x4mm",
      "description": "Clear acrylic light pipe for the alarm LED (LD3) integrated into the USB-A enclosure top shell.",
      "purchaseUrl": "https://www.amazon.com/s?k=clear+resin+3d+print",
      "estimatedCost": 0.5,
      "printSettings": "SLA/DLP process"
    },
    {
      "id": "m1_6_self_tapping_screw_1",
      "name": "M1.6 Self-Tapping Screw (Corner 1)",
      "type": "misc",
      "partId": "dbf05bd3-d72a-470e-9a44-fc687e9e0e26",
      "category": "mechanical",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=M1.6x5mm%20Self-Tapping%20Screw&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "M1.6x5mm",
      "description": "Small self-tapping screw for securing the USB-A enclosure halves.",
      "productName": "M1.6x5mm Self-Tapping Screw",
      "purchaseUrl": "https://www.amazon.com/s?k=M1.6+self-tapping+screw",
      "estimatedCost": 0.05
    },
    {
      "id": "m1_6_self_tapping_screw_2",
      "name": "M1.6 Self-Tapping Screw (Corner 2)",
      "type": "misc",
      "partId": "dbf05bd3-d72a-470e-9a44-fc687e9e0e26",
      "category": "mechanical",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=M1.6x5mm%20Self-Tapping%20Screw&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "M1.6x5mm",
      "description": "Small self-tapping screw for securing the USB-A enclosure halves.",
      "productName": "M1.6x5mm Self-Tapping Screw",
      "purchaseUrl": "https://www.amazon.com/s?k=M1.6+self-tapping+screw",
      "estimatedCost": 0.05
    },
    {
      "id": "tamper_security_label_usb_a",
      "name": "Tamper Evident Security Label (USB-A)",
      "type": "misc",
      "partId": "8388a85a-2f65-4582-86c5-2c3b6709a93a",
      "category": "mechanical",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Tamper%20Evident%20Security%20Seal&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "15x5mm",
      "description": "Security label applied across the seam of the USB-A enclosure to indicate tampering.",
      "productName": "Tamper Evident Security Seal",
      "purchaseUrl": "https://www.amazon.com/s?k=tamper+evident+security+seal",
      "estimatedCost": 0.2
    },
    {
      "id": "m2_brass_standoff_m2",
      "name": "M2 Brass Standoff for M.2 Module",
      "type": "misc",
      "partId": "c6c2b377-2061-4b67-bdc9-95f8a6583e7f",
      "category": "mechanical",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=M2x4mm%20Brass%20Standoff&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "mountsFor": "connector_m2_key_e",
      "dimensions": "M2x4mm",
      "description": "Single M2 brass standoff for securing the M.2 Key-E module to the host chassis.",
      "productName": "M2x4mm Brass Standoff",
      "purchaseUrl": "https://www.amazon.com/s?k=m2+brass+standoff",
      "estimatedCost": 0.1
    },
    {
      "id": "optional_copper_heatspreader",
      "name": "Optional Copper Heatspreader (M.2)",
      "type": "structural",
      "partId": "3088e9f3-ba4f-4f25-9a53-b09eba1fe3fe",
      "category": "mechanical",
      "material": "Copper",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Copper%20Shim%20Heat%20Sink&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "mountsFor": "secure_element_se051",
      "dimensions": "30x20x1mm",
      "description": "Optional 1mm thick copper heatspreader bonded to U1 and U2 to conduct heat to the host chassis.",
      "productName": "Copper Shim Heat Sink",
      "purchaseUrl": "https://www.amazon.com/s?k=copper+shim+heat+sink+1mm",
      "estimatedCost": 3
    },
    {
      "id": "conformal_coating",
      "name": "Conformal Coating (Parylene-C)",
      "type": "misc",
      "partId": "c4bf054e-aa1a-4517-a0a8-b871dc7b9980",
      "category": "mechanical",
      "imageUrl": "https://imgs.search.brave.com/av_l2isFfqJ38MqqZaA30re_7vrB__ymtvfBs85VpxM/rs:fit:0:180:1:0/g:ce/aHR0cHM6Ly92c2lw/YXJ5bGVuZS5jb20v/d3AtY29udGVudC91/cGxvYWRzLzIwMjIv/MDkvYWR2YW50YWdl/cy1vZi1wYXJ5bGVu/ZS1jLWNvbmZvcm1h/bC1jb2F0aW5nLTEx/MHg4MC5wbmc",
      "material": "Parylene C",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Parylene-C%20Conformal%20Coating&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "N/A",
      "description": "Optional 25\u00b5m Parylene-C conformal coating for industrial deployment of the M.2 module.",
      "productName": "Parylene-C Conformal Coating",
      "purchaseUrl": "N/A - Applied by specialist",
      "estimatedCost": 2
    },
    {
      "id": "pcb_board_main",
      "name": "Main PCB Board",
      "type": "structural",
      "partId": "41bc8ed0-3083-4be9-b8fc-198aeb456feb",
      "category": "mechanical",
      "quantity": 1,
      "amazonUrl": "https://www.amazon.com/s?k=Custom%204-layer%20FR-4%20PCB&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl",
      "dimensions": "30x80x1.6mm",
      "description": "The central printed circuit board measuring 30x80mm, forming the core of both device variants.",
      "productName": "Custom 4-layer FR-4 PCB",
      "purchaseUrl": "https://www.amazon.com/s?k=custom+pcb+fabrication",
      "estimatedCost": 8
    },
    {
      "id": "usb_a_enclosure_top_shell_2",
      "name": "USB-A Enclosure Top Shell",
      "productName": "Custom 3D Print",
      "category": "mechanical",
      "type": "3d_printed",
      "quantity": 1,
      "estimatedCost": 5,
      "purchaseUrl": "https://www.xometry.com/",
      "description": "Top shell of the USB-A form factor enclosure.",
      "amazonUrl": "https://www.amazon.com/s?k=Custom%203D%20Print&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl"
    },
    {
      "id": "usb_a_enclosure_bottom_shell_2",
      "name": "USB-A Enclosure Bottom Shell",
      "productName": "Custom 3D Print",
      "category": "mechanical",
      "type": "3d_printed",
      "quantity": 1,
      "estimatedCost": 5,
      "purchaseUrl": "https://www.xometry.com/",
      "description": "Bottom shell of the USB-A form factor enclosure.",
      "amazonUrl": "https://www.amazon.com/s?k=Custom%203D%20Print&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl"
    },
    {
      "id": "pcb_retention_ribs_usb_a_2",
      "name": "PCB Retention Ribs",
      "productName": "Integrated into Enclosure",
      "category": "mechanical",
      "type": "structural",
      "quantity": 1,
      "estimatedCost": 0,
      "purchaseUrl": "",
      "description": "Internal ribs for PCB retention within the USB-A enclosure.",
      "amazonUrl": "https://www.amazon.com/s?k=Integrated%20into%20Enclosure&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl"
    },
    {
      "id": "led_light_pipe_ld1_2",
      "name": "Light Pipe for Power LED",
      "productName": "Custom 3D Print",
      "category": "mechanical",
      "type": "3d_printed",
      "quantity": 1,
      "estimatedCost": 1,
      "purchaseUrl": "https://www.xometry.com/",
      "description": "Light pipe for the power indicator LED.",
      "amazonUrl": "https://www.amazon.com/s?k=Custom%203D%20Print&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl"
    },
    {
      "id": "led_light_pipe_ld2_2",
      "name": "Light Pipe for Tier Indicator LED",
      "productName": "Custom 3D Print",
      "category": "mechanical",
      "type": "3d_printed",
      "quantity": 1,
      "estimatedCost": 1,
      "purchaseUrl": "https://www.xometry.com/",
      "description": "Light pipe for the tier indicator RGB LED.",
      "amazonUrl": "https://www.amazon.com/s?k=Custom%203D%20Print&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl"
    },
    {
      "id": "led_light_pipe_ld3_2",
      "name": "Light Pipe for Alarm LED",
      "productName": "Custom 3D Print",
      "category": "mechanical",
      "type": "3d_printed",
      "quantity": 1,
      "estimatedCost": 1,
      "purchaseUrl": "https://www.xometry.com/",
      "description": "Light pipe for the alarm indicator LED.",
      "amazonUrl": "https://www.amazon.com/s?k=Custom%203D%20Print&linkCode=ll2&tag=-20&linkId=4ccf4163514d07f9bf547ac1c23fd3e0&language=en_US&ref_=as_li_ss_tl"
    },
    {
      "id": "temp_sensor_tmp117",
      "name": "I\u00b2C Temperature Sensor",
      "pins": [
        "I\u00b2C SCL",
        "I\u00b2C SDA",
        "3V3",
        "GND",
        "ALERT"
      ],
      "type": "sensor",
      "partId": "6cb72ede-c7ac-43a7-a125-0da329298873",
      "category": "electrical",
      "productName": "Texas Instruments TMP117AIDRVR",
      "purchaseUrl": "https://www.digikey.com/en/products/detail/texas-instruments/TMP117AIDRVR/12217686",
      "estimatedCost": 3.5,
      "quantity": 1,
      "dimensions": "2.0x2.0x0.85mm",
      "boundingBox": {
        "width": 2,
        "height": 0.85,
        "depth": 2
      },
      "position3d": {
        "x": -8,
        "y": 1.6,
        "z": -10
      }
    },
    {
      "id": "supervisor_max16162",
      "name": "Windowed Supply Supervisor",
      "pins": [
        "VCC",
        "GND",
        "RESET_n",
        "MR_n",
        "SENSE"
      ],
      "type": "power",
      "partId": "92bd7cb3-72bb-4ddb-baf3-5c7831261354",
      "category": "electrical",
      "productName": "Analog Devices / Maxim MAX16162ANB+T",
      "purchaseUrl": "https://www.digikey.com/en/products/detail/analog-devices-inc-maxim-integrated/MAX16162ANB-T/1739981",
      "estimatedCost": 1.5,
      "quantity": 1,
      "dimensions": "2.9x1.6x1.1mm",
      "boundingBox": {
        "width": 2.9,
        "height": 1.1,
        "depth": 1.6
      },
      "position3d": {
        "x": -4,
        "y": 1.6,
        "z": -10
      }
    },
    {
      "id": "pcb_tamper_mesh",
      "name": "PCB-Routed Active Tamper Mesh",
      "pins": [
        "LOOP_A",
        "LOOP_B"
      ],
      "type": "structural",
      "partId": "80910c3f-ec16-4260-bc1f-b1c49f135bf9",
      "category": "electrical",
      "productName": "PCB Serpentine Traces (L2/L3, 8-12 \u03a9 loop)",
      "purchaseUrl": "N/A \u2014 integrated into PCB layout",
      "estimatedCost": 0.0,
      "quantity": 1,
      "dimensions": "30x80mm (PCB layers L2/L3)",
      "boundingBox": {
        "width": 30,
        "height": 0.15,
        "depth": 80
      },
      "position3d": {
        "x": 0,
        "y": 0.6,
        "z": 0
      }
    }
  ],
  "notes": [
    "30x80mm PCB",
    "4-layer PCB",
    "matte black solder mask",
    "white silkscreen",
    "USB-A or M.2 Key-E",
    "tamper-evident design",
    "matte charcoal grey",
    "1mm teal stripe"
  ],
  "projectName": "Blade Agent HSM",
  "instructionSteps": [
    {
      "id": "fabricate",
      "subSteps": [
        {
          "id": "fabricate_1",
          "title": "Order or fabricate Main PCB Board (30x80mm, 4-layer, matte black solder mask, white silkscreen, 1mm teal stripe)",
          "partIds": [
            "pcb_board_main"
          ]
        },
        {
          "id": "fabricate_2",
          "title": "3D print USB-A Enclosure Top and Bottom Shells (Nylon SLS, matte charcoal grey)",
          "partIds": [
            "usb_a_enclosure_top_shell",
            "usb_a_enclosure_bottom_shell",
            "usb_a_enclosure_top_shell_2",
            "usb_a_enclosure_bottom_shell_2"
          ]
        },
        {
          "id": "fabricate_3",
          "title": "3D print PCB Retention Ribs (Nylon SLS, integrated into enclosure design)",
          "partIds": [
            "pcb_retention_ribs_usb_a",
            "pcb_retention_ribs_usb_a_2"
          ]
        },
        {
          "id": "fabricate_4",
          "title": "3D print Light Pipes for Power, Tier Indicator, and Alarm LEDs (Clear Resin SLA/DLP)",
          "partIds": [
            "led_light_pipe_ld1",
            "led_light_pipe_ld2",
            "led_light_pipe_ld3",
            "led_light_pipe_ld1_2",
            "led_light_pipe_ld2_2",
            "led_light_pipe_ld3_2"
          ]
        },
        {
          "id": "fabricate_5",
          "title": "3D print all component mounts (TPM, MCU, Tamper Sensor, TRNG, ESD, Crystals, Buzzer, USB-A) using PETG",
          "partIds": [
            "tpm_slb9670_mount",
            "mcu_stm32l432kcu6_mount",
            "tamper_sensor_tsl2585_mount",
            "trng_atsha204a_mount",
            "esd_protection_tpd2e001_mount",
            "rtc_crystal_abs06_mount",
            "mcu_hse_crystal_abm3b_mount",
            "buzzer_piezo_mount",
            "connector_usb_a_castellated_mount"
          ]
        },
        {
          "id": "fabricate_6",
          "title": "Clean and deburr all 3D printed parts; ensure fitment where applicable",
          "partIds": [
            "usb_a_enclosure_top_shell",
            "usb_a_enclosure_bottom_shell",
            "pcb_retention_ribs_usb_a",
            "led_light_pipe_ld1",
            "led_light_pipe_ld2",
            "led_light_pipe_ld3",
            "tpm_slb9670_mount",
            "mcu_stm32l432kcu6_mount",
            "tamper_sensor_tsl2585_mount",
            "trng_atsha204a_mount",
            "esd_protection_tpd2e001_mount",
            "rtc_crystal_abs06_mount",
            "mcu_hse_crystal_abm3b_mount",
            "buzzer_piezo_mount",
            "connector_usb_a_castellated_mount",
            "usb_a_enclosure_top_shell_2",
            "usb_a_enclosure_bottom_shell_2",
            "pcb_retention_ribs_usb_a_2",
            "led_light_pipe_ld1_2",
            "led_light_pipe_ld2_2",
            "led_light_pipe_ld3_2"
          ]
        }
      ]
    },
    {
      "id": "wire",
      "subSteps": [
        {
          "id": "wire_1",
          "title": "Solder MCU (mcu_stm32l432kcu6) and LDO (ldo_tps73633dbv) to the PCB",
          "partIds": [
            "mcu_stm32l432kcu6",
            "ldo_tps73633dbv",
            "pcb_board_main"
          ]
        },
        {
          "id": "wire_2",
          "title": "Solder Secure Element (secure_element_se051), TPM 2.0 Module (tpm_slb9670), and Discrete TRNG (trng_atsha204a) to the PCB",
          "partIds": [
            "secure_element_se051",
            "tpm_slb9670",
            "trng_atsha204a",
            "pcb_board_main"
          ]
        },
        {
          "id": "wire_3",
          "title": "Solder Tamper Sensor Block (tamper_sensor_tsl2585) and USB ESD Protection (esd_protection_tpd2e001) to the PCB",
          "partIds": [
            "tamper_sensor_tsl2585",
            "esd_protection_tpd2e001",
            "pcb_board_main"
          ]
        },
        {
          "id": "wire_4",
          "title": "Solder RTC Crystal (rtc_crystal_abs06) and MCU HSE Crystal (mcu_hse_crystal_abm3b) to the PCB",
          "partIds": [
            "rtc_crystal_abs06",
            "mcu_hse_crystal_abm3b",
            "pcb_board_main"
          ]
        },
        {
          "id": "wire_5",
          "title": "Solder Power LED (led_power_green), Tier Indicator LED (led_tier_rgb), Alarm LED (led_alarm_red), and Piezo Buzzer (buzzer_piezo) to the PCB",
          "partIds": [
            "led_power_green",
            "led_tier_rgb",
            "led_alarm_red",
            "buzzer_piezo",
            "pcb_board_main"
          ]
        },
        {
          "id": "wire_6",
          "title": "Solder USB-A Castellated Pads (connector_usb_a_castellated) and M.2 Key-E Gold Fingers (connector_m2_key_e) to the PCB",
          "partIds": [
            "connector_usb_a_castellated",
            "connector_m2_key_e",
            "pcb_board_main"
          ]
        },
        {
          "id": "wire_7",
          "title": "Perform visual inspection of all solder joints and continuity checks for power/ground rails and critical data lines",
          "partIds": [
            "pcb_board_main",
            "ldo_tps73633dbv",
            "mcu_stm32l432kcu6",
            "secure_element_se051",
            "tpm_slb9670",
            "tamper_sensor_tsl2585",
            "trng_atsha204a",
            "esd_protection_tpd2e001",
            "rtc_crystal_abs06",
            "mcu_hse_crystal_abm3b",
            "led_power_green",
            "led_tier_rgb",
            "led_alarm_red",
            "buzzer_piezo",
            "connector_usb_a_castellated",
            "connector_m2_key_e"
          ]
        }
      ]
    },
    {
      "id": "bringup",
      "subSteps": [
        {
          "id": "bringup_1",
          "title": "Apply Conformal Coating (Parylene-C) to the populated PCB, avoiding connectors and critical test points",
          "partIds": [
            "conformal_coating",
            "pcb_board_main"
          ]
        },
        {
          "id": "bringup_2",
          "title": "Connect USB-A or M.2 to a power source and verify 3.3V output from LDO using a multimeter",
          "partIds": [
            "connector_usb_a_castellated",
            "connector_m2_key_e",
            "ldo_tps73633dbv"
          ]
        },
        {
          "id": "bringup_3",
          "title": "Program MCU (mcu_stm32l432kcu6) firmware via SWD, verifying basic LED and buzzer functionality",
          "partIds": [
            "mcu_stm32l432kcu6",
            "led_power_green",
            "led_tier_rgb",
            "led_alarm_red",
            "buzzer_piezo"
          ]
        },
        {
          "id": "bringup_4",
          "title": "Test I\u00b2C communication with Secure Element (secure_element_se051), Tamper Sensor (tamper_sensor_tsl2585), and Discrete TRNG (trng_atsha204a)",
          "partIds": [
            "mcu_stm32l432kcu6",
            "secure_element_se051",
            "tamper_sensor_tsl2585",
            "trng_atsha204a"
          ]
        },
        {
          "id": "bringup_5",
          "title": "Test SPI communication with TPM 2.0 Module (tpm_slb9670) and verify TPM functionality",
          "partIds": [
            "mcu_stm32l432kcu6",
            "tpm_slb9670"
          ]
        },
        {
          "id": "bringup_6",
          "title": "Verify USB data path integrity through ESD protection (esd_protection_tpd2e001) with host device",
          "partIds": [
            "connector_usb_a_castellated",
            "esd_protection_tpd2e001",
            "mcu_stm32l432kcu6"
          ]
        },
        {
          "id": "bringup_7",
          "title": "Test tamper detection mesh and temperature sensing from tamper_sensor_tsl2585",
          "partIds": [
            "mcu_stm32l432kcu6",
            "tamper_sensor_tsl2585"
          ]
        }
      ]
    },
    {
      "id": "assemble",
      "subSteps": [
        {
          "id": "assemble_1",
          "title": "Mount the Main PCB Board (pcb_board_main) into the lower enclosure shell with retention ribs",
          "partIds": [
            "pcb_board_main",
            "usb_a_enclosure_bottom_shell",
            "pcb_retention_ribs_usb_a",
            "usb_a_enclosure_bottom_shell_2",
            "pcb_retention_ribs_usb_a_2"
          ]
        },
        {
          "id": "assemble_2",
          "title": "Insert Light Pipes into their respective slots in the enclosure to align with LEDs",
          "partIds": [
            "led_light_pipe_ld1",
            "led_light_pipe_ld2",
            "led_light_pipe_ld3",
            "led_power_green",
            "led_tier_rgb",
            "led_alarm_red",
            "usb_a_enclosure_top_shell",
            "led_light_pipe_ld1_2",
            "led_light_pipe_ld2_2",
            "led_light_pipe_ld3_2"
          ]
        },
        {
          "id": "assemble_3",
          "title": "Secure optional Copper Heatspreader (optional_copper_heatspreader) to the PCB if using M.2 connector",
          "partIds": [
            "optional_copper_heatspreader",
            "pcb_board_main",
            "secure_element_se051",
            "m2_brass_standoff_m2"
          ]
        },
        {
          "id": "assemble_4",
          "title": "Carefully align and join the USB-A Enclosure Top Shell (usb_a_enclosure_top_shell) and Bottom Shell",
          "partIds": [
            "usb_a_enclosure_top_shell",
            "usb_a_enclosure_bottom_shell",
            "usb_a_enclosure_top_shell_2",
            "usb_a_enclosure_bottom_shell_2"
          ]
        },
        {
          "id": "assemble_5",
          "title": "Fasten the enclosure halves with M1.6 Self-Tapping Screws",
          "partIds": [
            "m1_6_self_tapping_screw_1",
            "m1_6_self_tapping_screw_2",
            "usb_a_enclosure_top_shell",
            "usb_a_enclosure_bottom_shell"
          ]
        },
        {
          "id": "assemble_6",
          "title": "Apply Tamper Evident Security Label (tamper_security_label_usb_a) over the enclosure seam",
          "partIds": [
            "tamper_security_label_usb_a",
            "usb_a_enclosure_top_shell",
            "usb_a_enclosure_bottom_shell"
          ]
        },
        {
          "id": "assemble_7",
          "title": "Perform final system test, verifying all functions and tamper detection with the enclosure closed",
          "partIds": [
            "mcu_stm32l432kcu6",
            "secure_element_se051",
            "tpm_slb9670",
            "tamper_sensor_tsl2585",
            "trng_atsha204a",
            "buzzer_piezo",
            "led_power_green",
            "led_tier_rgb",
            "led_alarm_red"
          ]
        }
      ]
    }
  ],
  "projectDescription": "The Blade Agent HSM is a hardware security module",
  "instructionPreamble": {
    "tools": [
      "Soldering iron with fine tip",
      "Solder (lead-free recommended)",
      "Flux pen/dispenser",
      "Desoldering braid/pump",
      "Tweezers (fine-tip)",
      "Magnifying lamp or microscope for SMD work",
      "Precision screwdriver set (for M1.6 screws)",
      "Multimeter with continuity test function",
      "Isopropyl alcohol and lint-free wipes for cleaning",
      "3D printer (SLS capable for Nylon, SLA/DLP capable for Clear Resin, FDM/PETG capable)",
      "Parylene C conformal coating application equipment (or brush for manual application)",
      "Hot air gun or reflow oven (for PCB assembly)"
    ],
    "assumptions": [
      "Basic surface-mount device (SMD) soldering proficiency",
      "Familiarity with 3D printing processes and post-processing for various materials",
      "Understanding of basic electronics safety (ESD precautions, voltage handling)",
      "Access to necessary software and hardware for MCU firmware programming (e.g., STM32CubeProgrammer, SWD debugger)",
      "Availability of a stable 5V DC power source for initial testing"
    ]
  },
  "electricalConnections": [
    {
      "type": "data",
      "label": "USB Data Minus",
      "source": "mcu_stm32l432kcu6",
      "target": "connector_usb_a_castellated",
      "protocol": "usb-fs",
      "sourcePin": "USB D-",
      "targetPin": "D-"
    },
    {
      "type": "data",
      "label": "USB Data Minus (M.2)",
      "source": "mcu_stm32l432kcu6",
      "target": "connector_m2_key_e",
      "protocol": "usb-fs",
      "sourcePin": "USB D-",
      "targetPin": "NC (M.2 Key-E does not use USB D- for USB-FS. This connection would only be relevant if M.2 supported USB-FS on this pin, which it doesn't usually for Key-E. Will map to J2.A20 for consistency per prompt.)"
    },
    {
      "type": "data",
      "label": "USB Data Plus",
      "source": "mcu_stm32l432kcu6",
      "target": "connector_usb_a_castellated",
      "protocol": "usb-fs",
      "sourcePin": "USB D+",
      "targetPin": "D+"
    },
    {
      "type": "data",
      "label": "USB Data Plus (M.2)",
      "source": "mcu_stm32l432kcu6",
      "target": "connector_m2_key_e",
      "protocol": "usb-fs",
      "sourcePin": "USB D+",
      "targetPin": "NC (M.2 Key-E does not use USB D+ for USB-FS. This connection would only be relevant if M.2 supported USB-FS on this pin, which it doesn't usually for Key-E. Will map to J2.A22 for consistency per prompt.)"
    },
    {
      "type": "data",
      "label": "I2C SCL to SE051",
      "source": "mcu_stm32l432kcu6",
      "target": "secure_element_se051",
      "protocol": "i2c",
      "sourcePin": "I\u00b2C1 SCL",
      "targetPin": "I\u00b2C SCL"
    },
    {
      "type": "data",
      "label": "I2C SDA to SE051",
      "source": "mcu_stm32l432kcu6",
      "target": "secure_element_se051",
      "protocol": "i2c",
      "sourcePin": "I\u00b2C1 SDA",
      "targetPin": "I\u00b2C SDA"
    },
    {
      "type": "data",
      "label": "SPI NSS to TPM",
      "source": "mcu_stm32l432kcu6",
      "target": "tpm_slb9670",
      "protocol": "spi",
      "sourcePin": "SPI1 NSS",
      "targetPin": "SPI CS_n"
    },
    {
      "type": "data",
      "label": "SPI SCK to TPM",
      "source": "mcu_stm32l432kcu6",
      "target": "tpm_slb9670",
      "protocol": "spi",
      "sourcePin": "SPI1 SCK",
      "targetPin": "SPI CLK"
    },
    {
      "type": "data",
      "label": "SPI MISO from TPM",
      "source": "mcu_stm32l432kcu6",
      "target": "tpm_slb9670",
      "protocol": "spi",
      "sourcePin": "SPI1 MISO",
      "targetPin": "SPI MISO"
    },
    {
      "type": "data",
      "label": "SPI MOSI to TPM",
      "source": "mcu_stm32l432kcu6",
      "target": "tpm_slb9670",
      "protocol": "spi",
      "sourcePin": "SPI1 MOSI",
      "targetPin": "SPI MOSI"
    },
    {
      "type": "data",
      "label": "TPM Reset",
      "source": "mcu_stm32l432kcu6",
      "target": "tpm_slb9670",
      "protocol": "gpio",
      "sourcePin": "TPM_RST_n",
      "targetPin": "RST_n"
    },
    {
      "type": "data",
      "label": "TPM Interrupt",
      "source": "tpm_slb9670",
      "target": "mcu_stm32l432kcu6",
      "protocol": "gpio",
      "sourcePin": "PIRQ_n",
      "targetPin": "TPM_PIRQ"
    },
    {
      "type": "data",
      "label": "Power LED Drive",
      "source": "mcu_stm32l432kcu6",
      "target": "led_power_green",
      "protocol": "gpio",
      "sourcePin": "LED_PWR",
      "targetPin": "Anode"
    },
    {
      "type": "data",
      "label": "Tier LED Red Drive",
      "source": "mcu_stm32l432kcu6",
      "target": "led_tier_rgb",
      "protocol": "gpio",
      "sourcePin": "LED_TIER_R",
      "targetPin": "Red Anode"
    },
    {
      "type": "data",
      "label": "Tier LED Green Drive",
      "source": "mcu_stm32l432kcu6",
      "target": "led_tier_rgb",
      "protocol": "gpio",
      "sourcePin": "LED_TIER_G",
      "targetPin": "Green Anode"
    },
    {
      "type": "data",
      "label": "Tier LED Blue Drive",
      "source": "mcu_stm32l432kcu6",
      "target": "led_tier_rgb",
      "protocol": "gpio",
      "sourcePin": "LED_TIER_B",
      "targetPin": "Blue Anode"
    },
    {
      "type": "data",
      "label": "Alarm LED Drive",
      "source": "mcu_stm32l432kcu6",
      "target": "led_alarm_red",
      "protocol": "gpio",
      "sourcePin": "LED_ALARM",
      "targetPin": "Anode"
    },
    {
      "type": "data",
      "label": "Buzzer PWM Drive",
      "source": "mcu_stm32l432kcu6",
      "target": "buzzer_piezo",
      "protocol": "pwm",
      "sourcePin": "BUZZER_PWM",
      "targetPin": "PWM Input"
    },
    {
      "type": "data",
      "label": "RTC Crystal XTAL1",
      "source": "mcu_stm32l432kcu6",
      "target": "rtc_crystal_abs06",
      "protocol": "lse",
      "sourcePin": "NC (LSE_IN/LSE_OUT)",
      "targetPin": "XTAL1"
    },
    {
      "type": "data",
      "label": "RTC Crystal XTAL2",
      "source": "mcu_stm32l432kcu6",
      "target": "rtc_crystal_abs06",
      "protocol": "lse",
      "sourcePin": "NC (LSE_IN/LSE_OUT)",
      "targetPin": "XTAL2"
    },
    {
      "type": "data",
      "label": "HSE Crystal XTAL1",
      "source": "mcu_stm32l432kcu6",
      "target": "mcu_hse_crystal_abm3b",
      "protocol": "hse",
      "sourcePin": "NC (HSE_IN/HSE_OUT)",
      "targetPin": "XTAL1"
    },
    {
      "type": "data",
      "label": "HSE Crystal XTAL2",
      "source": "mcu_stm32l432kcu6",
      "target": "mcu_hse_crystal_abm3b",
      "protocol": "hse",
      "sourcePin": "NC (HSE_IN/HSE_OUT)",
      "targetPin": "XTAL2"
    },
    {
      "type": "power",
      "label": "VBUS 5V to LDO VIN",
      "source": "connector_usb_a_castellated",
      "target": "ldo_tps73633dbv",
      "current": "250mA",
      "voltage": "5V"
    },
    {
      "type": "data",
      "label": "USB D- to ESD",
      "source": "connector_usb_a_castellated",
      "target": "esd_protection_tpd2e001",
      "protocol": "usb-fs",
      "sourcePin": "D-",
      "targetPin": "USB D-"
    },
    {
      "type": "data",
      "label": "USB D+ to ESD",
      "source": "connector_usb_a_castellated",
      "target": "esd_protection_tpd2e001",
      "protocol": "usb-fs",
      "sourcePin": "D+",
      "targetPin": "USB D+"
    },
    {
      "type": "data",
      "label": "ESD protected USB D- to MCU",
      "source": "esd_protection_tpd2e001",
      "target": "mcu_stm32l432kcu6",
      "protocol": "usb-fs",
      "sourcePin": "USB D-",
      "targetPin": "USB D-"
    },
    {
      "type": "data",
      "label": "ESD protected USB D+ to MCU",
      "source": "esd_protection_tpd2e001",
      "target": "mcu_stm32l432kcu6",
      "protocol": "usb-fs",
      "sourcePin": "USB D+",
      "targetPin": "USB D+"
    },
    {
      "type": "power",
      "label": "3.3V to MCU",
      "source": "ldo_tps73633dbv",
      "target": "mcu_stm32l432kcu6",
      "current": "400mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "3.3V to SE051",
      "source": "ldo_tps73633dbv",
      "target": "secure_element_se051",
      "current": "400mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "3.3V to TPM",
      "source": "ldo_tps73633dbv",
      "target": "tpm_slb9670",
      "current": "400mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "3.3V to TRNG",
      "source": "ldo_tps73633dbv",
      "target": "trng_atsha204a",
      "current": "400mA",
      "voltage": "3.3V"
    },
    {
      "type": "data",
      "label": "SE051 ENA tied to 3.3V",
      "source": "secure_element_se051",
      "target": "ldo_tps73633dbv",
      "protocol": "gpio",
      "sourcePin": "ENA",
      "targetPin": "VOUT"
    },
    {
      "type": "data",
      "label": "I2C SCL to TRNG",
      "source": "mcu_stm32l432kcu6",
      "target": "trng_atsha204a",
      "protocol": "i2c",
      "sourcePin": "I\u00b2C1 SCL",
      "targetPin": "I\u00b2C SCL"
    },
    {
      "type": "data",
      "label": "I2C SDA to TRNG",
      "source": "mcu_stm32l432kcu6",
      "target": "trng_atsha204a",
      "protocol": "i2c",
      "sourcePin": "I\u00b2C1 SDA",
      "targetPin": "I\u00b2C SDA"
    },
    {
      "type": "data",
      "label": "M.2 SPI CLK to MCU",
      "source": "connector_m2_key_e",
      "target": "mcu_stm32l432kcu6",
      "protocol": "spi",
      "sourcePin": "SPI_CLK",
      "targetPin": "SPI1 SCK"
    },
    {
      "type": "data",
      "label": "M.2 SPI MOSI to MCU",
      "source": "connector_m2_key_e",
      "target": "mcu_stm32l432kcu6",
      "protocol": "spi",
      "sourcePin": "SPI_MOSI",
      "targetPin": "SPI1 MOSI"
    },
    {
      "type": "data",
      "label": "MCU SPI MISO to M.2",
      "source": "mcu_stm32l432kcu6",
      "target": "connector_m2_key_e",
      "protocol": "spi",
      "sourcePin": "SPI1 MISO",
      "targetPin": "SPI_MISO"
    },
    {
      "type": "data",
      "label": "M.2 SPI CS_n to MCU",
      "source": "connector_m2_key_e",
      "target": "mcu_stm32l432kcu6",
      "protocol": "spi",
      "sourcePin": "SPI_CS_n",
      "targetPin": "SPI1 NSS"
    },
    {
      "type": "data",
      "label": "M.2 PERST_n (MCU Reset)",
      "source": "connector_m2_key_e",
      "target": "mcu_stm32l432kcu6",
      "protocol": "gpio",
      "sourcePin": "PERST_n",
      "targetPin": "NC (reset to MCU)"
    },
    {
      "type": "data",
      "label": "MCU WAKE_n to M.2",
      "source": "mcu_stm32l432kcu6",
      "target": "connector_m2_key_e",
      "protocol": "gpio",
      "sourcePin": "NC (WAKE_n)",
      "targetPin": "WAKE_n"
    },
    {
      "type": "power",
      "label": "M.2 3.3V supply (when LDO is unstuffed)",
      "source": "connector_m2_key_e",
      "target": "mcu_stm32l432kcu6",
      "current": "250mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "M.2 3.3V to SE051 (when LDO is unstuffed)",
      "source": "connector_m2_key_e",
      "target": "secure_element_se051",
      "current": "250mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "M.2 3.3V to TPM (when LDO is unstuffed)",
      "source": "connector_m2_key_e",
      "target": "tpm_slb9670",
      "current": "250mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "M.2 3.3V to TRNG (when LDO is unstuffed)",
      "source": "connector_m2_key_e",
      "target": "trng_atsha204a",
      "current": "250mA",
      "voltage": "3.3V"
    },
    {
      "type": "power",
      "label": "Power 5V from USB",
      "source": "connector_usb_a_castellated",
      "target": "ldo_tps73633dbv",
      "current": "250mA",
      "voltage": "5V"
    },
    {
      "type": "power",
      "label": "LDO EN tied to VOUT for always-on",
      "source": "ldo_tps73633dbv",
      "target": "ldo_tps73633dbv",
      "current": "400mA",
      "voltage": "3.3V",
      "sourcePin": "VOUT",
      "targetPin": "EN"
    },
    {
      "type": "data",
      "label": "I2C SCL to TMP117",
      "source": "mcu_stm32l432kcu6",
      "target": "temp_sensor_tmp117",
      "protocol": "i2c",
      "sourcePin": "I\u00b2C1 SCL (PB6)",
      "targetPin": "SCL"
    },
    {
      "type": "data",
      "label": "I2C SDA to TMP117",
      "source": "mcu_stm32l432kcu6",
      "target": "temp_sensor_tmp117",
      "protocol": "i2c",
      "sourcePin": "I\u00b2C1 SDA (PB7)",
      "targetPin": "SDA"
    },
    {
      "type": "data",
      "label": "TMP117 ALERT to MCU",
      "source": "temp_sensor_tmp117",
      "target": "mcu_stm32l432kcu6",
      "protocol": "gpio",
      "sourcePin": "ALERT",
      "targetPin": "PA3 (TEMP_ALERT)"
    },
    {
      "type": "power",
      "label": "3.3V to TMP117",
      "source": "ldo_tps73633dbv",
      "target": "temp_sensor_tmp117",
      "voltage": "3.3V",
      "current": "10mA"
    },
    {
      "type": "power",
      "label": "3.3V SENSE to MAX16162",
      "source": "ldo_tps73633dbv",
      "target": "supervisor_max16162",
      "voltage": "3.3V",
      "current": "1mA"
    },
    {
      "type": "data",
      "label": "MAX16162 RESET_n to MCU NRST",
      "source": "supervisor_max16162",
      "target": "mcu_stm32l432kcu6",
      "protocol": "gpio",
      "sourcePin": "RESET_n",
      "targetPin": "NRST"
    },
    {
      "type": "data",
      "label": "Tamper Mesh Loop A (out)",
      "source": "mcu_stm32l432kcu6",
      "target": "pcb_tamper_mesh",
      "protocol": "analog",
      "sourcePin": "PA0 (MESH_LOOP_A)",
      "targetPin": "LOOP_A"
    },
    {
      "type": "data",
      "label": "Tamper Mesh Loop B (return)",
      "source": "pcb_tamper_mesh",
      "target": "mcu_stm32l432kcu6",
      "protocol": "analog",
      "sourcePin": "LOOP_B",
      "targetPin": "PA1 (MESH_LOOP_B)"
    }
  ],
  "mechanicalConnections": [
    {
      "label": "M1.6 self-tap screws",
      "source": "usb_a_enclosure_top_shell",
      "target": "usb_a_enclosure_bottom_shell"
    },
    {
      "label": "fastens",
      "source": "m1_6_self_tapping_screw_1",
      "target": "usb_a_enclosure_top_shell"
    },
    {
      "label": "fastens",
      "source": "m1_6_self_tapping_screw_1",
      "target": "usb_a_enclosure_bottom_shell"
    },
    {
      "label": "fastens",
      "source": "m1_6_self_tapping_screw_2",
      "target": "usb_a_enclosure_top_shell"
    },
    {
      "label": "fastens",
      "source": "m1_6_self_tapping_screw_2",
      "target": "usb_a_enclosure_bottom_shell"
    },
    {
      "label": "adheres to seam",
      "source": "tamper_security_label_usb_a",
      "target": "usb_a_enclosure_top_shell"
    },
    {
      "label": "adheres to seam",
      "source": "tamper_security_label_usb_a",
      "target": "usb_a_enclosure_bottom_shell"
    },
    {
      "label": "forms ribs with",
      "source": "usb_a_enclosure_top_shell",
      "target": "pcb_retention_ribs_usb_a"
    },
    {
      "label": "forms ribs with",
      "source": "usb_a_enclosure_bottom_shell",
      "target": "pcb_retention_ribs_usb_a"
    },
    {
      "label": "holds",
      "source": "pcb_retention_ribs_usb_a",
      "target": "pcb_board_main"
    },
    {
      "label": "supports",
      "source": "m2_brass_standoff_m2",
      "target": "pcb_board_main"
    },
    {
      "label": "bonded to",
      "source": "optional_copper_heatspreader",
      "target": "pcb_board_main"
    },
    {
      "label": "coats",
      "source": "conformal_coating",
      "target": "pcb_board_main"
    },
    {
      "label": "mount",
      "source": "led_light_pipe_ld1",
      "target": "led_power_green"
    },
    {
      "label": "mount",
      "source": "led_light_pipe_ld2",
      "target": "led_tier_rgb"
    },
    {
      "label": "mount",
      "source": "led_light_pipe_ld3",
      "target": "led_alarm_red"
    },
    {
      "label": "mount",
      "source": "m2_brass_standoff_m2",
      "target": "connector_m2_key_e"
    },
    {
      "label": "mount",
      "source": "optional_copper_heatspreader",
      "target": "secure_element_se051"
    },
    {
      "source": "usb_a_enclosure_top_shell_2",
      "target": "usb_a_enclosure_bottom_shell_2",
      "label": "M1.6 self-tap screws"
    },
    {
      "source": "usb_a_enclosure_top_shell_2",
      "target": "pcb_retention_ribs_usb_a_2",
      "label": "forms ribs with"
    },
    {
      "source": "usb_a_enclosure_bottom_shell_2",
      "target": "pcb_retention_ribs_usb_a_2",
      "label": "forms ribs with"
    },
    {
      "source": "pcb_retention_ribs_usb_a_2",
      "target": "pcb_board_main",
      "label": "holds"
    },
    {
      "source": "led_light_pipe_ld1_2",
      "target": "led_power_green",
      "label": "mount"
    },
    {
      "source": "led_light_pipe_ld2_2",
      "target": "led_tier_rgb",
      "label": "mount"
    },
    {
      "source": "led_light_pipe_ld3_2",
      "target": "led_alarm_red",
      "label": "mount"
    }
  ],
  "projectId": "72389643-b040-40b6-bfb0-29cf0505cb36"
}