SiboVG / dip_coater

A terminal / Textual app to control a dip coater motor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Dip Coater App

This small App is developed for IvS to drive the motor for the dip coater. The motor is connected to a Raspberry Pi through the GPIO bus.

This App is developed with Textual.

Installation

Always install in a dedicated virtual environment!

$ cd </path/to/dip-coater>
$ python3 -m venv venv --prompt=dip-coater
$ source venv/bin/activate
$ pip install --upgrade pip setuptools wheel
$ pip install -e .

On a Raspberry Pi, install the project together with the RPi package:

$ pip install dip-coater[rpi] 

When you want to develop and test on a macOS or Linux system, install without the RPi package. The App will mock the imports and functions.

$ pip install dip-coater

Usage

Start the App from the command line in a terminal. You can start it also from a remote ssh session in a terminal, e.g. if you have the installation on the Raspberry Pi and you have a remote connection to your RPi.

$ dip-coater

This will show the following App in your terminal:

By default, the Main tab is selected. You can switch to the Advanced tab on top of the screen to access more advanced settings.

If you prefer light mode, press the d key.

Further help is available in the App by pressing the 'h' key:

About

A terminal / Textual app to control a dip coater motor


Languages

Language:Python 100.0%