-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathai-assembly.assembly.json
More file actions
74 lines (74 loc) · 3.17 KB
/
Copy pathai-assembly.assembly.json
File metadata and controls
74 lines (74 loc) · 3.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"schema": "urn:wiresketch:schema:assembly:1.0",
"schemaVersion": "1.6.0",
"kind": "wiresketch/assembly",
"version": 1,
"id": "assembly_uart_demo",
"name": "UART 调试连接",
"description": "主控板通过交叉 TX/RX 连接 USB-TTL。",
"layout": {
"origin": "top-left",
"axisX": "right",
"axisY": "down",
"unit": "diagram-px",
"routing": "orthogonal"
},
"canvasSize": { "width": 1200, "height": 800 },
"textDefaults": { "fontSize": 16, "fontFamily": "sans-serif", "fontWeight": 500, "color": "#25334a", "shadow": { "enabled": false, "color": "#000000", "blur": 3, "offsetX": 0, "offsetY": 2 } },
"texts": [{ "id": "text_title", "role": "title", "text": "UART 调试连接", "x": 30, "y": 25 }],
"wireDefaults": { "width": 2.2, "labelGap": 6, "routeGap": 6, "cornerRadius": 0, "showFromLabels": true, "showToLabels": true },
"nodes": [
{ "id": "node_controller", "boardId": "pcb_controller", "label": "主控板", "x": 80, "y": 100, "rotation": 0, "flipX": false, "scale": 1, "fixed": false, "showName": true },
{ "id": "node_debugger", "boardId": "pcb_debugger", "label": "USB-TTL", "x": 390, "y": 100, "rotation": 90, "flipX": true, "scale": 1.2, "fixed": false, "showName": true }
],
"connections": [
{
"id": "wire_uart0",
"mode": "bundle",
"description": "UART 信号交叉连接,共地。",
"from": { "nodeId": "node_controller", "interfaceId": "if_uart0" },
"to": { "nodeId": "node_debugger", "interfaceId": "if_uart" },
"pinMap": [
{ "from": 1, "to": 2 },
{ "from": 2, "to": 1 },
{ "from": 3, "to": 3 }
]
}
],
"embeddedBoards": [
{
"schema": "urn:wiresketch:schema:pcb:1.0",
"schemaVersion": "1.1.0",
"kind": "wiresketch/pcb",
"version": 1,
"id": "pcb_controller",
"name": "主控板",
"description": "3.3 V UART 主控板。",
"coordinateSystem": { "origin": "top-left", "axisX": "right", "axisY": "down", "regionUnit": "normalized" },
"image": null,
"imageSize": { "width": 420, "height": 260, "unit": "px" },
"source": "generated",
"generated": { "width": 420, "height": 260, "color": "#1D5B42" },
"interfaces": [
{ "id": "if_uart0", "name": "UART0", "type": "uart", "description": "3.3 V TTL。", "rect": { "x": 0.86, "y": 0.25, "w": 0.12, "h": 0.5 }, "rotation": 270, "pins": ["TX", "RX", "GND"] }
]
},
{
"schema": "urn:wiresketch:schema:pcb:1.0",
"schemaVersion": "1.1.0",
"kind": "wiresketch/pcb",
"version": 1,
"id": "pcb_debugger",
"name": "USB-TTL",
"description": "USB 转 3.3 V TTL 串口。",
"coordinateSystem": { "origin": "top-left", "axisX": "right", "axisY": "down", "regionUnit": "normalized" },
"image": null,
"imageSize": { "width": 360, "height": 220, "unit": "px" },
"source": "generated",
"generated": { "width": 360, "height": 220, "color": "#245069" },
"interfaces": [
{ "id": "if_uart", "name": "UART", "type": "uart", "description": "3.3 V TTL。", "rect": { "x": 0.02, "y": 0.25, "w": 0.14, "h": 0.5 }, "rotation": 90, "pins": ["RXD", "TXD", "GND"] }
]
}
]
}