Skip to content

Commit

Permalink
Update examples and readme
Browse files Browse the repository at this point in the history
Tune demo 02
  • Loading branch information
17o2 committed Jun 14, 2020
1 parent a6cfa53 commit ccf4db5
Show file tree
Hide file tree
Showing 35 changed files with 3,759 additions and 1,155 deletions.
4 changes: 4 additions & 0 deletions examples/demo01.bom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Item Qty Unit Designators
D-Sub, female, 9 pins 1 X1
Molex KK 254, female, 3 pins 1 X2
Cable 3 x 0.25 mm² shielded 0.2 m W1
171 changes: 171 additions & 0 deletions examples/demo01.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
<html><body style="font-family:Arial"><h1>Diagram</h1><?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.44.0 (20200408.0750)
-->
<!-- Pages: 1 -->
<svg width="825pt" height="290pt"
viewBox="0.00 0.00 825.00 289.50" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 285.5)">
<polygon fill="white" stroke="transparent" points="-4,4 -4,-285.5 821,-285.5 821,4 -4,4"/>
<!-- X1 -->
<g id="node1" class="node">
<title>X1</title>
<polygon fill="white" stroke="black" points="0,-0.5 0,-253.5 160,-253.5 160,-0.5 0,-0.5"/>
<text text-anchor="middle" x="80" y="-238.3" font-family="arial" font-size="14.00">X1</text>
<polyline fill="none" stroke="black" points="0,-230.5 160,-230.5 "/>
<text text-anchor="middle" x="27.5" y="-215.3" font-family="arial" font-size="14.00">D&#45;Sub</text>
<polyline fill="none" stroke="black" points="55,-207.5 55,-230.5 "/>
<text text-anchor="middle" x="84" y="-215.3" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="113,-207.5 113,-230.5 "/>
<text text-anchor="middle" x="136.5" y="-215.3" font-family="arial" font-size="14.00">9&#45;pin</text>
<polyline fill="none" stroke="black" points="0,-207.5 160,-207.5 "/>
<text text-anchor="middle" x="45.5" y="-192.3" font-family="arial" font-size="14.00">DCD</text>
<polyline fill="none" stroke="black" points="0,-184.5 91,-184.5 "/>
<text text-anchor="middle" x="45.5" y="-169.3" font-family="arial" font-size="14.00">RX</text>
<polyline fill="none" stroke="black" points="0,-161.5 91,-161.5 "/>
<text text-anchor="middle" x="45.5" y="-146.3" font-family="arial" font-size="14.00">TX</text>
<polyline fill="none" stroke="black" points="0,-138.5 91,-138.5 "/>
<text text-anchor="middle" x="45.5" y="-123.3" font-family="arial" font-size="14.00">DTR</text>
<polyline fill="none" stroke="black" points="0,-115.5 91,-115.5 "/>
<text text-anchor="middle" x="45.5" y="-100.3" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="0,-92.5 91,-92.5 "/>
<text text-anchor="middle" x="45.5" y="-77.3" font-family="arial" font-size="14.00">DSR</text>
<polyline fill="none" stroke="black" points="0,-69.5 91,-69.5 "/>
<text text-anchor="middle" x="45.5" y="-54.3" font-family="arial" font-size="14.00">RTS</text>
<polyline fill="none" stroke="black" points="0,-46.5 91,-46.5 "/>
<text text-anchor="middle" x="45.5" y="-31.3" font-family="arial" font-size="14.00">CTS</text>
<polyline fill="none" stroke="black" points="0,-23.5 91,-23.5 "/>
<text text-anchor="middle" x="45.5" y="-8.3" font-family="arial" font-size="14.00">RI</text>
<polyline fill="none" stroke="black" points="91,-0.5 91,-207.5 "/>
<text text-anchor="middle" x="125.5" y="-192.3" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="91,-184.5 160,-184.5 "/>
<text text-anchor="middle" x="125.5" y="-169.3" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="91,-161.5 160,-161.5 "/>
<text text-anchor="middle" x="125.5" y="-146.3" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="91,-138.5 160,-138.5 "/>
<text text-anchor="middle" x="125.5" y="-123.3" font-family="arial" font-size="14.00">4</text>
<polyline fill="none" stroke="black" points="91,-115.5 160,-115.5 "/>
<text text-anchor="middle" x="125.5" y="-100.3" font-family="arial" font-size="14.00">5</text>
<polyline fill="none" stroke="black" points="91,-92.5 160,-92.5 "/>
<text text-anchor="middle" x="125.5" y="-77.3" font-family="arial" font-size="14.00">6</text>
<polyline fill="none" stroke="black" points="91,-69.5 160,-69.5 "/>
<text text-anchor="middle" x="125.5" y="-54.3" font-family="arial" font-size="14.00">7</text>
<polyline fill="none" stroke="black" points="91,-46.5 160,-46.5 "/>
<text text-anchor="middle" x="125.5" y="-31.3" font-family="arial" font-size="14.00">8</text>
<polyline fill="none" stroke="black" points="91,-23.5 160,-23.5 "/>
<text text-anchor="middle" x="125.5" y="-8.3" font-family="arial" font-size="14.00">9</text>
</g>
<!-- W1 -->
<g id="node3" class="node">
<title>W1</title>
<polygon fill="none" stroke="black" points="467,-281.5 304,-281.5 304,-82.5 467,-82.5 467,-281.5"/>
<polygon fill="none" stroke="black" points="304.5,-258 304.5,-281 467.5,-281 467.5,-258 304.5,-258"/>
<text text-anchor="start" x="375" y="-265.8" font-family="arial" font-size="14.00">W1</text>
<polygon fill="none" stroke="black" points="304.5,-235 304.5,-258 327.5,-258 327.5,-235 304.5,-235"/>
<text text-anchor="start" x="308.5" y="-242.8" font-family="arial" font-size="14.00">3x</text>
<polygon fill="none" stroke="black" points="327.5,-235 327.5,-258 394.5,-258 394.5,-235 327.5,-235"/>
<text text-anchor="start" x="331.5" y="-242.8" font-family="arial" font-size="14.00">0.25 mm²</text>
<polygon fill="none" stroke="black" points="394.5,-235 394.5,-258 424.5,-258 424.5,-235 394.5,-235"/>
<text text-anchor="start" x="398.5" y="-242.8" font-family="arial" font-size="14.00">+ S</text>
<polygon fill="none" stroke="black" points="424.5,-235 424.5,-258 467.5,-258 467.5,-235 424.5,-235"/>
<text text-anchor="start" x="428.5" y="-242.8" font-family="arial" font-size="14.00">0.2 m</text>
<text text-anchor="start" x="384" y="-223.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="316" y="-206.8" font-family="arial" font-size="14.00">X1:5</text>
<text text-anchor="start" x="374" y="-206.8" font-family="arial" font-size="14.00">WH</text>
<text text-anchor="start" x="428" y="-206.8" font-family="arial" font-size="14.00">X2:1</text>
<polygon fill="#ffffff" stroke="transparent" points="304.5,-195 304.5,-201 467.5,-201 467.5,-195 304.5,-195"/>
<polyline fill="none" stroke="black" stroke-width="2" points="305.5,-196 466.5,-196 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="466.5,-200 305.5,-200 "/>
<text text-anchor="start" x="316" y="-181.8" font-family="arial" font-size="14.00">X1:2</text>
<text text-anchor="start" x="376.5" y="-181.8" font-family="arial" font-size="14.00">BN</text>
<text text-anchor="start" x="428" y="-181.8" font-family="arial" font-size="14.00">X2:3</text>
<polygon fill="#666600" stroke="transparent" stroke-width="2" points="304.5,-170 304.5,-176 467.5,-176 467.5,-170 304.5,-170"/>
<polyline fill="none" stroke="black" stroke-width="2" points="305.5,-171 466.5,-171 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="466.5,-175 305.5,-175 "/>
<text text-anchor="start" x="316" y="-156.8" font-family="arial" font-size="14.00">X1:1</text>
<text text-anchor="start" x="375" y="-156.8" font-family="arial" font-size="14.00">GN</text>
<text text-anchor="start" x="428" y="-156.8" font-family="arial" font-size="14.00">X2:2</text>
<polygon fill="#00ff00" stroke="transparent" stroke-width="2" points="304.5,-145 304.5,-151 467.5,-151 467.5,-145 304.5,-145"/>
<polyline fill="none" stroke="black" stroke-width="2" points="305.5,-146 466.5,-146 "/>
<polyline fill="none" stroke="black" stroke-width="2" points="466.5,-150 305.5,-150 "/>
<text text-anchor="start" x="328" y="-131.8" font-family="arial" font-size="14.00"> </text>
<text text-anchor="start" x="316" y="-112.8" font-family="arial" font-size="14.00">X1:5</text>
<text text-anchor="start" x="367" y="-112.8" font-family="arial" font-size="14.00">Shield</text>
<polyline fill="none" stroke="black" stroke-width="2" points="305.5,-102 466.5,-102 "/>
<text text-anchor="start" x="328" y="-87.8" font-family="arial" font-size="14.00"> </text>
</g>
<!-- X1&#45;&#45;W1 -->
<g id="edge1" class="edge">
<title>X1:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-102C238.42,-104.19 229.56,-198.19 304,-196"/>
<path fill="none" stroke="#ffffff" stroke-width="2" d="M160,-104C236.43,-104 227.57,-198 304,-198"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-106C234.44,-103.81 225.58,-197.81 304,-200"/>
</g>
<!-- X1&#45;&#45;W1 -->
<g id="edge3" class="edge">
<title>X1:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-171C224,-171 240,-171 304,-171"/>
<path fill="none" stroke="#666600" stroke-width="2" d="M160,-173C224,-173 240,-173 304,-173"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-175C224,-175 240,-175 304,-175"/>
</g>
<!-- X1&#45;&#45;W1 -->
<g id="edge5" class="edge">
<title>X1:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-194C225.5,-195.63 234.57,-147.63 304,-146"/>
<path fill="none" stroke="#00ff00" stroke-width="2" d="M160,-196C227.46,-196 236.54,-148 304,-148"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-198C229.43,-196.37 238.5,-148.37 304,-150"/>
</g>
<!-- X1&#45;&#45;W1 -->
<g id="edge7" class="edge">
<title>X1:e&#45;&#45;W1:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M160,-104C224,-104 240,-104 304,-104"/>
</g>
<!-- X2 -->
<g id="node2" class="node">
<title>X2</title>
<polygon fill="white" stroke="black" points="611,-140.5 611,-255.5 817,-255.5 817,-140.5 611,-140.5"/>
<text text-anchor="middle" x="714" y="-240.3" font-family="arial" font-size="14.00">X2</text>
<polyline fill="none" stroke="black" points="611,-232.5 817,-232.5 "/>
<text text-anchor="middle" x="661.5" y="-217.3" font-family="arial" font-size="14.00">Molex KK 254</text>
<polyline fill="none" stroke="black" points="712,-209.5 712,-232.5 "/>
<text text-anchor="middle" x="741" y="-217.3" font-family="arial" font-size="14.00">female</text>
<polyline fill="none" stroke="black" points="770,-209.5 770,-232.5 "/>
<text text-anchor="middle" x="793.5" y="-217.3" font-family="arial" font-size="14.00">3&#45;pin</text>
<polyline fill="none" stroke="black" points="611,-209.5 817,-209.5 "/>
<text text-anchor="middle" x="656.5" y="-194.3" font-family="arial" font-size="14.00">1</text>
<polyline fill="none" stroke="black" points="611,-186.5 702,-186.5 "/>
<text text-anchor="middle" x="656.5" y="-171.3" font-family="arial" font-size="14.00">2</text>
<polyline fill="none" stroke="black" points="611,-163.5 702,-163.5 "/>
<text text-anchor="middle" x="656.5" y="-148.3" font-family="arial" font-size="14.00">3</text>
<polyline fill="none" stroke="black" points="702,-140.5 702,-209.5 "/>
<text text-anchor="middle" x="759.5" y="-194.3" font-family="arial" font-size="14.00">GND</text>
<polyline fill="none" stroke="black" points="702,-186.5 817,-186.5 "/>
<text text-anchor="middle" x="759.5" y="-171.3" font-family="arial" font-size="14.00">RX</text>
<polyline fill="none" stroke="black" points="702,-163.5 817,-163.5 "/>
<text text-anchor="middle" x="759.5" y="-148.3" font-family="arial" font-size="14.00">TX</text>
</g>
<!-- W1&#45;&#45;X2 -->
<g id="edge2" class="edge">
<title>W1:e&#45;&#45;X2:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M467,-196C531,-196 547,-196 611,-196"/>
<path fill="none" stroke="#ffffff" stroke-width="2" d="M467,-198C531,-198 547,-198 611,-198"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M467,-200C531,-200 547,-200 611,-200"/>
</g>
<!-- W1&#45;&#45;X2 -->
<g id="edge4" class="edge">
<title>W1:e&#45;&#45;X2:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M467,-171C530.04,-171.86 544.68,-150.86 611,-150"/>
<path fill="none" stroke="#666600" stroke-width="2" d="M467,-173C531.68,-173 546.32,-152 611,-152"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M467,-175C533.32,-174.14 547.96,-153.14 611,-154"/>
</g>
<!-- W1&#45;&#45;X2 -->
<g id="edge6" class="edge">
<title>W1:e&#45;&#45;X2:w</title>
<path fill="none" stroke="#000000" stroke-width="2" d="M467,-146C533.9,-147.09 547.67,-174.09 611,-173"/>
<path fill="none" stroke="#00ff00" stroke-width="2" d="M467,-148C532.12,-148 545.88,-175 611,-175"/>
<path fill="none" stroke="#000000" stroke-width="2" d="M467,-150C530.33,-148.91 544.1,-175.91 611,-177"/>
</g>
</g>
</svg>
<h1>Bill of Materials</h1><table style="border:1px solid #000000; font-size: 14pt; border-spacing: 0px"><tr><th align="left" style="border:1px solid #000000; padding: 8px">Item</th><th align="left" style="border:1px solid #000000; padding: 8px">Qty</th><th align="left" style="border:1px solid #000000; padding: 8px">Unit</th><th align="left" style="border:1px solid #000000; padding: 8px">Designators</th></tr><tr><td style="border:1px solid #000000; padding: 4px">D-Sub, female, 9 pins</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px">X1</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Molex KK 254, female, 3 pins</td><td align="right" style="border:1px solid #000000; padding: 4px">1</td><td style="border:1px solid #000000; padding: 4px"></td><td style="border:1px solid #000000; padding: 4px">X2</td></tr><tr><td style="border:1px solid #000000; padding: 4px">Cable 3 x 0.25 mm² shielded</td><td align="right" style="border:1px solid #000000; padding: 4px">0.2</td><td style="border:1px solid #000000; padding: 4px">m</td><td style="border:1px solid #000000; padding: 4px">W1</td></tr></table></body></html>
13 changes: 13 additions & 0 deletions examples/demo02.bom.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Item Qty Unit Designators
Crimp ferrule, 0.25 mm² 2
Molex KK 254, female, 4 pins 2 X2, X3
Molex KK 254, female, 5 pins 1 X4
Molex KK 254, female, 8 pins 1 X1
Cable 2 x 0.25 mm² 0.3 m W4
Wire 0.14 mm² BK 0.9 m W1, W2, W3
Wire 0.14 mm² BU 0.3 m W3
Wire 0.14 mm² GN 0.6 m W1, W2
Wire 0.14 mm² OG 0.3 m W3
Wire 0.14 mm² RD 0.6 m W1, W2
Wire 0.14 mm² VT 0.3 m W3
Wire 0.14 mm² YE 0.6 m W1, W2
Loading

0 comments on commit ccf4db5

Please sign in to comment.