\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw (-0.4,0.8) node[ocirc]{} to[empty diode] (1.6,0.8) node[ocirc]{};
\node[note] at (-0.2,1.5) {anode}; \node[note] at (1.4,1.5) {cathode};
\draw[note, ->] (-0.2,1.35) -- (0.2,0.95); \draw[note, ->] (1.4,1.35) -- (1.0,0.95);
% forward bias
\begin{scope}[xshift=3.2cm]
\draw (0,1.2) node[ocirc]{} -- (0.3,1.2) to[empty diode] (2.1,1.2) -- (2.4,1.2) node[ocirc]{};
\node[font=\small] at (0.55,1.5) {p}; \node[font=\small] at (1.85,1.5) {n};
\draw (0,1.2) -- (0,0) -- (0.6,0) to[battery1] (1.8,0) -- (2.4,0) -- (2.4,1.2);
\node[font=\small] at (0.95,-0.35) {$+$}; \node[font=\small] at (1.45,-0.35) {$-$};
\node at (1.2,-0.9) {forward bias};
\end{scope}
% reverse bias
\begin{scope}[xshift=6.6cm]
\draw (0,1.2) node[ocirc]{} -- (0.3,1.2) to[empty diode] (2.1,1.2) -- (2.4,1.2) node[ocirc]{};
\node[font=\small] at (0.55,1.5) {p}; \node[font=\small] at (1.85,1.5) {n};
\draw (0,1.2) -- (0,0) -- (0.6,0) to[battery1, invert] (1.8,0) -- (2.4,0) -- (2.4,1.2);
\node[font=\small] at (0.95,-0.35) {$-$}; \node[font=\small] at (1.45,-0.35) {$+$};
\node at (1.2,-0.9) {reverse bias};
\end{scope}
\end{circuitikz}
\end{document}
