\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{tikzpicture}[font=\small]
\draw[line width=1pt] (0,0) rectangle (2.4,0.9); \draw[line width=1pt] (1.2,0) -- (1.2,0.9);
\node at (0.6,0.45) {$n$}; \node at (1.8,0.45) {$p$};
\draw[line width=1pt] (3.4,0) rectangle (5.8,0.9); \draw[line width=1pt] (4.6,0) -- (4.6,0.9);
\node at (4.0,0.45) {$n$}; \node at (5.2,0.45) {$p$};
\draw (2.4,0.45) -- (3.4,0.45);
\draw (0,0.45) -- (-0.4,0.45) node[ocirc]{}; \draw (5.8,0.45) -- (6.2,0.45) node[ocirc]{};
\node at (0.15,-0.25) {$-$}; \node at (1.2,-0.3) {$V_\mathrm{D1}$}; \node at (2.25,-0.25) {$+$};
\node at (3.55,-0.25) {$-$}; \node at (4.6,-0.3) {$V_\mathrm{D2}$}; \node at (5.65,-0.25) {$+$};
\node at (-0.4,1.4) {$-$}; \node at (2.9,1.45) {$V_\mathrm{D,tot}$}; \node at (6.2,1.4) {$+$};
\draw (-0.4,0.45) -- (-0.4,-1.2) -- (2.7,-1.2);
\draw (2.7,-1.2) to[battery1, invert] (3.3,-1.2);
\draw (3.3,-1.2) -- (6.2,-1.2) -- (6.2,0.45);
\node at (2.45,-0.9) {$-$}; \node at (3.55,-0.9) {$+$}; \node at (3.0,-1.75) {$V_\mathrm{F}$};
\draw[->] (6.45,-0.6) -- (6.45,0.2) node[midway,right]{$I_\mathrm{D}$};
\draw[gaaccent,->] (2.7,-0.55) arc[start angle=200, end angle=-20, radius=0.22]; \node[gaaccent, font=\footnotesize, right] at (3.15,-0.6) {KVL};
\end{tikzpicture}
\end{document}
