Installation

This library is tested on Python 2.7 and Python 3.x.

Installing from PyPI

You can install the iorodeo-potentiostat library from PyPi [1] using pip as follows:

$ pip install iorodeo-potentiostat

If you are installing using pip then all required dependencies should automatically be downloaded and installed when running this command.

Installing from source

An alternative installation method is to download and install from source. If you would like to install in this manner the source for the library can be found in the potentiostat shield repository [2]. After downloading a copy of the repository you can install the software by running the following command in the module’s top level directory (software/python/potentiostat).

$ python setup.py install

If your are installing from source (not with pip) then you will also need to install the following dependencies:

Virtualenv

If you are developing with the library it is very likely that you will want to use virtualenv [3] during installation. A tutorial describing how to use virtualenv can be found here virtualenv tutorial [4] and more detailed information can be found in the virtualenv documentation [5]. If you are using the library on Windows you might want to look this additional tutorial Python, pip and virtuanenv on Windows [8].

Driver (Windows Only)

On versions of windows < 10. You will need to install a driver in order to communicate with the teensy 3.2 as a serial port. The easiest way to do this is to run the teensyduino installer [6].

Note, this step is not required on Linux or on Mac OS.

udev rules (Linux only)

On Linux you may want to give non-root users permission to use the teensy device. This can be done by adding the 49-teensy.rules [7] file to the /etc/udev/rules.d directory and reloading the rules using udevadm.

Copy to /etc/udev/rules.d as follows

$ sudo cp 49-teensy.rules /etc/udev/rules.d/

Reload udev rules

$ sudo udevadm control --reload-rules