website/assets/pictures/intro-to-electronics/switch-circuit.svg
2018-09-16 22:24:36 +08:00

26 lines
2.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Circuit Diagram, cdlibrary.dll 1.0.0.0 -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" width="300" height="260" xmlns="http://www.w3.org/2000/svg">
<line x1="60" y1="40" x2="60" y2="137" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<line x1="50" y1="137" x2="70" y2="137" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<line x1="55" y1="143" x2="65" y2="143" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:3" />
<line x1="60" y1="143" x2="60" y2="240" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<text x="46" y="140" style="font-family:Arial;font-size:12px;text-anchor:end" dy=".3em">+5V</text>
<line x1="260" y1="40" x2="260" y2="70" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<rect x="252" y="70" width="16" height="40" style="fill-opacity:0;stroke:rgb(0,0,0);stroke-width:2" />
<line x1="260" y1="110" x2="260" y2="140" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<text x="246" y="90" style="font-family:Arial;font-size:11px;text-anchor:end" dy=".3em">R1</text>
<line x1="260" y1="140" x2="260" y2="240" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<path d="M 260,197 M 252,197 L 268,197 M 260,197 L 268,182 L 252,182 L 260,197" style="fill-opacity:0;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:2" />
<path d="M 260,195 M 271,193 L 279,201 M 280,202 L 278,198 L 276,200 L 280,202 L 278,198" style="fill-opacity:0;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:2" />
<path d="M 260,195 M 264,199 L 272,207 M 273,208 L 271,204 L 269,206 L 273,208 L 271,204" style="fill-opacity:0;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:2" />
<line x1="60" y1="40" x2="146" y2="40" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<line x1="174" y1="40" x2="260" y2="40" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<ellipse cx="149" cy="40" rx="3" ry="3" style="fill-opacity:0;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:2" />
<ellipse cx="171" cy="40" rx="3" ry="3" style="fill-opacity:0;fill:rgb(0,0,0);stroke:rgb(0,0,0);stroke-width:2" />
<line x1="148" y1="32" x2="172" y2="32" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<line x1="154" y1="26" x2="166" y2="26" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<line x1="160" y1="26" x2="160" y2="32" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
<line x1="60" y1="240" x2="260" y2="240" style="stroke:rgb(0,0,0);stroke-linecap:square;stroke-width:2" />
</svg>