\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee1.tikz}
\begin{document}
\begin{circuitikz}
\draw (0,0) to[american voltage source, l=$V_\mathrm{in}$, invert] (0,1.8) to[empty diode] (1.6,1.8) -- (3.6,1.8) node[ocirc]{};
\draw (1.6,1.8) node[circ]{} to[C, l_=$C_1$] (1.6,0) node[circ]{};
\draw (2.8,1.8) node[circ]{} to[R, l_=$R_1$] (2.8,0) node[circ]{};
\draw (0,0) -- (3.6,0) node[ocirc]{};
\draw (3.6,1.5) node[font=\small]{$+$} (3.6,0.3) node[font=\small]{$-$};
\node at (4.2,0.9) {$V_\mathrm{out}$};
\draw[note, <-] (2.95,0.6) to[bend left=20] (3.4,-0.6) node[below]{laptop};
\draw[double, ->] (4.8,0.9) -- (5.7,0.9);
\begin{scope}[xshift=6.6cm]
\draw (0,1.8) -- (3.6,1.8) node[ocirc]{};
\draw (0,1.8) to[C, l=$V_0 - V_\mathrm{D,on}$] (0,0);
\draw (-0.3,1.45) node[font=\small]{$+$} (-0.3,0.35) node[font=\small]{$-$};
\draw (2.6,1.8) node[circ]{} to[R, l=$R_1$] (2.6,0) node[circ]{};
\draw (0,0) -- (3.6,0) node[ocirc]{};
\draw (3.6,1.5) node[font=\small]{$+$} (3.6,0.3) node[font=\small]{$-$};
\node at (4.2,0.9) {$V_\mathrm{out}$};
\begin{axis}[sketch, at={(0.6cm,-3.2cm)}, width=4cm, height=3cm, xmin=0, xmax=1, ymin=0, ymax=1, xlabel={$t$}, ylabel={$V_\mathrm{out}$}]
  \addplot[domain=0:0.95, samples=60] {0.85*exp(-x/0.25)};
\end{axis}
\end{scope}
\end{circuitikz}
\end{document}
