\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\fill[gafill] (2.2,0) rectangle (3.8,1.8);
\draw[line width=1.1pt] (0,0) rectangle (6,1.8);
\draw (3,0) -- (3,1.8);
\pnions{2.45}{0.1}{1.7}{4}{+} \pnions{2.75}{0.1}{1.7}{4}{+} \pnions{3.25}{0.1}{1.7}{4}{-} \pnions{3.55}{0.1}{1.7}{4}{-}
\node at (1.3,2.1) {n}; \node at (4.7,2.1) {p};
\fill (-0.05,0.65) rectangle (0.05,1.15); \fill (5.95,0.65) rectangle (6.05,1.15);
\draw (0,0.9) -- (-1.2,0.9) -- (-1.2,-1.4) -- (2.4,-1.4) to[battery1, l_=$V_\mathrm{R}$] (3.6,-1.4) -- (7.2,-1.4) -- (7.2,0.9) -- (6,0.9);
\node[font=\small] at (2.75,-1.05) {$+$}; \node[font=\small] at (3.25,-1.05) {$-$};
\end{circuitikz}
\end{document}
