\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{tikzpicture}
\draw[line width=1.1pt] (0,0) rectangle (6,1.6);
\fill[gafill] (2.6,0) rectangle (3.4,1.6);
\draw[line width=1.1pt] (0,0) rectangle (6,1.6);
\draw[dashed] (3,0) -- (3,1.6); \draw (2.6,0) -- (2.6,1.6) (3.4,0) -- (3.4,1.6);
\foreach \y in {0.25,0.6,0.95,1.3} {\node[draw, circle, inner sep=0.4pt, font=\scriptsize] at (2.8,\y) {$+$}; \node[draw, circle, inner sep=0.4pt, font=\scriptsize] at (3.2,\y) {$-$};}
\node at (1.3,1.9) {n}; \node at (4.7,1.9) {p};
\node[right, font=\small] at (0.05,1.25) {$n_\mathrm{n}$}; \draw[gaaccent] (0.7,1.25) -- (2.5,1.25);
\node[right, font=\small] at (0.05,0.35) {$p_\mathrm{n}$}; \draw[gaaccent] (0.7,0.35) -- (2.5,0.35);
\draw[gaaccent] (3.5,1.25) -- (5.4,1.25) node[right, black, font=\small]{$p_\mathrm{p}$};
\draw[gaaccent] (3.5,0.35) -- (5.4,0.35) node[right, black, font=\small]{$n_\mathrm{p}$};
\draw[->] (2.75,1.85) -- (3.25,1.85) node[above, midway]{$\vec E$};
\draw (0,0.8) -- (-0.5,0.8) node[circle, draw, fill=white, inner sep=1.5pt]{};
\draw (6,0.8) -- (6.5,0.8) node[circle, draw, fill=white, inner sep=1.5pt]{};
\draw[<-] (2.2,-0.5) -- (3.8,-0.5) node[midway, below]{$I$} node[right, note]{conventional current};
\draw[note, <-] (3,-0.05) to[bend left=25] (1,-1.1) node[below, align=center]{depletion region\\(no charge carriers)};
\end{tikzpicture}
\end{document}
