Minor changes

This commit is contained in:
Loic Guegan 2024-03-03 09:40:19 +01:00
parent 0243b872e8
commit cf4db29d5b
8 changed files with 1954 additions and 3 deletions

View file

@ -16,6 +16,14 @@ help:
watch:
find ./source -type f | entr make html
# Custom (by me Loïc Guégan)
edit:
code ./source
# Custom (by me Loïc Guégan)
open:
firefox build/html/index.html
.PHONY: help Makefile watch
# Catch-all target: route all unknown targets to Sphinx using the new

View file

@ -0,0 +1,22 @@
Components
---------------
Two types of electronic components:
1) Active: Source of energy (includes amplifying components such as transistors)
2) Passive: Cannot introduce energy into the circuit
.. note::
You can design svg circuits using the `Electrical Symbols Library <https://upload.wikimedia.org/wikipedia/commons/6/6a/Electrical_symbols_library.svg>`__:
.. image:: figures/esl.svg
:align: center
:width: 200px
Generators
^^^^^^^^^^^^
.. include:: esl.rst
There are two important generators to know:
1) Current generators |igen_c|
2) Voltage generators |igen_v|

View file

@ -0,0 +1,5 @@
.. |igen_c| image:: figures/gen_c.svg
:width: 80px
.. |igen_v| image:: figures/gen_v.svg
:width: 58px

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 382 KiB

View file

