From cf4db29d5bdc31201252d92d90052faa8e9fc1e7 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sun, 3 Mar 2024 09:40:19 +0100 Subject: [PATCH] Minor changes --- Makefile | 8 + source/electronics/components.rst | 22 + source/electronics/esl.rst | 5 + source/electronics/figures/esl.svg | 1598 ++++++++++++++++++++++++++ source/electronics/figures/gen_c.svg | 157 +++ source/electronics/figures/gen_v.svg | 163 +++ source/electronics/resistors.rst | 2 - source/index.rst | 2 +- 8 files changed, 1954 insertions(+), 3 deletions(-) create mode 100644 source/electronics/components.rst create mode 100644 source/electronics/esl.rst create mode 100644 source/electronics/figures/esl.svg create mode 100644 source/electronics/figures/gen_c.svg create mode 100644 source/electronics/figures/gen_v.svg delete mode 100644 source/electronics/resistors.rst diff --git a/Makefile b/Makefile index 1cc691e..cad98a8 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/source/electronics/components.rst b/source/electronics/components.rst new file mode 100644 index 0000000..23c8edc --- /dev/null +++ b/source/electronics/components.rst @@ -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 `__: + + .. 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| diff --git a/source/electronics/esl.rst b/source/electronics/esl.rst new file mode 100644 index 0000000..b663c99 --- /dev/null +++ b/source/electronics/esl.rst @@ -0,0 +1,5 @@ +.. |igen_c| image:: figures/gen_c.svg + :width: 80px + +.. |igen_v| image:: figures/gen_v.svg + :width: 58px \ No newline at end of file diff --git a/source/electronics/figures/esl.svg b/source/electronics/figures/esl.svg new file mode 100644 index 0000000..71ec1f3 --- /dev/null +++ b/source/electronics/figures/esl.svg @@ -0,0 +1,1598 @@ + + + + Electric Components Library + + + + + + image/svg+xml + + Electric Components Library + + + + Filip Dominec and contributors + + + + + Filip Dominec and contributors + + + A library of SVG symbols to be used in electric and electronic circuit diagrams in Wikimedia Projects. + + + 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 (<https://commons.wikimedia.org/wiki/User:Wikimpan>; <https://mpan.pl/>) + + + + + + + + + + + + + + + + Semiconductor devices + + + + + Mechanical switches + + + + + Basic logic blocks + + + + + Transistors + + + + + Diodes (semiconductor) + + + + + Transformers + + + + + Sources, connectors + + ElCompLib + Copyright © 2007 Filip Dominec and contributors; Donated to the Public Domain + + Major grid: 7pxFont: DejaVu Sans Mono 10pt 20pt Line spacing: 14px 28pxWire thickness: 3.5px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Linear components + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +5V + + + + + -5V + + + + + V + CC + + + V + EE + + + + + + + + + + + 5V + + + + + + + + + 5V + + + + + + + + 60V + + + + + + + + + + + + + + + 60V + + + + + + + + + + + + + + + 120V + + + + + + + + + + + + + + + + + 5V + + + + + + 50V + + + + + + + 100mA + + + + + + + 100mA + + + + + + + + + + + + + + + + ANT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5.6V + + + + + + + 5.6V + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + D + Q + + + + + E + Q + + + + + D + Q + + + + + Q + + + + + + + + J + Q + + + + + K + Q + + + + + + + + + A + Y + + + + B + + + CIN + COUT + + + A + Y + B + + + + + + + CIN + COUT + + + + + + + + + + + + + + + + 4 + + + + + + + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 7805 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Vacuum tubes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + V + + + + + + A + + + + + + G + + + + + + + V + + + + + + + + A + + + + + + Other things + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/source/electronics/figures/gen_c.svg b/source/electronics/figures/gen_c.svg new file mode 100644 index 0000000..953090f --- /dev/null +++ b/source/electronics/figures/gen_c.svg @@ -0,0 +1,157 @@ + + + + + Electric Components Library + + + + + + image/svg+xml + + Electric Components Library + + + + Filip Dominec and contributors + + + + + Filip Dominec and contributors + + + A library of SVG symbols to be used in electric and electronic circuit diagrams in Wikimedia Projects. + + + 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 (<https://commons.wikimedia.org/wiki/User:Wikimpan>; <https://mpan.pl/>) + + + + + + + + + + + + + + + + + 100mA + + + + + diff --git a/source/electronics/figures/gen_v.svg b/source/electronics/figures/gen_v.svg new file mode 100644 index 0000000..a8dc72b --- /dev/null +++ b/source/electronics/figures/gen_v.svg @@ -0,0 +1,163 @@ + + + + + Electric Components Library + + + + + + image/svg+xml + + Electric Components Library + + + + Filip Dominec and contributors + + + + + Filip Dominec and contributors + + + A library of SVG symbols to be used in electric and electronic circuit diagrams in Wikimedia Projects. + + + 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 (<https://commons.wikimedia.org/wiki/User:Wikimpan>; <https://mpan.pl/>) + + + + + + + + + + + + + + + + + + + + 5V + + + diff --git a/source/electronics/resistors.rst b/source/electronics/resistors.rst deleted file mode 100644 index 51dbcea..0000000 --- a/source/electronics/resistors.rst +++ /dev/null @@ -1,2 +0,0 @@ -Resistors -=================== diff --git a/source/index.rst b/source/index.rst index 8982486..fba6826 100644 --- a/source/index.rst +++ b/source/index.rst @@ -33,7 +33,7 @@ Welcome to ScienceNotes's documentation! :numbered: :caption: Electronics - electronics/resistors.rst + electronics/components.rst Indices and tables ==================