Python module for basic serial communication, plus experiment-specific functionality.