@ -0,0 +1,157 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="144.54176"
height="87.5"
viewBox="0 0 144.54176 87.5"
version="1.1"
id="svg8"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="gen_c.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title56">Electric Components Library</title>
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.48151453"
inkscape:cx="359.28303"
inkscape:cy="10.383903"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:snap-text-baseline="true"
inkscape:window-width="1904"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="48"
inkscape:window-maximized="1"
inkscape:snap-center="false"
inkscape:snap-object-midpoints="false"
inkscape:lockguides="true"
inkscape:snap-smooth-nodes="true"
showguides="true"
inkscape:snap-midpoints="false"
inkscape:object-nodes="true"
inkscape:object-paths="true"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:snap-others="true"
inkscape:snap-grids="true"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Electric Components Library</dc:title>
<cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
<dc:creator>
<cc:Agent>
<dc:title>Filip Dominec and contributors</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>Filip Dominec and contributors</dc:title>
</cc:Agent>
</dc:rights>
<dc:description>A library of SVG symbols to be used in electric and electronic circuit diagrams in Wikimedia Projects.</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>Filip Dominec (https://commons.wikimedia.org/wiki/User:FDominec)
Omegatron (https://commons.wikimedia.org/wiki/User:Omegatron)
WvBraun (https://commons.wikimedia.org/wiki/User:WvBraun)
Zedh (https://commons.wikimedia.org/wiki/User:Zedh)
Rainglasz (see: Wikimedia Commons)
Guruleninn (see: Wikimedia Commons)
WarX (https://commons.wikimedia.org/wiki/User:WarX)
Spuzzdawg~commonswiki (see: Wikimedia Commons)
Sunspeanzler (https://commons.wikimedia.org/wiki/User:Sunspeanzler)
Tlapicka (see: Wikimedia Commons)
Xorx (https://commons.wikimedia.org/wiki/User:Xorx)
Pemu (https://commons.wikimedia.org/wiki/User:Pemu)
mpan (&lt;https://commons.wikimedia.org/wiki/User:Wikimpan&gt;; &lt;https://mpan.pl/&gt;)
</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-278.25,-253.66664)">
<g
id="g1951"
transform="translate(0,-14)">
<circle
r="28"
cy="311.41666"
cx="308"
id="circle1914"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 308,339.41664 v 14"
id="path1916"
inkscape:connector-curvature="0" />
<path
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 308,283.41664 v -14"
id="path1918"
inkscape:connector-curvature="0" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:26.6667px;line-height:28px;font-family:'DejaVu Sans Mono';-inkscape-font-specification:'DejaVu Sans Mono';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="343"
y="304.41666"
id="text1928"><tspan
sodipodi:role="line"
id="tspan1926"
x="343"
y="304.41666">100mA</tspan></text>
<path
sodipodi:nodetypes="cc"
inkscape:connector-curvature="0"
id="path1940"
d="m 308,332.41665 v -33.25"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path1942"
d="m 308,290.41665 -5.25,10.5 h 10.5 z"
style="opacity:1;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
width="96.117188"
height="87.5"
viewBox="0 0 96.117188 87.5"
version="1.1"
id="svg8"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
sodipodi:docname="gen_v.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<title
id="title56">Electric Components Library</title>
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4642602"
inkscape:cx="77.172075"
inkscape:cy="47.122772"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
units="px"
inkscape:snap-text-baseline="true"
inkscape:window-width="1904"
inkscape:window-height="1016"
inkscape:window-x="0"
inkscape:window-y="48"
inkscape:window-maximized="1"
inkscape:snap-center="false"
inkscape:snap-object-midpoints="false"
inkscape:lockguides="true"
inkscape:snap-smooth-nodes="true"
showguides="true"
inkscape:snap-midpoints="false"
inkscape:object-nodes="true"
inkscape:object-paths="true"
inkscape:snap-bbox="false"
inkscape:snap-global="true"
inkscape:snap-others="true"
inkscape:snap-grids="true"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Electric Components Library</dc:title>
<cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
<dc:creator>
<cc:Agent>
<dc:title>Filip Dominec and contributors</dc:title>
</cc:Agent>
</dc:creator>
<dc:rights>
<cc:Agent>
<dc:title>Filip Dominec and contributors</dc:title>
</cc:Agent>
</dc:rights>
<dc:description>A library of SVG symbols to be used in electric and electronic circuit diagrams in Wikimedia Projects.</dc:description>
<dc:contributor>
<cc:Agent>
<dc:title>Filip Dominec (https://commons.wikimedia.org/wiki/User:FDominec)
Omegatron (https://commons.wikimedia.org/wiki/User:Omegatron)
WvBraun (https://commons.wikimedia.org/wiki/User:WvBraun)
Zedh (https://commons.wikimedia.org/wiki/User:Zedh)
Rainglasz (see: Wikimedia Commons)
Guruleninn (see: Wikimedia Commons)
WarX (https://commons.wikimedia.org/wiki/User:WarX)
Spuzzdawg~commonswiki (see: Wikimedia Commons)
Sunspeanzler (https://commons.wikimedia.org/wiki/User:Sunspeanzler)
Tlapicka (see: Wikimedia Commons)
Xorx (https://commons.wikimedia.org/wiki/User:Xorx)
Pemu (https://commons.wikimedia.org/wiki/User:Pemu)
mpan (&lt;https://commons.wikimedia.org/wiki/User:Wikimpan&gt;; &lt;https://mpan.pl/&gt;)
</dc:title>
</cc:Agent>
</dc:contributor>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-26.25,-253.66665)">
<g
id="g2769">
<circle
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
id="circle1800"
cx="56"
cy="297.41666"
r="28" />
<path
inkscape:connector-curvature="0"
id="path1820"
d="m 56,325.41665 v 14"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path1822"
d="m 56,269.41665 v -14"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#000000;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
<path
sodipodi:nodetypes="cc"
id="path1836"
d="M 61.25,279.91665 H 50.75"
style="fill:none;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cc"
id="path1838"
d="m 56,285.16665 v -10.5"
style="fill:none;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:2px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 61.25,314.91665 H 50.75"
id="path1852"
sodipodi:nodetypes="cc" />
<text
id="text1856"
y="290.41666"
x="91"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:26.6667px;line-height:28px;font-family:'DejaVu Sans Mono';-inkscape-font-specification:'DejaVu Sans Mono';text-align:start;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
xml:space="preserve"><tspan
y="290.41666"
x="91"
id="tspan1854"
sodipodi:role="line">5V</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 6.4 KiB

View file

@ -1,2 +0,0 @@
Resistors
===================

View file

@ -33,7 +33,7 @@ Welcome to ScienceNotes's documentation!
:numbered:
:caption: Electronics
electronics/resistors.rst
electronics/components.rst
Indices and tables
==================