This is the repository for Barty, "the bartending robot", a low cost liquid consumable manager developed at Argonne National Lab's Rapid Prototyping Lab.
Barty consists of 4 peristaltic pumps controlled by a Raspberry Pi.
An example definition file can be found at definitions/barty.node.yaml and a description of the node's capabilities can be found at definitions/barty.node.info.yaml
Note: your user must be in the same group as the /dev/gpiomem device (likely either gpio or dialout), in order to access the Raspberry Pi's GPIO pins. Otherwise, you must run the node as root (not recommended)
# Create a virtual environment named .venv
python -m venv .venv
# Activate the virtual environment on Linux or macOS
source .venv/bin/activate
# Alternatively, activate the virtual environment on Windows
# .venv\Scripts\activate
# Install the module and dependencies in the venv
pip install .
# Start the node
python -m barty_node --definition <path/to/definition.yaml>