Unofficial Python API for the E-stim 2B.
Branch: master
Clone or download
Latest commit 506dc73 Feb 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples Revert "Revert "Changes for Python 3"" Feb 3, 2019
.gitignore Ignoring some vim/python files. Mar 9, 2018
LICENSE Adding install instructions for Raspbian. Mar 8, 2018 Added a new module EstimSocket, that uses simple TCP sockets to do re… Mar 6, 2018

Contributions welcome License

About estim2bapi

This is an (unofficial) Python API for the E-Stim 2B. Note that this is alpha software, and thus comes with absolutely no warranty whatsoever. Use at your own risk.


For users

You can install using the pip command:

pip install git+

If you don't have pip in your Python distribution you can install it using,

easy_install pip

or (on Debian-based systems like Raspbian):

apt-get install python-pip

After installing, try the examples to check everything is working properly.

For developers

Clone this repository and append its path to your PYTHONPATH variable. In Linux you would do this:

git clone
echo "export PYTHONPATH=$PYTHONPATH:$(pwd)/estim2bapi" >> ~/.bashrc
source ~/.bashrc


# import the module and connect to 2B connected to ttyUSB0 (Linux)...
import estim2b
e2b = estim2b.Estim('/dev/ttyUSB0')
# get status from 2B...

For a simple usage example see