No project description provided
Project description
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.
To run custom, automated routines, you can use the Coder
tab. Here you can write your own Python code to control the motor
using the Coder API. The code is executed when you press the RUN code
button. You can view the available Coder API calls in the
collapsible section at the top of the screen, or in the help menu. If you do not want to use the default code, you can
enter the file path to a Python file on the bottom of the coder panel. The new file will be loaded when you press the
LOAD code from file
button
If you prefer light mode, press the d
key.
Further help is available in the App by pressing the 'h' key:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for dip_coater-0.13.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abee9695c7a52320ffa39d53b4aebdf07365937285c2a1b8dcb73485fcd37e5c |
|
MD5 | 937bc821718fd0b39ce8a0427b5c1919 |
|
BLAKE2b-256 | f104d16f4260d2f50d761890bf76630e3a57e943ed7ace421f13c109b91c9ac8 |