122 lines
4.4 KiB
TeX
122 lines
4.4 KiB
TeX
\documentclass[tikz]{standalone}
|
|
\usepackage{circuitikz}
|
|
\usepackage{siunitx}
|
|
|
|
\begin{document}
|
|
\begin{tikzpicture}
|
|
%car
|
|
\draw[color=lightgray]
|
|
% left wheel housing
|
|
(1,1) -- ++(0,2)
|
|
.. controls +(0,0.5) and +(0,0.5) .. ++(1.5,-0.75)
|
|
-- ++(0,-0.25)
|
|
% left light
|
|
(1.25,1) -- ++(0,1.25)
|
|
.. controls +(0,0.25) .. ++(0.5,0)
|
|
.. controls +(0.5,-0.25) .. ++(0.5,-0.5)
|
|
-- ++(0,-0.75)
|
|
.. controls +(0,-0.25) .. ++(-0.25,-0.25)
|
|
-- ++(-0.5,0)
|
|
.. controls +(-0.25,0) .. ++(-0.25,0.25)
|
|
++(0.5,0.15) circle[radius=0.25]
|
|
++(-0.1,0.45) circle[radius=0.15]
|
|
++(-0.05,0.35) circle[radius=0.1]
|
|
% floor
|
|
(1,1) .. controls +(0,-0.5) .. ++(0.5,-0.5)
|
|
-- ++(6.5,0)
|
|
.. controls +(0.5,0) .. ++(0.5,0.5)
|
|
% right wheel housing
|
|
-- ++(0,2)
|
|
.. controls +(0,0.5) and +(0,0.5) .. ++(-1.5,-0.75)
|
|
-- ++(0,-0.25)
|
|
% right light
|
|
(8.25,1) -- ++(0,1.25)
|
|
.. controls +(0,0.25) .. ++(-0.5,0)
|
|
.. controls +(-0.5,-0.25) .. ++(-0.5,-0.5)
|
|
-- ++(0,-0.75)
|
|
.. controls +(0,-0.25) .. ++(0.25,-0.25)
|
|
-- ++(0.5,0)
|
|
.. controls +(0.25,0) .. ++(0.25,0.25)
|
|
++(-0.5,0.15) circle[radius=0.25]
|
|
++(0.1,0.45) circle[radius=0.15]
|
|
++(0.05,0.35) circle[radius=0.1]
|
|
% ventilation
|
|
(3.5,2) -- ++(0.25,-0.25)
|
|
.. controls +(0.1,-0.1) .. ++(0.2,-0.1)
|
|
-- ++(1.6,0)
|
|
.. controls +(0.1,0) .. ++(0.2,0.1)
|
|
-- ++(0.25,0.25)
|
|
(2.7,0.5) -- ++(0.1,0.1)
|
|
.. controls +(0.1,0.1) .. ++(0.2,0.1)
|
|
-- ++(3.5,0)
|
|
.. controls +(0.1,0) .. ++(0.2,-0.1)
|
|
-- ++(0.1,-0.1)
|
|
%cockpit
|
|
(2.4,2.5) .. controls +(1,-0.2) and +(-1,-0.2) .. ++(4.7,0)
|
|
(2.15,2.75) -- ++(0.3,0.5)
|
|
.. controls +(0.6,1) and +(-0.6,1) .. ++(4.6,0)
|
|
-- ++(0.3,-0.5)
|
|
++(-0.3,0.5) .. controls +(-0.3,0.6) and +(0.3,0.6) .. ++(-4.6,0)
|
|
%spoiler
|
|
(1.75,3) -- ++(0,0.75)
|
|
-- ++(0.05,0)
|
|
-- ++ (0,-0.78)
|
|
++(0,0.7) -- ++(1.165,0)
|
|
++(-1.165,-0.4) -- ++(0.66,0)
|
|
(7.75,3) -- ++(0,0.75)
|
|
-- ++(-0.05,0)
|
|
-- ++ (0,-0.78)
|
|
++(0,0.7) -- ++(-1.165,0)
|
|
++(1.165,-0.4) -- ++(-0.66,0)
|
|
%wheels
|
|
(1.25,0.5) -- ++(0,-0.2)
|
|
-- ++(1,0)
|
|
-- ++(0,0.2)
|
|
(8.25,0.5) -- ++(0,-0.2)
|
|
-- ++(-1,0)
|
|
-- ++(0,0.2);
|
|
%controller
|
|
\draw[color=lightgray]
|
|
(-3.25,4.25) [rounded corners=7.5] -- ++(1.5,0.375)
|
|
[rounded corners=1.5] .. controls +(-0.75,-0.75) .. ++(-0.375,-1.125)
|
|
.. controls +(-0.3,-0.45) .. ++(0,-0.75)
|
|
.. controls +(-0.3,-0.45) .. ++(0,-0.75)
|
|
[rounded corners=7.5] .. controls +(-0.3,-0.45) .. ++(0.375,-1.5)
|
|
-- ++(-1.5,0)
|
|
.. controls +(-0.525,1.8) .. ++(-0.3,3.225)
|
|
-- cycle
|
|
[sharp corners] ++(0.5,0.125) -- ++(0,0.6)
|
|
-- ++(-0.3,-0.075)
|
|
-- ++(0,0.05)
|
|
-- ++(0.7,0.175)
|
|
-- ++(0,-0.05)
|
|
-- ++(-0.3,-0.075)
|
|
-- ++(0,-0.6);
|
|
|
|
%circuit
|
|
\draw (-4, -1) node[anchor=east] {$+$}
|
|
to[open, v=${14.8V}$, voltage=straight, o-o] ++(0,-1)
|
|
node[anchor=east] {$-$}
|
|
(-3.5,-1) node[jump crossing](tmpX){}
|
|
(-3,3.6) to[pR, name=poti, resistors/width=1.5, resistors/zigs=9, l=$\SI{30}{\ohm}$ ] ++(0,-2.1)
|
|
-- ++(0,-2.5)
|
|
-- (tmpX.east)
|
|
(-4,-1) -- (tmpX.west)
|
|
(-4,-2) to[short, -*] ++(0.5,0)
|
|
-- (tmpX.south)
|
|
(tmpX.north) -- (-3.5,3.8)
|
|
to[short, -*] ++(0.5,0)
|
|
(poti.wiper) -- (poti.wiper |- 42,-1)
|
|
-- (3.5,-1)
|
|
-- ++(0,1.75)
|
|
to[R=$\SI{6,8}{\ohm}$] ++(0,1.5)
|
|
to[C=$22nF$, name=cap] ++(2.5,0)
|
|
to[R=$\SI{6,8}{\ohm}$] ++(0,-1.5)
|
|
-- ++(0,-2.75)
|
|
-- ++(-9.5,0)
|
|
(cap.center) ++(-0.75,0) to[short, *-] ++(0,-1)
|
|
to[Telmech=M] ++(1.5,0)
|
|
to[short, -*] ++(0,1);
|
|
\end{tikzpicture}
|
|
\end{document}
|