\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../fm.tikz}
\begin{document}
\begin{circuitikz}[font=\small]
\draw (-0.2,2.4) node[ocirc]{} node[left]{$V_\mathrm{in}$} -- (1.0,2.4);
\draw (1.0,2.4) to[R, l_=$R_1$] (3.0,2.4) -- (4.2,2.4) node[ocirc]{} node[right]{$V_\mathrm{out}$};
\draw (1.0,2.4) -- (1.0,3.2); \draw (3.0,3.2) -- (3.0,2.4);
\draw (1,3.2) to[empty diode, l={$D_1$}] (3,3.2);
\fill (1.0,2.4) circle (1.6pt) (3.0,2.4) circle (1.6pt);
\draw (3.0,2.4) to[R, l_=$R_2$] (3.0,1.1) to[battery1, l=$V_\mathrm{B}$] (3.0,0) node[ground]{};

\end{circuitikz}
\end{document}
