summaryrefslogtreecommitdiff
path: root/views/webtronix_server
diff options
context:
space:
mode:
Diffstat (limited to 'views/webtronix_server')
-rw-r--r--views/webtronix_server/amplifier/inst-amp.svg57
-rw-r--r--views/webtronix_server/amplifier/op-amp.svg54
-rw-r--r--views/webtronix_server/audio/speaker.svg57
-rw-r--r--views/webtronix_server/capacitors/capacitor.svg51
-rw-r--r--views/webtronix_server/capacitors/polar-cap.svg56
-rw-r--r--views/webtronix_server/capacitors/varicap.svg59
-rw-r--r--views/webtronix_server/digital/adc_bridge.svg43
-rw-r--r--views/webtronix_server/digital/and.svg50
-rw-r--r--views/webtronix_server/digital/dac_bridge.svg62
-rw-r--r--views/webtronix_server/digital/nand.svg58
-rw-r--r--views/webtronix_server/digital/nor.svg62
-rw-r--r--views/webtronix_server/digital/not.svg50
-rw-r--r--views/webtronix_server/digital/or.svg53
-rw-r--r--views/webtronix_server/digital/source.svg28
-rw-r--r--views/webtronix_server/digital/xnor.svg47
-rw-r--r--views/webtronix_server/digital/xor.svg45
-rw-r--r--views/webtronix_server/diodes/diode.svg28
-rw-r--r--views/webtronix_server/diodes/led.svg57
-rw-r--r--views/webtronix_server/diodes/photodiode.svg57
-rw-r--r--views/webtronix_server/diodes/scr.svg54
-rw-r--r--views/webtronix_server/diodes/triac.svg70
-rw-r--r--views/webtronix_server/diodes/trigger.svg63
-rw-r--r--views/webtronix_server/diodes/zener.svg49
-rw-r--r--views/webtronix_server/frequency/crystal.svg31
-rw-r--r--views/webtronix_server/ic/3_pins.svg63
-rw-r--r--views/webtronix_server/ic/4_pins.svg42
-rw-r--r--views/webtronix_server/ic/5_pins.svg45
-rw-r--r--views/webtronix_server/inductors/coil.svg40
-rw-r--r--views/webtronix_server/inductors/tapcoil.svg42
-rw-r--r--views/webtronix_server/inductors/transformer.svg64
-rw-r--r--views/webtronix_server/lightning.pngbin0 -> 3327 bytes
-rw-r--r--views/webtronix_server/parts.json240
-rw-r--r--views/webtronix_server/power/ac.svg32
-rw-r--r--views/webtronix_server/power/battery.svg70
-rw-r--r--views/webtronix_server/power/current.svg31
-rw-r--r--views/webtronix_server/power/ground.svg52
-rw-r--r--views/webtronix_server/power/namewire.svg51
-rw-r--r--views/webtronix_server/power/positive.svg55
-rw-r--r--views/webtronix_server/predefined/555.svg84
-rw-r--r--views/webtronix_server/resistors/photo-resistor.svg72
-rw-r--r--views/webtronix_server/resistors/potentiometer.svg60
-rw-r--r--views/webtronix_server/resistors/resistor.svg55
-rw-r--r--views/webtronix_server/resistors/testresistor.svg53
-rw-r--r--views/webtronix_server/resistors/vari-resistor.svg58
-rw-r--r--views/webtronix_server/spice/2n7000.mod43
-rw-r--r--views/webtronix_server/spice/555.mod54
-rw-r--r--views/webtronix_server/spice/ad620a.mod143
-rw-r--r--views/webtronix_server/spice/ad8221.mod141
-rw-r--r--views/webtronix_server/spice/bat54.mod25
-rw-r--r--views/webtronix_server/spice/digital.lib14
-rw-r--r--views/webtronix_server/spice/dsource.mod6
-rw-r--r--views/webtronix_server/spice/ina128.mod274
-rw-r--r--views/webtronix_server/spice/irf150.mod62
-rw-r--r--views/webtronix_server/spice/irf530.mod68
-rw-r--r--views/webtronix_server/spice/irfz44n.mod68
-rw-r--r--views/webtronix_server/spice/lm324.mod70
-rw-r--r--views/webtronix_server/spice/lm339.mod32
-rw-r--r--views/webtronix_server/spice/lm358.mod118
-rw-r--r--views/webtronix_server/spice/lm741.mod111
-rw-r--r--views/webtronix_server/spice/models.lib72
-rw-r--r--views/webtronix_server/spice/mymodels.lib26
-rw-r--r--views/webtronix_server/spice/mysubckt.mod131
-rw-r--r--views/webtronix_server/spice/ne555.mod686
-rw-r--r--views/webtronix_server/spice/tl084.mod53
-rw-r--r--views/webtronix_server/spice/ua741.mod58
-rw-r--r--views/webtronix_server/switches/ncpb.svg64
-rw-r--r--views/webtronix_server/switches/nopb.svg60
-rw-r--r--views/webtronix_server/switches/spst-relay.svg41
-rw-r--r--views/webtronix_server/switches/spst-switch.svg70
-rw-r--r--views/webtronix_server/test/analysis.svg25
-rw-r--r--views/webtronix_server/test/scope.svg28
-rw-r--r--views/webtronix_server/transistors/njfet.svg39
-rw-r--r--views/webtronix_server/transistors/nmosfet.svg54
-rw-r--r--views/webtronix_server/transistors/npn.svg32
-rw-r--r--views/webtronix_server/transistors/phototrans.svg63
-rw-r--r--views/webtronix_server/transistors/pjfet.svg36
-rw-r--r--views/webtronix_server/transistors/pmosfet.svg55
-rw-r--r--views/webtronix_server/transistors/pnp.svg30
-rw-r--r--views/webtronix_server/webtronix_server.html48
79 files changed, 5350 insertions, 0 deletions
diff --git a/views/webtronix_server/amplifier/inst-amp.svg b/views/webtronix_server/amplifier/inst-amp.svg
new file mode 100644
index 0000000..10bef0a
--- /dev/null
+++ b/views/webtronix_server/amplifier/inst-amp.svg
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" height="100" width="100" >
+<!--
+* CONNECTIONS: +
+* | rg1
+* | | rg2
+* | | | -
+* | | | | V-
+* | | | | | REF
+* | | | | | | out
+* | | | | | | | V+
+* | | | | | | | |
+* PIN CONFIG 1 2 3 4 5 6 7 8
+-->
+ <g id="u" stroke="#000" stroke-width="2px" class="op-amp">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="0" y="30"/>
+ <wtx:node index="3" x="0" y="70"/>
+ <wtx:node index="4" x="0" y="90"/>
+
+ <wtx:node index="5" x="50" y="90"/>
+ <wtx:node index="6" x="70" y="80"/>
+ <wtx:node index="7" x="100" y="50"/>
+ <wtx:node index="8" x="50" y="10"/>
+
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>u</wtx:id>
+ <wtx:type>u</wtx:type>
+ <wtx:name>inst-amp</wtx:name>
+ <wtx:category>amplifier</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:spice></wtx:spice>
+ <wtx:label></wtx:label>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path id="path1887" fill="none" d="M90,50,10,100,10,0,90,50z"/>
+ <path id="path1889" d="M0,10,10,10"/>
+ <path id="path1893" d="M0,30,10,30"/>
+ <path id="path1889" d="M0,70,10,70"/>
+ <path id="path1893" d="M0,90,10,90"/>
+
+ <text id="text1895" y="20" x="15" font-size="12px" stroke-width="0px">+</text>
+ <text id="text1915" y="80" x="15" font-size="12px" stroke-width="0px">_</text>
+ <path id="path2" d="M50,90,50,75"/>
+ <path id="path2" d="M70,80,70,63"/>
+ <path id="path2167" d="M90,50,100,50"/>
+ <path id="path2" d="M50,10,50,25"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/amplifier/op-amp.svg b/views/webtronix_server/amplifier/op-amp.svg
new file mode 100644
index 0000000..79df61a
--- /dev/null
+++ b/views/webtronix_server/amplifier/op-amp.svg
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" height="60" width="60" version="1.0">
+<!--
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OUTPUT
+* | | | | |
+.SUBCKT UA741 1 2 3 4 5
+-->
+ <g id="u" stroke="#000" stroke-width="2px" class="op-amp">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+<!--
+all opamp models must be in this order
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OPEN COLLECTOR OUTPUT
+* | | | | |
+.SUBCKT LM339 1 2 3 4 5
+-->
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="0" y="50"/>
+ <wtx:node index="3" x="30" y="0"/>
+ <wtx:node index="4" x="30" y="60"/>
+ <wtx:node index="5" x="60" y="30"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>u</wtx:id>
+ <wtx:type>u</wtx:type>
+ <wtx:name>op-amp</wtx:name>
+ <wtx:category>amplifier</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:spice></wtx:spice>
+ <wtx:label></wtx:label>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path id="path1887" fill="none" d="M50,30,10,60,10,0,50,30z"/>
+ <path id="path1889" d="M0,10,10,10"/>
+ <path id="path1893" d="M0,50,10,50"/>
+ <text id="text1895" y="20" x="15" font-size="12px" stroke-width="0px">+</text>
+ <path id="path2167" d="M50,30,60,30"/>
+ <text id="text1915" y="45" x="15" font-size="12px" stroke-width="0px">_</text>
+ <path id="path2" d="M30,0,30,15"/>
+ <path id="path2" d="M30,45,30,60"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/audio/speaker.svg b/views/webtronix_server/audio/speaker.svg
new file mode 100644
index 0000000..1f5df99
--- /dev/null
+++ b/views/webtronix_server/audio/speaker.svg
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="50.81818"
+ height="30.091328"
+>
+ <defs>
+</defs>
+ <g
+ stroke='black'
+ stroke-width='2px'
+ id="Speaker"
+ class="speaker" >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="10" y="30"/>
+ <wtx:node index="2" x="40" y="30"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>testresistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:spice></wtx:spice>
+ <wtx:label></wtx:label>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <rect
+ width="30"
+ height="9.0629358"
+ x="10.5"
+ y="10.782949"
+ id="rect4127"
+fill='none'
+/>
+ <path
+ d="M 10.954546,10.608661 C 9.409091,10.085799 0.5,0.6742871 0.5,0.6742871 L 50.318182,0.5 L 40.136364,10.957236"
+ id="path4129"
+ fill='none'
+/>
+ <path
+ d="M 10.633434,20.379502 L 10.633434,30.953156"
+ id="path4133"
+/>
+ <path
+ d="M 40.366566,20.419654 L 40.366566,30.96424"
+ id="path4135"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/capacitors/capacitor.svg b/views/webtronix_server/capacitors/capacitor.svg
new file mode 100644
index 0000000..d064a25
--- /dev/null
+++ b/views/webtronix_server/capacitors/capacitor.svg
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="30.237501"
+ height="20.524286"
+ id="svg2">
+ <g connects="0,10;30,10"
+ stroke='black'
+ stroke-width='2px'
+ id="C"
+ class="capacitor" >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="30" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>capacitor</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 10,0 10,20"
+ id="path3412"
+ />
+ <path
+ d="m 20,0 0,20"
+ id="path3414"
+ />
+ <path
+ d="m 20,10 10,0"
+ id="path3420"
+ />
+ <path
+ d="M 10,10 0,10"
+ id="path3422"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/capacitors/polar-cap.svg b/views/webtronix_server/capacitors/polar-cap.svg
new file mode 100644
index 0000000..964cc7f
--- /dev/null
+++ b/views/webtronix_server/capacitors/polar-cap.svg
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="27.000002"
+ height="20.649992"
+>
+ <g connects="0,10;30,10"
+ stroke='black'
+ stroke-width='2px'
+ id="C"
+ class="polar-cap">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="30" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>polar-cap</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 10,0 10,20"
+ id="path3412"
+ />
+ <path
+ d="m 20,0 0,20"
+ id="path3414"
+ />
+ <path
+ d="m 20,10 10,0"
+ id="path3420"
+ />
+ <path
+ d="M 10,10 0,10"
+ id="path3422"
+ />
+ <text
+ x="0"
+ y="8.5261526"
+ id="text5025"
+ font-size='12px'
+ stroke-width='0px'>+</text>
+ </g>
+</svg>
diff --git a/views/webtronix_server/capacitors/varicap.svg b/views/webtronix_server/capacitors/varicap.svg
new file mode 100644
index 0000000..c862143
--- /dev/null
+++ b/views/webtronix_server/capacitors/varicap.svg
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="30"
+ height="20.649992"
+>
+ <g connects="0,10;30,10"
+ stroke='black'
+ stroke-width='2px'
+ id="C"
+ class="varicap" ><metadata class="part" >
+
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="30" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>c</wtx:id>
+ <wtx:type>c</wtx:type>
+ <wtx:name>varicap</wtx:name>
+ <wtx:category>capacitors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+
+</metadata>
+ <path
+ d="M 10,0 10,20"
+ id="path3412"
+ />
+ <path
+ d="m 20,0 0,20"
+ id="path3414"
+ />
+ <path
+ d="m 20,10 10,0"
+ id="path3420"
+ />
+ <path
+ d="M 10,10 0,10"
+ id="path3422"
+ />
+ <path
+ d="M 5.1751823,7.559825 C 5.1751823,6.9509801 2.7398024,2.3846428 2.7398024,2.3846428 L 8.16867,4.1604406"
+ id="path2163"
+fill='none'/>
+ <path
+ d="M 3.6530698,3.2471732 L 22.07063,18.924931"
+ id="path2165"
+/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/adc_bridge.svg b/views/webtronix_server/digital/adc_bridge.svg
new file mode 100644
index 0000000..7817fe1
--- /dev/null
+++ b/views/webtronix_server/digital/adc_bridge.svg
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2826" width="30" height="20" xmlns="http://www.w3.org/2000/svg">
+ <g id="aadc" class="adc_bridge" stroke="black">
+<metadata class="part" >
+
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+<!--pin data -->
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10" />
+ </wtx:analog>
+ <wtx:digital>
+ <wtx:node index="2" x="30" y="10" />
+ </wtx:digital>
+ </wtx:pins>
+<!--id for svg diagram and spice-->
+ <wtx:id>ada</wtx:id>
+<!--type of part-->
+ <wtx:type>ada</wtx:type>
+<!--name of file-->
+ <wtx:name>adc_bridge</wtx:name>
+<!--category of part-->
+ <wtx:category>digital</wtx:category>
+<!--value or model name-->
+ <wtx:value/>
+<!--label id for svg diagram-->
+ <wtx:label/>
+<!--spice data-->
+ <wtx:spice/>
+<!--true if flippable-->
+ <wtx:flip/>
+<!--model or spice directive describing part spice-->
+ <wtx:model/>
+</wtx:part>
+</metadata>
+ <path id="path2846" d="m23.609,10.047c0,5.3886-4.3682,9.7572-9.7572,9.7572-5.3888,0-9.7572-4.3686-9.7572-9.7572,0-5.3888,4.3684-9.7572,9.7572-9.7572,5.389,0,9.7572,4.3684,9.7572,9.7572z" stroke-width="0.48559496" fill="none" />
+ <path id="path3620" fill="none" d="m5.3326,10.25s0.34324,2.6863,1.3335,2.7751c1.1006,0.099,1.9674-2.775,1.9674-2.775s0.92008-2.8841,2.033-2.7751c0.99,0.0969,1.334,2.7751,1.334,2.7751"/>
+ <rect id="rect3624" y="7.25" width="6.0007" x="14" height="6.2441"/>
+ <path id="path3628" stroke-width="2" d="m5,10-5,0"/>
+ <path id="path3630" stroke-width="2" d="m24,10,6,0"/>
+ <path id="path3632" d="m14,0.25,10,10-10,10" fill="none"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/and.svg b/views/webtronix_server/digital/and.svg
new file mode 100644
index 0000000..075430f
--- /dev/null
+++ b/views/webtronix_server/digital/and.svg
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60.318184"
+ height="40.902729"
+ >
+ <g
+ stroke='black'
+ stroke-width='2px' >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ <wtx:node index="2" x="0" y="30" />
+ <wtx:node index="3" x="60" y="20" />
+ </wtx:digital>
+ </wtx:pins>
+ <wtx:id>and</wtx:id>
+
+ <wtx:type>and</wtx:type>
+ <wtx:name>and</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path
+ d="M 10.863637,0.66290618 L 20.136364,0.57199708 C 20.136364,0.57199708 33.500001,-0.35982112 41.045455,4.4810879 C 48.59091,9.3219965 49.272727,14.70836 49.409091,19.935633 C 49.545455,25.162906 48.590909,31.003815 41.045455,35.935633 C 33.500001,40.867451 20.136364,40.390178 20.136364,40.390178 L 10.863637,40.117451 L 10.863637,0.66290618 z"
+ id="path2189"
+ fill='none'/>
+ <path
+ d="M 49.818182,19.935633 L 59.818182,19.935633"
+ id="path2191"
+ />
+ <path
+ d="M 10.5,10.435633 L 0.5,10.435633"
+ id="path2193"
+ />
+ <path
+ d="M 10.818182,30.299269 L 0.818182,30.299269"
+ id="path2195"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/dac_bridge.svg b/views/webtronix_server/digital/dac_bridge.svg
new file mode 100644
index 0000000..b5b1316
--- /dev/null
+++ b/views/webtronix_server/digital/dac_bridge.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="30"
+ height="20"
+ id="svg2826">
+ <g
+ id="adac" class="dac_bridge" stroke="black">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ </wtx:digital>
+ <wtx:analog>
+ <wtx:node index="2" x="30" y="10" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>ad</wtx:id>
+ <wtx:type>ad</wtx:type>
+ <wtx:name>dac_bridge</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="m 23.609,10.047 c 0,5.3886 -4.3682,9.7572 -9.7572,9.7572 -5.3888,0 -9.7572,-4.3686 -9.7572,-9.7572 0,-5.3888 4.3684,-9.7572 9.7572,-9.7572 5.389,0 9.7572,4.3684 9.7572,9.7572 z"
+ id="path2846"
+ fill="none"
+ stroke-width="0.48559496" />
+ <path
+ d="m 13.1201,10.25 c 0,0 0.34324,2.6863 1.3335,2.7751 1.1006,0.099 1.9674,-2.775 1.9674,-2.775 0,0 0.92008,-2.8841 2.033,-2.7751 0.99,0.0969 1.334,2.7751 1.334,2.7751"
+ id="path3620"
+ fill="none" />
+ <rect
+ width="6.0007"
+ height="6.2441001"
+ x="5.5999999"
+ y="6.9875002"
+ id="rect3624"
+ />
+ <path
+ d="M 5,10 0,10"
+ id="path3628"
+ stroke-width="2" />
+ <path
+ d="m 24,10 6,0"
+ id="path3630"
+ stroke-width="2" />
+ <path
+ d="m 14,0.25 10,10 -10,10"
+ id="path3632"
+ fill="none"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/nand.svg b/views/webtronix_server/digital/nand.svg
new file mode 100644
index 0000000..8f3346b
--- /dev/null
+++ b/views/webtronix_server/digital/nand.svg
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60"
+ height="40"
+>
+ <defs>
+</defs>
+ <g connects='0,10;0,30:60,20'
+ stroke='black'
+ stroke-width='2px'
+ id="anand"
+ class="nand">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ <wtx:node index="2" x="0" y="30" />
+ <wtx:node index="3" x="60" y="20" />
+ </wtx:digital>
+ </wtx:pins>
+ <wtx:id>nand</wtx:id>
+
+ <wtx:type>nand</wtx:type>
+ <wtx:name>nand</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path
+ d="M 10.863637,0.66290618 L 20.136364,0.57199708 C 20.136364,0.57199708 33.500001,-0.35982112 41.045455,4.4810879 C 48.59091,9.3219965 49.272727,14.70836 49.409091,19.935633 C 49.545455,25.162906 48.590909,31.003815 41.045455,35.935633 C 33.500001,40.867451 20.136364,40.390178 20.136364,40.390178 L 10.863637,40.117451 L 10.863637,0.66290618 z"
+ id="path2189"
+ fill='none' />
+ <path
+ d="M 49.818182,19.935633 L 59.818182,19.935633"
+ id="path2191"
+ />
+ <path
+ d="M 10.5,10.435633 L 0.5,10.435633"
+ id="path2193"
+ />
+ <path
+ d="M 10.818182,30.299269 L 0.818182,30.299269"
+ id="path2195"
+ />
+ <path
+ d="M 53.464991,19.999123 C 53.464991,21.220202 52.520106,22.210081 51.35453,22.210081 C 50.188955,22.210081 49.24407,21.220202 49.24407,19.999123 C 49.24407,18.778044 50.188955,17.788165 51.35453,17.788165 C 52.520106,17.788165 53.464991,18.778044 53.464991,19.999123 z"
+ id="path2162"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/nor.svg b/views/webtronix_server/digital/nor.svg
new file mode 100644
index 0000000..a4958dd
--- /dev/null
+++ b/views/webtronix_server/digital/nor.svg
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60.318184"
+ height="40.902729"
+>
+ <defs>
+</defs>
+ <g connects="0,10;0,30;60,20"
+ stroke='black'
+ stroke-width='2px'
+ id="G"
+ class="nor">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ <wtx:node index="2" x="0" y="30" />
+ <wtx:node index="3" x="60" y="20" />
+ </wtx:digital>
+ </wtx:pins>
+ <wtx:id>nor</wtx:id>
+
+ <wtx:type>nor</wtx:type>
+ <wtx:name>nor</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path
+ d="M 10.863637,0.66290618 L 20.136364,0.57199708 C 21.190899,0.62120167 34.023953,2.1193852 41.045455,9.0354996 C 46.066503,13.981185 48.886195,18.543 49.419293,20.131273 C 50.329505,22.843088 49.186258,18.740418 49.409091,20.1578 C 49.678809,21.8734 46.472981,28.175101 39.934623,34.380468 C 32.669624,41.27547 20.137737,40.399786 20.136364,40.390178 L 10.863637,40.117451 C 14.86684,27.466336 16.293486,14.493152 10.863637,0.66290618 z"
+ fill='none'
+ id="path2189"
+/>
+ <path
+ d="M 13.388164,10.102383 L 0.5,10.435633"
+ id="path2193"
+/>
+ <path
+ d="M 12.928763,30.299269 L 0.818182,30.299269"
+ id="path2195"
+/>
+ <path
+ d="M 51.764777,20.241251 A 2.8881636,3.1103299 0 1 1 45.98845,20.241251 A 2.8881636,3.1103299 0 1 1 51.764777,20.241251 z"
+ transform="translate(2.110581,0)"
+ id="path2431"
+ fill='none'
+/>
+ <path
+ d="M 49.818182,19.935633 C 57.213714,20.174586 56.904566,19.960322 59.818182,19.935633"
+ id="path2191"
+ fill='none'/>
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/not.svg b/views/webtronix_server/digital/not.svg
new file mode 100644
index 0000000..83ec3aa
--- /dev/null
+++ b/views/webtronix_server/digital/not.svg
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40.500751"
+ height="40.857143"
+>
+ <g connects="0,20;40,20"
+ stroke='black'
+ stroke-width='2px'
+ id="G"
+ class="not">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="20" />
+ <wtx:node index="2" x="40" y="20" />
+ </wtx:digital>
+
+ </wtx:pins>
+ <wtx:id>inv</wtx:id>
+
+ <wtx:type>inv</wtx:type>
+ <wtx:name>not</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path
+ d="M 31.864774,20.071429 L 8.753888,40.357143 L 8.753888,0.5 L 31.982663,20.418568 L 39.882814,20.418568"
+ id="path1887"
+ fill='none'
+ />
+ <path
+ d="M 8.753888,20.357143 L 0.5,20.357143"
+ id="path1970"
+ />
+ <path
+ d="M 34.155292,19.998991 C 34.155596,21.853484 33.337242,23.357143 32.327646,23.357143 C 31.31805,23.357143 30.499696,21.853484 30.5,19.998991 C 30.499696,18.144498 31.31805,16.640839 32.327646,16.640839 C 33.337242,16.640839 34.155596,18.144498 34.155292,19.998991 z"
+ id="path1972"
+ fill='none'
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/or.svg b/views/webtronix_server/digital/or.svg
new file mode 100644
index 0000000..b6f9227
--- /dev/null
+++ b/views/webtronix_server/digital/or.svg
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60.318184"
+ height="40.902729"
+>
+ <g connects="0,10;0,30;60,20"
+ stroke='black'
+ stroke-width='2px'
+ id="G"
+ class="or">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ <wtx:node index="2" x="0" y="30" />
+ <wtx:node index="3" x="60" y="20" />
+ </wtx:digital>
+ </wtx:pins>
+ <wtx:id>or</wtx:id>
+
+ <wtx:type>or</wtx:type>
+ <wtx:name>or</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path
+ d="M 10.863637,0.66290618 L 20.136364,0.57199708 C 21.190899,0.62120167 34.023953,2.1193852 41.045455,9.0354996 C 46.066503,13.981185 48.886195,18.543 49.419293,20.131273 C 50.329505,22.843088 49.474964,18.724522 49.409091,20.1578 C 49.345559,21.54015 46.472981,28.175101 39.934623,34.380468 C 32.669624,41.27547 20.137737,40.399786 20.136364,40.390178 L 10.863637,40.117451 C 14.86684,27.466336 16.293486,14.493152 10.863637,0.66290618 z"
+ id="path2189"
+ fill='none'
+ />
+ <path
+ d="M 49.818182,19.935633 C 57.213714,20.174586 56.904566,19.960322 59.818182,19.935633"
+ id="path2191"
+ />
+ <path
+ d="M 13.388164,10.102383 L 0.5,10.435633"
+ id="path2193"
+ />
+ <path
+ d="M 12.928763,30.299269 L 0.818182,30.299269"
+ id="path2195"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/source.svg b/views/webtronix_server/digital/source.svg
new file mode 100644
index 0000000..70c9fe5
--- /dev/null
+++ b/views/webtronix_server/digital/source.svg
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="a" xmlns="http://www.w3.org/2000/svg" height="20" width="60">
+ <g id="asource" class="source" stroke="#000" fill="none" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="50" y="10" ></wtx:node>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>clock</wtx:id>
+
+ <wtx:type>xclock</wtx:type>
+ <wtx:name>source</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <rect id="rect2830" height="20" width="40" y="0" x="0" stroke-width="2"/>
+ <path id="path2832" d="m6,15.362,5,0,0-10,15,0,0,10,10,0,0,0" stroke-width="1px"/>
+ <path id="path2834" d="m40,10,10,0" stroke-width="2"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/xnor.svg b/views/webtronix_server/digital/xnor.svg
new file mode 100644
index 0000000..a3757bb
--- /dev/null
+++ b/views/webtronix_server/digital/xnor.svg
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60"
+ height="40"
+>
+ <defs>
+</defs>
+ <g connects="0,10;0,30;60,20"
+ stroke='black'
+ stroke-width='2px'
+ id="G"
+ class="xnor" >
+
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ <wtx:node index="2" x="0" y="30" />
+ <wtx:node index="3" x="60" y="20" />
+ </wtx:digital>
+ </wtx:pins>
+ <wtx:id>xnor</wtx:id>
+
+ <wtx:type>xnor</wtx:type>
+ <wtx:name>xnor</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path id="path2189" fill="none" d="M10.864,0.66291l9.272-0.09091c1.055,0.0492,13.888,1.5474,20.909,8.4635,5.022,4.9455,7.841,9.5075,8.374,11.096,0.911,2.712-0.233-1.391-0.01,0.027,0.27,1.715-2.936,8.017-9.474,14.222-7.265,6.895-19.797,6.02-19.799,6.01l-9.272-0.273c4.003-12.651,5.429-25.624,0-39.454z"/>
+ <path id="path2191" fill="none" d="m55,20l5,0"/>
+ <path id="path2193" d="M0,10l13,0"/>
+ <path id="path2195" d="M0,30h13"/>
+ <path id="path2431" fill="none" d="m54.915,20.415a2.8882,3.1103,0,1,1,-5.7763,0,2.8882,3.1103,0,1,1,5.7763,0z"/>
+ <path id="path3223" fill="none" d="M7.3402,0.59291c4.2808,15.544,3.1698,27.526-0.2222,39.234"/>
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/digital/xor.svg b/views/webtronix_server/digital/xor.svg
new file mode 100644
index 0000000..e55ade7
--- /dev/null
+++ b/views/webtronix_server/digital/xor.svg
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60.318184"
+ height="40.902729"
+>
+ <defs>
+</defs>
+ <g
+ stroke='black'
+ stroke-width='2px'
+ id="G"
+ class="xor" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:digital>
+ <wtx:node index="1" x="0" y="10" />
+ <wtx:node index="2" x="0" y="30" />
+ <wtx:node index="3" x="60" y="20" />
+ </wtx:digital>
+ </wtx:pins>
+ <wtx:id>xor</wtx:id>
+
+ <wtx:type>xor</wtx:type>
+ <wtx:name>xor</wtx:name>
+ <wtx:category>digital</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path id="path2189" fill="none" d="M10.864,0.66291l9.272-0.09091c1.055,0.0492,13.888,1.5474,20.909,8.4635,5.022,4.9455,7.841,9.5075,8.374,11.096,0.911,2.712-0.233-1.391-0.01,0.027,0.27,1.715-2.936,8.017-9.474,14.222-7.265,6.895-19.797,6.02-19.799,6.01l-9.272-0.273c4.003-12.651,5.429-25.624,0-39.454z"/>
+ <path id="path2191" fill="none" d="m50,20l10,0"/>
+ <path id="path2193" d="M0,10l13,0"/>
+ <path id="path2195" d="M0,30h13"/>
+ <path id="path3223" fill="none" d="M7.3402,0.59291c4.2808,15.544,3.1698,27.526-0.2222,39.234"/>
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/diode.svg b/views/webtronix_server/diodes/diode.svg
new file mode 100644
index 0000000..6576267
--- /dev/null
+++ b/views/webtronix_server/diodes/diode.svg
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" width="40" height="20">
+ <g id="D" class="diode" stroke="#000" stroke-width="2px" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="40" y="10"/>
+ <wtx:node index="2" x="0" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>diode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path id="path2210" d="m11.059,19.249,0-18.37"/>
+ <path id="path3202" d="M0,10h40"/>
+ <path id="path2220" fill="#000" d="m11.298,10,17.776-8.5486,0,17.1l-17.776-8.551z"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/led.svg b/views/webtronix_server/diodes/led.svg
new file mode 100644
index 0000000..d5b9cf9
--- /dev/null
+++ b/views/webtronix_server/diodes/led.svg
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="39.061817"
+ height="29.840296"
+>
+ <g connects="0,20;40,20"
+ stroke='black'
+ stroke-width='2px'
+ id="D"
+ class="led" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="40" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>led</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path
+ d="M 10,30 L 10,10"
+ id="path2210"
+ />
+ <path
+ d="M 0,20 L 40,20"
+ id="path3202"
+ />
+ <path
+ d="M 12.406482,9.3402953 L 10.602339,0.5 L 17.818907,4.8299403"
+ id="path2163"
+ />
+ <path
+ d="M 18.745196,12.340295 L 11.13586,1.3624071"
+ id="path3210"
+ />
+ <path
+ d="M 10.556699,19.022098 L 29.530771,10.294655 L 29.530771,29.385935 L 10.556699,19.022098 z"
+ id="path2220"
+ fill='black' />
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/photodiode.svg b/views/webtronix_server/diodes/photodiode.svg
new file mode 100644
index 0000000..6864ffa
--- /dev/null
+++ b/views/webtronix_server/diodes/photodiode.svg
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="39.061817"
+ height="29.840296"
+>
+ <g connects="0,20;40,20"
+ stroke='black'
+ stroke-width='2px'
+ id="D"
+ class="photodiode" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="40" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>photodiode</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata> <path
+ d="M 9.556699,29.385935 L 9.556699,10.134292"
+ id="path2210"
+ />
+ <path
+ d="M 0,20 L 40,20"
+ id="path3202"
+ />
+ <path
+ d="M 12,9.8402958 L 19,12.840296 L 18,5.8402958"
+ id="path2195"
+ fill='none'
+ />
+ <path
+ d="M 18.745196,12.340295 L 11.13586,1.3624071"
+ id="path3210"
+ />
+ <path
+ d="M 10.556699,19.022098 L 29.530771,10.294655 L 29.530771,29.385935 L 10.556699,19.022098 z"
+ id="path2220"
+ fill='black'
+ />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/scr.svg b/views/webtronix_server/diodes/scr.svg
new file mode 100644
index 0000000..95048a6
--- /dev/null
+++ b/views/webtronix_server/diodes/scr.svg
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40"
+ height="20.660362"
+>
+ <g connects="0,10;40,10;0,20"
+ stroke='black'
+ stroke-width='2px'
+ id="D"
+ classs="scr" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ <wtx:node index="3" x="0" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>scr</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path
+ d="M 10.056699,19.706003 L 10.056699,0.45435962"
+ id="path2210"
+ />
+ <path
+ d="M 0,10 L 40,10"
+ id="path3202"
+ />
+ <path
+ d="M 10.048965,11.52119 L 0.5,20.160362"
+ id="path2226"
+ />
+ <path
+ d="M 11.056699,9.3421656 L 30.030771,0.61472262 L 30.030771,19.706003 L 11.056699,9.3421656 z"
+ id="path2220"
+ fill='black'
+/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/triac.svg b/views/webtronix_server/diodes/triac.svg
new file mode 100644
index 0000000..096cd2f
--- /dev/null
+++ b/views/webtronix_server/diodes/triac.svg
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40"
+ height="30"
+>
+ <g stroke='black'
+ stroke-width='2px'
+ id="D"
+ class ="triac">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ <wtx:node index="3" x="40" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>triac</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path
+ d="M 10.964206,16.763259 L 10.964206,1.6734577"
+ id="path2210"
+ />
+ <path
+ d="M 0,10 L 40,10"
+ id="path3202"
+ />
+ <path
+ d="M 29.266715,19.945637 L 10.964378,12.907382 L 10.96116,27.39276 L 29.266715,19.945637 z"
+ id="path4957"
+ fill='black'
+ />
+ <path
+ d="M 29.722973,15.239242 L 29.722973,27.325552"
+ id="path4959"
+ />
+ <rect
+ width="40"
+ height="30"
+ x="0.17812824"
+ y="0"
+ id="rect2175"
+ visibility="hidden"
+ />
+ <path
+ d="M 30,20 L 40,20"
+ id="path3163"
+ />
+ <path
+ d="M 11.284014,10.29367 L 29.859252,2.102964 L 29.789401,16.847834 L 11.284014,10.29367 z"
+ id="path2220"
+ fill='black'
+ />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/trigger.svg b/views/webtronix_server/diodes/trigger.svg
new file mode 100644
index 0000000..1970739
--- /dev/null
+++ b/views/webtronix_server/diodes/trigger.svg
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40.585579"
+ height="30"
+>
+ <g connects="0,10;40,10"
+ stroke='black'
+ stroke-width='2px'
+ id="D"
+ class="trigger">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>trigger</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path
+ d="M 10.964206,16.763259 L 10.964206,1.6734577"
+ id="path2210"
+ />
+ <path
+ d="M 0,10 L 40,10"
+ id="path3202"
+ />
+ <path
+ d="M 29.266715,20 L 10,13 L 11.022585,30 L 29.266715,19.945637 z"
+ id="path4957"
+ fill='black' />
+ <path
+ d="M 29.722973,15.239242 L 29.722973,24.499999"
+ id="path4959"
+ />
+ <path
+ d="M 11.284014,10.29367 L 29.859252,2.102964 L 29.789401,16.847834 L 11.284014,10.29367 z"
+ id="path2220"
+ fill='black' />
+ <rect
+ width="40"
+ height="25"
+ x="0.17812824"
+ y="0"
+ id="rect2175"
+ visibility="hidden" />
+ </g>
+</svg>
diff --git a/views/webtronix_server/diodes/zener.svg b/views/webtronix_server/diodes/zener.svg
new file mode 100644
index 0000000..80fdad2
--- /dev/null
+++ b/views/webtronix_server/diodes/zener.svg
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40"
+height="20"
+>
+ <g connects="0,10;40,10"
+ stroke='black'
+ stroke-width='2px'
+ id="g2232"
+ class="zener">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>zener</wtx:name>
+ <wtx:category>diodes</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path
+ d="M 14.639172,0.38974096 L 10.056699,0.45435962 L 10.056699,19.706003 L 5,19.660362"
+ id="path2210"
+ fill='none' />
+ <path
+ d="M 0,10 L 40,10"
+ id="path3202"
+ />
+ <path
+ d="M 11.056699,9.3421656 L 30.030771,0.61472262 L 30.030771,19.706003 L 11.056699,9.3421656 z"
+ id="path2220"
+ fill='black'
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/frequency/crystal.svg b/views/webtronix_server/frequency/crystal.svg
new file mode 100644
index 0000000..cbef720
--- /dev/null
+++ b/views/webtronix_server/frequency/crystal.svg
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" width="40" height="20" >
+ <g id="X" stroke="#000" stroke-width="2px" connects="0,10;40,10" class="crystal">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>d</wtx:id>
+
+ <wtx:type>d</wtx:type>
+ <wtx:name>crystal</wtx:name>
+ <wtx:category>frequency</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path id="path3412" d="M10,0,10,20"/>
+ <path id="path3420" d="M28,10,40,10"/>
+ <path id="path3414" d="m28,0,0,20"/>
+ <path id="path3422" d="m9.3789,9.9998-8.754-7E-7"/>
+ <rect id="rect3789" height="18.913" width="7.4791" y="0.91271" x="15.079" fill="none"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/ic/3_pins.svg b/views/webtronix_server/ic/3_pins.svg
new file mode 100644
index 0000000..8d85b6c
--- /dev/null
+++ b/views/webtronix_server/ic/3_pins.svg
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="40"
+ height="40"
+ id="svg1906"
+
+>
+ <g stroke='black'
+ stroke-width='2px'
+ id="IC"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="10" y="40"/>
+ <wtx:node index="2" x="20" y="40"/>
+ <wtx:node index="3" x="30" y="40"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>u</wtx:id>
+ <wtx:type>u</wtx:type>
+ <wtx:name>3_pins</wtx:name>
+ <wtx:category>ic</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 10,30 L 10,40"
+ id="path1916"
+ />
+ <path
+ d="M 20,30 L 20,40"
+
+ id="path1918"
+ />
+ <path
+ d="M 30,30 L 30,40"
+ id="path1920"
+ />
+ <rect
+ width="40"
+ height="30"
+ x="0"
+ y="0"
+ id="rect1914"
+ fill="none"
+/>
+ <rect
+ width="3"
+ height="3"
+ x="5"
+ y="20"
+ id="rect2162"
+/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/ic/4_pins.svg b/views/webtronix_server/ic/4_pins.svg
new file mode 100644
index 0000000..786881f
--- /dev/null
+++ b/views/webtronix_server/ic/4_pins.svg
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="60"
+ height="60"
+ id="svg1964"
+ >
+ <g stroke='black'
+ stroke-width='2px'
+ id="IC"
+ class="4_pins" >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="0" y="50"/>
+ <wtx:node index="3" x="60" y="50"/>
+ <wtx:node index="4" x="60" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>u</wtx:id>
+ <wtx:type>u</wtx:type>
+ <wtx:name>4_pins</wtx:name>
+ <wtx:category>ic</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+<path d="m 0,10 L 10,10" id="path1974" />
+<path d="M 0,50 L 10,50" id="path1976" />
+<path d="m 50,50 L 60,50" id="path1980" />
+<path d="m 50,10 L 60,10" id="path1978" />
+<rect width="40" height="60" x="10" y="0" id="rect1972" fill='none' />
+<rect width="3" height="3" x="20" y="10" id="rect2715" />
+ </g>
+</svg>
diff --git a/views/webtronix_server/ic/5_pins.svg b/views/webtronix_server/ic/5_pins.svg
new file mode 100644
index 0000000..20f6186
--- /dev/null
+++ b/views/webtronix_server/ic/5_pins.svg
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="60"
+ height="80"
+ id="svg2016"
+>
+ <g stroke='black'
+ stroke-width='2px'
+ id="555"
+ class="model"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="0" y="30"/>
+ <wtx:node index="3" x="0" y="50"/>
+ <wtx:node index="4" x="60" y="10"/>
+ <wtx:node index="5" x="60" y="50"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>u</wtx:id>
+ <wtx:type>ic</wtx:type>
+ <wtx:name>u</wtx:name>
+ <wtx:category>ic</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:spice></wtx:spice>
+ <wtx:label></wtx:label>
+ <wtx:flip>false</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+<rect width="40" height="60" x="10" y="0" id="rect2024" fill='none'/>
+ <path d="M 0,10 L 10,10" id="path2028"/>
+ <path d="M 0,30 L 10,30" id="path2034"/>
+ <path d="M 0,50 L 10,50" id="path2036"/>
+ <path d="M 50,10 L 60,10" id="path2038"/>
+ <path d="M 50,50 L 60,50" id="path2040" />
+<rect width="3" height="3" x="20" y="10" id="rect2715" />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/inductors/coil.svg b/views/webtronix_server/inductors/coil.svg
new file mode 100644
index 0000000..45d04e7
--- /dev/null
+++ b/views/webtronix_server/inductors/coil.svg
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="60"
+ height="20"
+ id="svg2160">
+ <g connects="0,10;60,10"
+ stroke='black'
+ stroke-width='2px'
+ id="L"
+ class="coil" >
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="60" y="10"/>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>l</wtx:id>
+
+ <wtx:type>l</wtx:type>
+ <wtx:name>coil</wtx:name>
+ <wtx:category>inductors</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+ <path
+ d="m 0,10 10,0 C 10,10 9.6107334,-0.12011806 14.591528,0.31770045 21.747112,0.94668589 24.470253,17.720009 20.544629,19.8941 15.951065,16.735947 18.786323,-0.6683819 25,0 31.159111,0.66251249 34.941921,15.894397 30.453858,20.030257 26.167898,17.899016 27.910571,0.45899332 35,0 41.407905,-0.41486922 44.153942,17.10781 40.363086,20.075643 35.723271,16.865025 37.979061,-0.59780321 45,0 c 4.981974,0.42419394 5,10 5,10 l 10,0"
+ id="path2905" fill="none" />
+ </g>
+</svg>
diff --git a/views/webtronix_server/inductors/tapcoil.svg b/views/webtronix_server/inductors/tapcoil.svg
new file mode 100644
index 0000000..6948e45
--- /dev/null
+++ b/views/webtronix_server/inductors/tapcoil.svg
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="60"
+ height="30"
+>
+ <g connects="0,10;30,20;60,10"
+ stroke='black'
+ stroke-width='2px'
+ id="L"
+ class="tapcoil">
+
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="30" y="20"/>
+ <wtx:node index="3" x="60" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>l</wtx:id>
+
+ <wtx:type>l</wtx:type>
+ <wtx:name>tapcoil</wtx:name>
+ <wtx:category>inductors</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+ <path id="path2905" fill="none" d="m0,10,10,0s0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10h10"/>
+ <path
+ d="M30,10 , 30,20"
+ id="path3492"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/inductors/transformer.svg b/views/webtronix_server/inductors/transformer.svg
new file mode 100644
index 0000000..d3fc819
--- /dev/null
+++ b/views/webtronix_server/inductors/transformer.svg
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="60"
+ height="50"
+>
+
+ <defs>
+</defs>
+ <g connects="0,10;60,10;0,40;60,40;30,50"
+ stroke='black'
+ stroke-width='2px'
+ id="T"
+ class="transformer">
+<metadata class="part" >
+ <wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="60" y="10"/>
+ <wtx:node index="3" x="0" y="40"/>
+ <wtx:node index="4" x="60" y="40"/>
+ <wtx:node index="5" x="30" y="50"/>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>l</wtx:id>
+
+ <wtx:type>l</wtx:type>
+ <wtx:name>transformer</wtx:name>
+ <wtx:category>inductors</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+ </wtx:part>
+</metadata>
+
+
+ <path id="path2905" fill="none" d="m0,10,10,0s0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10h10"/>
+ <path id="path2905" fill="none" d="m0,40,10,0s0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10,0-10,5-10,5,10,5,10h10"/>
+
+ <path d="M30,40,30,50" id="path3492"/>
+
+
+
+
+ <path
+ d="M 10,15 L 50,15"
+ id="path3496"
+ />
+ <path
+ d="M 10,20 L 50,20"
+ id="path3498"
+ />
+ <path
+ d="M 10,25 L 50,25"
+ id="path3500"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/lightning.png b/views/webtronix_server/lightning.png
new file mode 100644
index 0000000..7145ad3
--- /dev/null
+++ b/views/webtronix_server/lightning.png
Binary files differ
diff --git a/views/webtronix_server/parts.json b/views/webtronix_server/parts.json
new file mode 100644
index 0000000..49052f0
--- /dev/null
+++ b/views/webtronix_server/parts.json
@@ -0,0 +1,240 @@
+{
+ "parts":{
+ "ic":{
+ "3_pins":{},
+ "4_pins":{},
+ "5_pins":{}
+ },
+
+ "amplifier":{
+ "op-amp":{
+ "help":"ux + - v- out v+ model\n\ndirective = include model file",
+ "values":{
+ "lm324":["lm324.mod"],
+ "lm358":["lm358.mod"],
+ "741":["ua741.mod","lm741.mod"],
+ "tl084":["tl084.mod"]
+ }
+ },
+ "inst-amp":{
+ "values":{
+ "ina128":["ina128.mod"],
+ "ad620a":["ad620a.mod"],
+ "ad8221":["ad8221.mod"]
+ }
+ }
+ },
+ "digital":{
+
+ "adc_bridge":{
+ "ideal_adc":["digital.lib"]
+ },
+ "dac_bridge":{
+ "ideal_dac":["digital.lib"]
+ },
+ "source":{
+ "clk":["dsource.mod"]
+ },
+ "and":{
+ "and(rise = 0.5e-9 fall = 0.3e-9)":[],
+ "and1":["digital.lib"]
+ },
+ "nand":{
+ "nand1":["digital.lib"]
+ },
+ "nor":{
+ "nor1":["digital.lib"]
+ },
+ "not":{
+ "inv1":["digital.lib"]
+ },
+ "or":{
+ "or1":["digital.lib"]
+ },
+ "xnor":{
+ "xnor":["digital.lib"]
+ },
+ "xor":{
+ "xor":["digital.lib"]
+ }
+ },
+
+ "resistors":{
+ "photo-resistor":{},
+ "resistor":{
+ "help":"rx 1 2 value\nrx = part id\nvalue = 0-xMeg",
+ "values":{
+ "10":[""],
+ "100":[""],
+ "1K":[""],
+ "10K":[""],
+ "100K":[""],
+ "1.0Meg":[""],
+ "10Meg":[""]
+ }
+ },
+
+ "vari-resistor":{},
+ "potentiometer":{}
+ },
+ "transistors":{
+ "njfet":{
+ "values":{
+ "mpf102":["models.lib"],
+ "2n3819":["models.lib"]
+
+ }
+ },
+ "npn":{
+ "values":{
+
+ "2n3904":["models.lib"],
+ "2n2222":["models.lib"],
+ "2n3055":["models.lib"]
+ }
+ },
+ "pjfet":{},
+ "pnp":{
+ "values":{
+ "2n3906":["models.lib"],
+ "2n2907":["models.lib"]
+ }
+ },
+ "nmosfet":{
+ "values":{
+ "2n7000":["2n7000.mod"],
+ "irf150":["irf150.mod"],
+ "irf530":["irf530.mod"],
+ "irfz44n":["irfz44n.mod"]
+ }
+ },
+ "phototrans":{},
+ "pmosfet":{}
+ },
+ "audio":{
+ "speaker":{}
+ },
+
+ "diodes":{
+ "diode":{
+ "values":{
+
+ "1n4148":["models.lib"],
+ "1n4007":["models.lib"],
+ "1n34a":["models.lib"],
+ "1n5711":["models.lib"]
+
+ },
+ "help":"dx a k model\na=anode\nk=kathode"
+
+ },
+ "led":{},
+ "photodiode":{},
+ "scr":{},
+ "triac":{},
+ "trigger":{},
+ "zener":{}
+ },
+ "switches":{
+
+ "ncpb":{},
+ "nopb":{},
+ "spst-relay":{},
+ "spst-switch":{}
+ },
+ "capacitors":{
+ "capacitor":{
+ "help":"cx 1 2 value",
+
+ "values":{
+
+ "1pf":[""],
+ "10pf":[""],
+ "100pf":[""],
+ "1nf":[""],
+ "10nf":[""],
+ "100nf":[""],
+ "1uf":[""],
+ "10uf":[""],
+ "100uf":[""]
+
+ }
+ },
+ "polar-cap":{},
+ "varicap":{}
+ },
+ "frequency":{
+ "crystal":{}
+ },
+ "inductors":{
+ "coil":{
+ "help":"lx 1 2 value\n\ncoupling directive \ncouples 2 inductors\n\nkx lx lx value\nlx = inductor id's\nvalue = coupling",
+ "values":{
+ "1h":[""],
+ "100mh":[""],
+ "10mh":[""],
+ "1mh":[""],
+ "100uh":[""],
+ "10uh":[""],
+ "1uh":[""],
+ "100nh":[""],
+ "10nh":[""],
+ "1h":[""]
+ }
+ },
+ "tapcoil":{},
+ "transformer":{}
+ },
+ "power":{
+ "current":{
+
+ "values":{
+ "DC 1ma":[""],
+ "DC 10ma":[""],
+ "DC 100ma":[""],
+ "DC 1a":[""],
+ "SIN(0 1ma 1KHZ)":[""],
+ "SIN(0 10ma 1KHZ)":[""]
+ }
+ },
+ "ac":{
+ "help":"SIN = sine wave source\nAC = AC frequency sweep",
+ "values":{
+ "SIN(0 5 1KHZ)":[""],
+ "SIN(0 12 60HZ)":[""],
+ "SIN(0 120 60HZ)":[""],
+ "PWL(0 0 10ns 0 10ns 5 20ns 5)R=0":[""],
+ "PULSE(0 1 0 0 0 2n 4n)":[""],
+ "SFFM( 0 1V 20K 5 1K)":[""],
+ "AC 1 SIN":[".ac lin 20 100 200 "]
+
+ } },
+ "battery":{
+ "values":{
+ "dc 5v":[""],
+ "dc 9v":[""],
+ "dc 12v":[""]
+ }
+ },
+ "ground":{},
+ "namewire":{}
+ },
+
+
+ "test":{
+ "scope":{
+ "help":".TRAN step total \nstep = step size\ntotal = total length of time",
+ "values":{
+ "tran":[".TRAN 1NS 100NS",
+ ".TRAN 1NS 1000NS 500NS",
+ ".TRAN 10NS 1US UIC",
+ ".TRAN 1ms 100ms"]
+
+ }
+ }
+ }
+ },
+ "model":{
+ "555":["555.mod"]
+ }
+}
diff --git a/views/webtronix_server/power/ac.svg b/views/webtronix_server/power/ac.svg
new file mode 100644
index 0000000..723fe11
--- /dev/null
+++ b/views/webtronix_server/power/ac.svg
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" width="60" height="40">
+ <g id="v" stroke="#000" stroke-width="2px" connects="0,20;60,20" class="ac">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="60" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>ac</wtx:name>
+ <wtx:category>power</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+ <wtx:measure></wtx:measure>
+</wtx:part>
+</metadata>
+ <path id="path2816" fill="none" d="m50.381,19.923a20.203,19.698,0,1,1,-40.406,0,20.203,19.698,0,1,1,40.406,0z"/>
+ <path id="path2818" d="M10,20,0,20"/>
+ <path id="path2820" d="m50,20,10,0"/>
+ <path id="path2819" d="M15.763,19.492c10.699,23.004,16.424-16.073,27.966,0.169" stroke-width="1px" fill="none"/>
+<text x="0" y="20" id="text5025" font-size='12px' stroke-width='0px'>+</text>
+<text x="53" y="15" id="text5029" font-size='12px' stroke-width='0px'>_</text>
+
+</g>
+</svg>
diff --git a/views/webtronix_server/power/battery.svg b/views/webtronix_server/power/battery.svg
new file mode 100644
index 0000000..e175523
--- /dev/null
+++ b/views/webtronix_server/power/battery.svg
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="49"
+ height="19.81868"
+ id="svg2160"
+>
+ <g
+ stroke='black'
+ stroke-width='2px'
+ id="v" class="battery">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="50" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>v</wtx:id>
+ <wtx:type>v</wtx:type>
+ <wtx:name>battery</wtx:name>
+ <wtx:category>power</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 0,10 L 17,10"
+ id="path5009"
+ />
+ <path
+ d="M 32,10 L 50,10"
+ id="path5019"
+ />
+ <path
+ d="M 17.836609,0.68314333 L 17.718673,19.199113"
+ id="path5011"
+ />
+ <path
+ d="M 22.436119,3.7494823 L 22.436119,15.071349"
+ id="path5013"
+ />
+ <path
+ d="M 27.507371,0.68314333 L 27.507371,19.552922"
+ id="path5015"
+ />
+ <path
+ d="M 31.753072,3.8674183 L 31.635136,15.425157"
+ id="path5017"
+ />
+ <text
+ x="8.2167969"
+ y="8.5261526"
+ id="text5025"
+ font-size='12px'
+ stroke-width='0px'>+</text>
+ <text
+ x="34.111794"
+ y="0.5234375"
+ id="text5029"
+ font-size='12px'
+ stroke-width='0px'>_</text>
+ </g>
+</svg>
diff --git a/views/webtronix_server/power/current.svg b/views/webtronix_server/power/current.svg
new file mode 100644
index 0000000..d81b3a4
--- /dev/null
+++ b/views/webtronix_server/power/current.svg
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" width="60" height="40">
+ <g id="v" stroke="#000" stroke-width="2px" connects="0,20;60,20" class="ac">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="60" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>i</wtx:id>
+ <wtx:type>i</wtx:type>
+ <wtx:name>current</wtx:name>
+ <wtx:category>test</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path id="path2816" fill="none" d="m50.381,19.923a20.203,19.698,0,1,1,-40.406,0,20.203,19.698,0,1,1,40.406,0z"/>
+ <path id="path2818" d="M10,20,0,20"/>
+ <path id="path2820" d="m50,20,10,0"/>
+ <path id="path2820" d="M20,20,40,20"/>
+ <path id="path2820" d="M35,15,40,20,35,25"/>
+
+
+</g>
+</svg>
diff --git a/views/webtronix_server/power/ground.svg b/views/webtronix_server/power/ground.svg
new file mode 100644
index 0000000..e083c0f
--- /dev/null
+++ b/views/webtronix_server/power/ground.svg
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="20.171276"
+ height="18"
+>
+ <defs>
+</defs>
+ <g connects="10,0"
+ stroke='black'
+ stroke-width='2px'
+ id="Gnd"
+ class="ground">
+<metadata>
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="10" y="0" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>gnd</wtx:id>
+ <wtx:type>gnd</wtx:type>
+ <wtx:name>ground</wtx:name>
+ <wtx:category>power</wtx:category>
+ <wtx:flip></wtx:flip>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+
+ <path
+ d="M 10,0 L 10,11"
+ id="path3694"
+/>
+ <path
+ d="M 0.50000006,11.834153 L 19.671275,11.834153"
+ id="path3696"
+/>
+ <path
+ d="M 2.6480823,14.5 L 17.732881,14.5"
+ id="path3698"
+/>
+ <path
+ d="M 5.802873,17.5 L 14.648082,17.5"
+ id="path3700"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/power/namewire.svg b/views/webtronix_server/power/namewire.svg
new file mode 100644
index 0000000..1389460
--- /dev/null
+++ b/views/webtronix_server/power/namewire.svg
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="20"
+ height="20.112738"
+>
+ <g connects="10,20"
+ stroke='black'
+ stroke-width='2px'
+ id="wire"
+ class="namewire"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="10" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>wire</wtx:id>
+ <wtx:type>wire</wtx:type>
+ <wtx:name>namewire</wtx:name>
+ <wtx:category>power</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <rect
+ width="20"
+ height="20"
+ x="0"
+ y="0"
+ id="rect2162"
+ visibility="hidden"
+ />
+ <path
+ d="M 9.8453557,0.75155132 L 9.7889861,20.02609"
+ id="path3694"
+/>
+ <path
+ d="M 6.8984095,6.0400567 L 9.776679,0.65836743 L 13.116155,5.9214675"
+ id="path5089"
+ />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/power/positive.svg b/views/webtronix_server/power/positive.svg
new file mode 100644
index 0000000..c1d2763
--- /dev/null
+++ b/views/webtronix_server/power/positive.svg
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="20"
+ height="20.112738"
+>
+ <defs>
+</defs>
+ <g connects="10,20"
+ stroke='black'
+ stroke-width='2px'
+ id="wire"
+ class="positive"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="10" y="20"/>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>wire</wtx:id>
+ <wtx:type>wire</wtx:type>
+ <wtx:name>positive</wtx:name>
+ <wtx:category>power</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+
+ <rect
+ width="20"
+ height="20"
+ x="0"
+ y="0"
+ id="rect2162"
+ visibility="hidden"
+ />
+ <path
+ d="M 9.8453557,0.75155132 L 9.7889861,20.02609"
+ id="path3694"
+/>
+ <path
+ d="M 6.8984095,6.0400567 L 9.776679,0.65836743 L 13.116155,5.9214675"
+ id="path5089"
+ />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/predefined/555.svg b/views/webtronix_server/predefined/555.svg
new file mode 100644
index 0000000..b270a4a
--- /dev/null
+++ b/views/webtronix_server/predefined/555.svg
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="100"
+ height="140"
+ id="svg2016"
+>
+ <g stroke='black'
+ stroke-width='2px'
+ id="555"
+ class="model"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="60" y="140"/>
+ <wtx:node index="2" x="0" y="110"/>
+ <wtx:node index="3" x="100" y="70"/>
+ <wtx:node index="4" x="60" y="0"/>
+ <wtx:node index="5" x="30" y="140"/>
+ <wtx:node index="6" x="0" y="70"/>
+ <wtx:node index="7" x="0" y="30"/>
+ <wtx:node index="8" x="30" y="0"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>555</wtx:id>
+ <wtx:type>u</wtx:type>
+ <wtx:name>555</wtx:name>
+ <wtx:category>model</wtx:category>
+ <wtx:value>555</wtx:value>
+ <wtx:spice></wtx:spice>
+ <wtx:label></wtx:label>
+ <wtx:flip>false</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata> <rect
+ width="80"
+ height="120"
+ x="10"
+ y="10"
+ id="rect2024"
+ fill='none'/>
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="30" x="0" stroke-width="0px" font-style="normal" fill="black">7</text>
+ <path d="M 0,30 L 10,30" id="path2028"/>
+
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="70" x="0" stroke-width="0px" font-style="normal" fill="black">6</text>
+ <path d="M 0,70 L 10,70" id="path2034"/>
+
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="110" x="0" stroke-width="0px" font-style="normal" fill="black">2</text>
+ <path d="M 0,110 L 10,110" id="path2036"/>
+
+
+
+
+
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="10" x="30" stroke-width="0px" font-style="normal" fill="black">8</text>
+ <path d="M 30,0 L 30,10" id="path2034"/>
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="10" x="60" stroke-width="0px" font-style="normal" fill="black">4</text>
+ <path d="M 60,0 L 60,10" id="path2038"/>
+
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="140" x="30" stroke-width="0px" font-style="normal" fill="black">5</text>
+ <path d="M 30,130 L 30,140" id="path2034"/>
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="140" x="60" stroke-width="0px" font-style="normal" fill="black">1</text>
+ <path d="M 60,130 L 60,140" id="path2028"/>
+
+
+
+
+
+
+
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="70" x="90" stroke-width="0px" font-style="normal" fill="black">3</text>
+ <path d="M 90,70 L 100,70" id="path2040" />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/resistors/photo-resistor.svg b/views/webtronix_server/resistors/photo-resistor.svg
new file mode 100644
index 0000000..8a760c3
--- /dev/null
+++ b/views/webtronix_server/resistors/photo-resistor.svg
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="61.022789"
+ height="40.104813"
+>
+ <defs>
+</defs>
+ <g connects="0,20;60,20"
+ stroke='black'
+ stroke-width='2px'
+ id="R"
+ class="photo-resistor" >
+
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="60" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>photoresistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+
+ <path
+ d="m 11.406524,18.410498 3.819574,-4.560383 4.471942,10.682183 3.810665,-10.363194 5.070138,10.173312 3.287417,-10.409232 4.682872,10.649472 3.059394,-10.243794 5.060847,10.535864 3.916121,-5.971522"
+ id="path3444"
+ fill='none' />
+ <path
+ d="M 0,20 10.687274,20"
+ id="path2159"
+ />
+ <path
+ d="m 61.369505,20 -12.171381,0"
+ id="path2161"
+ />
+ <path
+ d="M 42.795793,26.964401 19.751828,10"
+ id="path2242"
+ />
+ <path
+ d="m 20.011796,13.98641 -0.740497,-3.944704 4.099181,0.369668"
+ id="path2244"
+ />
+ <path
+ d="m 48.724184,19.920574 c 0,10.686868 -8.342101,19.350285 -18.632607,19.350285 -10.290506,0 -18.632608,-8.663417 -18.632608,-19.350285 0,-10.6868674 8.342102,-19.35028542 18.632608,-19.35028542 10.290506,0 18.632607,8.66341802 18.632607,19.35028542 l 0,0 z"
+ id="path2289"
+ fill='none'
+ />
+ <path
+ d="m 11.700184,7.2138539 3,0 -1,-3"
+ id="path3261"
+ />
+ <path
+ d="m 7.9880993,2.8058763 5.9999997,3.884912"
+ id="path3265"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/resistors/potentiometer.svg b/views/webtronix_server/resistors/potentiometer.svg
new file mode 100644
index 0000000..9f284b4
--- /dev/null
+++ b/views/webtronix_server/resistors/potentiometer.svg
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40.801449"
+ height="30.573784"
+>
+ <defs>
+</defs>
+ <g connects="0,10;40,10;20,30"
+ stroke='black'
+ stroke-width='2px'
+ id="R"
+ class="potentiometer" >
+
+
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ <wtx:node index="3" x="20" y="30"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>potentiometer</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:flip></wtx:flip>
+ <wtx:spice></wtx:spice>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 5.7390669,11.013002 L 8.4081832,0.47680307 L 10.86377,19.264244 L 14.920825,0.60374518 L 18.230531,19.391186 L 21.860529,0.47680307 L 25.650159,19.530659 L 29.334053,0.60374518 L 32.910155,19.435044 L 34.886846,10.143204"
+ id="path3444"
+ fill='none' />
+ <path
+ d="M 0,10 L 5.4688036,10"
+ id="path2159"
+ />
+ <path
+ d="M 40,10 L 34.930759,10"
+ id="path2161"
+/>
+ <path
+ d="M 16.851271,25.03152 L 19.316029,19.808502 L 21.851271,25.120727"
+ id="path2199"
+fill='none'
+/>
+ <path
+ d="M 19.183387,21.007463 L 19.183387,30.007463"
+ id="path2201"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/resistors/resistor.svg b/views/webtronix_server/resistors/resistor.svg
new file mode 100644
index 0000000..9a19c11
--- /dev/null
+++ b/views/webtronix_server/resistors/resistor.svg
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40"
+ height="20"
+>
+ <g stroke='black'
+ stroke-width='2px'
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"></wtx:node>
+ <wtx:node index="2" x="40" y="10"></wtx:node>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>resistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+
+ <path
+ d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"
+ id="path3444"
+ fill='none'
+/>
+ <path
+ d="m 0,10 5.424147,0"
+ id="path2159"
+/>
+ <path
+ d="m 40,10 -5.459106,0"
+ id="path2161"
+/>
+ <rect
+ width="40"
+ height="20"
+ x="0"
+ y="0"
+ id="rect2162"
+ visibility="hidden" />
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/resistors/testresistor.svg b/views/webtronix_server/resistors/testresistor.svg
new file mode 100644
index 0000000..226736c
--- /dev/null
+++ b/views/webtronix_server/resistors/testresistor.svg
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="40"
+ height="19.999998"
+>
+ <g stroke='black'
+ stroke-width='2px'
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>testresistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 5.1400289,10.973441 7.5009997,5.0436578 10.530362,14.908323 14.248435,4.3282724 18.324457,14.77488 21.761826,4.4617163 25.849828,14.589134 29.504786,4.5222528 33.128938,14.818135 35.33864,10.115602"
+ id="path3444"
+ fill='none'
+/>
+ <path
+ d="m -0.0278984,10.588417 5.424147,0"
+ id="path2159"
+/>
+ <path
+ d="m 40.555206,9.9057016 -5.459106,0"
+ id="path2161"
+/>
+ <rect
+ width="40"
+ height="19.999998"
+ x="-0.86240554"
+ y="-0.021562828"
+ id="rect2162"
+ style="fill:none;stroke:none" />
+</g>
+</svg>
diff --git a/views/webtronix_server/resistors/vari-resistor.svg b/views/webtronix_server/resistors/vari-resistor.svg
new file mode 100644
index 0000000..8f2321e
--- /dev/null
+++ b/views/webtronix_server/resistors/vari-resistor.svg
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40.454754"
+ height="20.444269"
+>
+ <defs>
+</defs>
+ <g connects="0,10;40,10"
+ stroke='black'
+ stroke-width='2px'
+ id="R"
+ class="vari-resistor">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="10"/>
+ <wtx:node index="2" x="40" y="10"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>r</wtx:id>
+ <wtx:type>r</wtx:type>
+ <wtx:name>variresistor</wtx:name>
+ <wtx:category>resistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 5.3415991,11.079275 8.0153231,0.54357924 10.475149,19.330121 14.539209,0.67051526 17.854627,19.457059 21.490891,0.54357924 25.287064,19.596525 28.977318,0.67051526 32.559593,19.500914 34.539695,10.209518"
+ id="path3444"
+fill='none'
+ />
+ <path
+ d="m 0,10 5.05722044,0"
+ id="path2159"
+ />
+ <path
+ d="m 40,10 -5.459106,0"
+ id="path2161"
+/>
+ <path
+ d="M 34.013535,19.885585 2.0746539,1.2571588"
+ id="path2242"
+/>
+ <path
+ d="M 5,5.6401043 1,0.64010429 7,1.6401043"
+ id="path2244"
+/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/spice/2n7000.mod b/views/webtronix_server/spice/2n7000.mod
new file mode 100644
index 0000000..22c86d2
--- /dev/null
+++ b/views/webtronix_server/spice/2n7000.mod
@@ -0,0 +1,43 @@
+* 2N7000 model
+* External Node Designations
+* Node 1 -> Drain
+* Node 2 -> Gate
+* Node 3 -> Source
+
+.SUBCKT 2n7000 1 2 3
+M1 9 7 8 8 MM L=100u W=100u
+
+.MODEL MM NMOS LEVEL=1 IS=1e-32
++VTO=2.236 LAMBDA=0 KP=0.0932174
++CGSO=1.79115e-07 CGDO=1.0724e-11
+
+RS 8 3 1.10523
+D1 3 1 MD
+
+.MODEL MD D IS=2.71011e-10 RS=0.0140826 N=1.5 BV=60
++IBV=1e-05 EG=1.16084 XTI=3.00131 TT=0
++CJO=3.41211e-11 VJ=4.67429 M=0.899864 FC=0.1
+
+RDS 3 1 2.4e+11
+RD 9 1 0.0001
+RG 2 7 2.18034
+D2 4 5 MD1
+
+.MODEL MD1 D IS=1e-32 N=50
++CJO=7.93181e-11 VJ=0.643298 M=0.9 FC=1e-08
+
+D3 0 5 MD2
+.MODEL MD2 D IS=1e-10 N=0.400165 RS=3.00002e-06
+
+RL 5 10 1
+FI2 7 9 VFI2 -1
+VFI2 4 0 0
+EV16 10 0 9 7 1
+CAP 11 10 1.58786e-10
+FI1 7 9 VFI1 -1
+VFI1 11 6 0
+RCAP 6 10 1
+D4 0 6 MD3
+
+.MODEL MD3 D IS=1e-10 N=0.400165
+.ENDS 2n7000
diff --git a/views/webtronix_server/spice/555.mod b/views/webtronix_server/spice/555.mod
new file mode 100644
index 0000000..43da404
--- /dev/null
+++ b/views/webtronix_server/spice/555.mod
@@ -0,0 +1,54 @@
+.
+.SUBCKT 555 34 32 30 19 23 33 1 21
+* G TR O R F TH D V
+Q4 25 2 3 QP
+Q5 34 6 3 QP
+Q6 6 6 8 QP
+R1 9 21 4.7K
+R2 3 21 830
+R3 8 21 4.7K
+Q7 2 33 5 QN
+Q8 2 5 17 QN
+Q9 6 4 17 QN
+Q10 6 23 4 QN
+Q11 12 20 10 QP
+R4 10 21 1K
+Q12 22 11 12 QP
+Q13 14 13 12 QP
+Q14 34 32 11 QP
+Q15 14 18 13 QP
+R5 14 34 100K
+R6 22 34 100K
+R7 17 34 10K
+Q16 1 15 34 QN
+Q17 15 19 31 QP
+R8 18 23 5K
+R9 18 34 5K
+R10 21 23 5K
+Q18 27 20 21 QP
+Q19 20 20 21 QP
+R11 20 31 5K
+D1 31 24 DA
+Q20 24 25 34 QN
+Q21 25 22 34 QN
+Q22 27 24 34 QN
+R12 25 27 4.7K
+R13 21 29 6.8K
+Q23 21 29 28 QN
+Q24 29 27 16 QN
+Q25 30 26 34 QN
+Q26 21 28 30 QN
+D2 30 29 DA
+R14 16 15 100
+R15 16 26 220
+R16 16 34 4.7K
+R17 28 30 3.9K
+Q3 2 2 9 QP
+.MODEL DA D (RS=40 IS=1.0E-14 CJO=1PF)
+.MODEL QP PNP (level=1 BF=20 BR=0.02 RC=4 RB=25 IS=1.0E-14 VA=50 NE=2)
++ CJE=12.4P VJE=1.1 MJE=.5 CJC=4.02P VJC=.3 MJC=.3 TF=229P TR=159N)
+.MODEL QN NPN (level=1 IS=5.07F NF=1 BF=100 VAF=161 IKF=30M ISE=3.9P NE=2
++ BR=4 NR=1 VAR=16 IKR=45M RE=1.03 RB=4.12 RC=.412 XTB=1.5
++ CJE=12.4P VJE=1.1 MJE=.5 CJC=4.02P VJC=.3 MJC=.3 TF=229P TR=959P)
+.ENDS
+ \ No newline at end of file
diff --git a/views/webtronix_server/spice/ad620a.mod b/views/webtronix_server/spice/ad620a.mod
new file mode 100644
index 0000000..fb5d1f8
--- /dev/null
+++ b/views/webtronix_server/spice/ad620a.mod
@@ -0,0 +1,143 @@
+* AD620A SPICE Macro-model
+* Description: Amplifier
+* Generic Desc: 30/36V Bipolar, Inamp, prec G=1-10,000
+* Developed by: ARG/ADSC
+* Revision History: 08/10/2012 - Updated to new header style
+* 1.0 - Added V2,V3,V12,V13 and D3,D4,D15,D16 to clamp inputs to Q3,Q4 to prevent output phase reversal.
+* Copyright 1990, 2012 by Analog Devices, Inc.
+*
+* Refer to http://www.analog.com/Analog_Root/static/techSupport/designTools/spiceModels/license/spice_general.html for License Statement. Use of this model
+* indicates your acceptance with the terms and provisions in the License Statement.
+*
+* BEGIN Notes:
+*
+* Not Modeled:
+*
+* Parameters modeled include:
+* This version of the AD620 model simulates the worst-case parameters of the 'A' grade.
+* The worst-case parameters
+* used correspond to those in the data sheet.
+*
+* END Notes
+*
+* Node assignments
+* non-inverting input
+* | inverting input
+* | | positive supply
+* | | | negative supply
+* | | | | output
+* | | | | | ref
+* | | | | | | rg1
+* | | | | | | | rg2
+* | | | | | | | |
+*.SUBCKT AD620A 1 2 99 50 46 20 7 8
+.SUBCKT AD620A 1 7 8 2 50 20 46 99
+*
+* INPUT STAGE
+*
+I1 7 50 5.002E-6
+I2 8 50 5.002E-6
+IOS 3 4 0.5E-9
+VIOS 21 3 125E-6
+CCM 3 4 2E-12
+CD1 3 0 2E-12
+CD2 4 0 2E-12
+Q1 5 4 7 QN1
+Q2 6 21 8 QN1
+D1 7 4 DX
+D2 8 21 DX
+R1 1 3 400
+R2 2 4 400
+R3 99 5 100E3
+R4 99 6 100E3
+R5 7 9 24.7E3
+R6 8 10 24.7E3
+E1 9 46 (11,5) 375E6
+E2 10 46 (11,6) 375E6
+V1 99 11 0.5
+RV1 99 11 1E3
+CC1 5 9 4E-12
+CC2 6 10 4E-12
+*
+* DIFFERENCE AMPLIFIER AND POLE AT 1MHZ
+*
+I3 18 50 5E-6
+R7 99 12 11.937E3
+R8 99 15 11.937E3
+R9 14 18 1.592E3
+R10 17 18 1.592E3
+R11 9 13 10E3
+R12 13 46 10E3
+Q3 12 13 14 QN2
+Q4 15 16 17 QN2
+R13 19 16 10E3
+R14 16 20 10E3
+C1 12 15 6.667E-12
+EOOS 19 10 POLY(1) (38,98) 1.5E-3 223.872
+*EREF 98 0 POLY(2) (99,0) (50,0) 0 0.5 0.5
+EREF1 98 100 99 0 0.5
+EREF2 100 0 50 0 0.5
+D3 13 51 DX
+D4 16 52 DX
+V2 99 51 0.7
+V3 99 52 0.7
+D15 53 13 DX
+D16 54 16 DX
+V12 53 50 0.7
+V13 54 50 0.7
+*
+* GAIN STAGE AND DOMINANT POLE AT 0.667HZ
+*
+R16 25 98 35.810E9
+C2 25 98 6.667E-12
+G1 98 25 (12,15) 83.776E-6
+V6 99 26 1.53
+V7 27 50 1.33
+D7 25 26 DX
+D8 27 25 DX
+*
+* POLE AT 10MHZ
+*
+R17 40 98 1
+C3 40 98 15.916E-9
+G2 98 40 (25,98) 1
+*
+* COMMON MODE STAGE WITH ZERO AT 708HZ
+*
+* E3 36 98 POLY(2) (1,98) (2,98) 0 0.5 0.5
+E31 36 37 1 98 0.5
+E32 37 98 2 98 0.5
+R18 36 38 1E6
+R19 38 98 1
+C5 36 38 224.812E-12
+*
+* OUTPUT STAGE
+*
+GSY 99 50 POLY(1) (99,50) 1.1725E-3 3.125E-6
+RO1 99 45 250
+RO2 45 50 250
+L1 45 46 1E-6
+GO1 45 99 (99,40) 4E-3
+GO2 50 45 (40,50) 4E-3
+GC1 43 50 (40,45) 4E-3
+GC2 44 50 (45,40) 4E-3
+F1 45 0 V4 1
+F2 0 45 V5 1
+V4 41 45 1.65
+V5 45 42 1.65
+D9 50 43 DY
+D10 50 44 DY
+D11 99 43 DX
+D12 99 44 DX
+D13 40 41 DX
+D14 42 40 DX
+*
+* MODELS USED
+*
+.MODEL DX D(IS=1E-12)
+.MODEL DY D(IS=1E-12 BV=50)
+.MODEL QN1 NPN(BF=2.5E3 KF=0.7E-15 AF=1)
+.MODEL QN2 NPN(BF=250 KF=0.5E-14 AF=1)
+.ENDS AD620A
+
+
diff --git a/views/webtronix_server/spice/ad8221.mod b/views/webtronix_server/spice/ad8221.mod
new file mode 100644
index 0000000..54fb5ef
--- /dev/null
+++ b/views/webtronix_server/spice/ad8221.mod
@@ -0,0 +1,141 @@
+* AD8221 SPICE Macro-model
+* Description: Amplifier
+* Generic Desc: 30/36V Bipolar, IN AMP, Hi CMRR ,Single
+* Developed by: PRB IAP ADI
+* Revision History: 08/10/2012 - Updated to new header style
+* 1.0 (10/2010) - Changed Negative Zero stage to remove the
+* negative capacitor value.
+* Copyright 2012 by Analog Devices.
+*
+* Refer to http://www.analog.com/Analog_Root/static/techSupport/designTools/spiceModels/license/spice_general.html for License Statement. Use of this model
+* indicates your acceptance with the terms and provisions in the License Statement.
+*
+* BEGIN Notes:
+*
+* Not Modeled:
+* Temperature effects
+* PSRR
+* Parameters modeled include:
+*
+* END Notes
+*
+* Node assignments
+* inverting input
+* | RG
+* | | RG
+* | | | non_inverting input
+* | | | | negative supply
+* | | | | | ref
+* | | | | | | output
+* | | | | | | | positive supply
+* | | | | | | | |
+.SUBCKT AD8221 IN- RG- RG+ IN+ -Vs REF VOUT +Vs
+** INPUT STAGER1 sub_out sub_neg 10E3
+R1 sub_out sub_neg 10E3
+R2 sub_neg Inverting_Out 10E3
+R3 sub_pos noninverting_out 10001
+R4 REF sub_pos 10k
+R5 RG- N003 24700
+R6 RG+ N010 24724
+D3 N003 P001 D
+D4 P002 N003 D
+V3 P002 VNEGx 0.94
+V4 VPOSx P001 .71
+D5 N010 P003 D
+D6 P004 N010 D
+V5 P004 VNEGx 0.94
+V6 VPOSx P003 .71
+D7 N005 P005 D
+D8 P006 N005 D
+V7 P006 VNEGx 2.0
+V8 VPOSx P005 1.7
+D9 N016 P007 D
+D10 P008 N016 D
+V9 P008 VNEGx 2.0
+V10 VPOSx P007 1.7
+D11 N009 P009 D
+D12 P010 N009 D
+V11 P010 N017 1.7
+V12 N008 P009 1.7
+D13 REF P011 D
+D14 P012 REF D
+V13 P012 VNEGx .3
+V14 VPOSx P011 .3
+D15 sub_pos P013 D
+D16 P014 sub_pos D
+V15 P014 VNEGx 0.9
+V16 VPOSx P013 0.9
+E4 Inverting_Out 0 N003 0 1
+E5 noninverting_out 0 N010 0 1
+V1 VBIAS +Vs 20
+I1 VBIAS Pos_Fdbk 20E-6
+I2 VBIAS Inv_Fdbk 20E-6
+C1 N003 Inv_Fdbk 9.235e-12
+C2 N010 Pos_Fdbk 9.2e-12
+E8 N002 0 N005 0 1
+E9 N013 0 N016 0 1
+VOSI_Neg N004 IN- 25E-6
+VOSI_Pos IN+ N014 24E-6
+VOSO VOUT N009 300E-6
+C3 RG- 0 .200e-12
+C4 RG+ 0 .135e-12
+I23 IN- 0 1.4E-9
+I24 IN+ 0 0.8E-9
+G1 0 IN+ N018 N019 .0025e-9
+R13 IN+ N018 10e9
+R14 N018 IN- 10e9
+R15 +Vs N019 10e9
+R16 N019 -Vs 10e9
+G2 0 IN- N018 N019 .0025e-9
+E10 VPOSx 0 +Vs 0 1
+I3 +Vs -Vs 900E-6
+G3 +Vs -Vs +Vs -Vs 1e-6
+E11 VNEGx 0 -Vs 0 1
+
+H3 N006 N004 V24 4.5
+V24 N001 0 0
+R19 N001 0 .0166
+H4 VX sub_out V25 64
+V25 N007 0 0
+R20 N007 0 .0166
+H5 N015 N014 V26 4.5
+V26 N011 0 0
+R21 N011 0 .0166
+G4 0 N005 N006 N005 1
+G5 0 N016 N015 N016 1
+G6 0 N003 VBIAS Inv_Fdbk 1
+G7 0 N010 VBIAS Pos_Fdbk 1
+G8 0 sub_out sub_pos sub_neg 1
+R10 N005 0 10e9
+R7 N003 0 10E9
+R11 N016 0 10E9
+R8 N010 0 10E9
+R9 sub_out 0 10E9
+Q1 Pos_Fdbk N013 RG+ 0 NPN
+Q2 Inv_Fdbk N002 RG- 0 NPN
+G9 0 N012 VY N009 1
+G10 0 N009 N012 0 .002
+R12 N012 0 1e10
+R17 N009 0 500
+C5 N012 0 1.4e-7
+C6 N009 0 700e-12
+C8 VY 0 1e-9
+*G11 0 VY VALUE = { LIMIT( 1*V(VX,VY), .002, -.002) }
+g11 0 vy vx vy fit ( -18, -.002 18, .002 ) order=1 above=.002 below=-.002
+R22 VY 0 1e9
+R18 VBIAS Inv_Fdbk 1e9
+R23 Pos_Fdbk VBIAS 1e9
+D1 sub_out P015 D
+V2 VPOSx P015 1.7
+D2 P016 sub_out D
+V17 P016 VNEGx 1.7
+
+H1 VPOSx N008 POLY(1) VOSO 0 0 8000
+H2 N017 VNEGx POLY(1) VOSO 0 0 8000
+
+* MODELS USED
+*
+.model D D
+.model NPN NPN
+.ENDS AD8221
+
diff --git a/views/webtronix_server/spice/bat54.mod b/views/webtronix_server/spice/bat54.mod
new file mode 100644
index 0000000..f858656
--- /dev/null
+++ b/views/webtronix_server/spice/bat54.mod
@@ -0,0 +1,25 @@
+*
+.SUBCKT BAT54 1 3
+* The Resistor R1 does not reflect
+* a physical device. Instead it
+* improves modeling in the reverse
+* mode of operation.
+*
+R1 1 3 3.6E+07
+D1 1 3 BAT54
+*
+.MODEL BAT54 D(
++ IS = 2.117E-07
++ N = 1.016
++ BV = 36
++ IBV = 1.196E-06
++ RS = 2.637
++ CJO = 1.114E-11
++ VJ = 0.2013
++ M = 0.3868
++ FC = 0
++ TT = 0
++ EG = 0.69
++ XTI = 2)
+*
+.ENDS BAT54 \ No newline at end of file
diff --git a/views/webtronix_server/spice/digital.lib b/views/webtronix_server/spice/digital.lib
new file mode 100644
index 0000000..90d15c5
--- /dev/null
+++ b/views/webtronix_server/spice/digital.lib
@@ -0,0 +1,14 @@
+.model and1 and(rise = 0.5e-9 fall = 0.3e-9)
+
+.model nand1 nand(rise = 0.5e-9 fall = 0.3e-9)
+
+.model or1 or(rise = 0.5e-9 fall = 0.3e-9)
+
+.model nor1 nor(rise = 0.5e-9 fall = 0.3e-9)
+
+.model xor1 xor(rise = 0.5e-9 fall= 0.3e-9)
+
+.model inv1 inv(rise = 0.5e-9 fall = 0.3e-9)
+
+
+
diff --git a/views/webtronix_server/spice/dsource.mod b/views/webtronix_server/spice/dsource.mod
new file mode 100644
index 0000000..3e90949
--- /dev/null
+++ b/views/webtronix_server/spice/dsource.mod
@@ -0,0 +1,6 @@
+.SUBCKT clk 1
+
+vclk 0 1 pulse(0 -5 0 0 0 1m 2m)
+
+.ENDS
+
diff --git a/views/webtronix_server/spice/ina128.mod b/views/webtronix_server/spice/ina128.mod
new file mode 100644
index 0000000..dad3935
--- /dev/null
+++ b/views/webtronix_server/spice/ina128.mod
@@ -0,0 +1,274 @@
+
+
+* INA128
+*****************************************************************************
+* (C) Copyright 2011 Texas Instruments Incorporated. All rights reserved.
+*****************************************************************************
+** This model is designed as an aid for customers of Texas Instruments.
+** TI and its licensors and suppliers make no warranties, either expressed
+** or implied, with respect to this model, including the warranties of
+** merchantability or fitness for a particular purpose. The model is
+** provided solely on an "as is" basis. The entire risk as to its quality
+** and performance is with the customer.
+*****************************************************************************
+*
+* This model is subject to change without notice. Texas Instruments
+* Incorporated is not responsible for updating this model.
+*
+*****************************************************************************
+*
+** Released by: Analog eLab Design Center, Texas Instruments Inc.
+* Part: INA128
+* Date: 08JUL2011
+* Model Type: ALL IN ONE
+* Simulator: PSPICE
+* Simulator Version: 16.0.0.p001
+* EVM Order Number: N/A
+* EVM Users Guide: N/A
+* Datasheet: SBOS051B - OCTOBER 1995 - REVISED FEBRUARY 2005
+*
+* Model Version: 1.0
+*
+*****************************************************************************
+*
+* Updates:
+*
+* Version 1.0 :
+* Release to Web
+*
+*****************************************************************************
+* COMMENTS
+* CONNECTIONS: +
+* | -
+* | | V+
+* | | | V-
+* | | | | Out
+* | | | | | REF
+* | | | | | | RG1
+* | | | | | | | RG2
+* | | | | | | | |
+* PIN CONFIG FOR INA128 1 2 3 4 5 8 9 10
+*****************************************************************************
+
+.SUBCKT INA128 1 2 3 4 5 8 9 10
+
+X1 15 17 3 4 11 A1_128E
+X2 15 16 3 4 12 A2_128E
+X3 14 13 3 4 5 A3_128E
+*
+R1 11 13 40.0000K
+R2 13 5 39.996K
+R3 12 14 40.0000K
+R4 14 8 40.0000K
+CIN 13 14 4.0000PF
+*
+R1FB 9 11 25.000K
+CC1 17 11 5.0000PF
+R2FB 10 12 25.000K
+CC2 16 12 5.0000PF
+CG1 9 0 10.0000PF
+CG2 10 0 8.0000PF
+*
+RCE 17 9 20G
+*
+I1 3 16 DC 20.00E-6
+I2 3 17 DC 20.00E-6
+IB1CAN 3 42 DC 40.00E-9
+IB2CAN 3 46 DC 40.00E-9
+IBAL 0 4 DC 6.5E-6
+*
+D1 15 17 DX
+D2 15 16 DX
+*
+Q1 16 42 10 QX
+Q2 17 46 9 QX
+*
+V1 3 15 DC 1.700
+
+* INPUT PROTECTION
+ RIN1 1 41 1K
+ I11 41 42 .7MA
+ S11 41 42 1 41 SP
+ DI1 43 41 DX
+ I12 4 43 DC .8MA
+ S12 4 43 1 41 SM
+
+ RIN2 2 45 1K
+ I21 45 46 .7MA
+ S21 45 46 2 45 SP
+ DI2 47 45 DX
+ I22 4 47 DC .8MA
+ S22 4 47 2 45 SM
+
+* Anti-inversion clamps *
+ VSET1 3 40 DC 2.0
+ QSET1 4 40 42 QY
+ VSET2 3 44 DC 2.0
+ QSET2 4 44 46 QY
+
+.model sp vswitch(ron=10 roff=100E3 von=.7 voff=1)
+.model sm vswitch(ron=10 roff=100E3 von=-.7 voff=-1)
+.MODEL DX D(IS=1.0E-24)
+.MODEL QX NPN(IS=800.0E-18 BF=500)
+.MODEL QY PNP(IS=800.0E-18 BF=500)
+.ENDS INA128
+*
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+.subckt A1_128E 1 2 3 4 5
+*
+ c1 11 12 2.887E-12
+ c2 6 7 10.00E-12
+ css 10 99 1.000E-30
+ dc 5 53 dx
+ de 54 5 dx
+ dlp 90 91 dx
+ dln 92 90 dx
+ dp 4 3 dx
+* egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
+ egnd 99 0 3 0 .5
+ egnd 99 0 4 0 .5
+* fb 7 99 poly(5) vb vc ve vlp vln 0 79.58E6 -80E6 80E6 80E6 -80E6
+ fb 7 99 vb 79.58E6
+ fb 7 99 vc -80E6
+ fb 7 99 ve 80E6
+ fb 7 vlp 80E6
+ fb 7 vln -80E6
+ ga 6 0 11 12 1.257E-3
+ gcm 0 6 10 99 125.7E-12
+ iss 3 10 dc 50.00E-6
+ hlim 90 0 vlim 1K
+ j1 11 2 10 jx
+ j2 12 1 10 jx
+ r2 6 9 100.0E3
+ rd1 4 11 795.8
+ rd2 4 12 795.8
+ ro1 8 5 10
+ ro2 7 99 10
+ rss 10 99 4.000E6
+ vb 9 0 dc 0
+ vc 3 53 dc 1.5
+ ve 54 4 dc .9
+ vlim 7 8 dc 0
+ vlp 91 0 dc 14
+ vln 0 92 dc 14
+
+* OUTPUT SUPPLY MIRROR
+ FQ3 0 20 POLY(1) VLIM 0 1
+ DQ1 20 21 DX
+ DQ2 22 20 DX
+ VQ1 21 0 0
+ VQ2 22 0 0
+ FQ1 3 0 POLY(1) VQ1 120u 1
+ FQ2 0 4 POLY(1) VQ2 120u -1
+ RP 3 4 3.00E6
+
+.model dx D(Is=800.0E-18)
+.model jx PJF(Is=15.00E-12 Beta=31.58E-3 Vto=-1)
+.ends
+
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+.subckt A2_128E 1 2 3 4 5
+*
+ c1 11 12 2.887E-12
+ c2 6 7 10.00E-12
+ css 10 99 1.000E-30
+ dc 5 53 dx
+ de 54 5 dx
+ dlp 90 91 dx
+ dln 92 90 dx
+ dp 4 3 dx
+ egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
+ fb 7 99 poly(5) vb vc ve vlp vln 0 79.58E6 -80E6 80E6 80E6 -80E6
+ ga 6 0 11 12 1.257E-3
+ gcm 0 6 10 99 125.7E-12
+ iss 3 10 dc 50.00E-6
+ hlim 90 0 vlim 1K
+ j1 11 2 10 jx
+ j2 12 1 10 jx
+ r2 6 9 100.0E3
+ rd1 4 11 795.8
+ rd2 4 12 795.8
+ ro1 8 5 10
+ ro2 7 99 10
+ rss 10 99 4.000E6
+ vb 9 0 dc 0
+ vc 3 53 dc 1.5
+ ve 54 4 dc .9
+ vlim 7 8 dc 0
+ vlp 91 0 dc 14
+ vln 0 92 dc 14
+
+* OUTPUT SUPPLY MIRROR
+ FQ3 0 20 POLY(1) VLIM 0 1
+ DQ1 20 21 DX
+ DQ2 22 20 DX
+ VQ1 21 0 0
+ VQ2 22 0 0
+ FQ1 3 0 POLY(1) VQ1 120u 1
+ FQ2 0 4 POLY(1) VQ2 120u -1
+ RP 3 4 3.00E6
+
+.model dx D(Is=800.0E-18)
+.model jx PJF(Is=15.00E-12 Beta=31.58E-3 Vto=-1)
+.ends
+
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+.subckt A3_128E 1 2 3 4 5
+*
+ c1 11 12 2.730E-12
+ c2 6 7 15.00E-12
+ dc 5 53 dx
+ de 54 5 dx
+ dlp 90 91 dx
+ dln 92 90 dx
+ dp 4 3 dx
+ egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
+ fb 7 99 poly(5) vb vc ve vlp vln 0 163.2E6 -160E6 160E6 160E6 -160E6
+ ga 6 0 11 12 122.5E-6
+ gcm 0 6 10 99 12.25E-12
+ iee 10 4 dc 63.95E-6
+ hlim 90 0 vlim 1K
+ q1 11 2 13 qx
+ q2 12 1 14 qx
+ r2 6 9 100.0E3
+ rc1 3 11 8.162E3
+ rc2 3 12 8.162E3
+ re1 13 10 7.327E3
+ re2 14 10 7.327E3
+ ree 10 99 3.127E6
+ ro1 8 5 300
+ ro2 7 99 300
+ vb 9 0 dc 0
+ vc 3 53 dc 1.500
+ ve 54 4 dc 1.400
+ vlim 7 8 dc 0
+ vlp 91 0 dc 5
+ vln 0 92 dc 14
+
+*OUTPUT SUPPLY MIRROR
+ FQ3 0 20 POLY(1) VLIM 0 1
+ DQ1 20 21 DX
+ DQ2 22 20 DX
+ VQ1 21 0 0
+ VQ2 22 0 0
+ FQ1 3 0 POLY(1) VQ1 206.7E-6 1
+ FQ2 0 4 POLY(1) VQ2 206.7E-6 -1
+ RQ 3 4 1.87e6
+.model dx D(Is=800.0E-18)
+.model qx NPN(Is=800.0E-18 Bf=318.8)
+.ends
diff --git a/views/webtronix_server/spice/irf150.mod b/views/webtronix_server/spice/irf150.mod
new file mode 100644
index 0000000..cd21fb0
--- /dev/null
+++ b/views/webtronix_server/spice/irf150.mod
@@ -0,0 +1,62 @@
+
+.SUBCKT irf150 1 2 3 100
+**************************************
+* Model Generated by MODPEX *
+*Copyright(c) Symmetry Design Systems*
+* All Rights Reserved *
+* UNPUBLISHED LICENSED SOFTWARE *
+* Contains Proprietary Information *
+* Which is The Property of *
+* SYMMETRY OR ITS LICENSORS *
+*Commercial Use or Resale Restricted *
+* by Symmetry License Agreement *
+**************************************
+* Model generated on Dec 17, 96
+* MODEL FORMAT: SPICE3
+* Symmetry POWER MOS Model (Version 1.0)
+* External Node Designations
+* Node 1 -> Drain
+* Node 2 -> Gate
+* Node 3 -> Source
+M1 9 7 8 8 MM L=100u W=100u
+* Default values used in MM:
+* The voltage-dependent capacitances are
+* not included. Other default values are:
+* RS=0 RD=0 LD=0 CBD=0 CBS=0 CGBO=0
+.MODEL MM NMOS LEVEL=1 IS=1e-32
++VTO=4.07861 LAMBDA=0.000761669 KP=19.0218
++CGSO=3.57784e-05 CGDO=4.96221e-07
+RS 8 3 0.0216597
+D1 3 1 MD
+.MODEL MD D IS=2.01865e-09 RS=0.11592 N=1.5 BV=100
++IBV=0.001 EG=1 XTI=1 TT=1e-07
++CJO=3.28974e-09 VJ=4.39387 M=0.659734 FC=0.1
+RDS 3 1 3.2e+06
+RD 9 1 0.00224103
+RG 2 7 12.1
+D2 4 5 MD1
+* Default values used in MD1:
+* RS=0 EG=1.11 XTI=3.0 TT=0
+* BV=infinite IBV=1mA
+.MODEL MD1 D IS=1e-32 N=50
++CJO=3.78329e-09 VJ=0.607074 M=0.893797 FC=1e-08
+D3 0 5 MD2
+* Default values used in MD2:
+* EG=1.11 XTI=3.0 TT=0 CJO=0
+* BV=infinite IBV=1mA
+.MODEL MD2 D IS=1e-10 N=0.402271 RS=3.00001e-06
+RL 5 10 1
+FI2 7 9 VFI2 -1
+VFI2 4 0 0
+EV16 10 0 9 7 1
+CAP 11 10 3.78329e-09
+FI1 7 9 VFI1 -1
+VFI1 11 6 0
+RCAP 6 10 1
+D4 0 6 MD3
+* Default values used in MD3:
+* EG=1.11 XTI=3.0 TT=0 CJO=0
+* RS=0 BV=infinite IBV=1mA
+.MODEL MD3 D IS=1e-10 N=0.402271
+.ENDS irf150
+
diff --git a/views/webtronix_server/spice/irf530.mod b/views/webtronix_server/spice/irf530.mod
new file mode 100644
index 0000000..f003c2f
--- /dev/null
+++ b/views/webtronix_server/spice/irf530.mod
@@ -0,0 +1,68 @@
+*Feb 16, 2010
+*Doc. ID: 90181, Rev. A
+*File Name: part irf530_PS.txt and part irf530_PS.spi
+*This document is intended as a SPICE modeling guideline and does not
+*constitute a commercial product data sheet. Designers should refer to the
+*appropriate data sheet of the same number for guaranteed specification
+*limits.
+.SUBCKT irf530 1 2 3 100
+**************************************
+* Model Generated by MODPEX *
+*Copyright(c) Symmetry Design Systems*
+* All Rights Reserved *
+* UNPUBLISHED LICENSED SOFTWARE *
+* Contains Proprietary Information *
+* Which is The Property of *
+* SYMMETRY OR ITS LICENSORS *
+*Commercial Use or Resale Restricted *
+* by Symmetry License Agreement *
+**************************************
+* Model generated on Apr 24, 96
+* Model format: SPICE3
+* Symmetry POWER MOS Model (Version 1.0)
+* External Node Designations
+* Node 1 -> Drain
+* Node 2 -> Gate
+* Node 3 -> Source
+M1 9 7 8 8 MM L=100u W=100u
+* Default values used in MM:
+* The voltage-dependent capacitances are
+* not included. Other default values are:
+* RS=0 RD=0 LD=0 CBD=0 CBS=0 CGBO=0
+.MODEL MM NMOS LEVEL=1 IS=1e-32
++VTO=3.87932 LAMBDA=0.00393789 KP=7.05019
++CGSO=6.11314e-06 CGDO=1e-11
+RS 8 3 0.073836
+D1 3 1 MD
+.MODEL MD D IS=9.70956e-10 RS=0.0137423 N=1.31938 BV=300
++IBV=0.00025 EG=1 XTI=4 TT=1e-07
++CJO=1.03141e-09 VJ=1.46661 M=0.501224 FC=0.5
+RDS 3 1 4e+06
+RD 9 1 0.0001
+RG 2 7 9.77071
+D2 4 5 MD1
+* Default values used in MD1:
+* RS=0 EG=1.11 XTI=3.0 TT=0
+* BV=infinite IBV=1mA
+.MODEL MD1 D IS=1e-32 N=50
++CJO=7.50724e-10 VJ=0.801667 M=0.67327 FC=1e-08
+D3 0 5 MD2
+* Default values used in MD2:
+* EG=1.11 XTI=3.0 TT=0 CJO=0
+* BV=infinite IBV=1mA
+.MODEL MD2 D IS=1e-10 N=0.401518 RS=3e-06
+RL 5 10 1
+FI2 7 9 VFI2 -1
+VFI2 4 0 0
+EV16 10 0 9 7 1
+CAP 11 10 7.50724e-10
+FI1 7 9 VFI1 -1
+VFI1 11 6 0
+RCAP 6 10 1
+D4 0 6 MD3
+* Default values used in MD3:
+* EG=1.11 XTI=3.0 TT=0 CJO=0
+* RS=0 BV=infinite IBV=1mA
+.MODEL MD3 D IS=1e-10 N=0.401518
+.ENDS
+
diff --git a/views/webtronix_server/spice/irfz44n.mod b/views/webtronix_server/spice/irfz44n.mod
new file mode 100644
index 0000000..d2be9d0
--- /dev/null
+++ b/views/webtronix_server/spice/irfz44n.mod
@@ -0,0 +1,68 @@
+*Aug 17, 2010
+*Doc. ID: 90561, Rev. A
+*File Name: irfz44n_PS.txt and irfz44n_PS.spi
+*This document is intended as a SPICE modeling guideline and does not
+*constitute a commercial product datasheet. Designers should refer to the
+*appropriate data sheet of the same number for guaranteed specification
+*limits.
+.SUBCKT irfz44n 1 2 3
+**************************************
+* Model Generated by MODPEX *
+*Copyright(c) Symmetry Design Systems*
+* All Rights Reserved *
+* UNPUBLISHED LICENSED SOFTWARE *
+* Contains Proprietary Information *
+* Which is The Property of *
+* SYMMETRY OR ITS LICENSORS *
+*Commercial Use or Resale Restricted *
+* by Symmetry License Agreement *
+**************************************
+* Model generated on Apr 24, 96
+* Model format: SPICE3
+* Symmetry POWER MOS Model (Version 1.0)
+* External Node Designations
+* Node 1 -> Drain
+* Node 2 -> Gate
+* Node 3 -> Source
+M1 9 7 8 8 MM L=100u W=100u
+* Default values used in MM:
+* The voltage-dependent capacitances are
+* not included. Other default values are:
+* RS=0 RD=0 LD=0 CBD=0 CBS=0 CGBO=0
+.MODEL MM NMOS LEVEL=1 IS=1e-32
++VTO=3.56214 LAMBDA=0 KP=39.3974
++CGSO=1.25255e-05 CGDO=2.2826e-07
+RS 8 3 0.0133305
+D1 3 1 MD
+.MODEL MD D IS=9.64635e-13 RS=0.00967689 N=1.01377 BV=55
++IBV=0.00025 EG=1.08658 XTI=2.9994 TT=1e-07
++CJO=1.39353e-09 VJ=0.5 M=0.42532 FC=0.5
+RDS 3 1 2.2e+06
+RD 9 1 0.0001
+RG 2 7 2.20235
+D2 4 5 MD1
+* Default values used in MD1:
+* RS=0 EG=1.11 XTI=3.0 TT=0
+* BV=infinite IBV=1mA
+.MODEL MD1 D IS=1e-32 N=50
++CJO=1.52875e-09 VJ=0.5 M=0.584414 FC=1e-08
+D3 0 5 MD2
+* Default values used in MD2:
+* EG=1.11 XTI=3.0 TT=0 CJO=0
+* BV=infinite IBV=1mA
+.MODEL MD2 D IS=1e-10 N=0.408752 RS=3e-06
+RL 5 10 1
+FI2 7 9 VFI2 -1
+VFI2 4 0 0
+EV16 10 0 9 7 1
+CAP 11 10 2.06741e-09
+FI1 7 9 VFI1 -1
+VFI1 11 6 0
+RCAP 6 10 1
+D4 0 6 MD3
+* Default values used in MD3:
+* EG=1.11 XTI=3.0 TT=0 CJO=0
+* RS=0 BV=infinite IBV=1mA
+.MODEL MD3 D IS=1e-10 N=0.408752
+.ENDS
+
diff --git a/views/webtronix_server/spice/lm324.mod b/views/webtronix_server/spice/lm324.mod
new file mode 100644
index 0000000..02782bc
--- /dev/null
+++ b/views/webtronix_server/spice/lm324.mod
@@ -0,0 +1,70 @@
+* WARNING : please consider following remarks before usage
+*
+* 1) All models are a tradeoff between accuracy and complexity (ie. simulation
+* time).
+* 2) Macromodels are not a substitute to breadboarding, they rather confirm the
+* validity of a design approach and help to select surrounding component values.
+*
+* 3) A macromodel emulates the NOMINAL performance of a TYPICAL device within
+* SPECIFIED OPERATING CONDITIONS (ie. temperature, supply voltage, etc.).
+* Thus the macromodel is often not as exhaustive as the datasheet, its goal
+* is to illustrate the main parameters of the product.
+*
+* 4) Data issued from macromodels used outside of its specified conditions
+* (Vcc, Temperature, etc) or even worse: outside of the device operating
+* conditions (Vcc, Vicm, etc) are not reliable in any way.
+*
+*
+** Standard Linear Ics Macromodels, 1993.
+** CONNECTIONS :
+* 1 INVERTING INPUT
+* 2 NON-INVERTING INPUT
+* 3 OUTPUT
+* 4 POSITIVE POWER SUPPLY
+* 5 NEGATIVE POWER SUPPLY
+.SUBCKT LM324 2 1 4 5 3
+***************************
+.MODEL MDTH D IS=1E-8 KF=3.104131E-15 CJO=10F
+* INPUT STAGE
+CIP 2 5 1.000000E-12
+CIN 1 5 1.000000E-12
+EIP 10 5 2 5 1
+EIN 16 5 1 5 1
+RIP 10 11 2.600000E+01
+RIN 15 16 2.600000E+01
+RIS 11 15 2.003862E+02
+DIP 11 12 MDTH 400E-12
+DIN 15 14 MDTH 400E-12
+VOFP 12 13 DC 0
+VOFN 13 14 DC 0
+IPOL 13 5 1.000000E-05
+CPS 11 15 3.783376E-09
+DINN 17 13 MDTH 400E-12
+VIN 17 5 0.000000e+00
+DINR 15 18 MDTH 400E-12
+VIP 4 18 2.000000E+00
+FCP 4 5 VOFP 3.400000E+01
+FCN 5 4 VOFN 3.400000E+01
+FIBP 2 5 VOFN 2.000000E-03
+FIBN 5 1 VOFP 2.000000E-03
+* AMPLIFYING STAGE
+FIP 5 19 VOFP 3.600000E+02
+FIN 5 19 VOFN 3.600000E+02
+RG1 19 5 3.652997E+06
+RG2 19 4 3.652997E+06
+CC 19 5 6.000000E-09
+DOPM 19 22 MDTH 400E-12
+DONM 21 19 MDTH 400E-12
+HOPM 22 28 VOUT 7.500000E+03
+VIPM 28 4 1.500000E+02
+HONM 21 27 VOUT 7.500000E+03
+VINM 5 27 1.500000E+02
+EOUT 26 23 19 5 1
+VOUT 23 5 0
+ROUT 26 3 20
+COUT 3 5 1.000000E-12
+DOP 19 25 MDTH 400E-12
+VOP 4 25 2.242230E+00
+DON 24 19 MDTH 400E-12
+VON 24 5 7.922301E-01
+.ENDS
diff --git a/views/webtronix_server/spice/lm339.mod b/views/webtronix_server/spice/lm339.mod
new file mode 100644
index 0000000..0cc2417
--- /dev/null
+++ b/views/webtronix_server/spice/lm339.mod
@@ -0,0 +1,32 @@
+* LM339 VOLTAGE COMPARATOR "MACROMODEL" SUBCIRCUIT
+* CREATED USING PARTS VERSION 4.03 ON 03/07/90 AT 14:17
+* REV (N/A)
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OPEN COLLECTOR OUTPUT
+* | | | | |
+.SUBCKT LM339 1 2 3 4 5
+*
+ F1 9 3 V1 1
+ IEE 3 7 DC 100.0E-6
+ VI1 21 1 DC .75
+ VI2 22 2 DC .75
+ Q1 9 21 7 QIN
+ Q2 8 22 7 QIN
+ Q3 9 8 4 QMO
+ Q4 8 8 4 QMI
+.MODEL QIN PNP(IS=800.0E-18 BF=2.000E3)
+.MODEL QMI NPN(IS=800.0E-18 BF=1002)
+.MODEL QMO NPN(IS=800.0E-18 BF=1000 CJC=1E-15 TR=807.4E-9)
+ E1 10 4 9 4 1
+ V1 10 11 DC 0
+ Q5 5 11 4 QOC
+.MODEL QOC NPN(IS=800.0E-18 BF=20.29E3 CJC=1E-15 TF=942.6E-12 TR=543.8E-9)
+ DP 4 3 DX
+ RP 3 4 46.3E3
+.MODEL DX D(IS=800.0E-18)
+*
+.ENDS
+
diff --git a/views/webtronix_server/spice/lm358.mod b/views/webtronix_server/spice/lm358.mod
new file mode 100644
index 0000000..ada71b7
--- /dev/null
+++ b/views/webtronix_server/spice/lm358.mod
@@ -0,0 +1,118 @@
+*//////////////////////////////////////////////////////////////////////
+* (C) National Semiconductor, Inc.
+* Models developed and under copyright by:
+* National Semiconductor, Inc.
+
+*/////////////////////////////////////////////////////////////////////
+* Legal Notice: This material is intended for free software support.
+* The file may be copied, and distributed; however, reselling the
+* material is illegal
+
+*////////////////////////////////////////////////////////////////////
+* For ordering or technical information on these models, contact:
+* National Semiconductor's Customer Response Center
+* 7:00 A.M.--7:00 P.M. U.S. Central Time
+* (800) 272-9959
+* For Applications support, contact the Internet address:
+* amps-apps@galaxy.nsc.com
+
+*//////////////////////////////////////////////////////////
+*LM358 DUAL OPERATIONAL AMPLIFIER MACRO-MODEL
+*//////////////////////////////////////////////////////////
+*
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+* | | | | |
+.SUBCKT LM358 1 2 99 50 28
+*
+*Features:
+*Eliminates need for dual supplies
+*Large DC voltage gain = 100dB
+*High bandwidth = 1MHz
+*Low input offset voltage = 2mV
+*Wide supply range = +-1.5V to +-16V
+*
+*NOTE: Model is for single device only and simulated
+* supply current is 1/2 of total device current.
+* Output crossover distortion with dual supplies
+* is not modeled.
+*
+****************INPUT STAGE**************
+*
+IOS 2 1 5N
+*^Input offset current
+R1 1 3 500K
+R2 3 2 500K
+I1 99 4 100U
+R3 5 50 517
+R4 6 50 517
+Q1 5 2 4 QX
+Q2 6 7 4 QX
+*Fp2=1.2 MHz
+C4 5 6 128.27P
+*
+***********COMMON MODE EFFECT***********
+*
+I2 99 50 75U
+*^Quiescent supply current
+EOS 7 1 POLY(1) 16 49 2E-3 1
+*Input offset voltage.^
+R8 99 49 60K
+R9 49 50 60K
+*
+*********OUTPUT VOLTAGE LIMITING********
+V2 99 8 1.63
+D1 9 8 DX
+D2 10 9 DX
+V3 10 50 .635
+*
+**************SECOND STAGE**************
+*
+EH 99 98 99 49 1
+G1 98 9 POLY(1) 5 6 0 9.8772E-4 0 .3459
+*Fp1=7.86 Hz
+R5 98 9 101.2433MEG
+C3 98 9 200P
+*
+***************POLE STAGE***************
+*
+*Fp=2 MHz
+G3 98 15 9 49 1E-6
+R12 98 15 1MEG
+C5 98 15 7.9577E-14
+*
+*********COMMON-MODE ZERO STAGE*********
+*
+*Fpcm=10 KHz
+G4 98 16 3 49 5.6234E-8
+L2 98 17 15.9M
+R13 17 16 1K
+*
+**************OUTPUT STAGE**************
+*
+F6 50 99 POLY(1) V6 300U 1
+E1 99 23 99 15 1
+R16 24 23 17.5
+D5 26 24 DX
+V6 26 22 .63V
+R17 23 25 17.5
+D6 25 27 DX
+V7 22 27 .63V
+V5 22 21 0.27V
+D4 21 15 DX
+V4 20 22 0.27V
+D3 15 20 DX
+L3 22 28 500P
+RL3 22 28 100K
+*
+***************MODELS USED**************
+*
+.MODEL DX D(IS=1E-15)
+.MODEL QX PNP(BF=1.111E3)
+*
+.ENDS
+*$
diff --git a/views/webtronix_server/spice/lm741.mod b/views/webtronix_server/spice/lm741.mod
new file mode 100644
index 0000000..f92b0c2
--- /dev/null
+++ b/views/webtronix_server/spice/lm741.mod
@@ -0,0 +1,111 @@
+*//////////////////////////////////////////////////////////////////////
+* (C) National Semiconductor, Inc.
+* Models developed and under copyright by:
+* National Semiconductor, Inc.
+
+*/////////////////////////////////////////////////////////////////////
+* Legal Notice: This material is intended for free software support.
+* The file may be copied, and distributed; however, reselling the
+* material is illegal
+
+*////////////////////////////////////////////////////////////////////
+* For ordering or technical information on these models, contact:
+* National Semiconductor's Customer Response Center
+* 7:00 A.M.--7:00 P.M. U.S. Central Time
+* (800) 272-9959
+* For Applications support, contact the Internet address:
+* amps-apps@galaxy.nsc.com
+
+*//////////////////////////////////////////////////////////
+*LM741 OPERATIONAL AMPLIFIER MACRO-MODEL
+*//////////////////////////////////////////////////////////
+*
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+* | | | | |
+.SUBCKT LM741/NS 1 2 99 50 28
+*
+*Features:
+*Improved performance over industry standards
+*Plug-in replacement for LM709,LM201,MC1439,748
+*Input and output overload protection
+*
+****************INPUT STAGE**************
+*
+IOS 2 1 20N
+*^Input offset current
+R1 1 3 250K
+R2 3 2 250K
+I1 4 50 100U
+R3 5 99 517
+R4 6 99 517
+Q1 5 2 4 QX
+Q2 6 7 4 QX
+*Fp2=2.55 MHz
+C4 5 6 60.3614P
+*
+***********COMMON MODE EFFECT***********
+*
+I2 99 50 1.6MA
+*^Quiescent supply current
+EOS 7 1 POLY(1) 16 49 1E-3 1
+*Input offset voltage.^
+R8 99 49 40K
+R9 49 50 40K
+*
+*********OUTPUT VOLTAGE LIMITING********
+V2 99 8 1.63
+D1 9 8 DX
+D2 10 9 DX
+V3 10 50 1.63
+*
+**************SECOND STAGE**************
+*
+EH 99 98 99 49 1
+G1 98 9 5 6 2.1E-3
+*Fp1=5 Hz
+R5 98 9 95.493MEG
+C3 98 9 333.33P
+*
+***************POLE STAGE***************
+*
+*Fp=30 MHz
+G3 98 15 9 49 1E-6
+R12 98 15 1MEG
+C5 98 15 5.3052E-15
+*
+*********COMMON-MODE ZERO STAGE*********
+*
+*Fpcm=300 Hz
+G4 98 16 3 49 3.1623E-8
+L2 98 17 530.5M
+R13 17 16 1K
+*
+**************OUTPUT STAGE**************
+*
+F6 50 99 POLY(1) V6 450U 1
+E1 99 23 99 15 1
+R16 24 23 25
+D5 26 24 DX
+V6 26 22 0.65V
+R17 23 25 25
+D6 25 27 DX
+V7 22 27 0.65V
+V5 22 21 0.18V
+D4 21 15 DX
+V4 20 22 0.18V
+D3 15 20 DX
+L3 22 28 100P
+RL3 22 28 100K
+*
+***************MODELS USED**************
+*
+.MODEL DX D(IS=1E-15)
+.MODEL QX NPN(BF=625)
+*
+.ENDS
+*$
diff --git a/views/webtronix_server/spice/models.lib b/views/webtronix_server/spice/models.lib
new file mode 100644
index 0000000..39488f4
--- /dev/null
+++ b/views/webtronix_server/spice/models.lib
@@ -0,0 +1,72 @@
+
+.model 1n4007 D(IS=3.872n RS=1.66E-02 N=1.776 XTI=3.0 EG=1.110
++ CJO=1.519E-11 M=0.3554 VJ=0.5928 FC=0.5 ISR=1.356E-09
++ NR=2.152 BV=1000.0 IBV=1.0E-03 Tt=4u)
+
+.model 1n4148 D(Is=5.84n N=1.94 Rs=.7017 Ikf=44.17m Xti=3 Eg=1.11 Cjo=.95p
++ M=.55 Vj=.75 Fc=.5 Isr=11.07n Nr=2.088 Bv=100 Ibv=100u Tt=11.07n)
+
+.MODEL 1N34A D(bv=75 cjo=0.5e-12 eg=0.67 ibv=18e-3
++ is=2e-7 rs=7 n=1.3 vj=0.1 m=0.27 )
+
+
+.MODEL 1N5711 D IS=5.5987E-9 N=1.0023 RS=30.053 IKF=19.036 CJO=1.7605E-12
++ M=.20029 VJ=.3905 ISR=24.229E-9 NR=4.1695 FC=0.5 TT=0 XTI=2
+* $
+
+.MODEL mmsd301t1 d
++IS=7.59492e-08 RS=4.93246 N=1.53455 EG=0.608881
++XTI=4 BV=30 IBV=1e-05 CJO=2.26925e-12
++VJ=0.4 M=0.260918 FC=0.5 TT=2.98638e-09
++KF=0 AF=1
+
+.model 2N2222 NPN(IS=14.34F XTI=3 EG=1.11 VAF= 74.03 BF=255.9
++ NE=1.307 ISE=14.34F IKF=.2847 XTB=1.5 BR=6.092 NC=2
++ ISC=0 IKR=0 RC=1 CJC=7.306P MJC=.3416 VJC=.75 FC=.5
++ CJE=22.01P MJE=.377 VJE=.75 TR=46.91N TF=411.1P ITF=.6
++ VTF=1.7 XTF=3 RB=10)
+
+.MODEL 2N2907 PNP (IS=15.294E-15 BF=297.85 VAF=100 IKF=1.6607 ISE=29.577E-15
++ NE=1.5507 BR=476 VAR=100 IKR=2.2270 ISC=7.6418E-9 NC=2.1591 NK=.97918
++ RB=2.4875 RC=.69253 CJE=33.186E-12 VJE=.8716 MJE=.40799 CJC=15.649E-12
++ VJC=.56868 MJC=.3619 TF=456.18E-12 XTF=22.393 VTF=28.493 ITF=.62109
++ TR=10.000E-9 )
+
+.model 2N3904 NPN(Is=6.734f Xti=3 Eg=1.11 Vaf=74.03 Bf=416.4 Ne=1.259
++ Ise=6.734f Ikf=66.78m Xtb=1.5 Br=.7371 Nc=2 Isc=0 Ikr=0 Rc=1
++ Cjc=3.638p Mjc=.3085 Vjc=.75 Fc=.5 Cje=4.493p Mje=.2593 Vje=.75
++ Tr=239.5n Tf=301.2p Itf=.4 Vtf=4 Xtf=2 Rb=10)
+
+
+.model 2n3906 PNP(Is=455.9E-18 Xti=3 Eg=1.11 Vaf=33.6 Bf=204.7 Ise=7.558f
++ Ne=1.536 Ikf=.3287 Nk=.9957 Xtb=1.5 Var=100 Br=3.72
++ Isc=529.3E-18 Nc=15.51 Ikr=11.1 Rc=.8508 Cjc=10.13p Mjc=.6993
++ Vjc=1.006 Fc=.5 Cje=10.39p Mje=.6931 Vje=.9937 Tr=10n Tf=181.2p
++ Itf=4.881m Xtf=.7939 Vtf=10 Rb=10)
+
+*2N3055
+*Si 115W 70V 15A 20kHz pkg:TO-3 3,2,1
+
+.MODEL 2N3055 NPN(IS=4.66E-12 BF=360 VAF=100 IKF=0.25 ISE=3.339E-11
++ BR=2 ISC=5E-9 RB=3 IRB=0.001 RBM=0.4 RC=0.04 CJE=5.802E-10 VJE=1.2
++ MJE=0.45 TF=8E-8 XTF=1 ITF=3 PTF=120 CJC=2.121E-10 MJC=0.4 TR=2.55E-6
++ XTB=1 )
+
+
+.MODEL 2N7002 NMOS(LEVEL=3 RS=0.0405 NSUB=1.0E15
++ DELTA=0.1 KAPPA=0.0506 TPG=1 CGDO=6.1716E-10
++ RD=1.22 VTO=2.00 VMAX=1.0E7 ETA=0.0223089
++ NFS=6.6E10 TOX=1.0E-7 LD=1.698E-9 UO=862.425
++ XJ=6.4666E-7 THETA=1.0E-5 CGSO=9.10E-9 L=2.5E-6
++ W=0.5E-2)
+
+
+.model 2n3819 NJF(Beta=1.304m Rd=1 Rs=1 Lambda=2.25m Vto=-3 Is=33.57f
++ Cgd=1.6p Pb=1 Fc=.5 Cgs=2.414p Kf=9.882E-18 Af=1)
+
+.model mpf102 NJF (Beta=1.04m Betatce=-.5 Rd=1 Rs=1 Lambda=2m Vto=-3.41
++ Vtotc=-2.5m Is=33.57f Isr=322.4f N=1 Nr=2 Xti=3 Alpha=311.7
++ Vk=243.6 Cgd=1.6p M=.3622 Pb=1 Fc=.5 Cgs=2.414p Kf=11.73E-18
++ Af=1)
+
+
diff --git a/views/webtronix_server/spice/mymodels.lib b/views/webtronix_server/spice/mymodels.lib
new file mode 100644
index 0000000..060a231
--- /dev/null
+++ b/views/webtronix_server/spice/mymodels.lib
@@ -0,0 +1,26 @@
+
+.MODEL 1PS66SB17 D
++ IS = 1.419E-09
++ N = 1.022
++ BV = 6
++ IBV = 2.45E-06
++ RS = 5.112
++ CJO = 7.662E-13
++ VJ = 0.1681
++ M = 0.1995
++ FC = 0.5
++ EG = 0.69
++ XTI = 2
+
+.MODEL 1PS66SB82 D
++ IS = 1.042E-8
++ N = 1.029
++ BV = 17
++ IBV = 0.001
++ RS = 5.567
++ CJO = 9.779E-13
++ VJ = 0.2925
++ M = 0.194
++ FC = 0.5
++ EG = 0.69
++ XTI = 2 \ No newline at end of file
diff --git a/views/webtronix_server/spice/mysubckt.mod b/views/webtronix_server/spice/mysubckt.mod
new file mode 100644
index 0000000..022f87a
--- /dev/null
+++ b/views/webtronix_server/spice/mysubckt.mod
@@ -0,0 +1,131 @@
+* AD8630 SPICE Macro-model
+* Description: Amplifier
+* Generic Desc: 2.7/5V, CMOS, OP, Zero Drift, RRIO, 4X
+* Developed by: RM / ADSiv
+* Revision History: 08/10/2012 - Updated to new header style
+* 1.0 (07/2010)
+* Copyright 2010, 2012 by Analog Devices
+*
+* Refer to http://www.analog.com/Analog_Root/static/techSupport/designTools/spiceModels/license/spice_general.html for License Statement. Use of this model
+* indicates your acceptance of the terms and provisions in the License Statement.
+*
+* BEGIN Notes:
+*
+* Not Modeled:
+*
+* Parameters modeled include:
+*
+* END Notes
+*
+* Node Assignments
+* noninverting input
+* | inverting input
+* | | positive supply
+* | | | negative supply
+* | | | | output
+* | | | | |
+* | | | | |
+.SUBCKT AD8630 1 2 99 50 45
+*
+* INPUT STAGE
+*
+M1 4 7 8 8 PIX L=1E-6 W=174.1E-6
+M2 6 2 8 8 PIX L=1E-6 W=174.1E-6
+M3 11 7 10 10 NIX L=1E-6 W=174.1E-6
+M4 12 2 10 10 NIX L=1E-6 W=174.1E-6
+RC1 4 14 0.001E+3
+RC2 6 16 0.001E+3
+RC3 17 11 0.001E+3
+RC4 18 12 0.001E+3
+RC5 14 50 6E+3
+RC6 16 50 6E+3
+RC7 99 17 6E+3
+RC8 99 18 6E+3
+*Set teh secondary pole at 17MHz using c1,c2 and RC5..
+C1 14 16 5.40E-12
+C2 17 18 5.40E-12
+I1 99 8 100E-6
+I2 10 50 100E-6
+V1 99 9 0.3
+V2 13 50 0.3
+D1 8 9 DX
+D2 13 10 DX
+* POLY font rewritten to make it work under gnucap
+* EOS 7 1 POLY(3) (22,98) (73,98) (81,98) 1E-6 1 1 1
+EOS1 7 1 22 98 .5
+EOS2 7 1 73 98 .5
+EOS3 1 1 81 98 .5
+
+
+
+IOS 1 2 25E-12
+*
+* CMRR 120dB, ZERO AT 20Hz
+*
+ECM1 21 98 POLY(2) (1,98) (2,98) 0 .5 .5
+RCM1 21 22 50E+6
+CCM1 21 22 159E-12
+RCM2 22 98 50
+*
+* PSRR=115dB, ZERO AT 20Hz
+*
+RPS1 70 0 1E+6
+RPS2 71 0 1E+6
+CPS1 99 70 1E-5
+CPS2 50 71 1E-5
+EPSY 98 72 POLY(2) (70,0) (0,71) 0 1 1
+RPS3 72 73 28.9E+6
+CPS3 72 73 .25E-9
+RPS4 73 98 40
+*
+* VOLTAGE NOISE REFERENCE OF 20nV/rt(Hz)
+*
+VN1 80 98 0
+RN1 80 98 16.45E-3
+HN 81 98 VN1 20
+RN2 81 98 1
+*
+* INTERNAL VOLTAGE REFERENCE
+*
+EREF 98 0 POLY(2) (99,0) (50,0) 0 .5 .5
+GSY 99 50 (99,50) 44E-6
+EVP 97 98 (99,50) 0.5
+EVN 51 98 (50,99) 0.5
+*
+* LHP ZERO AT 17MHz, POLE AT 50.3MHz
+*
+E1 32 98 POLY(2) (4,6) (11,12) 0 .6689 .6689
+R2 32 33 3.164E+3
+R3 33 98 9.362E+3
+C3 32 33 1E-12
+*
+* GAIN STAGE
+*
+G1 98 30 (33,98) 25E-6
+R1 30 98 2.46E+9
+CF 45 30 12.4E-12
+D3 30 97 DX
+D4 51 30 DX
+*
+* OUTPUT STAGE
+*
+M5 45 46 99 99 POX L=1E-6 W=1.47E-3
+M6 45 47 50 50 NOX L=1E-6 W=1.90E-3
+EG1 99 46 POLY(1) (98,30) 0.5303 1
+EG2 47 50 POLY(1) (30,98) 0.5058 1
+*
+* MODELS
+*
+.MODEL POX PMOS (LEVEL=2,KP=10E-6,VTO=-0.328,LAMBDA=0.01,RD=0)
+.MODEL NOX NMOS (LEVEL=2,KP=10E-6,VTO=+0.328,LAMBDA=0.01,RD=0)
+.MODEL PIX PMOS (LEVEL=2,KP=100E-6,VTO=-1,LAMBDA=0.01)
+.MODEL NIX NMOS (LEVEL=2,KP=100E-6,VTO=+1,LAMBDA=0.01)
+.MODEL DX D(IS=1E-14,RS=5)
+.ENDS AD8630
+*
+
+
+
+
+
+
diff --git a/views/webtronix_server/spice/ne555.mod b/views/webtronix_server/spice/ne555.mod
new file mode 100644
index 0000000..f5c68b8
--- /dev/null
+++ b/views/webtronix_server/spice/ne555.mod
@@ -0,0 +1,686 @@
+* IRTCLIB1.txt
+* Models for PSpice
+* Intuitive Research and Technology Corp
+* www.irtc-hq.com
+* Copyright 2007 - All Rights Reserved
+*
+* Models included:
+* UC1845 - UC1845 PWM controller
+* 555 - 555 timer - fixes problems with PSpice library model
+* HCPL5201 - Optocoupler
+* HCPL5230 - Dual Optocoupler
+* UC1707 - Dual Channel Power Driver IC
+* MAX707 - µP Supervisory IC
+* TC4427 - Buffer/driver
+* UCC1802 - PWM controller IC
+* UCC1804 - PWM controller IC
+* D1N3611 - 1N3611 diode
+* OPAMPIB - near-ideal op amp macromodel
+* OPAMPIC - near-ideal op amp macromodel
+* BUFST - Schmitt trigger digital buffer macromodel
+* VREGD - 3-terminal ideal regulator macromodel
+* COMPI - near-ideal comparator
+* ILOADB - current load macromodel
+* EILIM - voltage source with current limit macromodel
+*
+* UC1845 PWM controller IC *
+* connections: pins 1 - 8 sequential (8-pin pkge.)
+.SUBCKT UC1845 COMP VFB CS RTCT GND OUT VCC VREF
+R_R1 VCC GND 1.4k
+D_D7 GND VCC DZ34
+R_R12 VCC $N_0001 10K
+R_R13 $N_0001 VREF 60K
+V_V1 $N_0002 GND DC 7.22V
+X_U21 $N_0003 $N_0004 $G_DPWR $G_DGND BUFST
+X_U7 $N_0004 $N_0005 $G_DPWR $G_DGND INV
+R_R8 $N_0006 0 1MEG
+C_C1 $N_0006 0 500p
+R_R7 $N_OUTST $N_0006 100
+D_D6 $N_0007 $N_0008 D1N3611
+D_D8 GND $N_0009 DZ1
+D_D5 COMP $N_0007 D1N3611
+D_D9 VCC $N_0010 D1N3611
+E_E2 $N_0033 GND VREF GND 0.5
+V_V5 $N_5V 0 DC 5V
+V_V5G $N_5VG GND DC 5.1V
+X_U24 $N_0011 $N_0012 $G_DPWR $G_DGND BUFST
+V_VOH $N_0013 GND DC 2.5V
+X_U25 $N_0014 $N_0015 $G_DPWR $G_DGND BUFST
+E_E1 $N_0003 0 VREF GND 1
+V_VOL $N_0016 GND DC 0.8V
+R_RO4 RTCT $N_0017 300
+C_C2 $N_0012 0 1p IC=4V
+X_U17 $N_0018 $N_0019 $G_DPWR $G_DGND BUFST
+C_C3 $N_0019 0 1p IC=4V
+X_U26 $N_0001 $N_0002 $N_5VG GND VREF OPAMPIB PARAMS: VR=0.1
+X_U27 $N_0016 RTCT $N_5V 0 $N_0011 OPAMPIB PARAMS: VR=0.1
+X_U28 RTCT $N_0013 $N_5V 0 $N_0014 OPAMPIB PARAMS: VR=0.1
+X_U30 CS $N_0009 $N_5V 0 $N_0018 OPAMPIB PARAMS: VR=0.1
+X_U6 $N_0005 $N_0020 $N_0021 $N_0022 $N_OUTST $G_DPWR $G_DGND OR4
+X_U15 $D_HI $D_LO $N_0019 $N_0020 $N_0025 $N_0022 $G_DPWR $G_DGND
++ DLATRSH
+X_U31 $N_0026 $N_0020 $G_DPWR $G_DGND BUFST
+X_UO3 $D_HI $D_LO $N_0012 $N_0015 $N_0026 $N_0029 $G_DPWR $G_DGND
++ DLATRSH
+C_C4 $N_0030 0 1p IC=4V
+R_R14 $N_0030 0 1k
+X_U32 $D_HI $N_0020 $N_0030 $N_0021 $N_0032 $G_DPWR $G_DGND TFFRH
+R_U33_Rp $N_5VG GND 20K
+R_U33_RI1 $N_0033 0 1G
+R_U33_RI2 VFB 0 1G
+X_U33_H2 $N_0034 0 $N_0035 0 UC1845_H2
+C_U33_Cc $N_0034 $N_0036 1000p
+E_U33_ABM45 $N_0036 0 VALUE { ((V($N_5VG,GND)-0.2)/{PI})*ATAN(4714*
++ {PI}*V($N_0035,0)/(V($N_5VG,GND)-0.2))+(V($N_5VG)+V(GND))/2 }
+R_U33_Ro $N_0036 COMP 20
+G_U33_ABM2I1 $N_0034 0 VALUE { LIMIT(7m*V($N_0033,VFB),-1m,1m) }
+R_R4 $N_0008 $N_0009 10K
+R_R5 $N_0009 GND 5K
+X_SO1 $N_0026 0 $N_0017 GND UC1845_SO1
+X_S5 $N_0006 0 OUT GND UC1845_S5
+X_S6 $N_0006 0 $N_0010 OUT UC1845_S6
+.ENDS UC1845
+*
+.subckt UC1845_H2 1 2 3 4
+H_H2 3 4 VH_H2 -100
+VH_H2 1 2 0V
+.ends UC1845_H2
+*
+.subckt UC1845_SO1 1 2 3 4
+S_SO1 3 4 1 2 SW2ONA
+RS_SO1 1 2 1G
+.ends UC1845_SO1
+*
+.subckt UC1845_S5 1 2 3 4
+S_S5 3 4 1 2 SW2ONA
+RS_S5 1 2 1G
+.ends UC1845_S5
+*
+.subckt UC1845_S6 1 2 3 4
+S_S6 3 4 1 2 SW2OFFA
+RS_S6 1 2 1G
+.ends UC1845_S6
+*
+* 555 timer IC *
+* connections: pins 1 - 8 sequential (8-pin pkge.)
+.SUBCKT 555 GND TRIG OUT RES CTRL THR DIS VCC
+R_R2 CTRL $N_0001 5K
+R_R3 $N_0001 GND 5K
+R_R1 VCC CTRL 5K
+V_V5 $N_5V 0 DC 5V
+X_U1 THR CTRL $N_5V 0 $N_0002 OPAMPIB PARAMS: VR=0.1
+X_U2 $N_0001 TRIG $N_5V 0 $N_0003 OPAMPIB PARAMS: VR=0.1
+E_E1 $N_0004 0 RES GND 1
+X_U3 $N_0002 $N_0005 $G_DPWR $G_DGND BUFST
+X_U4 $N_0003 $N_0006 $G_DPWR $G_DGND BUFST
+X_U5 $N_0004 $N_0007 $G_DPWR $G_DGND BUFST
+X_U6 $N_0007 $N_0008 $G_DPWR $G_DGND INV
+X_U7 $N_0005 $N_0008 $N_0009 $G_DPWR $G_DGND OR2
+X_U8 $D_HI $D_LO $N_0006 $N_0009 $N_0012 $N_0013 $G_DPWR $G_DGND
++ DLATRSH
+C_C1 $N_0009 0 1p IC=4V
+R_R4 $N_0012 $N_0014 100
+R_R5 $N_0014 0 1MEG
+C_C2 $N_0014 0 500p
+D_D1 VCC $N_0015 D1N4148
+C_C4 $N_0015 OUT 1p
+C_C5 OUT GND 1p
+R_R6 $N_0012 $N_0016 100
+R_R7 $N_0016 0 1MEG
+C_C3 $N_0016 0 100p
+C_C6 DIS GND 1p
+X_S1 $N_0014 0 $N_0015 OUT 555_S1
+X_S2 $N_0014 0 OUT GND 555_S2
+X_S3 $N_0016 0 DIS GND 555_S3
+.ENDS 555
+*
+.subckt 555_S1 1 2 3 4
+S_S1 3 4 1 2 SW2OFFA
+RS_S1 1 2 1G
+.ends 555_S1
+*
+.subckt 555_S2 1 2 3 4
+S_S2 3 4 1 2 SW2ONA
+RS_S2 1 2 1G
+.ends 555_S2
+*
+.subckt 555_S3 1 2 3 4
+S_S3 3 4 1 2 SW2ONA
+RS_S3 1 2 1G
+.ends 555_S3
+*
+.PARAM PI=3.1416
+*
+* OPAMPIB near-ideal op amp *
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+.SUBCKT OPAMPIB 1 2 3 4 5 PARAMS: VR=1
+.PARAM AV=10K ; Open-loop gain
+* VR = Rail-to-output voltage difference
+* OUTPUT={(K2*ATAN(K1*V(1,2)))+VOFF}
+* K2={(V(3)-V(4)-2*VR)/PI}, K1={AV/K2}, VOFF={(V(3)+V(4))/2}
+Ri1 1 0 100Meg
+Ri2 2 0 100Meg
+Eo 6 0 VALUE={((V(3,4)-2*VR)/PI)*
++ ATAN(AV*PI*V(1,2)/(V(3,4)-2*VR))+(V(3)+V(4))/2}
+Ro 6 5 10
+Co 5 0 5p
+Rp 3 4 50K
+.ENDS OPAMPIB
+*
+* OPAMPIC near-ideal op amp *
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | |
+.SUBCKT OPAMPIC 1 2 3 4 5 PARAMS: VRP=1 VRN=1 AV=10K
+* VRP = Positive rail-to-output voltage difference
+* VRN = Negative rail-to-output voltage difference
+* AV = Open-loop gain
+* OUTPUT={(K2*ATAN(K1*V(1,2)))+VOFF}
+* K2={(V(3)-V(4)-VRP-VRN)/PI}, K1={AV/K2}
+* VOFF={(V(3)+V(4)-VRP+VRN)/2}
+Ri1 1 0 100Meg
+Ri2 2 0 100Meg
+Ci1 1 0 5p
+Ci2 2 0 5p
+Eo 6 0 VALUE={((V(3,4)-VRP-VRN)/PI)*
++ ATAN(AV*PI*V(1,2)/(V(3,4)-VRP-VRN))+(V(3)+V(4)-VRP+VRN)/2}
+Ro 6 5 10
+Co 5 0 5p
+Rp 3 4 50K
+.ENDS OPAMPIC
+*
+* SCHMITT TRIGGER BUFFER *
+.SUBCKT BUFST I0 O
++ optional: DPWR=$G_DPWR DGND=$G_DGND
+U1 BUF
++ DPWR DGND
++ I0 O
++ D_DEF_ST IO_DEF_ST
+.MODEL D_DEF_ST UGATE
+.MODEL IO_DEF_ST UIO (
++ AtoD1="AtoD_STD_ST" AtoD2="AtoD_STD_ST"
++ AtoD3="AtoD_STD_ST" AtoD4="AtoD_STD_ST")
+.ENDS BUFST
+*
+.MODEL SW2ONA VSWITCH(RON=0.01 ROFF=1E7 VON=2.5 VOFF=1.5)
+*
+.MODEL SW2OFFA VSWITCH(RON=0.01 ROFF=1E7 VON=1.5 VOFF=2.5)
+*
+.MODEL DZ1 D(BV=1 IBV=100u)
+*
+.MODEL DZ34 D(BV=34 IBV=100u)
+*
+.MODEL DZ13P5 D(BV=13.5 IBV=100u)
+*
+.MODEL D1N3611 D
++ IS=159.8E-9
++ N=1.797
++ RS=.1693
++ CJO=1.000E-12
++ M=.3333
++ VJ=.75
++ ISR=21.76E-9
++ BV=240
++ IBV=100.0E-6
++ TT=5.000E-9
+*
+* HCPL5201 Optocoupler *
+.SUBCKT HCPL5201 DP DN VCC GND OUT
+X_H1 $N_0001 DN $N_0002 GND HCPL5201_H1
+R_R1a $N_0002 $N_0003 1K
+C_C1 $N_0004 GND 140p
+D_D1 DP $N_0001 DHCPL5230
+R_R1b $N_0003 $N_0004 1K
+D_D1Z GND $N_0003 D5D
+R_RFB1 $N_0004 OUT 60K
+V_VREF $N_0005 GND DC 2.5V
+X_U1 $N_0004 $N_0005 VCC GND OUT OPAMPIC PARAMS: VRP=1.7 VRN=0.4
++ AV=1K
+R_RP GND VCC 1600
+.ENDS HCPL5201
+*
+.subckt HCPL5201_H1 1 2 3 4
+H_H1 3 4 VH_H1 5K
+VH_H1 1 2 0V
+.ends HCPL5201_H1
+*
+.MODEL DHCPL5230 D
++ IS=230.71E-24
++ N=1.1544
++ RS=1.0000E-3
++ EG=1.4200
++ CJO=20.0000E-12
++ M=.3333
++ VJ=.75
++ ISR=100.00E-12
++ NR=10
++ BV=10
++ IBV=100.00E-6
++ TT=5.0000E-9
+*
+.MODEL D5D D(BV=5 IBV=.1m)
+*
+* HCPL5230 Optocoupler *
+.SUBCKT HCPL5230 D1P D1N D2P D2N VCC GND OUT1 OUT2
+X_H1 $N_0001 D1N $N_0002 GND HCPL5230_H1
+X_H2 $N_0003 D2N $N_0004 GND HCPL5230_H2
+V_VREF $N_0005 GND DC 2.5V
+R_R1a $N_0002 $N_0006 1K
+R_R2a $N_0004 $N_0007 1K
+C_C1 $N_0008 GND 140p
+C_C2 $N_0009 GND 140p
+D_D1 D1P $N_0001 DHCPL5230
+D_D2 D2P $N_0003 DHCPL5230
+X_U1 $N_0008 $N_0005 VCC GND OUT1 OPAMPIC PARAMS: VRP=1.7 VRN=0.4
++ AV=1K
+X_U2 $N_0009 $N_0005 VCC GND OUT2 OPAMPIC PARAMS: VRP=1.7 VRN=0.4
++ AV=1K
+R_R1b $N_0006 $N_0008 1K
+R_R2b $N_0007 $N_0009 1K
+D_D2Z GND $N_0007 D5D
+D_D1Z GND $N_0006 D5D
+R_RFB1 $N_0008 OUT1 60K
+R_RFB2 $N_0009 OUT2 60K
+R_RP GND VCC 800
+.ENDS HCPL5230
+*
+.subckt HCPL5230_H1 1 2 3 4
+H_H1 3 4 VH_H1 5K
+VH_H1 1 2 0V
+.ends HCPL5230_H1
+*
+.subckt HCPL5230_H2 1 2 3 4
+H_H2 3 4 VH_H2 5K
+VH_H2 1 2 0V
+.ends HCPL5230_H2
+*
+* UC1707 Dual Channel Power Driver IC *
+* connections: pins 1 - 16 sequential (exc. GND) (16-pin pkge.)
+.SUBCKT UC1707 BI BNI LD GND OUTA SD VC STOPI STOPNI OUTB VIN ANI AI
+E_E3 $N_0001 0 BNI GND 1
+E_E4 $N_0002 0 BI GND 1
+X_U5 $N_0001 $N_0003 $G_DPWR $G_DGND BUFST
+X_U6 $N_0002 $N_0004 $G_DPWR $G_DGND BUFST
+X_U8 $N_0003 $N_0005 $G_DPWR $G_DGND INV
+V_V1 $N_0006 STOPI DC 0.13
+R_R1 $N_0007 SD 1k
+C_C1 $N_0008 0 1p IC=4V
+X_U11 $N_0009 $N_0010 $G_DPWR $G_DGND BUFST
+X_U10 $D_HI $D_LO $N_0008 $N_0010 $N_0013 $N_0014 $G_DPWR $G_DGND
++ DLATRSH
+R_R4 $N_0015 0 1MEG
+C_C3 $N_0015 0 500p
+X_U16 $N_0016 $N_0013 $N_0017 $G_DPWR $G_DGND OR2
+X_U7 $N_0005 $N_0004 $N_0016 $G_DPWR $G_DGND OR2
+R_R5 $N_0017 $N_0015 100
+E_E1 $N_0018 0 ANI GND 1
+E_E2 $N_0019 0 AI GND 1
+X_U1 $N_0018 $N_0020 $G_DPWR $G_DGND BUFST
+X_U2 $N_0019 $N_0021 $G_DPWR $G_DGND BUFST
+X_U3 $N_0020 $N_0022 $G_DPWR $G_DGND INV
+R_R2 $N_0023 0 1MEG
+C_C2 $N_0023 0 500p
+X_U15 $N_0024 $N_0013 $N_0025 $G_DPWR $G_DGND OR2
+R_R3 $N_0025 $N_0023 100
+X_U4 $N_0022 $N_0021 $N_0024 $G_DPWR $G_DGND OR2
+R_R6 $N_5V $N_0007 5k
+X_U9 $N_0026 $N_0008 $G_DPWR $G_DGND BUFST
+E_E6 $N_0009 0 SD GND 1
+R_R8 $N_5V LD 30k
+X_S2 $N_0023 0 $N_0027 OUTA UC1707_S2
+X_S1 $N_0023 0 OUTA GND UC1707_S1
+X_S3 $N_0015 0 OUTB GND UC1707_S3
+X_S4 $N_0015 0 $N_0028 OUTB UC1707_S4
+X_U19 VIN $N_5V GND VREGD PARAMS: VO=5 IQ=10m VD=0.5
+E_E5 $N_0026 0 LD GND 1
+X_U20 STOPNI $N_0006 $N_5V GND $N_0007 GND COMPI
+D_D3 VC $N_0027 D1N4148
+D_D4 VC $N_0028 D1N4148
+.ENDS UC1707
+*
+.subckt UC1707_S2 1 2 3 4
+S_S2 3 4 1 2 SW2OFFA
+RS_S2 1 2 1G
+.ends UC1707_S2
+*
+.subckt UC1707_S1 1 2 3 4
+S_S1 3 4 1 2 SW2ONA
+RS_S1 1 2 1G
+.ends UC1707_S1
+*
+.subckt UC1707_S3 1 2 3 4
+S_S3 3 4 1 2 SW2ONA
+RS_S3 1 2 1G
+.ends UC1707_S3
+*
+.subckt UC1707_S4 1 2 3 4
+S_S4 3 4 1 2 SW2OFFA
+RS_S4 1 2 1G
+.ends UC1707_S4
+*
+* TC4427 - Buffer/driver *
+.SUBCKT TC4427 IN OUT VDD GND
+R_R3 $N_0001 GND 1Meg
+R_R1 $N_0002 OUT 7
+R_R2 IN $N_0001 100
+C_C1 $N_0001 GND 400p
+X_S1 $N_0001 GND VDD $N_0002 TC4427_S1
+X_S2 $N_0001 GND $N_0002 GND TC4427_S2
+.ENDS TC4427
+*
+.subckt TC4427_S1 1 2 3 4
+S_S1 3 4 1 2 SW2ONA
+RS_S1 1 2 1G
+.ends TC4427_S1
+*
+.subckt TC4427_S2 1 2 3 4
+S_S2 3 4 1 2 SW2OFFA
+RS_S2 1 2 1G
+.ends TC4427_S2
+*
+* 3-TERMINAL REGULATOR MACROMODEL WITH OUTPUT VOLTAGE PARAMETERS
+* CONNECTIONS: INPUT
+* | OUTPUT
+* | | RTN
+* | | | OUTPUT VOLTAGE
+* | | | | QUIESCENT CURRENT
+* | | | | | dropout voltage
+* | | | | | |
+.SUBCKT VREGD 1 2 3 PARAMS: VO=5 IQ=1m VD=2
+Eo 4 3 VALUE={LIMIT(VO,0,V(1,3)-VD)}
+Rq 2 3 {VO/IQ} ; sets quiescent current
+VS 4 2 0
+Fi 1 3 VS 1
+.ENDS VREGD
+*
+* Macro-model for ideal Comparator with Open Collector Output
+* connections: non-inverting input
+* | inverting input
+* | | positive power supply
+* | | | negative power supply
+* | | | | output
+* | | | | | output rtn
+.SUBCKT COMPI 2 1 3 4 5 6
+.PARAM AV=10K ; Open-loop gain (adjustable)
+.PARAM VR=0.1 ; Rail-to-driver voltage difference (adjustable)
+.PARAM PI=3.1416
+Ri1 1 0 100Meg
+Ri2 2 0 100Meg
+Eo 7 0
++ VALUE={((V(3,4)-2*VR)/PI)*ATAN(AV*PI*V(1,2)/(V(3,4)-2*VR))+(V(3)+V(4))/2}
+Ro 7 8 1K
+Qo 5 8 6 Q2N2222
+Rp 3 4 50K
+.ENDS COMPI
+*
+* MAX707 µP Supervisory IC *
+* connections: pins 1 - 5, 7, 8 sequential (8-pin pkge.)
+.SUBCKT MAX707 MRn VCC GND PFI PFOn RESn RES
+R_R1 VCC MRn 20K
+V_V1 $N_0001 GND DC 4.65
+X_U1 $N_0002 $N_0001 $N_5V 0 $N_0003 OPAMPIB PARAMS: VR=0.1
+R_R5 VCC $N_0002 10K
+R_R6 $N_0002 $N_0003 1.2MEG
+X_S1 $N_0004 0 $N_0005 0 MAX707_S1
+V_V8 $N_0006 0 DC 6.32
+X_U29 $N_0005 $N_0006 $N_5V 0 $N_0015 OPAMPIB PARAMS: VR=0.1
+R_U1_R1 $N_0011 0 1MEG
+C_U1_C1 $N_0011 0 500p
+R_U1_R2 $N_0015 $N_0011 100
+X_U1_S2 $N_0011 0 RESn GND MAX707_S1
+D_U1_D2 $N_0012 $N_0013 D1N3611
+X_U1_S1 $N_0011 0 $N_0013 RESn MAX707_S2
+D_U1_D1 VCC $N_0012 D1N3611
+X_U2_S1 $N_0014 0 RES GND MAX707_S2
+R_U2_R1 $N_0014 0 1MEG
+C_U2_C1 $N_0014 0 500p
+R_U2_R2 $N_0015 $N_0014 100
+D_U2_D1 VCC $N_0016 D1N3611
+X_U2_S2 $N_0014 0 $N_0017 RES MAX707_S1
+D_U2_D2 $N_0016 $N_0017 D1N3611
+V_V2 $N_0007 GND DC 1.25
+R_U3_R1 $N_0018 0 1MEG
+C_U3_C1 $N_0018 0 500p
+R_U3_R2 $N_0019 $N_0018 100
+X_U3_S2 $N_0018 0 PFOn GND MAX707_S1
+D_U3_D2 $N_0020 $N_0021 D1N3611
+X_U3_S1 $N_0018 0 $N_0021 PFOn MAX707_S2
+D_U3_D1 VCC $N_0020 D1N3611
+X_U2 PFI $N_0007 $N_5V 0 $N_0019 OPAMPIB PARAMS: VR=0.1
+V_V7 $N_5V 0 DC 5
+V_V9 $N_10V 0 DC 10
+R_R7 $N_10V $N_0005 10K
+X_U16 $N_0008 $N_0009 $G_DPWR $G_DGND BUFST
+X_U17 $N_0003 $N_0010 $G_DPWR $G_DGND BUFST
+X_U27 $N_0009 $N_0010 $N_0004 $G_DPWR $G_DGND AND2
+E_E1 $N_0008 0 MRn GND 1
+R_XR1 RESn 0 1E24
+R_XR2 RES 0 1E24
+R_XR3 PFOn 0 1E24
+R_XR4 MRn 0 1E24
+R_R8 VCC GND 100K
+C_C1 $N_0005 0 20u IC=9.9V
+.ENDS MAX707
+*
+.subckt MAX707_S1 1 2 3 4
+S_S1 3 4 1 2 SW2OFFA
+RS_S1 1 2 1G
+.ends MAX707_S1
+*
+.subckt MAX707_S2 1 2 3 4
+S_S2 3 4 1 2 SW2ONA
+RS_S2 1 2 1G
+.ends MAX707_S2
+*
+* UCC1802 PWM controller IC *
+* connections: pins 1 - 8 sequential (8-pin pkge.)
+.SUBCKT UCC1802 COMP FB CS RC GND OUT VCC REF
+R_RP VCC GND 20K
+R_R3 $N_0002 $N_0001 20k
+R_R4 $N_0001 GND 20k
+R_RO1 $N_OUTD $N_0003 100
+R_RO2 $N_0003 0 1MEG
+C_CO $N_0003 0 500p
+D_DZ1 GND $N_0001 DZ1
+D_DZV GND VCC DZ13P5
+R_RD1 REF $N_REFh 1k
+V_VRVCC $N_0004 GND DC 6.72V
+R_RD2 $N_REFh GND 1k
+X_U10 $N_REF0 $N_0005 $N_0006 $G_DPWR $G_DGND AND2
+V_VROC $N_0007 GND DC 1.5V
+X_U12 $D_HI $D_LO $N_0009 $N_0011 $N_0012 $N_0013 $G_DPWR $G_DGND
++ DLATRSH
+X_U14 $N_0006 $N_0011 $G_DPWR $G_DGND INV
+X_U15 $D_HI $D_LO $N_0009 $N_0016 $N_0017 $N_0018 $G_DPWR $G_DGND
++ DLATRSH
+X_U16 $N_0006 $N_0019 $N_0009 $G_DPWR $G_DGND AND2
+V_VRT1 $N_0020 0 DC 0.5V
+V_VRT2 $N_0021 0 DC 4V
+X_U19 $N_0012 $N_0017 $N_0022 $G_DPWR $G_DGND AND2
+R_RB $N_0022 $N_0023 10K
+Q_QC $N_TSS $N_0023 0 Q2N2222
+C_CTSS $N_TSS 0 1.14uF
+X_U22 $N_REF0 $N_0013 $N_0024 $N_0025 $N_OUTD $G_DPWR $G_DGND AND4
+D_D1 COMP $N_0002 D1N3611
+D_DO VCC $N_0026 D1N3611
+X_U23 $D_LO $D_LO $N_OUTD $N_0031 $N_0032 $G_DPWR $G_DGND 74121
++ PARAMS: PULSE=140ns IO_LEVEL=0 MNTYMXDLY=0
+V_V5 $N_5V 0 DC 5V
+E_E1 $N_REF0 0 REF GND 1
+V_VREF $N_0034 GND DC 5.125V
+E_ETSS $N_TSSG GND $N_TSS 0 1
+C_CCS $N_CSBL GND 0.5p
+X_U7 $D_HI $D_LO $N_0036 $N_0038 $N_0025 $N_0039 $G_DPWR $G_DGND
++ DLATRSH
+X_U8 $N_0040 $N_0004 $N_0034 GND REF OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+X_U11 $N_0007 $N_CSBL $N_5V 0 $N_0005 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+X_U17 $N_0020 $N_TSS $N_5V 0 $N_0019 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+X_U18 $N_TSS $N_0021 $N_5V 0 $N_0016 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+X_U2 $N_REFh FB $N_TSSG GND $N_0041 OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+X_U3 $N_CSBL $N_0001 $N_5V 0 $N_0042 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+R_R13 VCC $N_0040 10K
+R_R14 $N_0040 REF 11.5K
+X_UO1 RC $N_0043 $N_5V 0 $N_0044 OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+V_VOH $N_0043 GND DC 2.5V
+R_RO4 RC $N_0045 125
+V_VOL $N_0046 GND DC 0.2V
+X_EL1 COMP GND $N_0041 GND EILIM PARAMS:ILIMX=0.5m
+X_U31 $N_0038 $N_0024 $G_DPWR $G_DGND INV
+X_U32 $N_0047 $N_0038 $G_DPWR $G_DGND BUFST
+X_U33 $N_0042 $N_0036 $G_DPWR $G_DGND BUFST
+X_SL $N_0003 0 OUT GND UCC1802_SL
+X_SH $N_0003 0 $N_0026 OUT UCC1802_SH
+X_SBL $N_0032 0 CS $N_CSBL UCC1802_SH
+X_SO1 $N_0047 0 $N_0045 GND UCC1802_SH
+X_X1 $N_REF0 $N_TSS ILOADB PARAMS: ID=1mA VD=0.2
+C_C6 $N_0009 0 1p IC=4V
+C_C7 $N_0036 0 1p IC=4V
+C_C8 $N_0048 0 1p IC=4V
+X_UO2 $N_0046 RC $N_5V 0 $N_0048 OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+X_UO3 $D_HI $D_LO $N_0048 $N_0044 $N_0047 $N_0051 $G_DPWR $G_DGND
++ DLATRSH
+.ENDS UCC1802
+*
+.subckt UCC1802_SL 1 2 3 4
+S_SL 3 4 1 2 SW2OFFA
+RS_SL 1 2 1G
+.ends UCC1802_SL
+*
+.subckt UCC1802_SH 1 2 3 4
+S_SH 3 4 1 2 SW2ONA
+RS_SH 1 2 1G
+.ends UCC1802_SH
+*
+.subckt ILOADB IN+ IN- PARAMS: ID=1 VD=1
+J1 IN+ IN- IN- ILJ
+.PARAM VTOI={-1*VD}
+.PARAM BETI={ID/(VD*VD)}
+.model ILJ NJF (VTO={VTOI} BETA={BETI})
+.ends ILOADB
+*
+* Voltage Source with Current Limit, with Control Input
+* OUT+
+* | OUT-
+* | | Output Voltage Control +
+* | | | Output Voltage Control -
+* | | | | Limit Current
+* | | | | |
+.SUBCKT EILIM 1 2 5 6 PARAMS: ILIMX=1m
+HS 3 1 VD 1
+ES 3 4 5 6 1 ; Controls Output Voltage
+VS 4 2 0
+DD 10 0 DX
+HD 10 11 POLY(2) VS VL 0 -1MEG -1MEG
+VD 0 11 0
+VL 20 0 0
+IL 0 20 {ILIMX} ; Limit Current
+.MODEL DX D(IS=1E-15)
+.ENDS EILIM
+*
+* UCC1804 PWM controller IC *
+* connections: pins 1 - 8 sequential (8-pin pkge.)
+.SUBCKT UCC1804 COMP FB CS RC GND OUT VCC REF
+R_RP VCC GND 20K
+R_R3 $N_0002 $N_0001 20k
+R_R4 $N_0001 GND 20k
+R_RO1 $N_OUTD $N_0003 100
+R_RO2 $N_0003 0 1MEG
+C_CO $N_0003 0 500p
+D_DZ1 GND $N_0001 DZ1
+D_DZV GND VCC DZ13P5
+R_RD1 REF $N_REFh 1k
+V_VRVCC $N_0004 GND DC 6.72V
+R_RD2 $N_REFh GND 1k
+X_U10 $N_REF0 $N_0005 $N_0006 $G_DPWR $G_DGND AND2
+V_VROC $N_0007 GND DC 1.5V
+X_U12 $D_HI $D_LO $N_0009 $N_0011 $N_0012 $N_0013 $G_DPWR $G_DGND
++ DLATRSH
+X_U14 $N_0006 $N_0011 $G_DPWR $G_DGND INV
+X_U16 $N_0006 $N_0014 $N_0009 $G_DPWR $G_DGND AND2
+V_VRT1 $N_0015 0 DC 0.5V
+V_VRT2 $N_0016 0 DC 4V
+X_U19 $N_0012 $N_0017 $N_0018 $G_DPWR $G_DGND AND2
+R_RB $N_0018 $N_0019 10K
+Q_QC $N_TSS $N_0019 0 Q2N2222
+C_CTSS $N_TSS 0 1.14uF IC=4
+D_D1 COMP $N_0002 D1N3611
+D_DO VCC $N_0020 D1N3611
+X_U23 $D_LO $D_LO $N_OUTD $N_0025 $N_0026 $G_DPWR $G_DGND 74121
++ PARAMS: PULSE=140ns IO_LEVEL=0 MNTYMXDLY=0
+V_V5 $N_5V 0 DC 5V
+E_E1 $N_REF0 0 REF GND 1
+V_VREF $N_0028 GND DC 5.125V
+E_ETSS $N_TSSG GND $N_TSS 0 1
+C_CCS $N_CSBL GND 0.5p
+X_U7 $D_HI $D_LO $N_0030 $N_0032 $N_0033 $N_0034 $G_DPWR $G_DGND
++ DLATRSH
+X_U11 $N_0007 $N_CSBL $N_5V 0 $N_0005 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+X_U17 $N_0015 $N_TSS $N_5V 0 $N_0014 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+X_U18 $N_TSS $N_0016 $N_5V 0 $N_0035 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+X_U3 $N_CSBL $N_0001 $N_5V 0 $N_0036 OPAMPIC PARAMS: VRP=0.1
++ VRN=0.1 AV=100K
+R_R13 VCC $N_0037 10K
+R_R14 $N_0037 REF 11.5K
+X_UO1 RC $N_0038 $N_5V 0 $N_0039 OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+V_VOH $N_0038 GND DC 2.5V
+R_RO4 RC $N_0040 125
+X_UO2 $N_0041 RC $N_5V 0 $N_0042 OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+V_VOL $N_0041 GND DC 0.2V
+X_UO3 $D_HI $D_LO $N_0042 $N_0039 $N_0045 $N_0046 $G_DPWR $G_DGND
++ DLATRSH
+X_EL1 COMP GND $N_0047 GND EILIM PARAMS:ILIMX=0.5m
+X_U22 $N_REF0 $N_0013 $N_0048 $N_0049 $N_0033 $N_OUTD $G_DPWR
++ $G_DGND AND5
+X_U33 $N_0032 $N_0049 $G_DPWR $G_DGND INV
+X_U34 $N_0036 $N_0030 $G_DPWR $G_DGND BUFST
+X_U35 $N_0045 $N_0032 $G_DPWR $G_DGND BUFST
+X_U8 $N_0037 $N_0004 $N_0028 GND REF OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+X_U2 $N_REFh FB $N_TSSG GND $N_0047 OPAMPIC PARAMS: VRP=0.1 VRN=0.1
++ AV=100K
+C_C6 $N_0030 0 1p IC=4V
+C_C7 $N_0042 0 1p IC=4V
+X_U15 $D_HI $D_LO $N_0009 $N_0035 $N_0017 $N_0052 $G_DPWR $G_DGND
++ DLATRSH
+C_C5 $N_0009 0 1p IC=4V
+X_X1 $N_REF0 $N_TSS ILOADB PARAMS: ID=1mA VD=0.2
+X_SL $N_0003 0 OUT GND UCC1804_SL
+X_SH $N_0003 0 $N_0020 OUT UCC1804_SH
+X_U36 $D_HI $N_0032 $N_0053 $N_0048 $N_0055 $G_DPWR $G_DGND TFFRH
+R_R15 $N_0053 0 1k
+C_C8 $N_0053 0 1p IC=4V
+X_SO1 $N_0045 0 $N_0040 GND UCC1804_SH
+X_SBL $N_0026 0 CS $N_CSBL UCC1804_SH
+.ENDS UCC1804
+*
+.subckt UCC1804_SL 1 2 3 4
+S_SL 3 4 1 2 SW2OFFA
+RS_SL 1 2 1G
+.ends UCC1804_SL
+*
+.subckt UCC1804_SH 1 2 3 4
+S_SH 3 4 1 2 SW2ONA
+RS_SH 1 2 1G
+.ends UCC1804_SH
+*$
diff --git a/views/webtronix_server/spice/tl084.mod b/views/webtronix_server/spice/tl084.mod
new file mode 100644
index 0000000..4b88d2d
--- /dev/null
+++ b/views/webtronix_server/spice/tl084.mod
@@ -0,0 +1,53 @@
+* TL084 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
+* CREATED USING PARTS RELEASE 4.01 ON 06/16/89 AT 13:08
+* (REV N/A) SUPPLY VOLTAGE: +/-15V
+* EDITED TO WORK IN GNUCAP
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OUTPUT
+* | | | | |
+.SUBCKT TL084 1 2 3 4 5
+*
+ C1 11 12 3.498E-12
+ C2 6 7 15.00E-12
+ DC 5 53 DX
+ DE 54 5 DX
+ DLP 90 91 DX
+ DLN 92 90 DX
+ DP 4 3 DX
+
+** POLY font rewritten to make it work under gnucap
+* EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
+ EGND1 99 98 3 0 .5
+ EGND2 98 0 4 0 .5
+* FB 7 99 POLY(5) VB VC VE VLP VLN 0 4.715E6 -5E6 5E6 5E6 -5E6
+ FB1 7 99 VB 4.715E6
+ FB2 7 99 VC -5E6
+ FB3 7 99 VE 5E6
+ FB4 7 99 VLP 5E6
+ FB5 7 99 VLN -5E6
+
+ GA 6 0 11 12 282.8E-6
+ GCM 0 6 10 99 8.942E-9
+ ISS 3 10 DC 195.0E-6
+ HLIM 90 0 VLIM 1K
+ J1 11 2 10 JX
+ J2 12 1 10 JX
+ R2 6 9 100.0E3
+ RD1 4 11 3.536E3
+ RD2 4 12 3.536E3
+ RO1 8 5 150
+ RO2 7 99 150
+ RP 3 4 2.143E3
+ RSS 10 99 1.026E6
+ VB 9 0 DC 0
+ VC 3 53 DC 2.200
+ VE 54 4 DC 2.200
+ VLIM 7 8 DC 0
+ VLP 91 0 DC 25
+ VLN 0 92 DC 25
+.MODEL DX D(IS=800.0E-18)
+.MODEL JX PJF(IS=15.00E-12 BETA=270.1E-6 VTO=-1)
+.ENDS
diff --git a/views/webtronix_server/spice/ua741.mod b/views/webtronix_server/spice/ua741.mod
new file mode 100644
index 0000000..15dcf1a
--- /dev/null
+++ b/views/webtronix_server/spice/ua741.mod
@@ -0,0 +1,58 @@
+* UA741 OPERATIONAL AMPLIFIER "MACROMODEL" SUBCIRCUIT
+* CREATED USING PARTS RELEASE 4.01 ON 07/05/89 AT 09:09
+* (REV N/A) SUPPLY VOLTAGE: +/-15V
+* CONNECTIONS: NON-INVERTING INPUT
+* | INVERTING INPUT
+* | | POSITIVE POWER SUPPLY
+* | | | NEGATIVE POWER SUPPLY
+* | | | | OUTPUT
+* | | | | |
+.SUBCKT UA741 1 2 3 4 5
+*
+ C1 11 12 4.664E-12
+ C2 6 7 20.00E-12
+ DC 5 53 DX
+ DE 54 5 DX
+ DLP 90 91 DX
+ DLN 92 90 DX
+ DP 4 3 DX
+* EGND 99 0 POLY(2) (3,0) (4,0) 0 .5 .5
+* FB 7 99 POLY(5) VB VC VE VLP VLN 0 10.61E6 -10E6 10E6 10E6 -10E6
+* POLY font rewritten to make it work under gnucap
+* egnd 99 0 poly(2) (3,0) (4,0) 0 .5 .5
+egnd1 99 98 3 0 .5
+egnd2 98 0 4 0 .5
+* POLY font rewritten to make it work under gnucap
+* fb 7 99 poly(5) vb vc ve vlp vln 0 10.61E6 -10E6 10E6 10E6 -10E6
+ fb1 7 99 vb 10.61E6
+ fb2 7 99 vc -10E6
+ fb3 7 99 ve 10E6
+ fb4 7 99 vlp 10E6
+ fb5 7 99 vln -10E6
+
+
+ GA 6 0 11 12 137.7E-6
+ GCM 0 6 10 99 2.574E-9
+ IEE 10 4 DC 10.16E-6
+ HLIM 90 0 VLIM 1K
+ Q1 11 2 13 QX
+ Q2 12 1 14 QX
+ R2 6 9 100.0E3
+ RC1 3 11 7.957E3
+ RC2 3 12 7.957E3
+ RE1 13 10 2.740E3
+ RE2 14 10 2.740E3
+ REE 10 99 19.69E6
+ RO1 8 5 150
+ RO2 7 99 150
+ RP 3 4 18.11E3
+ VB 9 0 DC 0
+ VC 3 53 DC 2.600
+ VE 54 4 DC 2.600
+ VLIM 7 8 DC 0
+ VLP 91 0 DC 25
+ VLN 0 92 DC 25
+.MODEL DX D(IS=800.0E-18)
+.MODEL QX NPN(IS=800.0E-18 BF=62.50)
+.ENDS
+
diff --git a/views/webtronix_server/switches/ncpb.svg b/views/webtronix_server/switches/ncpb.svg
new file mode 100644
index 0000000..e5c34d2
--- /dev/null
+++ b/views/webtronix_server/switches/ncpb.svg
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="40"
+ height="30"
+>
+ <g connects="0,20;40,20"
+ stroke='black'
+ stroke-width='2px'
+ id="S"
+ class="ncpb">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="40" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>s</wtx:id>
+ <wtx:type>s</wtx:type>
+ <wtx:name>ncpb</wtx:name>
+ <wtx:category>switches</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+
+ <circle cx="13" cy="20" r="2"
+ id="path3734"
+ />
+ <circle cx="28" cy="20" r="2"
+ id="path3736"
+ />
+ <path
+ d="M 10,21 L 8.4802776,20 L 0,20"
+ id="path3740"
+ />
+ <path
+ d="M 29.006642,21 L 30,20 L 40,20"
+ id="path3742"
+ />
+ <path
+ d="M 10,24 L 30,24"
+ id="path3744"
+ />
+ <path
+ d="M 20,24 L 20,0"
+ id="path3749"
+ />
+ <rect
+ width="40"
+ height="30"
+ x="-0.86240554"
+ y="-0.021562828"
+ id="rect2162"
+ visibility="hidden" />
+ </g>
+</svg>
diff --git a/views/webtronix_server/switches/nopb.svg b/views/webtronix_server/switches/nopb.svg
new file mode 100644
index 0000000..7976b23
--- /dev/null
+++ b/views/webtronix_server/switches/nopb.svg
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="40.776154"
+ height="20"
+>
+ <defs>
+</defs>
+ <g connects="0,20;40,20"
+ stroke='black'
+ stroke-width='2px'
+ id="S"
+ class="nopb">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="40" y="20"/>
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>s</wtx:id>
+ <wtx:type>s</wtx:type>
+ <wtx:name>nopb</wtx:name>
+ <wtx:category>switches</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 14.823,17.426654 C 14.823,18.563832 14.108298,19.485697 13.226668,19.485697 C 12.345039,19.485697 11.630336,18.563832 11.630336,17.426654 C 11.630336,16.289476 12.345039,15.367611 13.226668,15.367611 C 14.108298,15.367611 14.823,16.289476 14.823,17.426654 L 14.823,17.426654 z"
+ id="path3734"
+ />
+ <path
+ d="M 28.726067,17.323298 C 28.726067,18.525458 27.989707,19.5 27.081361,19.5 C 26.173016,19.5 25.436656,18.525458 25.436656,17.323298 C 25.436656,16.121138 26.173016,15.146596 27.081361,15.146596 C 27.989707,15.146596 28.726067,16.121138 28.726067,17.323298 z"
+ id="path3736"
+ />
+ <path
+ d="M 12.138988,19.259646 L 0.49999997,19.25502"
+ id="path3740"
+ />
+ <path
+ d="M 27.816258,19.311537 L 40.276155,19.311537"
+ id="path3742"
+ />
+ <path
+ d="M 12.302377,10.596425 L 27.896333,10.596425"
+ id="path3744"
+ />
+ <path
+ d="M 19.822814,10.357704 L 19.726067,0.5"
+ id="path3749"
+ />
+ </g>
+</svg>
diff --git a/views/webtronix_server/switches/spst-relay.svg b/views/webtronix_server/switches/spst-relay.svg
new file mode 100644
index 0000000..f6521a6
--- /dev/null
+++ b/views/webtronix_server/switches/spst-relay.svg
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2816" xmlns="http://www.w3.org/2000/svg" height="60" width="60" >
+ <g
+ stroke='black'
+ stroke-width='2px'
+ id="Relay" fill="none" class="spst-relay">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="0"/>
+ <wtx:node index="2" x="0" y="40"/>
+ <wtx:node index="3" x="60" y="40"/>
+ <wtx:node index="4" x="60" y="50"/>
+ <wtx:node index="5" x="60" y="60"/>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>relay</wtx:id>
+ <wtx:type>relay</wtx:type>
+ <wtx:name>spst-relay</wtx:name>
+ <wtx:category>switches</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path id="path2830" d="m25,0,0,37"/>
+ <path id="path2832" d="m30,0,0,37"/>
+ <path id="path2834" d="m35,0,0,37"/>
+ <path id="path2857" d="m60,40-40,0,1,1,1-1"/>
+ <path id="path2859" d="m60,60-40,0,1-1,1,1"/>
+ <path id="path2863" d="m20,42,40,8"/>
+ <path
+ d="m 0,0 10,0 c 0,0 10,0 10,5 0,5 -10,5 -10,5 0,0 10,0 10,5 0,5 -10,5 -10,5 0,0 10,0 10,5 0,5 -10,5 -10,5 0,0 10,0 10,5 0,5 -10,5 -10,5 l -10,0 0,0"
+ id="path2886"
+ fill="none"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/switches/spst-switch.svg b/views/webtronix_server/switches/spst-switch.svg
new file mode 100644
index 0000000..f6643d5
--- /dev/null
+++ b/views/webtronix_server/switches/spst-switch.svg
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.1"
+ width="49.242374"
+ height="20"
+>
+ <g connects="0,20;50,20"
+ stroke='black'
+ stroke-width='2px'
+ id="g2173"
+ class="spst-switch">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20"/>
+ <wtx:node index="2" x="50" y="20"/>
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>s</wtx:id>
+ <wtx:type>s</wtx:type>
+ <wtx:name>nopb</wtx:name>
+ <wtx:category>switches</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <path
+ d="M 17.954546,17.082309 C 17.954546,18.417563 16.924911,19.5 15.654792,19.5 C 14.384672,19.5 13.355037,18.417563 13.355037,17.082309 C 13.355037,15.747055 14.384672,14.664618 15.654792,14.664618 C 16.924911,14.664618 17.954546,15.747055 17.954546,17.082309 L 17.954546,17.082309 z"
+ id="path3791"
+ fill='none'
+ />
+ <path
+ d="M 35.055281,16.787467 C 35.055281,18.220422 33.972844,19.382061 32.63759,19.382061 C 31.302337,19.382061 30.2199,18.220422 30.2199,16.787467 C 30.2199,15.354512 31.302337,14.192872 32.63759,14.192872 C 33.972844,14.192872 35.055281,15.354512 35.055281,16.787467 L 35.055281,16.787467 z"
+ id="path3793"
+fill='none'
+ />
+ <path
+ d="M 14.331806,19.282664 L 0.60195291,19.282664"
+ id="path3795"
+/>
+ <path
+ d="M 33.482259,19.243766 L 48.742374,19.243766"
+ id="path3797"
+/>
+ <path
+ d="M 17.318766,15.374036 L 27.987971,5.781071"
+ id="path3815"
+ />
+ <path
+ d="M 23.437018,6.559941 L 28.351436,5.545442 L 26.605237,10.248072"
+ id="path3817"
+fill='none' />
+ <rect
+ width="49"
+ height="20"
+ rx="0.16910876"
+ ry="0.16910876"
+ x="0"
+ y="0"
+ id="rect2164"
+ style="fill:none;stroke:none" />
+ </g>
+</svg>
diff --git a/views/webtronix_server/test/analysis.svg b/views/webtronix_server/test/analysis.svg
new file mode 100644
index 0000000..6f434a8
--- /dev/null
+++ b/views/webtronix_server/test/analysis.svg
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2816" xmlns="http://www.w3.org/2000/svg" width="50" height="50" >
+ <g id="analysis" class="analysis" stroke="#000" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>{"pins":
+ {
+ "analog":[],
+ "digital":[]
+ }
+ }
+ </wtx:pins>
+ <wtx:id>analysis</wtx:id>
+ <wtx:type>analysis</wtx:type>
+ <wtx:name>analysis</wtx:name>
+ <wtx:category>test</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+ <rect id="rect2828" height="48.489" width="48.489" stroke-width="2px" y="1" x="1" fill="none"/>
+ <text id="text3602" font-weight="normal" font-size="10px" font-style="normal" y="16.187185" x="6.7082033" font-family="Bitstream Vera Sans" fill="#000000"><tspan id="tspan3604" x="6.7082033" y="16.187185"/><tspan id="tspan3606" x="6.7082033" y="26.187185">Analysis</tspan></text>
+ </g>
+</svg>
diff --git a/views/webtronix_server/test/scope.svg b/views/webtronix_server/test/scope.svg
new file mode 100644
index 0000000..92d112d
--- /dev/null
+++ b/views/webtronix_server/test/scope.svg
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" width="50" height="40" xmlns="http://www.w3.org/2000/svg" >
+ <g id="Plot" stroke="#000" stroke-width="2px" connects="0,20" class="scope">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="0" y="20" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>plot</wtx:id>
+ <wtx:type>plot</wtx:type>
+ <wtx:name>scope</wtx:name>
+ <wtx:label></wtx:label>
+ <wtx:category>test</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip></wtx:flip>
+ <wtx:model></wtx:model>
+ <wtx:measure></wtx:measure>
+</wtx:part>
+</metadata>
+ <path id="path2193" d="M0,20h10"/>
+ <rect id="rect3658" height="40" width="40" y="0" x="10" fill="none"/>
+ <path id="path2820" d="M15.085,20.169c7.96-24.084,21.723,22.742,29.661-0.169" stroke-width="1px" fill="none"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/transistors/njfet.svg b/views/webtronix_server/transistors/njfet.svg
new file mode 100644
index 0000000..4adf6ed
--- /dev/null
+++ b/views/webtronix_server/transistors/njfet.svg
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" width="40" height="40">
+ <g id="Q" stroke="#000" stroke-width="2px" connects="0,20;30,0;30,40" flippable="true" class="njfet">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="0" y="20" />
+ <wtx:node index="3" x="30" y="40" />
+ </wtx:analog>
+
+ </wtx:pins>
+ <wtx:id>j</wtx:id>
+ <wtx:type>j</wtx:type>
+ <wtx:name>njfet</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <rect id="rect2162" visibility="hidden" height="40" width="40" y="0" x="0" fill="none"/>
+ <path id="path2840" d="M30,13,30,0"/>
+ <path id="path2844" d="M30,25,30,40" />
+ <path id="path3568" d="M16,20h-16"/>
+ <path id="path3572" d="M10,16l5.794,3.87-5.676,3.862"/>
+ <path id="path2178" d="M16.247,33.517v-27.223"/>
+ <path id="path2178" d="M16.247,33.517v-27.223"/>
+ <text id="text2823" font-size="8px" font-family="Bitstream Vera Sans" y="18.113794" x="1.0786462" stroke-width="0px" fill="#000000">G</text>
+ <text id="text2827" font-size="8px" font-family="Bitstream Vera Sans" y="7.4208322" x="33" stroke-width="0px" fill="#000000">D</text>
+ <text id="text2831" font-size="8px" font-family="Bitstream Vera Sans" y="39.414978" x="33" stroke-width="0px" fill="#000000">S</text>
+ <path id="path2838" d="M16,13,31,13"/>
+ <path id="path2842" d="M16,25,31,25"/>
+ </g>
+</svg>
+
diff --git a/views/webtronix_server/transistors/nmosfet.svg b/views/webtronix_server/transistors/nmosfet.svg
new file mode 100644
index 0000000..cd332df
--- /dev/null
+++ b/views/webtronix_server/transistors/nmosfet.svg
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40.235352"
+ height="39.925488"
+>
+ <g connects="0,20;30,0;30,40"
+ stroke='black'
+ stroke-width='2px'
+ id="m"
+ class="nmosfet"
+ flippable="true"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+<!--pin order is drain gate source substrate
+substrate is connected to source-->
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="0" y="20" />
+ <wtx:node index="3" x="30" y="40" />
+ <wtx:node index="4" x="30" y="40" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>m</wtx:id>
+ <wtx:type>m</wtx:type>
+ <wtx:name>nmosfet</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata> <rect id="rect2162" visibility="hidden" height="40" width="40" y="0" x="0" fill="none"/>
+ <path id="path2398" fill="none" d="M19.877,12.08z"/>
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="18.113794" x="1.0786462" stroke-width="0px" font-style="normal" fill="black">G</text>
+ <text id="text2827" font-size="8.0008316px" font-family="Bitstream Vera Sans" y="7.4208322" x="32.072721" stroke-width="0px" font-style="normal" fill="black">D</text>
+ <text id="text2831" font-size="8.04845715px" font-family="Bitstream Vera Sans" y="39.414978" x="32.333487" stroke-width="0px" font-style="normal" fill="black">S</text>
+ <path id="path2891" d="m20,12.925,10,0,0-13" fill="none"/>
+ <path id="path2934" d="m20,26.925,10,0,0,13" fill="none"/>
+ <path id="path2936" d="m20,19.925,10,0,0,7" fill="none"/>
+ <path id="path2938" d="m20,16.925,0,6" fill="none"/>
+ <path id="path2942" d="m20,23.925,0,6" fill="none"/>
+ <path id="path2944" d="M20,15.925,20,9.9255" fill="none"/>
+ <path id="path2946" d="M17,9.9255,17,29.925" fill="none"/>
+ <path id="path2948" d="m17,19.925-17,0" fill="none"/>
+ <path id="path3813" d="m21,19.925,3-2,0,4-3-2z" fill="none"/>
+</g>
+</svg>
diff --git a/views/webtronix_server/transistors/npn.svg b/views/webtronix_server/transistors/npn.svg
new file mode 100644
index 0000000..7cc7320
--- /dev/null
+++ b/views/webtronix_server/transistors/npn.svg
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" height="40" width="40">
+ <g id="Q" stroke="#000" stroke-width="2px" class="npn">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <!--spice order for transistors is collector base emmitter-->
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="0" y="20" />
+ <wtx:node index="3" x="30" y="40" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>npn</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <rect width="40" height="40" x="0" y="0" id="rect2162" visibility="hidden" />
+ <path id="path2178" d="M15.508,31.531l0-23.068"/>
+ <path id="path2829" d="M30,0,30,7.6063,16,16.606" fill="none"/>
+ <path id="path2831" d="m30,40,0-9-14-7" fill="none"/>
+ <path id="path3613" d="m25,31.606,2-4,3,4-5-0.000001z"/>
+ <path id="path3615" d="m0,20,15,0"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/transistors/phototrans.svg b/views/webtronix_server/transistors/phototrans.svg
new file mode 100644
index 0000000..4709b44
--- /dev/null
+++ b/views/webtronix_server/transistors/phototrans.svg
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ id="svg2"
+ height="40"
+ width="40"
+ version="1.1"
+>
+
+ <g
+ id="Q"
+ stroke="#000"
+ stroke-width="2px"
+ class="phototrans">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="30" y="40" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>phototrans</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <rect
+ width="40"
+ height="40"
+ x="0"
+ y="0"
+ id="rect2162"
+ visibility="hidden" />
+ <path
+ id="path2178"
+ d="M15.508,31.531l0-23.068" />
+ <path
+ id="path2829"
+ d="M30,0,30,7.6063,16,16.606"
+ fill="none" />
+ <path
+ id="path2831"
+ d="m30,40,0-9-14-7"
+ fill="none" />
+ <path
+ id="path3613"
+ d="m25,31.606,2-4,3,4-5-0.000001z" />
+ <path
+ id="path3615"
+ d="M 0,6.0000004 9.9999997,16" />
+ <path
+ style="fill:none"
+ id="path3780"
+ d="m 6,15.606 5,1 -1,-5 -4,4 z" />
+ </g>
+</svg>
diff --git a/views/webtronix_server/transistors/pjfet.svg b/views/webtronix_server/transistors/pjfet.svg
new file mode 100644
index 0000000..40f6835
--- /dev/null
+++ b/views/webtronix_server/transistors/pjfet.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" width="40" height="40">
+ <g id="Q" stroke="#000" stroke-width="2px" connects="0,20;30,0;30,40" flippable="true" class="pjfet">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="0" y="20" />
+ <wtx:node index="3" x="30" y="40" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>j</wtx:id>
+ <wtx:type>j</wtx:type>
+ <wtx:name>pjfet</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata>
+ <rect id="rect2162" visibility="hidden" height="40" width="40" y="0" x="0" fill="none"/>
+ <path id="path2840" d="M30,13,30,0"/>
+ <path id="path2844" d="M30,25,30,40" />
+ <path id="path3568" d="M16,20h-16"/>
+ <path id="path3572" d="M10,15l-5,5,5,5" />
+ <path id="path2178" d="M16.247,33.517v-27.223"/>
+ <text id="text2823" font-size="8px" font-family="Bitstream Vera Sans" y="18.113794" x="1.0786462" stroke-width="0px" fill="#000000">G</text>
+ <text id="text2827" font-size="8px" font-family="Bitstream Vera Sans" y="7.4208322" x="33" stroke-width="0px" fill="#000000">D</text>
+ <text id="text2831" font-size="8px" font-family="Bitstream Vera Sans" y="39.414978" x="33" stroke-width="0px" fill="#000000">S</text>
+ <path id="path2838" d="M16,13,31,13"/>
+ <path id="path2842" d="M16,25,31,25"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/transistors/pmosfet.svg b/views/webtronix_server/transistors/pmosfet.svg
new file mode 100644
index 0000000..c6268f0
--- /dev/null
+++ b/views/webtronix_server/transistors/pmosfet.svg
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="40.235352"
+ height="39.925488"
+>
+ <g
+ stroke='black'
+ stroke-width='2px'
+ id="m"
+ class="pmosfet"
+ >
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+<!--pin order is gate drain source substrate
+substrate is connected to source-->
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="0" y="20" />
+ <wtx:node index="3" x="30" y="40" />
+ <wtx:node index="4" x="30" y="40" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>m</wtx:id>
+ <wtx:type>m</wtx:type>
+ <wtx:name>pmosfet</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata> <rect id="rect2162" height="40" width="40" y="0" x="0" visibility="hidden" fill="none"/>
+ <rect id="rect2162" visibility="hidden" height="40" width="40" y="0" x="0" fill="none"/>
+ <path id="path2398" fill="none" d="M19.877,12.08z"/>
+ <text id="text2823" font-size="8.19031239px" font-family="Bitstream Vera Sans" y="18.113794" x="1.0786462" stroke-width="0px" font-style="normal" fill="black">G</text>
+ <text id="text2827" font-size="8.0008316px" font-family="Bitstream Vera Sans" y="7.4208322" x="32.072721" stroke-width="0px" font-style="normal" fill="black">D</text>
+ <text id="text2831" font-size="8.04845715px" font-family="Bitstream Vera Sans" y="39.414978" x="32.333487" stroke-width="0px" font-style="normal" fill="black">S</text>
+ <path id="path2891" d="m20,12.925,10,0,0-13" fill="none"/>
+ <path id="path2934" d="m20,26.925,10,0,0,13" fill="none"/>
+ <path id="path2936" d="m20,19.925,10,0,0,7" fill="none"/>
+ <path id="path2938" d="m20,16.925,0,6" fill="none"/>
+ <path id="path2942" d="m20,23.925,0,6" fill="none"/>
+ <path id="path2944" d="M20,15.925,20,9.9255" fill="none"/>
+ <path id="path2946" d="M17,9.9255,17,29.925" fill="none"/>
+ <path id="path2948" d="m17,19.925-17,0" fill="none"/>
+
+ <path id="path2952" d="m26,17.925,3,2-3,2,0-4z" fill="none"/>
+
+ </g>
+</svg>
diff --git a/views/webtronix_server/transistors/pnp.svg b/views/webtronix_server/transistors/pnp.svg
new file mode 100644
index 0000000..5ce2635
--- /dev/null
+++ b/views/webtronix_server/transistors/pnp.svg
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg id="svg2" xmlns="http://www.w3.org/2000/svg" height="40" width="40">
+ <g id="Q" stroke="#000" stroke-width="2px" class="pnp">
+<metadata class="part" >
+<wtx:part xmlns:wtx="/home/niel/Desktop/webtronics" >
+ <wtx:pins>
+ <wtx:analog>
+ <wtx:node index="1" x="30" y="0" />
+ <wtx:node index="2" x="0" y="20" />
+ <wtx:node index="3" x="30" y="40" />
+ </wtx:analog>
+ </wtx:pins>
+ <wtx:id>q</wtx:id>
+ <wtx:type>q</wtx:type>
+ <wtx:name>pnp</wtx:name>
+ <wtx:category>transistors</wtx:category>
+ <wtx:value></wtx:value>
+ <wtx:label></wtx:label>
+ <wtx:spice></wtx:spice>
+ <wtx:flip>true</wtx:flip>
+ <wtx:model></wtx:model>
+</wtx:part>
+</metadata> <rect width="40" height="40" x="0" y="0" id="rect2162" visibility="hidden" />
+ <path id="path2178" d="M15,31l0-23"/>
+ <path id="path2829" fill="none" d="M30,0,30,7,16,17"/>
+ <path id="path2831" fill="none" d="m30,40,0-9-14-7"/>
+ <path id="path3613" d="m20,28,2-4-5,0,3,4z"/>
+ <path id="path3615" d="m0,20,15,0"/>
+ </g>
+</svg>
diff --git a/views/webtronix_server/webtronix_server.html b/views/webtronix_server/webtronix_server.html
new file mode 100644
index 0000000..61642cc
--- /dev/null
+++ b/views/webtronix_server/webtronix_server.html
@@ -0,0 +1,48 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="UTF-8">
+<script>
+function openfile(Name,response){
+var xmlhttp;
+if (window.XMLHttpRequest)
+{// code for IE7+, Firefox, Chrome, Opera, Safari
+xmlhttp=new XMLHttpRequest();
+}
+else
+{// code for IE6, IE5
+xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
+}
+xmlhttp.onreadystatechange=function()
+{
+if (xmlhttp.readyState==4 && xmlhttp.status==200)
+{
+response({"filename":Name,"text":xmlhttp.responseText});
+}
+}
+xmlhttp.open("GET",Name,true);
+xmlhttp.send();
+}
+function sendfile(response){
+//http://stackoverflow.com/questions/3076414/ways-to-circumvent-the-same-origin-policy
+window.parent.postMessage(response,'*');
+}
+//http://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript
+function getParameterByName(name) {
+name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
+var regex = new RegExp("[\\?&#]" + name + "=([^&#]*)"),
+results = regex.exec(location.search);
+return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
+}
+function servefile(){
+var request = getParameterByName('file');
+if(request!="")openfile(request,sendfile);
+else openfile("parts.json",sendfile);
+}
+</script>
+</head>
+<body onload="servefile()">
+this is a webtronics javascript server.
+request ?file=parts.json for list of files.
+</body>
+</html>