\documentclass{beamer}
\usepackage{times,isolatin1}
\usepackage[frenchb]{babel}
\usepackage{beamerthemeWarsaw}
\usepackage{moreverb,html}

\usecolortheme{crane}

\title{teaching experimental sciences with Freeduc-CD}
\author{Georges Khaznadar $<$\texttt{georgesk@ofset.org}$>$}
\institute{lycée Jean Bart -- Dunkerque/OFSET}
\date{July 2005}
\logo{\includegraphics[width=.5cm,keepaspectratio=true]{jumping-gnu.png}}


\begin{document}
\begin{frame}
  \titlepage
\end{frame}


\frame{\tableofcontents}

\section{Introduction}

\begin{frame}
  \frametitle{Freduc-CD}
  \begin{itemize}
  \item a bootable CD-ROM
  \item about 40 educational applications, and documents to make them easily usable.
  \item a factory to output new thematic releases of Freeduc-CD
  \item easy to localise for various languages
  \end{itemize}
\end{frame}
\begin{frame}
  \frametitle{Freeduc-sciences}
  This particular release will be targetted to students in scientific areas,
  especially in experimental scientific fields (biology, chemistry, physics, 
  astronomy, etc.)

  It comes with out-of-the-box facilities to deal with data collection and
  interpretation.
\end{frame}

\section{Comedi: a library, interface to reality}
\begin{frame}
  \frametitle{Communication with captors}
  To deal with physical measurements, any computer has to be able to input
  analogic data, and sample them regularly. 
\end{frame}
\begin{frame}
  \frametitle{The soundcard}
  Most personal computers are already shipped with analog input
  interfaces for sound signals. However these interfaces most often
  suppress the continuous composant of the signal, making them poorly
  usable for many experimental purposes. They are readily usable with
  some programs like Xoscope.\\
  \includegraphics[scale=0.4]{soundcard.png}
  \hfill\includegraphics[scale=0.4]{xoscope.png}

\end{frame}
\begin{frame}
  \frametitle{The library Comedi}
  For current measurements
  we need more specific interfaces, so-called analogic-digital
  acquisition devices. The library COMEDI 
  (\htmlurl{http://www.comedi.org/})
  is a free software which makes
  easy to develop software using acquisition devices, since they are 
  callable via a normalised Application Programming Interface (API).
\end{frame}
\begin{frame}
  \frametitle{Inexpensive interfaces}
  I have developed a most inexpensive interface, based on three discrete
  components. The price is lower than 5 Euros. However this interface has poor 
  features : input resistance near 10 $k\Omega$, at most 10 samples by second,
  accuracy about 5\% with a non real-time kernel.
  \vfill
  \includegraphics[width=8cm, keepaspectratio]{parport.png}
\end{frame}
\begin{frame}
  \frametitle{USBDUX}
  The acquisition device USBDUX, manufactured for the needs of the
  University of Stirling is one of the cheapest acquisition devices
  shipped with kernel modules making it compatible with the library
  Comedi. See \htmlurl{http://www.linux-usb-daq.co.uk/}.
  \vfill
  \includegraphics[width=5cm, keepaspectratio]{USBDUX.png}
\end{frame}
\section{Software to manage acquired data}
\subsection{Driving the interface}
\begin{frame}
  \frametitle{Ktimetrace}
  Ktimetrace is a simple graphic front-end, making easy to manage the
  acquisition devices. It allows to:
  \begin{itemize}
  \item program the device (channels being used, sampling frequency, etc.)
  \item launch the acquisition and save the data
  \item invoke other programs to manage the data further.
  \end{itemize}
\end{frame}
\begin{frame}
  \frametitle{Ktimetrace}
  \includegraphics[width=10cm, keepaspectratio]{ktt.png}
\end{frame}
\subsection{Formatting the data}
\begin{frame}
  \frametitle{Ktt2grace}
  Ktimetrace outputs no timecode in the data files, but it outputs an
  auxiliary file with all the settings. Ktt2grace is a utility to add
  the relevant timecode informations and format the data to be fed as an
  input for other data standard plotting programs like Grace.
\end{frame}
\begin{frame}
  \frametitle{Ktt2grace}
  \includegraphics[width=10cm, keepaspectratio]{ktt2grace.png}
\end{frame}
\subsection{Data plotting and fitting}
\begin{frame}
  \frametitle{Grace}
  Grace and its graphic front-end, Xmgrace, are mature programs dedicated
  at data plotting. They are primarily targetted at PhD, students, 
  professors and research laboratories. Their features allow the users
  to make professional-class plots for publications in scientific reviews.
  I have written a some internationalisation code and made a localisation to 
  French in order to make this application accessible by younger students.
\end{frame}
\begin{frame}
  \frametitle{Grace}
  \includegraphics[width=6cm, keepaspectratio]{grace1.png}
\end{frame}
\section{Story of an experiment}
\begin{frame}
  \frametitle{Studying a pendulum}
  Here is a story about a little experiment about the physics of
  the pendulum and about solid friction.
\end{frame}
\subsection{Building a pendulum with a captor}
\begin{frame}
  \frametitle{Gathering some tools ...}
\includegraphics[width=10cm, keepaspectratio]{making1.jpg}
\end{frame}
\begin{frame}
  \frametitle{Fitting a potentiometer into a wooden stick}
\includegraphics[width=10cm, keepaspectratio]{making2.jpg}
\end{frame}
\begin{frame}
  \frametitle{Wiring it all}
  Notice the two equal resistors, and the plug for a battery power supply.
  \includegraphics[width=10cm, keepaspectratio]{making3.jpg}
\end{frame}
\begin{frame}
  \frametitle{Adding a battery and a DB25 connector}
  \includegraphics[width=10cm, keepaspectratio]{making4.jpg}
\end{frame}
\subsection{Making and analysing the measurements}
\begin{frame}
  \frametitle{The pendulum oscillates}
  \includegraphics[width=4cm, keepaspectratio]{making5.jpg}
  \hfill
  \includegraphics[width=4cm, keepaspectratio]{making6.jpg}
\end{frame}
\begin{frame}
  \frametitle{12,000 measurements are recorded}
  \includegraphics[width=10cm, keepaspectratio]{making7.png}
\end{frame}
\begin{frame}
  \frametitle{XmGrace, then TexMacs to write a structured report}
  \includegraphics[width=10cm, keepaspectratio]{making8.png}
\end{frame}
\begin{frame}
  \frametitle{See the data plotted}
  \includegraphics[width=10cm, keepaspectratio]{making9.png}
\end{frame}
\begin{frame}
  \frametitle{Then a dicussion about a model}
  \includegraphics[width=10cm, keepaspectratio]{making10.png}
\end{frame}
\begin{frame}
  \frametitle{See the fit: data in black, model in red}
  \includegraphics[width=10cm, keepaspectratio]{making11.png}
\end{frame}
\begin{frame}
  \frametitle{Theoritical considerations}
  \includegraphics[width=10cm, keepaspectratio]{making12.png}
\end{frame}
\end{document}
