\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw[line width=1.1pt] (0,0) rectangle (5,1.4);
\draw (2.2,0) -- (2.2,1.4) (2.9,0) -- (2.9,1.4);
\node at (1.1,1.65) {n}; \node at (3.9,1.65) {p};
\node at (0.8,0.5) {$N_\mathrm{d}$}; \node at (4.1,0.5) {$N_\mathrm{a}$};
\node[font=\small] at (1.8,1.0) {$e^-$};
\foreach \y in {0.6,0.75,0.9,1.05,1.2} \draw[->, gaaccent] (2.2,\y) -- (2.95,\y);
\draw[<-, gaaccent] (2.3,0.25) -- (3.05,0.25) node[right, font=\small, black]{$h$};
\node[note, align=center] (hd) at (-1.7,0.9) {Heavily\\doped};
\draw[note, ->] (hd.east) to[bend left=15] (0.4,1.1);
\node[note, align=center] (ld) at (6.6,1.9) {Lightly\\doped};
\draw[note, ->] (ld.south west) to[bend right=15] (4.6,1.1);
\draw (0,0.8) -- (-0.4,0.8) -- (-0.4,-1.2) -- (2.0,-1.2) to[battery1, invert] (3.0,-1.2) -- (5.4,-1.2) -- (5.4,0.8) -- (5,0.8);
\node[font=\small] at (2.2,-0.85) {$-$}; \node[font=\small] at (2.8,-0.85) {$+$};
\end{circuitikz}
\end{document}
